Interface CreateInstanceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateInstanceRequest, CreateInstanceRequest.Builder

public interface CreateInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The unique name of the project in which to create the new
       instance. Values are of the form `projects/{project}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The unique name of the project in which to create the new
       instance. Values are of the form `projects/{project}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getInstanceId

      String getInstanceId()
       Required. The ID to be used when referring to the new instance within its
       project, e.g., just `myinstance` rather than
       `projects/myproject/instances/myinstance`.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instanceId.
    • getInstanceIdBytes

      com.google.protobuf.ByteString getInstanceIdBytes()
       Required. The ID to be used when referring to the new instance within its
       project, e.g., just `myinstance` rather than
       `projects/myproject/instances/myinstance`.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for instanceId.
    • hasInstance

      boolean hasInstance()
       Required. The instance to create.
       Fields marked `OutputOnly` must be left blank.
       
      .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the instance field is set.
    • getInstance

      Instance getInstance()
       Required. The instance to create.
       Fields marked `OutputOnly` must be left blank.
       
      .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instance.
    • getInstanceOrBuilder

      InstanceOrBuilder getInstanceOrBuilder()
       Required. The instance to create.
       Fields marked `OutputOnly` must be left blank.
       
      .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
    • getClustersCount

      int getClustersCount()
       Required. The clusters to be created within the instance, mapped by desired
       cluster ID, e.g., just `mycluster` rather than
       `projects/myproject/instances/myinstance/clusters/mycluster`.
       Fields marked `OutputOnly` must be left blank.
       Currently, at most four clusters can be specified.
       
      map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED];
    • containsClusters

      boolean containsClusters(String key)
       Required. The clusters to be created within the instance, mapped by desired
       cluster ID, e.g., just `mycluster` rather than
       `projects/myproject/instances/myinstance/clusters/mycluster`.
       Fields marked `OutputOnly` must be left blank.
       Currently, at most four clusters can be specified.
       
      map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED];
    • getClusters

      @Deprecated Map<String,Cluster> getClusters()
      Deprecated.
      Use getClustersMap() instead.
    • getClustersMap

      Map<String,Cluster> getClustersMap()
       Required. The clusters to be created within the instance, mapped by desired
       cluster ID, e.g., just `mycluster` rather than
       `projects/myproject/instances/myinstance/clusters/mycluster`.
       Fields marked `OutputOnly` must be left blank.
       Currently, at most four clusters can be specified.
       
      map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED];
    • getClustersOrDefault

      Cluster getClustersOrDefault(String key, Cluster defaultValue)
       Required. The clusters to be created within the instance, mapped by desired
       cluster ID, e.g., just `mycluster` rather than
       `projects/myproject/instances/myinstance/clusters/mycluster`.
       Fields marked `OutputOnly` must be left blank.
       Currently, at most four clusters can be specified.
       
      map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED];
    • getClustersOrThrow

      Cluster getClustersOrThrow(String key)
       Required. The clusters to be created within the instance, mapped by desired
       cluster ID, e.g., just `mycluster` rather than
       `projects/myproject/instances/myinstance/clusters/mycluster`.
       Fields marked `OutputOnly` must be left blank.
       Currently, at most four clusters can be specified.
       
      map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED];