Class IndexOperationMetadata.Builder (2.24.3)

public static final class IndexOperationMetadata.Builder extends GeneratedMessageV3.Builder<IndexOperationMetadata.Builder> implements IndexOperationMetadataOrBuilder

Metadata for Index operations.

Protobuf type google.datastore.admin.v1.IndexOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IndexOperationMetadata build()
Returns
Type Description
IndexOperationMetadata

buildPartial()

public IndexOperationMetadata buildPartial()
Returns
Type Description
IndexOperationMetadata

clear()

public IndexOperationMetadata.Builder clear()
Returns
Type Description
IndexOperationMetadata.Builder
Overrides

clearCommon()

public IndexOperationMetadata.Builder clearCommon()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
IndexOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIndexId()

public IndexOperationMetadata.Builder clearIndexId()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
Type Description
IndexOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgressEntities()

public IndexOperationMetadata.Builder clearProgressEntities()

An estimate of the number of entities processed.

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

Returns
Type Description
IndexOperationMetadata.Builder

clone()

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

getCommonBuilder()

public CommonMetadata.Builder getCommonBuilder()

Metadata common to all Datastore Admin operations.

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

Returns
Type Description
CommonMetadata.Builder

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

getDescriptorForType()

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

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.

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.

getProgressEntitiesBuilder()

public Progress.Builder getProgressEntitiesBuilder()

An estimate of the number of entities processed.

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

Returns
Type Description
Progress.Builder

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
Type Description
ProgressOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommon(CommonMetadata value)

public IndexOperationMetadata.Builder mergeCommon(CommonMetadata value)

Metadata common to all Datastore Admin operations.

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

Parameter
Name Description
value CommonMetadata
Returns
Type Description
IndexOperationMetadata.Builder

mergeFrom(IndexOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IndexOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IndexOperationMetadata.Builder
Overrides

mergeProgressEntities(Progress value)

public IndexOperationMetadata.Builder mergeProgressEntities(Progress value)

An estimate of the number of entities processed.

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

Parameter
Name Description
value Progress
Returns
Type Description
IndexOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IndexOperationMetadata.Builder
Overrides

setCommon(CommonMetadata value)

public IndexOperationMetadata.Builder setCommon(CommonMetadata value)

Metadata common to all Datastore Admin operations.

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

Parameter
Name Description
value CommonMetadata
Returns
Type Description
IndexOperationMetadata.Builder

setCommon(CommonMetadata.Builder builderForValue)

public IndexOperationMetadata.Builder setCommon(CommonMetadata.Builder builderForValue)

Metadata common to all Datastore Admin operations.

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

Parameter
Name Description
builderForValue CommonMetadata.Builder
Returns
Type Description
IndexOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IndexOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IndexOperationMetadata.Builder
Overrides

setIndexId(String value)

public IndexOperationMetadata.Builder setIndexId(String value)

The index resource ID that this operation is acting on.

string index_id = 3;

Parameter
Name Description
value String

The indexId to set.

Returns
Type Description
IndexOperationMetadata.Builder

This builder for chaining.

setIndexIdBytes(ByteString value)

public IndexOperationMetadata.Builder setIndexIdBytes(ByteString value)

The index resource ID that this operation is acting on.

string index_id = 3;

Parameter
Name Description
value ByteString

The bytes for indexId to set.

Returns
Type Description
IndexOperationMetadata.Builder

This builder for chaining.

setProgressEntities(Progress value)

public IndexOperationMetadata.Builder setProgressEntities(Progress value)

An estimate of the number of entities processed.

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

Parameter
Name Description
value Progress
Returns
Type Description
IndexOperationMetadata.Builder

setProgressEntities(Progress.Builder builderForValue)

public IndexOperationMetadata.Builder setProgressEntities(Progress.Builder builderForValue)

An estimate of the number of entities processed.

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

Parameter
Name Description
builderForValue Progress.Builder
Returns
Type Description
IndexOperationMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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