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 type google.bigtable.admin.v2.CreateClusterMetadata
See Also:
  • Field Details

    • ORIGINAL_REQUEST_FIELD_NUMBER

      public static final int ORIGINAL_REQUEST_FIELD_NUMBER
      See Also:
    • REQUEST_TIME_FIELD_NUMBER

      public static final int REQUEST_TIME_FIELD_NUMBER
      See Also:
    • FINISH_TIME_FIELD_NUMBER

      public static final int FINISH_TIME_FIELD_NUMBER
      See Also:
    • TABLES_FIELD_NUMBER

      public static final int TABLES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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 interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
    • hasRequestTime

      public boolean hasRequestTime()
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
      Specified by:
      hasRequestTime in interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
      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 interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
    • getTables

      Deprecated.
      Use getTablesMap() instead.
      Specified by:
      getTables in interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
    • 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 interface CreateClusterMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateClusterMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public CreateClusterMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder