Class FieldOperationMetadata.TtlConfigDelta.Builder (3.4.2)

Stay organized with collections Save and categorize content based on your preferences.
public static final class FieldOperationMetadata.TtlConfigDelta.Builder extends GeneratedMessageV3.Builder<FieldOperationMetadata.TtlConfigDelta.Builder> implements FieldOperationMetadata.TtlConfigDeltaOrBuilder

Information about an TTL configuration change.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FieldOperationMetadata.TtlConfigDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

build()

public FieldOperationMetadata.TtlConfigDelta build()
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta

buildPartial()

public FieldOperationMetadata.TtlConfigDelta buildPartial()
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta

clear()

public FieldOperationMetadata.TtlConfigDelta.Builder clear()
Returns
TypeDescription
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
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FieldOperationMetadata.TtlConfigDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FieldOperationMetadata.TtlConfigDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

clone()

public FieldOperationMetadata.TtlConfigDelta.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for changeType.

getDefaultInstanceForType()

public FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType()
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FieldOperationMetadata.TtlConfigDelta other)

public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(FieldOperationMetadata.TtlConfigDelta other)
Parameter
NameDescription
otherFieldOperationMetadata.TtlConfigDelta
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FieldOperationMetadata.TtlConfigDelta.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.TtlConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldOperationMetadata.TtlConfigDelta.ChangeType

The changeType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FieldOperationMetadata.TtlConfigDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.TtlConfigDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FieldOperationMetadata.TtlConfigDelta.Builder
Overrides