Class FieldOperationMetadata.IndexConfigDelta.Builder (3.21.1)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FieldOperationMetadata.IndexConfigDelta build()
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta

buildPartial()

public FieldOperationMetadata.IndexConfigDelta buildPartial()
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta

clear()

public FieldOperationMetadata.IndexConfigDelta.Builder clear()
Returns
Type Description
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
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIndex()

public FieldOperationMetadata.IndexConfigDelta.Builder clearIndex()

The index being changed.

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

Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FieldOperationMetadata.IndexConfigDelta.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for changeType.

getDefaultInstanceForType()

public FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType()
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndex()

public Index getIndex()

The index being changed.

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

Returns
Type Description
Index

The index.

getIndexBuilder()

public Index.Builder getIndexBuilder()

The index being changed.

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

Returns
Type Description
Index.Builder

getIndexOrBuilder()

public IndexOrBuilder getIndexOrBuilder()

The index being changed.

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

Returns
Type Description
IndexOrBuilder

hasIndex()

public boolean hasIndex()

The index being changed.

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

Returns
Type Description
boolean

Whether the index field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FieldOperationMetadata.IndexConfigDelta other)

public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(FieldOperationMetadata.IndexConfigDelta other)
Parameter
Name Description
other FieldOperationMetadata.IndexConfigDelta
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Index
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldOperationMetadata.IndexConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldOperationMetadata.IndexConfigDelta.ChangeType

The changeType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FieldOperationMetadata.IndexConfigDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Index
Returns
Type Description
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
Name Description
builderForValue Index.Builder
Returns
Type Description
FieldOperationMetadata.IndexConfigDelta.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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