Package com.google.spanner.executor.v1
Interface CreateCloudInstanceActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateCloudInstanceAction,CreateCloudInstanceAction.Builder
public interface CreateCloudInstanceActionOrBuilder
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.Instance config ID, e.g.com.google.protobuf.ByteStringInstance config ID, e.g.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.intNumber of nodes (processing_units should not be set or set to 0 if used).intNumber of processing units (node_count should be set to 0 if used).Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.booleanThe autoscaling config for this instance.booleanNumber of nodes (processing_units should not be set or set to 0 if used).booleanNumber of processing units (node_count should be set to 0 if used).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.
-
getInstanceConfigId
String getInstanceConfigId()Instance config ID, e.g. "test-config".
string instance_config_id = 3;- Returns:
- The instanceConfigId.
-
getInstanceConfigIdBytes
com.google.protobuf.ByteString getInstanceConfigIdBytes()Instance config ID, e.g. "test-config".
string instance_config_id = 3;- Returns:
- The bytes for instanceConfigId.
-
hasNodeCount
boolean hasNodeCount()Number of nodes (processing_units should not be set or set to 0 if used).
optional int32 node_count = 4;- Returns:
- Whether the nodeCount field is set.
-
getNodeCount
int getNodeCount()Number of nodes (processing_units should not be set or set to 0 if used).
optional int32 node_count = 4;- Returns:
- The nodeCount.
-
hasProcessingUnits
boolean hasProcessingUnits()Number of processing units (node_count should be set to 0 if used).
optional int32 processing_units = 6;- Returns:
- Whether the processingUnits field is set.
-
getProcessingUnits
int getProcessingUnits()Number of processing units (node_count should be set to 0 if used).
optional int32 processing_units = 6;- Returns:
- The processingUnits.
-
hasAutoscalingConfig
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:
- Whether the autoscalingConfig field is set.
-
getAutoscalingConfig
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:
- The autoscalingConfig.
-
getAutoscalingConfigOrBuilder
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; -
getLabelsCount
int getLabelsCount()labels.
map<string, string> labels = 5; -
containsLabels
labels.
map<string, string> labels = 5; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
labels.
map<string, string> labels = 5; -
getLabelsOrDefault
labels.
map<string, string> labels = 5; -
getLabelsOrThrow
labels.
map<string, string> labels = 5;
-