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

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

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

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

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

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