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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsClusters(String key)
Required.Map<String,Cluster>
getClusters()
Deprecated.int
getClustersCount()
Required.Map<String,Cluster>
getClustersMap()
Required.Cluster
getClustersOrDefault(String key, Cluster defaultValue)
Required.Cluster
getClustersOrThrow(String key)
Required.Instance
getInstance()
Required.String
getInstanceId()
Required.com.google.protobuf.ByteString
getInstanceIdBytes()
Required.InstanceOrBuilder
getInstanceOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasInstance()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.UsegetClustersMap()
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];
-
-