Class IndexOperationMetadata (2.17.6)

public final class IndexOperationMetadata extends GeneratedMessageV3 implements IndexOperationMetadataOrBuilder

Metadata for Index operations.

Protobuf type google.datastore.admin.v1.IndexOperationMetadata

Static Fields

COMMON_FIELD_NUMBER

public static final int COMMON_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_ID_FIELD_NUMBER

public static final int INDEX_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_ENTITIES_FIELD_NUMBER

public static final int PROGRESS_ENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IndexOperationMetadata getDefaultInstance()
Returns
TypeDescription
IndexOperationMetadata

getDescriptor()

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

newBuilder()

public static IndexOperationMetadata.Builder newBuilder()
Returns
TypeDescription
IndexOperationMetadata.Builder

newBuilder(IndexOperationMetadata prototype)

public static IndexOperationMetadata.Builder newBuilder(IndexOperationMetadata prototype)
Parameter
NameDescription
prototypeIndexOperationMetadata
Returns
TypeDescription
IndexOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static IndexOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IndexOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IndexOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IndexOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IndexOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IndexOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IndexOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IndexOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IndexOperationMetadata> parser()
Returns
TypeDescription
Parser<IndexOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
CommonMetadata

The common.

getCommonOrBuilder()

public CommonMetadataOrBuilder getCommonOrBuilder()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
CommonMetadataOrBuilder

getDefaultInstanceForType()

public IndexOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
IndexOperationMetadata

getIndexId()

public String getIndexId()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
TypeDescription
String

The indexId.

getIndexIdBytes()

public ByteString getIndexIdBytes()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
TypeDescription
ByteString

The bytes for indexId.

getParserForType()

public Parser<IndexOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<IndexOperationMetadata>
Overrides

getProgressEntities()

public Progress getProgressEntities()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
Progress

The progressEntities.

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
ProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCommon()

public boolean hasCommon()

Metadata common to all Datastore Admin operations.

.google.datastore.admin.v1.CommonMetadata common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.

hasProgressEntities()

public boolean hasProgressEntities()

An estimate of the number of entities processed.

.google.datastore.admin.v1.Progress progress_entities = 2;

Returns
TypeDescription
boolean

Whether the progressEntities 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 IndexOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
IndexOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IndexOperationMetadata.Builder toBuilder()
Returns
TypeDescription
IndexOperationMetadata.Builder

writeTo(CodedOutputStream output)

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