public interface CreateInstanceRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsClusters(String key)
public abstract 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];
Name | Description |
key | String |
Type | Description |
boolean |
getClusters()
public abstract Map<String,Cluster> getClusters()
Use #getClustersMap() instead.
Type | Description |
Map<String,Cluster> |
getClustersCount()
public abstract 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];
Type | Description |
int |
getClustersMap()
public abstract 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];
Type | Description |
Map<String,Cluster> |
getClustersOrDefault(String key, Cluster defaultValue)
public abstract 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];
Name | Description |
key | String |
defaultValue | Cluster |
Type | Description |
Cluster |
getClustersOrThrow(String key)
public abstract 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];
Name | Description |
key | String |
Type | Description |
Cluster |
getInstance()
public abstract 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];
Type | Description |
Instance | The instance. |
getInstanceId()
public abstract 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];
Type | Description |
String | The instanceId. |
getInstanceIdBytes()
public abstract 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];
Type | Description |
ByteString | The bytes for instanceId. |
getInstanceOrBuilder()
public abstract 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];
Type | Description |
InstanceOrBuilder |
getParent()
public abstract 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public abstract 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
hasInstance()
public abstract 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];
Type | Description |
boolean | Whether the instance field is set. |