Class FieldOperationMetadata.TtlConfigDelta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder
All Implemented Interfaces:
FieldOperationMetadata.TtlConfigDeltaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FieldOperationMetadata.TtlConfigDelta

public static final class FieldOperationMetadata.TtlConfigDelta.Builder extends com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder> implements FieldOperationMetadata.TtlConfigDeltaOrBuilder
 Information about a TTL configuration change.
 
Protobuf type google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
    • getDefaultInstanceForType

      public FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
    • mergeFrom

      public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
      Throws:
      IOException
    • getChangeTypeValue

      public int getChangeTypeValue()
       Specifies how the TTL configuration is changing.
       
      .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
      Specified by:
      getChangeTypeValue in interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
      Returns:
      The enum numeric value on the wire for changeType.
    • setChangeTypeValue

      public FieldOperationMetadata.TtlConfigDelta.Builder setChangeTypeValue(int value)
       Specifies how the TTL configuration is changing.
       
      .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
      Parameters:
      value - The enum numeric value on the wire for changeType to set.
      Returns:
      This builder for chaining.
    • getChangeType

       Specifies how the TTL configuration is changing.
       
      .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
      Specified by:
      getChangeType in interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
      Returns:
      The changeType.
    • setChangeType

       Specifies how the TTL configuration is changing.
       
      .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
      Parameters:
      value - The changeType to set.
      Returns:
      This builder for chaining.
    • clearChangeType

       Specifies how the TTL configuration is changing.
       
      .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
      Returns:
      This builder for chaining.
    • hasExpirationOffset

      public boolean hasExpirationOffset()
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
      Specified by:
      hasExpirationOffset in interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
      Returns:
      Whether the expirationOffset field is set.
    • getExpirationOffset

      public com.google.protobuf.Duration getExpirationOffset()
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
      Specified by:
      getExpirationOffset in interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
      Returns:
      The expirationOffset.
    • setExpirationOffset

      public FieldOperationMetadata.TtlConfigDelta.Builder setExpirationOffset(com.google.protobuf.Duration value)
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
    • setExpirationOffset

      public FieldOperationMetadata.TtlConfigDelta.Builder setExpirationOffset(com.google.protobuf.Duration.Builder builderForValue)
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
    • mergeExpirationOffset

      public FieldOperationMetadata.TtlConfigDelta.Builder mergeExpirationOffset(com.google.protobuf.Duration value)
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
    • clearExpirationOffset

      public FieldOperationMetadata.TtlConfigDelta.Builder clearExpirationOffset()
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
    • getExpirationOffsetBuilder

      public com.google.protobuf.Duration.Builder getExpirationOffsetBuilder()
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
    • getExpirationOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getExpirationOffsetOrBuilder()
       The offset, relative to the timestamp value in the TTL-enabled field,
       used determine the document's expiration time.
       
      .google.protobuf.Duration expiration_offset = 3;
      Specified by:
      getExpirationOffsetOrBuilder in interface FieldOperationMetadata.TtlConfigDeltaOrBuilder