public interface NodeGroupOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
The Node group [resource name](https://aip.dev/122).
|
com.google.protobuf.ByteString |
getNameBytes()
The Node group [resource name](https://aip.dev/122).
|
InstanceGroupConfig |
getNodeGroupConfig()
Optional.
|
InstanceGroupConfigOrBuilder |
getNodeGroupConfigOrBuilder()
Optional.
|
NodeGroup.Role |
getRoles(int index)
Required.
|
int |
getRolesCount()
Required.
|
List<NodeGroup.Role> |
getRolesList()
Required.
|
int |
getRolesValue(int index)
Required.
|
List<Integer> |
getRolesValueList()
Required.
|
boolean |
hasNodeGroupConfig()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The Node group [resource name](https://aip.dev/122).
string name = 1;com.google.protobuf.ByteString getNameBytes()
The Node group [resource name](https://aip.dev/122).
string name = 1;List<NodeGroup.Role> getRolesList()
Required. Node group roles.
repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
int getRolesCount()
Required. Node group roles.
repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
NodeGroup.Role getRoles(int index)
Required. Node group roles.
repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the element to return.List<Integer> getRolesValueList()
Required. Node group roles.
repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
int getRolesValue(int index)
Required. Node group roles.
repeated .google.cloud.dataproc.v1.NodeGroup.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the value to return.boolean hasNodeGroupConfig()
Optional. The node group instance group configuration.
.google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
InstanceGroupConfig getNodeGroupConfig()
Optional. The node group instance group configuration.
.google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
InstanceGroupConfigOrBuilder getNodeGroupConfigOrBuilder()
Optional. The node group instance group configuration.
.google.cloud.dataproc.v1.InstanceGroupConfig node_group_config = 3 [(.google.api.field_behavior) = OPTIONAL];
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];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];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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];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];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];Copyright © 2024 Google LLC. All rights reserved.