public static final class FieldOperationMetadata.TtlConfigDelta.Builder extends GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder> implements FieldOperationMetadata.TtlConfigDeltaOrBuilderInformation about a TTL configuration change.
Protobuf type google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FieldOperationMetadata.TtlConfigDelta.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FieldOperationMetadata.TtlConfigDelta build()| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta |
|
buildPartial()
public FieldOperationMetadata.TtlConfigDelta buildPartial()| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta |
|
clear()
public FieldOperationMetadata.TtlConfigDelta.Builder clear()| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
clearChangeType()
public FieldOperationMetadata.TtlConfigDelta.Builder clearChangeType()Specifies how the TTL configuration is changing.
.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
getChangeType()
public 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 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. |
getDefaultInstanceForType()
public FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpirationOffset()
public 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. |
getExpirationOffsetBuilder()
public 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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpirationOffsetOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpirationOffset(Duration value)
public FieldOperationMetadata.TtlConfigDelta.Builder mergeExpirationOffset(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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
mergeFrom(FieldOperationMetadata.TtlConfigDelta other)
public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(FieldOperationMetadata.TtlConfigDelta other)| Parameter | |
|---|---|
| Name | Description |
other |
FieldOperationMetadata.TtlConfigDelta |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
setChangeType(FieldOperationMetadata.TtlConfigDelta.ChangeType value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldOperationMetadata.TtlConfigDelta.ChangeTypeThe changeType to set. |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
This builder for chaining. |
setChangeTypeValue(int value)
public FieldOperationMetadata.TtlConfigDelta.Builder setChangeTypeValue(int value)Specifies how the TTL configuration is changing.
.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for changeType to set. |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
This builder for chaining. |
setExpirationOffset(Duration value)
public FieldOperationMetadata.TtlConfigDelta.Builder setExpirationOffset(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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|
setExpirationOffset(Duration.Builder builderForValue)
public FieldOperationMetadata.TtlConfigDelta.Builder setExpirationOffset(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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FieldOperationMetadata.TtlConfigDelta.Builder |
|