Class CreateClusterMetadata (2.13.0)

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

FINISH_TIME_FIELD_NUMBER

public static final int FINISH_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ORIGINAL_REQUEST_FIELD_NUMBER

public static final int ORIGINAL_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_TIME_FIELD_NUMBER

public static final int REQUEST_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TABLES_FIELD_NUMBER

public static final int TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateClusterMetadata getDefaultInstance()
Returns
TypeDescription
CreateClusterMetadata

getDescriptor()

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

newBuilder()

public static CreateClusterMetadata.Builder newBuilder()
Returns
TypeDescription
CreateClusterMetadata.Builder

newBuilder(CreateClusterMetadata prototype)

public static CreateClusterMetadata.Builder newBuilder(CreateClusterMetadata prototype)
Parameter
NameDescription
prototypeCreateClusterMetadata
Returns
TypeDescription
CreateClusterMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateClusterMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateClusterMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateClusterMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateClusterMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateClusterMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateClusterMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateClusterMetadata> parser()
Returns
TypeDescription
Parser<CreateClusterMetadata>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateClusterMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateClusterMetadata

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.

getFinishTimeOrBuilder()

public TimestampOrBuilder getFinishTimeOrBuilder()

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

.google.protobuf.Timestamp finish_time = 3;

Returns
TypeDescription
TimestampOrBuilder

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.

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

getParserForType()

public Parser<CreateClusterMetadata> getParserForType()
Returns
TypeDescription
Parser<CreateClusterMetadata>
Overrides

getRequestTime()

public Timestamp getRequestTime()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
Timestamp

The requestTime.

getRequestTimeOrBuilder()

public TimestampOrBuilder getRequestTimeOrBuilder()

The time at which the original request was received.

.google.protobuf.Timestamp request_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateClusterMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateClusterMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException