Package com.google.cloud.dataproc.v1
Interface GkeNodePoolTargetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GkeNodePoolTarget
,GkeNodePoolTarget.Builder
public interface GkeNodePoolTargetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNodePool()
Required.com.google.protobuf.ByteString
getNodePoolBytes()
Required.GkeNodePoolConfig
getNodePoolConfig()
Input only.GkeNodePoolConfigOrBuilder
getNodePoolConfigOrBuilder()
Input only.GkeNodePoolTarget.Role
getRoles(int index)
Required.int
getRolesCount()
Required.List<GkeNodePoolTarget.Role>
getRolesList()
Required.int
getRolesValue(int index)
Required.List<Integer>
getRolesValueList()
Required.boolean
hasNodePoolConfig()
Input only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNodePool
String getNodePool()
Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The nodePool.
-
getNodePoolBytes
com.google.protobuf.ByteString getNodePoolBytes()
Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for nodePool.
-
getRolesList
List<GkeNodePoolTarget.Role> getRolesList()
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of roles.
-
getRoles
GkeNodePoolTarget.Role getRoles(int index)
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.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. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.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. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.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.
-
hasNodePoolConfig
boolean hasNodePoolConfig()
Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- Whether the nodePoolConfig field is set.
-
getNodePoolConfig
GkeNodePoolConfig getNodePoolConfig()
Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
- Returns:
- The nodePoolConfig.
-
getNodePoolConfigOrBuilder
GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()
Input only. The configuration for the GKE node pool. If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail. If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values. This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
-
-