Interface FieldOperationMetadata.TtlConfigDeltaOrBuilder (3.41.0)

public static interface FieldOperationMetadata.TtlConfigDeltaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeType()

public abstract FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType()

Specifies how the TTL configuration is changing.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;

Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.ChangeType

The changeType.

getChangeTypeValue()

public abstract int getChangeTypeValue()

Specifies how the TTL configuration is changing.

.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for changeType.

getExpirationOffset()

public abstract 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
Type Description
Duration

The expirationOffset.

getExpirationOffsetOrBuilder()

public abstract 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;

Returns
Type Description
DurationOrBuilder

hasExpirationOffset()

public abstract 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
Type Description
boolean

Whether the expirationOffset field is set.