Package com.google.firestore.admin.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies how the TTL configuration is changing.The offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.Specifies how the TTL configuration is changing.intSpecifies how the TTL configuration is changing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.com.google.protobuf.Duration.BuilderThe offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.com.google.protobuf.DurationOrBuilderThe offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.booleanThe offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpirationOffset(com.google.protobuf.Duration value) The offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies how the TTL configuration is changing.setChangeTypeValue(int value) Specifies how the TTL configuration is changing.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder>
-
mergeFrom
public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(FieldOperationMetadata.TtlConfigDelta other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getChangeTypeValuein interfaceFieldOperationMetadata.TtlConfigDeltaOrBuilder- Returns:
- The enum numeric value on the wire for changeType.
-
setChangeTypeValue
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:
getChangeTypein interfaceFieldOperationMetadata.TtlConfigDeltaOrBuilder- Returns:
- The changeType.
-
setChangeType
public FieldOperationMetadata.TtlConfigDelta.Builder setChangeType(FieldOperationMetadata.TtlConfigDelta.ChangeType value) 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:
hasExpirationOffsetin interfaceFieldOperationMetadata.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:
getExpirationOffsetin interfaceFieldOperationMetadata.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
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:
getExpirationOffsetOrBuilderin interfaceFieldOperationMetadata.TtlConfigDeltaOrBuilder
-