- 4.44.0 (latest)
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class GkeNodePoolTarget.Builder extends GeneratedMessageV3.Builder<GkeNodePoolTarget.Builder> implements GkeNodePoolTargetOrBuilder
GKE NodePools that Dataproc workloads run on.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolTarget
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GkeNodePoolTarget.BuilderImplements
GkeNodePoolTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllRoles(Iterable<? extends GkeNodePoolTarget.Role> values)
public GkeNodePoolTarget.Builder addAllRoles(Iterable<? extends GkeNodePoolTarget.Role> values)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.GkeNodePoolTarget.Role> The roles to add. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
addAllRolesValue(Iterable<Integer> values)
public GkeNodePoolTarget.Builder addAllRolesValue(Iterable<Integer> values)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for roles to add. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GkeNodePoolTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GkeNodePoolTarget.Builder |
addRoles(GkeNodePoolTarget.Role value)
public GkeNodePoolTarget.Builder addRoles(GkeNodePoolTarget.Role value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | GkeNodePoolTarget.Role The roles to add. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
addRolesValue(int value)
public GkeNodePoolTarget.Builder addRolesValue(int value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for roles to add. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
build()
public GkeNodePoolTarget build()
Type | Description |
GkeNodePoolTarget |
buildPartial()
public GkeNodePoolTarget buildPartial()
Type | Description |
GkeNodePoolTarget |
clear()
public GkeNodePoolTarget.Builder clear()
Type | Description |
GkeNodePoolTarget.Builder |
clearField(Descriptors.FieldDescriptor field)
public GkeNodePoolTarget.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GkeNodePoolTarget.Builder |
clearNodePool()
public GkeNodePoolTarget.Builder clearNodePool()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
clearNodePoolConfig()
public GkeNodePoolTarget.Builder clearNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
GkeNodePoolTarget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GkeNodePoolTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GkeNodePoolTarget.Builder |
clearRoles()
public GkeNodePoolTarget.Builder clearRoles()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
clone()
public GkeNodePoolTarget.Builder clone()
Type | Description |
GkeNodePoolTarget.Builder |
getDefaultInstanceForType()
public GkeNodePoolTarget getDefaultInstanceForType()
Type | Description |
GkeNodePoolTarget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNodePool()
public String getNodePool()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The nodePool. |
getNodePoolBytes()
public ByteString getNodePoolBytes()
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for nodePool. |
getNodePoolConfig()
public GkeNodePoolConfig getNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
GkeNodePoolConfig | The nodePoolConfig. |
getNodePoolConfigBuilder()
public GkeNodePoolConfig.Builder getNodePoolConfigBuilder()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
GkeNodePoolConfig.Builder |
getNodePoolConfigOrBuilder()
public GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
GkeNodePoolConfigOrBuilder |
getRoles(int index)
public GkeNodePoolTarget.Role getRoles(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
GkeNodePoolTarget.Role | The roles at the given index. |
getRolesCount()
public int getRolesCount()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of roles. |
getRolesList()
public List<GkeNodePoolTarget.Role> getRolesList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Role> | A list containing the roles. |
getRolesValue(int index)
public int getRolesValue(int index)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of roles at the given index. |
getRolesValueList()
public List<Integer> getRolesValueList()
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for roles. |
hasNodePoolConfig()
public boolean hasNodePoolConfig()
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the nodePoolConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GkeNodePoolTarget other)
public GkeNodePoolTarget.Builder mergeFrom(GkeNodePoolTarget other)
Name | Description |
other | GkeNodePoolTarget |
Type | Description |
GkeNodePoolTarget.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GkeNodePoolTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GkeNodePoolTarget.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GkeNodePoolTarget.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GkeNodePoolTarget.Builder |
mergeNodePoolConfig(GkeNodePoolConfig value)
public GkeNodePoolTarget.Builder mergeNodePoolConfig(GkeNodePoolConfig value)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | GkeNodePoolConfig |
Type | Description |
GkeNodePoolTarget.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GkeNodePoolTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GkeNodePoolTarget.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GkeNodePoolTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GkeNodePoolTarget.Builder |
setNodePool(String value)
public GkeNodePoolTarget.Builder setNodePool(String value)
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The nodePool to set. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
setNodePoolBytes(ByteString value)
public GkeNodePoolTarget.Builder setNodePoolBytes(ByteString value)
Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for nodePool to set. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
setNodePoolConfig(GkeNodePoolConfig value)
public GkeNodePoolTarget.Builder setNodePoolConfig(GkeNodePoolConfig value)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | GkeNodePoolConfig |
Type | Description |
GkeNodePoolTarget.Builder |
setNodePoolConfig(GkeNodePoolConfig.Builder builderForValue)
public GkeNodePoolTarget.Builder setNodePoolConfig(GkeNodePoolConfig.Builder builderForValue)
Optional. The configuration for the GKE NodePool. If specified, Dataproc attempts to create a NodePool 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 NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | GkeNodePoolConfig.Builder |
Type | Description |
GkeNodePoolTarget.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GkeNodePoolTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GkeNodePoolTarget.Builder |
setRoles(int index, GkeNodePoolTarget.Role value)
public GkeNodePoolTarget.Builder setRoles(int index, GkeNodePoolTarget.Role value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | GkeNodePoolTarget.Role The roles to set. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
setRolesValue(int index, int value)
public GkeNodePoolTarget.Builder setRolesValue(int index, int value)
Required. The types of role for a GKE NodePool
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for roles to set. |
Type | Description |
GkeNodePoolTarget.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GkeNodePoolTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GkeNodePoolTarget.Builder |