Class CreateClusterMetadata.Builder (2.13.0)

public static final class CreateClusterMetadata.Builder extends GeneratedMessageV3.Builder<CreateClusterMetadata.Builder> implements CreateClusterMetadataOrBuilder

The metadata for the Operation returned by CreateCluster.

Protobuf type google.bigtable.admin.v2.CreateClusterMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateClusterMetadata build()
Returns
TypeDescription
CreateClusterMetadata

buildPartial()

public CreateClusterMetadata buildPartial()
Returns
TypeDescription
CreateClusterMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFinishTime()

public CreateClusterMetadata.Builder clearFinishTime()

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
CreateClusterMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateClusterMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateClusterMetadata.Builder
Overrides

clearOriginalRequest()

public CreateClusterMetadata.Builder clearOriginalRequest()

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Returns
TypeDescription
CreateClusterMetadata.Builder

clearRequestTime()

public CreateClusterMetadata.Builder clearRequestTime()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
CreateClusterMetadata.Builder

clearTables()

public CreateClusterMetadata.Builder clearTables()
Returns
TypeDescription
CreateClusterMetadata.Builder

clone()

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

containsTables(String key)

public boolean containsTables(String key)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public CreateClusterMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateClusterMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFinishTime()

public Timestamp getFinishTime()

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
Timestamp

The finishTime.

getFinishTimeBuilder()

public Timestamp.Builder getFinishTimeBuilder()

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
Builder

getFinishTimeOrBuilder()

public TimestampOrBuilder getFinishTimeOrBuilder()

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getMutableTables()

public Map<String,CreateClusterMetadata.TableProgress> getMutableTables()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,TableProgress>

getOriginalRequest()

public CreateClusterRequest getOriginalRequest()

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Returns
TypeDescription
CreateClusterRequest

The originalRequest.

getOriginalRequestBuilder()

public CreateClusterRequest.Builder getOriginalRequestBuilder()

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Returns
TypeDescription
CreateClusterRequest.Builder

getOriginalRequestOrBuilder()

public CreateClusterRequestOrBuilder getOriginalRequestOrBuilder()

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Returns
TypeDescription
CreateClusterRequestOrBuilder

getRequestTime()

public Timestamp getRequestTime()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
Timestamp

The requestTime.

getRequestTimeBuilder()

public Timestamp.Builder getRequestTimeBuilder()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
Builder

getRequestTimeOrBuilder()

public TimestampOrBuilder getRequestTimeOrBuilder()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getTables()

public Map<String,CreateClusterMetadata.TableProgress> getTables()

Use #getTablesMap() instead.

Returns
TypeDescription
Map<String,TableProgress>

getTablesCount()

public int getTablesCount()

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Returns
TypeDescription
int

getTablesMap()

public Map<String,CreateClusterMetadata.TableProgress> getTablesMap()

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Returns
TypeDescription
Map<String,TableProgress>

getTablesOrDefault(String key, CreateClusterMetadata.TableProgress defaultValue)

public CreateClusterMetadata.TableProgress getTablesOrDefault(String key, CreateClusterMetadata.TableProgress defaultValue)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameters
NameDescription
keyString
defaultValueCreateClusterMetadata.TableProgress
Returns
TypeDescription
CreateClusterMetadata.TableProgress

getTablesOrThrow(String key)

public CreateClusterMetadata.TableProgress getTablesOrThrow(String key)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
CreateClusterMetadata.TableProgress

hasFinishTime()

public boolean hasFinishTime()

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
boolean

Whether the finishTime field is set.

hasOriginalRequest()

public boolean hasOriginalRequest()

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Returns
TypeDescription
boolean

Whether the originalRequest field is set.

hasRequestTime()

public boolean hasRequestTime()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
boolean

Whether the requestTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFinishTime(Timestamp value)

public CreateClusterMetadata.Builder mergeFinishTime(Timestamp value)

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateClusterMetadata.Builder

mergeFrom(CreateClusterMetadata other)

public CreateClusterMetadata.Builder mergeFrom(CreateClusterMetadata other)
Parameter
NameDescription
otherCreateClusterMetadata
Returns
TypeDescription
CreateClusterMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateClusterMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateClusterMetadata.Builder
Overrides

mergeOriginalRequest(CreateClusterRequest value)

public CreateClusterMetadata.Builder mergeOriginalRequest(CreateClusterRequest value)

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Parameter
NameDescription
valueCreateClusterRequest
Returns
TypeDescription
CreateClusterMetadata.Builder

mergeRequestTime(Timestamp value)

public CreateClusterMetadata.Builder mergeRequestTime(Timestamp value)

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateClusterMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateClusterMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateClusterMetadata.Builder
Overrides

putAllTables(Map<String,CreateClusterMetadata.TableProgress> values)

public CreateClusterMetadata.Builder putAllTables(Map<String,CreateClusterMetadata.TableProgress> values)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameter
NameDescription
valuesMap<String,TableProgress>
Returns
TypeDescription
CreateClusterMetadata.Builder

putTables(String key, CreateClusterMetadata.TableProgress value)

public CreateClusterMetadata.Builder putTables(String key, CreateClusterMetadata.TableProgress value)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameters
NameDescription
keyString
valueCreateClusterMetadata.TableProgress
Returns
TypeDescription
CreateClusterMetadata.Builder

removeTables(String key)

public CreateClusterMetadata.Builder removeTables(String key)

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
CreateClusterMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFinishTime(Timestamp value)

public CreateClusterMetadata.Builder setFinishTime(Timestamp value)

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateClusterMetadata.Builder

setFinishTime(Timestamp.Builder builderForValue)

public CreateClusterMetadata.Builder setFinishTime(Timestamp.Builder builderForValue)

The time at which the operation failed or was completed successfully.

.google.protobuf.Timestamp finish_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateClusterMetadata.Builder

setOriginalRequest(CreateClusterRequest value)

public CreateClusterMetadata.Builder setOriginalRequest(CreateClusterRequest value)

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Parameter
NameDescription
valueCreateClusterRequest
Returns
TypeDescription
CreateClusterMetadata.Builder

setOriginalRequest(CreateClusterRequest.Builder builderForValue)

public CreateClusterMetadata.Builder setOriginalRequest(CreateClusterRequest.Builder builderForValue)

The request that prompted the initiation of this CreateCluster operation.

.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;

Parameter
NameDescription
builderForValueCreateClusterRequest.Builder
Returns
TypeDescription
CreateClusterMetadata.Builder

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

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

setRequestTime(Timestamp value)

public CreateClusterMetadata.Builder setRequestTime(Timestamp value)

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateClusterMetadata.Builder

setRequestTime(Timestamp.Builder builderForValue)

public CreateClusterMetadata.Builder setRequestTime(Timestamp.Builder builderForValue)

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateClusterMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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