Interface CreateCloudInstanceActionOrBuilder (6.79.0)

public interface CreateCloudInstanceActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

labels.

map<string, string> labels = 5;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAutoscalingConfig()

public abstract AutoscalingConfig getAutoscalingConfig()

The autoscaling config for this instance. If non-empty, an autoscaling instance will be created (processing_units and node_count should be set to 0 if used).

optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7;

Returns
Type Description
AutoscalingConfig

The autoscalingConfig.

getAutoscalingConfigOrBuilder()

public abstract AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder()

The autoscaling config for this instance. If non-empty, an autoscaling instance will be created (processing_units and node_count should be set to 0 if used).

optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7;

Returns
Type Description
AutoscalingConfigOrBuilder

getInstanceConfigId()

public abstract String getInstanceConfigId()

Instance config ID, e.g. "test-config".

string instance_config_id = 3;

Returns
Type Description
String

The instanceConfigId.

getInstanceConfigIdBytes()

public abstract ByteString getInstanceConfigIdBytes()

Instance config ID, e.g. "test-config".

string instance_config_id = 3;

Returns
Type Description
ByteString

The bytes for instanceConfigId.

getInstanceId()

public abstract String getInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Returns
Type Description
ByteString

The bytes for instanceId.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

labels.

map<string, string> labels = 5;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

labels.

map<string, string> labels = 5;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

labels.

map<string, string> labels = 5;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

labels.

map<string, string> labels = 5;

Parameter
Name Description
key String
Returns
Type Description
String

getNodeCount()

public abstract int getNodeCount()

Number of nodes (processing_units should not be set or set to 0 if used).

optional int32 node_count = 4;

Returns
Type Description
int

The nodeCount.

getProcessingUnits()

public abstract int getProcessingUnits()

Number of processing units (node_count should be set to 0 if used).

optional int32 processing_units = 6;

Returns
Type Description
int

The processingUnits.

getProjectId()

public abstract String getProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Returns
Type Description
ByteString

The bytes for projectId.

hasAutoscalingConfig()

public abstract boolean hasAutoscalingConfig()

The autoscaling config for this instance. If non-empty, an autoscaling instance will be created (processing_units and node_count should be set to 0 if used).

optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7;

Returns
Type Description
boolean

Whether the autoscalingConfig field is set.

hasNodeCount()

public abstract boolean hasNodeCount()

Number of nodes (processing_units should not be set or set to 0 if used).

optional int32 node_count = 4;

Returns
Type Description
boolean

Whether the nodeCount field is set.

hasProcessingUnits()

public abstract boolean hasProcessingUnits()

Number of processing units (node_count should be set to 0 if used).

optional int32 processing_units = 6;

Returns
Type Description
boolean

Whether the processingUnits field is set.