public static final class GkeClusterConfig.Builder extends GeneratedMessageV3.Builder<GkeClusterConfig.Builder> implements GkeClusterConfigOrBuilder
The cluster's GKE config.
Protobuf type google.cloud.dataproc.v1.GkeClusterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNodePoolTarget(Iterable<? extends GkeNodePoolTarget> values)
public GkeClusterConfig.Builder addAllNodePoolTarget(Iterable<? extends GkeNodePoolTarget> values)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dataproc.v1.GkeNodePoolTarget>
|
addNodePoolTarget(GkeNodePoolTarget value)
public GkeClusterConfig.Builder addNodePoolTarget(GkeNodePoolTarget value)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
addNodePoolTarget(GkeNodePoolTarget.Builder builderForValue)
public GkeClusterConfig.Builder addNodePoolTarget(GkeNodePoolTarget.Builder builderForValue)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
addNodePoolTarget(int index, GkeNodePoolTarget value)
public GkeClusterConfig.Builder addNodePoolTarget(int index, GkeNodePoolTarget value)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
addNodePoolTarget(int index, GkeNodePoolTarget.Builder builderForValue)
public GkeClusterConfig.Builder addNodePoolTarget(int index, GkeNodePoolTarget.Builder builderForValue)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
addNodePoolTargetBuilder()
public GkeNodePoolTarget.Builder addNodePoolTargetBuilder()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
addNodePoolTargetBuilder(int index)
public GkeNodePoolTarget.Builder addNodePoolTargetBuilder(int index)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GkeClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GkeClusterConfig build()
buildPartial()
public GkeClusterConfig buildPartial()
clear()
public GkeClusterConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GkeClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGkeClusterTarget()
public GkeClusterConfig.Builder clearGkeClusterTarget()
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
string gke_cluster_target = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
clearNodePoolTarget()
public GkeClusterConfig.Builder clearNodePoolTarget()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public GkeClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GkeClusterConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public GkeClusterConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGkeClusterTarget()
public String getGkeClusterTarget()
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
string gke_cluster_target = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The gkeClusterTarget.
|
getGkeClusterTargetBytes()
public ByteString getGkeClusterTargetBytes()
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
string gke_cluster_target = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for gkeClusterTarget.
|
getNodePoolTarget(int index)
public GkeNodePoolTarget getNodePoolTarget(int index)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getNodePoolTargetBuilder(int index)
public GkeNodePoolTarget.Builder getNodePoolTargetBuilder(int index)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getNodePoolTargetBuilderList()
public List<GkeNodePoolTarget.Builder> getNodePoolTargetBuilderList()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolTargetCount()
public int getNodePoolTargetCount()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getNodePoolTargetList()
public List<GkeNodePoolTarget> getNodePoolTargetList()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
getNodePoolTargetOrBuilder(int index)
public GkeNodePoolTargetOrBuilder getNodePoolTargetOrBuilder(int index)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getNodePoolTargetOrBuilderList()
public List<? extends GkeNodePoolTargetOrBuilder> getNodePoolTargetOrBuilderList()
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dataproc.v1.GkeNodePoolTargetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GkeClusterConfig other)
public GkeClusterConfig.Builder mergeFrom(GkeClusterConfig other)
public GkeClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GkeClusterConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GkeClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNodePoolTarget(int index)
public GkeClusterConfig.Builder removeNodePoolTarget(int index)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GkeClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGkeClusterTarget(String value)
public GkeClusterConfig.Builder setGkeClusterTarget(String value)
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
string gke_cluster_target = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The gkeClusterTarget to set.
|
setGkeClusterTargetBytes(ByteString value)
public GkeClusterConfig.Builder setGkeClusterTargetBytes(ByteString value)
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
string gke_cluster_target = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for gkeClusterTarget to set.
|
setNodePoolTarget(int index, GkeNodePoolTarget value)
public GkeClusterConfig.Builder setNodePoolTarget(int index, GkeNodePoolTarget value)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
setNodePoolTarget(int index, GkeNodePoolTarget.Builder builderForValue)
public GkeClusterConfig.Builder setNodePoolTarget(int index, GkeNodePoolTarget.Builder builderForValue)
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
GkeNodePoolTarget.Role.
If a GkeNodePoolTarget
is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget
. Each role can be given to only one
GkeNodePoolTarget
. All node pools must have the same location settings.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget node_pool_target = 3 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GkeClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GkeClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides