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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IndexOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IndexOperationMetadata build()
Returns
public IndexOperationMetadata buildPartial()
Returns
public IndexOperationMetadata.Builder clear()
Returns
Overrides
public IndexOperationMetadata.Builder clearCommon()
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Returns
public IndexOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public IndexOperationMetadata.Builder clearIndexId()
The index resource ID that this operation is acting on.
string index_id = 3;
Returns
public IndexOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public IndexOperationMetadata.Builder clearProgressEntities()
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Returns
public IndexOperationMetadata.Builder clone()
Returns
Overrides
public CommonMetadata getCommon()
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Returns
public CommonMetadata.Builder getCommonBuilder()
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Returns
public CommonMetadataOrBuilder getCommonOrBuilder()
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Returns
public IndexOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getIndexId()
The index resource ID that this operation is acting on.
string index_id = 3;
Returns
Type | Description |
String | The indexId.
|
public ByteString getIndexIdBytes()
The index resource ID that this operation is acting on.
string index_id = 3;
Returns
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.
|
public Progress.Builder getProgressEntitiesBuilder()
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Returns
public ProgressOrBuilder getProgressEntitiesOrBuilder()
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Returns
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IndexOperationMetadata.Builder mergeCommon(CommonMetadata value)
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Parameter
Returns
public IndexOperationMetadata.Builder mergeFrom(IndexOperationMetadata other)
Parameter
Returns
public IndexOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IndexOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public IndexOperationMetadata.Builder mergeProgressEntities(Progress value)
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Parameter
Returns
public final IndexOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IndexOperationMetadata.Builder setCommon(CommonMetadata value)
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Parameter
Returns
public IndexOperationMetadata.Builder setCommon(CommonMetadata.Builder builderForValue)
Metadata common to all Datastore Admin operations.
.google.datastore.admin.v1.CommonMetadata common = 1;
Parameter
Returns
public IndexOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public IndexOperationMetadata.Builder setProgressEntities(Progress value)
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Parameter
Returns
public IndexOperationMetadata.Builder setProgressEntities(Progress.Builder builderForValue)
An estimate of the number of entities processed.
.google.datastore.admin.v1.Progress progress_entities = 2;
Parameter
Returns
public IndexOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final IndexOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides