Class FieldOperationMetadata.IndexConfigDelta (3.20.0)

public static final class FieldOperationMetadata.IndexConfigDelta extends GeneratedMessageV3 implements FieldOperationMetadata.IndexConfigDeltaOrBuilder

Information about an index configuration change.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FieldOperationMetadata.IndexConfigDelta

Static Fields

CHANGE_TYPE_FIELD_NUMBER

public static final int CHANGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FieldOperationMetadata.IndexConfigDelta getDefaultInstance()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta

getDescriptor()

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

newBuilder()

public static FieldOperationMetadata.IndexConfigDelta.Builder newBuilder()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

newBuilder(FieldOperationMetadata.IndexConfigDelta prototype)

public static FieldOperationMetadata.IndexConfigDelta.Builder newBuilder(FieldOperationMetadata.IndexConfigDelta prototype)
Parameter
NameDescription
prototypeFieldOperationMetadata.IndexConfigDelta
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

parseDelimitedFrom(InputStream input)

public static FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldOperationMetadata.IndexConfigDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FieldOperationMetadata.IndexConfigDelta> parser()
Returns
TypeDescription
Parser<IndexConfigDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getIndex()

public Index getIndex()

The index being changed.

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

Returns
TypeDescription
Index

The index.

getIndexOrBuilder()

public IndexOrBuilder getIndexOrBuilder()

The index being changed.

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

Returns
TypeDescription
IndexOrBuilder

getParserForType()

public Parser<FieldOperationMetadata.IndexConfigDelta> getParserForType()
Returns
TypeDescription
Parser<IndexConfigDelta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasIndex()

public boolean hasIndex()

The index being changed.

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

Returns
TypeDescription
boolean

Whether the index field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FieldOperationMetadata.IndexConfigDelta.Builder newBuilderForType()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldOperationMetadata.IndexConfigDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FieldOperationMetadata.IndexConfigDelta.Builder toBuilder()
Returns
TypeDescription
FieldOperationMetadata.IndexConfigDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException