Package com.google.spanner.executor.v1
Interface UpdateCloudInstanceActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateCloudInstanceAction,UpdateCloudInstanceAction.Builder
public interface UpdateCloudInstanceActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) labels.The autoscaling config for this instance.The autoscaling config for this instance.The descriptive name for this instance as it appears in UIs.com.google.protobuf.ByteStringThe descriptive name for this instance as it appears in UIs.Cloud instance ID (not path), e.g.com.google.protobuf.ByteStringCloud instance ID (not path), e.g.Deprecated.intlabels.labels.getLabelsOrDefault(String key, String defaultValue) labels.getLabelsOrThrow(String key) labels.intThe number of nodes allocated to this instance.intThe number of processing units allocated to this instance.Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.booleanThe autoscaling config for this instance.booleanThe descriptive name for this instance as it appears in UIs.booleanThe number of nodes allocated to this instance.booleanThe number of processing units allocated to this instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceId
String getInstanceId()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 1;- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 1;- Returns:
- The bytes for instanceId.
-
getProjectId
String getProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;- Returns:
- The bytes for projectId.
-
hasDisplayName
boolean hasDisplayName()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:
- Whether the displayName field is set.
-
getDisplayName
String getDisplayName()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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()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:
- The bytes for displayName.
-
hasNodeCount
boolean hasNodeCount()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:
- Whether the nodeCount field is set.
-
getNodeCount
int getNodeCount()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:
- The nodeCount.
-
hasProcessingUnits
boolean hasProcessingUnits()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:
- Whether the processingUnits field is set.
-
getProcessingUnits
int getProcessingUnits()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:
- The processingUnits.
-
hasAutoscalingConfig
boolean hasAutoscalingConfig()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:
- Whether the autoscalingConfig field is set.
-
getAutoscalingConfig
AutoscalingConfig getAutoscalingConfig()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:
- The autoscalingConfig.
-
getAutoscalingConfigOrBuilder
AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder()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; -
getLabelsCount
int getLabelsCount()labels.
map<string, string> labels = 6; -
containsLabels
labels.
map<string, string> labels = 6; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
labels.
map<string, string> labels = 6; -
getLabelsOrDefault
labels.
map<string, string> labels = 6; -
getLabelsOrThrow
labels.
map<string, string> labels = 6;
-