Interface NodeGroupOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    NodeGroup, NodeGroup.Builder

    public interface NodeGroupOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The Node group [resource name](https://aip.dev/122).
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The Node group [resource name](https://aip.dev/122).
         
        string name = 1;
        Returns:
        The bytes for name.
      • getRolesList

        List<NodeGroup.Role> getRolesList()
         Required. Node group roles.
         
        repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the roles.
      • getRolesCount

        int getRolesCount()
         Required. Node group roles.
         
        repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of roles.
      • getRoles

        NodeGroup.Role getRoles​(int index)
         Required. Node group roles.
         
        repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The roles at the given index.
      • getRolesValueList

        List<Integer> getRolesValueList()
         Required. Node group roles.
         
        repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the enum numeric values on the wire for roles.
      • getRolesValue

        int getRolesValue​(int index)
         Required. Node group roles.
         
        repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of roles at the given index.
      • hasNodeGroupConfig

        boolean hasNodeGroupConfig()
         Optional. The node group instance group configuration.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the nodeGroupConfig field is set.
      • getNodeGroupConfig

        InstanceGroupConfig getNodeGroupConfig()
         Optional. The node group instance group configuration.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The nodeGroupConfig.
      • getNodeGroupConfigOrBuilder

        InstanceGroupConfigOrBuilder getNodeGroupConfigOrBuilder()
         Optional. The node group instance group configuration.
         
        .google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsCount

        int getLabelsCount()
         Optional. Node group labels.
        
         * Label **keys** must consist of from 1 to 63 characters and conform to
           [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
         * Label **values** can be empty. If specified, they must consist of from
           1 to 63 characters and conform to [RFC 1035]
           (https://www.ietf.org/rfc/rfc1035.txt).
         * The node group must have no more than 32 labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • containsLabels

        boolean containsLabels​(String key)
         Optional. Node group labels.
        
         * Label **keys** must consist of from 1 to 63 characters and conform to
           [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
         * Label **values** can be empty. If specified, they must consist of from
           1 to 63 characters and conform to [RFC 1035]
           (https://www.ietf.org/rfc/rfc1035.txt).
         * The node group must have no more than 32 labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Optional. Node group labels.
        
         * Label **keys** must consist of from 1 to 63 characters and conform to
           [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
         * Label **values** can be empty. If specified, they must consist of from
           1 to 63 characters and conform to [RFC 1035]
           (https://www.ietf.org/rfc/rfc1035.txt).
         * The node group must have no more than 32 labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Optional. Node group labels.
        
         * Label **keys** must consist of from 1 to 63 characters and conform to
           [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
         * Label **values** can be empty. If specified, they must consist of from
           1 to 63 characters and conform to [RFC 1035]
           (https://www.ietf.org/rfc/rfc1035.txt).
         * The node group must have no more than 32 labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Optional. Node group labels.
        
         * Label **keys** must consist of from 1 to 63 characters and conform to
           [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
         * Label **values** can be empty. If specified, they must consist of from
           1 to 63 characters and conform to [RFC 1035]
           (https://www.ietf.org/rfc/rfc1035.txt).
         * The node group must have no more than 32 labels.
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];