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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public FieldOperationMetadata.IndexConfigDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta build()
Returns
public FieldOperationMetadata.IndexConfigDelta buildPartial()
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder clear()
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder clearChangeType()
Specifies how the index is changing.
.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1;
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder clearIndex()
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder clone()
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType()
Specifies how the index is changing.
.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1;
Returns
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.
|
public FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Returns
Type | Description |
Index | The index.
|
public Index.Builder getIndexBuilder()
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Returns
public IndexOrBuilder getIndexOrBuilder()
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Returns
public boolean hasIndex()
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Returns
Type | Description |
boolean | Whether the index field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(FieldOperationMetadata.IndexConfigDelta other)
Parameter
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FieldOperationMetadata.IndexConfigDelta.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder mergeIndex(Index value)
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Parameter
Name | Description |
value | Index
|
Returns
public final FieldOperationMetadata.IndexConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
public FieldOperationMetadata.IndexConfigDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FieldOperationMetadata.IndexConfigDelta.Builder setIndex(Index value)
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Parameter
Name | Description |
value | Index
|
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder setIndex(Index.Builder builderForValue)
The index being changed.
.google.firestore.admin.v1.Index index = 2;
Parameter
Returns
public FieldOperationMetadata.IndexConfigDelta.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final FieldOperationMetadata.IndexConfigDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides