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

      boolean containsLabels(String key)
       labels.
       
      map<string, string> labels = 5;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       labels.
       
      map<string, string> labels = 5;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       labels.
       
      map<string, string> labels = 5;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       labels.
       
      map<string, string> labels = 5;