Class CreateClusterMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
com.google.bigtable.admin.v2.CreateClusterMetadata.Builder
All Implemented Interfaces:
CreateClusterMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateClusterMetadata

public static final class CreateClusterMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder> implements CreateClusterMetadataOrBuilder
 The metadata for the Operation returned by CreateCluster.
 
Protobuf type google.bigtable.admin.v2.CreateClusterMetadata
  • Method Details

    • 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.Builder<CreateClusterMetadata.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • getDefaultInstanceForType

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

      public CreateClusterMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateClusterMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • setField

      public CreateClusterMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • clearField

      public CreateClusterMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • clearOneof

      public CreateClusterMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • setRepeatedField

      public CreateClusterMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • addRepeatedField

      public CreateClusterMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • mergeFrom

      public CreateClusterMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateClusterMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • mergeFrom

      public CreateClusterMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateClusterMetadata.Builder>
      Throws:
      IOException
    • 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.
    • setOriginalRequest

      public CreateClusterMetadata.Builder setOriginalRequest(CreateClusterRequest value)
       The request that prompted the initiation of this CreateCluster operation.
       
      .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
    • setOriginalRequest

      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;
    • mergeOriginalRequest

      public CreateClusterMetadata.Builder mergeOriginalRequest(CreateClusterRequest value)
       The request that prompted the initiation of this CreateCluster operation.
       
      .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
    • clearOriginalRequest

      public CreateClusterMetadata.Builder clearOriginalRequest()
       The request that prompted the initiation of this CreateCluster operation.
       
      .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
    • getOriginalRequestBuilder

      public CreateClusterRequest.Builder getOriginalRequestBuilder()
       The request that prompted the initiation of this CreateCluster operation.
       
      .google.bigtable.admin.v2.CreateClusterRequest original_request = 1;
    • 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.
    • setRequestTime

      public CreateClusterMetadata.Builder setRequestTime(com.google.protobuf.Timestamp value)
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
    • setRequestTime

      public CreateClusterMetadata.Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
    • mergeRequestTime

      public CreateClusterMetadata.Builder mergeRequestTime(com.google.protobuf.Timestamp value)
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
    • clearRequestTime

      public CreateClusterMetadata.Builder clearRequestTime()
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
    • getRequestTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder()
       The time at which the original request was received.
       
      .google.protobuf.Timestamp request_time = 2;
    • 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.
    • setFinishTime

      public CreateClusterMetadata.Builder setFinishTime(com.google.protobuf.Timestamp value)
       The time at which the operation failed or was completed successfully.
       
      .google.protobuf.Timestamp finish_time = 3;
    • setFinishTime

      public CreateClusterMetadata.Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the operation failed or was completed successfully.
       
      .google.protobuf.Timestamp finish_time = 3;
    • mergeFinishTime

      public CreateClusterMetadata.Builder mergeFinishTime(com.google.protobuf.Timestamp value)
       The time at which the operation failed or was completed successfully.
       
      .google.protobuf.Timestamp finish_time = 3;
    • clearFinishTime

      public CreateClusterMetadata.Builder clearFinishTime()
       The time at which the operation failed or was completed successfully.
       
      .google.protobuf.Timestamp finish_time = 3;
    • getFinishTimeBuilder

      public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder()
       The time at which the operation failed or was completed successfully.
       
      .google.protobuf.Timestamp finish_time = 3;
    • 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
    • clearTables

      public CreateClusterMetadata.Builder clearTables()
    • removeTables

      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;
    • getMutableTables

      Deprecated.
      Use alternate mutation accessors instead.
    • putTables

       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;
    • putAllTables

       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;
    • setUnknownFields

      public final CreateClusterMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>
    • mergeUnknownFields

      public final CreateClusterMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateClusterMetadata.Builder>