Class IndexOperationMetadata (2.23.0)

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

INDEX_ID_FIELD_NUMBER

public static final int INDEX_ID_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_ENTITIES_FIELD_NUMBER

public static final int PROGRESS_ENTITIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IndexOperationMetadata getDefaultInstance()
Returns
Type Description
IndexOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IndexOperationMetadata.Builder newBuilder()
Returns
Type Description
IndexOperationMetadata.Builder

newBuilder(IndexOperationMetadata prototype)

public static IndexOperationMetadata.Builder newBuilder(IndexOperationMetadata prototype)
Parameter
Name Description
prototype IndexOperationMetadata
Returns
Type Description
IndexOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static IndexOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IndexOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IndexOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IndexOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IndexOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IndexOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IndexOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IndexOperationMetadata> parser()
Returns
Type Description
Parser<IndexOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadata

The common.

getCommonOrBuilder()

public CommonMetadataOrBuilder getCommonOrBuilder()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadataOrBuilder

getDefaultInstanceForType()

public IndexOperationMetadata getDefaultInstanceForType()
Returns
Type Description
IndexOperationMetadata

getIndexId()

public String getIndexId()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
Type Description
String

The indexId.

getIndexIdBytes()

public ByteString getIndexIdBytes()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
Type Description
ByteString

The bytes for indexId.

getParserForType()

public Parser<IndexOperationMetadata> getParserForType()
Returns
Type Description
Parser<IndexOperationMetadata>
Overrides

getProgressEntities()

public Progress getProgressEntities()

An estimate of the number of entities processed.

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

Returns
Type Description
Progress

The progressEntities.

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
Type Description
ProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCommon()

public boolean hasCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
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
Type Description
boolean

Whether the progressEntities field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IndexOperationMetadata.Builder newBuilderForType()
Returns
Type Description
IndexOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IndexOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IndexOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IndexOperationMetadata.Builder toBuilder()
Returns
Type Description
IndexOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException