Package com.google.bigtable.admin.v2
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsClusters(String key) Required.Deprecated.intRequired.Required.getClustersOrDefault(String key, Cluster defaultValue) Required.getClustersOrThrow(String key) Required.Required.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.UsegetClustersMap()instead. -
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
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
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];
-