Interface CreateInstanceRequestOrBuilder (2.14.0)

public interface CreateInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClusters()

public abstract Map<String,Cluster> getClusters()

Use #getClustersMap() instead.

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Parameters
NameDescription
keyString
defaultValueCluster
Returns
TypeDescription
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];

Parameter
NameDescription
keyString
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
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];

Returns
TypeDescription
boolean

Whether the instance field is set.