Class FieldOperationMetadata.TtlConfigDelta.Builder (3.22.0)

public static final class FieldOperationMetadata.TtlConfigDelta.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FieldOperationMetadata.TtlConfigDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public FieldOperationMetadata.TtlConfigDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FieldOperationMetadata.TtlConfigDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

clone()

public FieldOperationMetadata.TtlConfigDelta.Builder clone()
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.TtlConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public FieldOperationMetadata.TtlConfigDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FieldOperationMetadata.TtlConfigDelta.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.TtlConfigDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides