Class FieldOperationMetadata.TtlConfigDelta.Builder (3.36.0)

public static final class FieldOperationMetadata.TtlConfigDelta.Builder extends GeneratedMessage.Builder<FieldOperationMetadata.TtlConfigDelta.Builder> implements FieldOperationMetadata.TtlConfigDeltaOrBuilder

Information about a TTL configuration change.

Protobuf type google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta

Static 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
Overrides

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.

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
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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.ChangeType

The 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 int

The enum numeric value on the wire for changeType to set.

Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder

This builder for chaining.