Class IndexOperationMetadata.Builder (2.17.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IndexOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides

build()

public IndexOperationMetadata build()
Returns
TypeDescription
IndexOperationMetadata

buildPartial()

public IndexOperationMetadata buildPartial()
Returns
TypeDescription
IndexOperationMetadata

clear()

public IndexOperationMetadata.Builder clear()
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides

clearCommon()

public IndexOperationMetadata.Builder clearCommon()

Metadata common to all Datastore Admin operations.

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

Returns
TypeDescription
IndexOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public IndexOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides

clearIndexId()

public IndexOperationMetadata.Builder clearIndexId()

The index resource ID that this operation is acting on.

string index_id = 3;

Returns
TypeDescription
IndexOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IndexOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
IndexOperationMetadata.Builder

clone()

public IndexOperationMetadata.Builder clone()
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides

getCommon()

public CommonMetadata getCommon()

Metadata common to all Datastore Admin operations.

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

Returns
TypeDescription
CommonMetadata

The common.

getCommonBuilder()

public CommonMetadata.Builder getCommonBuilder()

Metadata common to all Datastore Admin operations.

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

Returns
TypeDescription
CommonMetadata.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getProgressEntitiesBuilder()

public Progress.Builder getProgressEntitiesBuilder()

An estimate of the number of entities processed.

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

Returns
TypeDescription
Progress.Builder

getProgressEntitiesOrBuilder()

public ProgressOrBuilder getProgressEntitiesOrBuilder()

An estimate of the number of entities processed.

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

Returns
TypeDescription
ProgressOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCommonMetadata
Returns
TypeDescription
IndexOperationMetadata.Builder

mergeFrom(IndexOperationMetadata other)

public IndexOperationMetadata.Builder mergeFrom(IndexOperationMetadata other)
Parameter
NameDescription
otherIndexOperationMetadata
Returns
TypeDescription
IndexOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IndexOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IndexOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueProgress
Returns
TypeDescription
IndexOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCommonMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCommonMetadata.Builder
Returns
TypeDescription
IndexOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IndexOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The indexId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for indexId to set.

Returns
TypeDescription
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
NameDescription
valueProgress
Returns
TypeDescription
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
NameDescription
builderForValueProgress.Builder
Returns
TypeDescription
IndexOperationMetadata.Builder

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

public IndexOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IndexOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IndexOperationMetadata.Builder
Overrides