public final class CreateClusterMetadata extends GeneratedMessageV3 implements CreateClusterMetadataOrBuilder
The metadata for the Operation returned by CreateCluster.
Protobuf type google.bigtable.admin.v2.CreateClusterMetadata
Static Fields
public static final int FINISH_TIME_FIELD_NUMBER
Field Value
public static final int ORIGINAL_REQUEST_FIELD_NUMBER
Field Value
public static final int REQUEST_TIME_FIELD_NUMBER
Field Value
public static final int TABLES_FIELD_NUMBER
Field Value
Static Methods
public static CreateClusterMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateClusterMetadata.Builder newBuilder()
Returns
public static CreateClusterMetadata.Builder newBuilder(CreateClusterMetadata prototype)
Parameter
Returns
public static CreateClusterMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateClusterMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateClusterMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateClusterMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateClusterMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateClusterMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateClusterMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateClusterMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateClusterMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateClusterMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateClusterMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateClusterMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateClusterMetadata> parser()
Returns
Methods
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
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CreateClusterMetadata getDefaultInstanceForType()
Returns
public Timestamp getFinishTime()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
Returns
public TimestampOrBuilder getFinishTimeOrBuilder()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
Returns
public CreateClusterRequest getOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
Returns
public CreateClusterRequestOrBuilder getOriginalRequestOrBuilder()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
Returns
public Parser<CreateClusterMetadata> getParserForType()
Returns
Overrides
public Timestamp getRequestTime()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
Returns
public TimestampOrBuilder getRequestTimeOrBuilder()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
Returns
public int getSerializedSize()
Returns
Overrides
public Map<String,CreateClusterMetadata.TableProgress> getTables()
Returns
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
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
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
Returns
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
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasFinishTime()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
Returns
Type | Description |
boolean | Whether the finishTime field is set.
|
public boolean hasOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
Returns
Type | Description |
boolean | Whether the originalRequest field is set.
|
public boolean hasRequestTime()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
Returns
Type | Description |
boolean | Whether the requestTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateClusterMetadata.Builder newBuilderForType()
Returns
protected CreateClusterMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateClusterMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions