Package com.google.firestore.admin.v1
Interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FieldOperationMetadata.TtlConfigDelta,FieldOperationMetadata.TtlConfigDelta.Builder
- Enclosing class:
- FieldOperationMetadata
public static interface FieldOperationMetadata.TtlConfigDeltaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies how the TTL configuration is changing.intSpecifies how the TTL configuration is changing.com.google.protobuf.DurationThe 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChangeTypeValue
int getChangeTypeValue()Specifies how the TTL configuration is changing.
.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;- Returns:
- The enum numeric value on the wire for changeType.
-
getChangeType
FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType()Specifies how the TTL configuration is changing.
.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;- Returns:
- The changeType.
-
hasExpirationOffset
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;- Returns:
- Whether the expirationOffset field is set.
-
getExpirationOffset
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;- Returns:
- The expirationOffset.
-
getExpirationOffsetOrBuilder
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;
-