Class FieldOperationMetadata.IndexConfigDelta.Builder (3.0.21)

public static final class FieldOperationMetadata.IndexConfigDelta.Builder extends GeneratedMessageV3.Builder<FieldOperationMetadata.IndexConfigDelta.Builder> implements FieldOperationMetadata.IndexConfigDeltaOrBuilder

Information about an index configuration change.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public FieldOperationMetadata.IndexConfigDelta.Builder clear()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides

clearChangeType()

public FieldOperationMetadata.IndexConfigDelta.Builder clearChangeType()

Specifies how the index is changing.

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

Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIndex()

public FieldOperationMetadata.IndexConfigDelta.Builder clearIndex()

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FieldOperationMetadata.IndexConfigDelta.Builder clone()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides

getChangeType()

public FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType()

Specifies how the index is changing.

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

Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.ChangeType

The changeType.

getChangeTypeValue()

public int getChangeTypeValue()

Specifies how the index is changing.

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

Returns
TypeDescription
int

The enum numeric value on the wire for changeType.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndex()

public Index getIndex()

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Returns
TypeDescription
Index

The index.

getIndexBuilder()

public Index.Builder getIndexBuilder()

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Returns
TypeDescription
Index.Builder

getIndexOrBuilder()

public IndexOrBuilder getIndexOrBuilder()

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Returns
TypeDescription
IndexOrBuilder

hasIndex()

public boolean hasIndex()

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Returns
TypeDescription
boolean

Whether the index field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FieldOperationMetadata.IndexConfigDelta other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIndex(Index value)

public FieldOperationMetadata.IndexConfigDelta.Builder mergeIndex(Index value)

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Parameter
NameDescription
valueIndex
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.IndexConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides

setChangeType(FieldOperationMetadata.IndexConfigDelta.ChangeType value)

public FieldOperationMetadata.IndexConfigDelta.Builder setChangeType(FieldOperationMetadata.IndexConfigDelta.ChangeType value)

Specifies how the index is changing.

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

Parameter
NameDescription
valueFieldOperationMetadata.IndexConfigDelta.ChangeType

The changeType to set.

Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

This builder for chaining.

setChangeTypeValue(int value)

public FieldOperationMetadata.IndexConfigDelta.Builder setChangeTypeValue(int value)

Specifies how the index is changing.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndex(Index value)

public FieldOperationMetadata.IndexConfigDelta.Builder setIndex(Index value)

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Parameter
NameDescription
valueIndex
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

setIndex(Index.Builder builderForValue)

public FieldOperationMetadata.IndexConfigDelta.Builder setIndex(Index.Builder builderForValue)

The index being changed.

.google.firestore.admin.v1.Index index = 2;

Parameter
NameDescription
builderForValueIndex.Builder
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

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

public FieldOperationMetadata.IndexConfigDelta.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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