Interface UpdateCloudInstanceActionOrBuilder (6.89.0)

publicinterfaceUpdateCloudInstanceActionOrBuilderextendsMessageOrBuilder

Methods

containsLabels(String key)

publicabstractbooleancontainsLabels(Stringkey)

labels.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAutoscalingConfig()

publicabstractAutoscalingConfiggetAutoscalingConfig()

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

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

Returns
TypeDescription
AutoscalingConfig

The autoscalingConfig.

getAutoscalingConfigOrBuilder()

publicabstractAutoscalingConfigOrBuildergetAutoscalingConfigOrBuilder()

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

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

Returns
TypeDescription
AutoscalingConfigOrBuilder

getDisplayName()

publicabstractStringgetDisplayName()

The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.

optional string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

publicabstractByteStringgetDisplayNameBytes()

The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.

optional string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getInstanceId()

publicabstractStringgetInstanceId()

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

string instance_id = 1;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

publicabstractByteStringgetInstanceIdBytes()

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

string instance_id = 1;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getLabels() (deprecated)

publicabstractMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

publicabstractintgetLabelsCount()

labels.

map<string, string> labels = 6;

Returns
TypeDescription
int

getLabelsMap()

publicabstractMap<String,String>getLabelsMap()

labels.

map<string, string> labels = 6;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicabstractStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

labels.

map<string, string> labels = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

publicabstractStringgetLabelsOrThrow(Stringkey)

labels.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getNodeCount()

publicabstractintgetNodeCount()

The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message.

optional int32 node_count = 4;

Returns
TypeDescription
int

The nodeCount.

getProcessingUnits()

publicabstractintgetProcessingUnits()

The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message.

optional int32 processing_units = 5;

Returns
TypeDescription
int

The processingUnits.

getProjectId()

publicabstractStringgetProjectId()

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

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

publicabstractByteStringgetProjectIdBytes()

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

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.

hasAutoscalingConfig()

publicabstractbooleanhasAutoscalingConfig()

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

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

Returns
TypeDescription
boolean

Whether the autoscalingConfig field is set.

hasDisplayName()

publicabstractbooleanhasDisplayName()

The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.

optional string display_name = 3;

Returns
TypeDescription
boolean

Whether the displayName field is set.

hasNodeCount()

publicabstractbooleanhasNodeCount()

The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message.

optional int32 node_count = 4;

Returns
TypeDescription
boolean

Whether the nodeCount field is set.

hasProcessingUnits()

publicabstractbooleanhasProcessingUnits()

The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message.

optional int32 processing_units = 5;

Returns
TypeDescription
boolean

Whether the processingUnits field is set.