Package com.google.bigtable.admin.v2
Class CreateClusterMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.bigtable.admin.v2.CreateClusterMetadata
-
- All Implemented Interfaces:
CreateClusterMetadataOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class CreateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 implements CreateClusterMetadataOrBuilder
The metadata for the Operation returned by CreateCluster.
Protobuf typegoogle.bigtable.admin.v2.CreateClusterMetadata
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateClusterMetadata.Builder
The metadata for the Operation returned by CreateCluster.static class
CreateClusterMetadata.TableProgress
Progress info for copying a table's data to the new cluster.static interface
CreateClusterMetadata.TableProgressOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
FINISH_TIME_FIELD_NUMBER
static int
ORIGINAL_REQUEST_FIELD_NUMBER
static int
REQUEST_TIME_FIELD_NUMBER
static int
TABLES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsTables(String key)
Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e.boolean
equals(Object obj)
static CreateClusterMetadata
getDefaultInstance()
CreateClusterMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getFinishTime()
The time at which the operation failed or was completed successfully.com.google.protobuf.TimestampOrBuilder
getFinishTimeOrBuilder()
The time at which the operation failed or was completed successfully.CreateClusterRequest
getOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.CreateClusterRequestOrBuilder
getOriginalRequestOrBuilder()
The request that prompted the initiation of this CreateCluster operation.com.google.protobuf.Parser<CreateClusterMetadata>
getParserForType()
com.google.protobuf.Timestamp
getRequestTime()
The time at which the original request was received.com.google.protobuf.TimestampOrBuilder
getRequestTimeOrBuilder()
The time at which the original request was received.int
getSerializedSize()
Map<String,CreateClusterMetadata.TableProgress>
getTables()
Deprecated.int
getTablesCount()
Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e.Map<String,CreateClusterMetadata.TableProgress>
getTablesMap()
Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e.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.CreateClusterMetadata.TableProgress
getTablesOrThrow(String key)
Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e.boolean
hasFinishTime()
The time at which the operation failed or was completed successfully.int
hashCode()
boolean
hasOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.boolean
hasRequestTime()
The time at which the original request was received.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static CreateClusterMetadata.Builder
newBuilder()
static CreateClusterMetadata.Builder
newBuilder(CreateClusterMetadata prototype)
CreateClusterMetadata.Builder
newBuilderForType()
protected CreateClusterMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CreateClusterMetadata
parseDelimitedFrom(InputStream input)
static CreateClusterMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CreateClusterMetadata
parseFrom(byte[] data)
static CreateClusterMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CreateClusterMetadata
parseFrom(com.google.protobuf.ByteString data)
static CreateClusterMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CreateClusterMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static CreateClusterMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CreateClusterMetadata
parseFrom(InputStream input)
static CreateClusterMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CreateClusterMetadata
parseFrom(ByteBuffer data)
static CreateClusterMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CreateClusterMetadata>
parser()
CreateClusterMetadata.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ORIGINAL_REQUEST_FIELD_NUMBER
public static final int ORIGINAL_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_TIME_FIELD_NUMBER
public static final int REQUEST_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINISH_TIME_FIELD_NUMBER
public static final int FINISH_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLES_FIELD_NUMBER
public static final int TABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasOriginalRequest
public boolean hasOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- Specified by:
hasOriginalRequest
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
public CreateClusterRequest getOriginalRequest()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- Specified by:
getOriginalRequest
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- The originalRequest.
-
getOriginalRequestOrBuilder
public CreateClusterRequestOrBuilder getOriginalRequestOrBuilder()
The request that prompted the initiation of this CreateCluster operation.
.google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
- Specified by:
getOriginalRequestOrBuilder
in interfaceCreateClusterMetadataOrBuilder
-
hasRequestTime
public boolean hasRequestTime()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
- Specified by:
hasRequestTime
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- Whether the requestTime field is set.
-
getRequestTime
public com.google.protobuf.Timestamp getRequestTime()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
- Specified by:
getRequestTime
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- The requestTime.
-
getRequestTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()
The time at which the original request was received.
.google.protobuf.Timestamp request_time = 2;
- Specified by:
getRequestTimeOrBuilder
in interfaceCreateClusterMetadataOrBuilder
-
hasFinishTime
public boolean hasFinishTime()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
- Specified by:
hasFinishTime
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- Whether the finishTime field is set.
-
getFinishTime
public com.google.protobuf.Timestamp getFinishTime()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
- Specified by:
getFinishTime
in interfaceCreateClusterMetadataOrBuilder
- Returns:
- The finishTime.
-
getFinishTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder()
The time at which the operation failed or was completed successfully.
.google.protobuf.Timestamp finish_time = 3;
- Specified by:
getFinishTimeOrBuilder
in interfaceCreateClusterMetadataOrBuilder
-
getTablesCount
public int getTablesCount()
Description copied from interface:CreateClusterMetadataOrBuilder
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;
- Specified by:
getTablesCount
in interfaceCreateClusterMetadataOrBuilder
-
containsTables
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;
- Specified by:
containsTables
in interfaceCreateClusterMetadataOrBuilder
-
getTables
@Deprecated public Map<String,CreateClusterMetadata.TableProgress> getTables()
Deprecated.UsegetTablesMap()
instead.- Specified by:
getTables
in interfaceCreateClusterMetadataOrBuilder
-
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;
- Specified by:
getTablesMap
in interfaceCreateClusterMetadataOrBuilder
-
getTablesOrDefault
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;
- Specified by:
getTablesOrDefault
in interfaceCreateClusterMetadataOrBuilder
-
getTablesOrThrow
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;
- Specified by:
getTablesOrThrow
in interfaceCreateClusterMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateClusterMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateClusterMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateClusterMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CreateClusterMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CreateClusterMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CreateClusterMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CreateClusterMetadata.Builder newBuilder()
-
newBuilder
public static CreateClusterMetadata.Builder newBuilder(CreateClusterMetadata prototype)
-
toBuilder
public CreateClusterMetadata.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateClusterMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CreateClusterMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CreateClusterMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<CreateClusterMetadata> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CreateClusterMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-