Class GkeClusterConfig.Builder (2.3.1)

public static final class GkeClusterConfig.Builder extends GeneratedMessageV3.Builder<GkeClusterConfig.Builder> implements GkeClusterConfigOrBuilder

The GKE config for this cluster.

Protobuf type google.cloud.dataproc.v1.GkeClusterConfig

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GkeClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

build()

public GkeClusterConfig build()
Returns
TypeDescription
GkeClusterConfig

buildPartial()

public GkeClusterConfig buildPartial()
Returns
TypeDescription
GkeClusterConfig

clear()

public GkeClusterConfig.Builder clear()
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GkeClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

clearNamespacedGkeDeploymentTarget()

public GkeClusterConfig.Builder clearNamespacedGkeDeploymentTarget()

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GkeClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

clone()

public GkeClusterConfig.Builder clone()
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

getDefaultInstanceForType()

public GkeClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
GkeClusterConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNamespacedGkeDeploymentTarget()

public GkeClusterConfig.NamespacedGkeDeploymentTarget getNamespacedGkeDeploymentTarget()

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget

The namespacedGkeDeploymentTarget.

getNamespacedGkeDeploymentTargetBuilder()

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder getNamespacedGkeDeploymentTargetBuilder()

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

getNamespacedGkeDeploymentTargetOrBuilder()

public GkeClusterConfig.NamespacedGkeDeploymentTargetOrBuilder getNamespacedGkeDeploymentTargetOrBuilder()

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTargetOrBuilder

hasNamespacedGkeDeploymentTarget()

public boolean hasNamespacedGkeDeploymentTarget()

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the namespacedGkeDeploymentTarget field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GkeClusterConfig other)

public GkeClusterConfig.Builder mergeFrom(GkeClusterConfig other)
Parameter
NameDescription
otherGkeClusterConfig
Returns
TypeDescription
GkeClusterConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GkeClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GkeClusterConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

mergeNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget value)

public GkeClusterConfig.Builder mergeNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget value)

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueGkeClusterConfig.NamespacedGkeDeploymentTarget
Returns
TypeDescription
GkeClusterConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GkeClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GkeClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

setNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget value)

public GkeClusterConfig.Builder setNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget value)

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueGkeClusterConfig.NamespacedGkeDeploymentTarget
Returns
TypeDescription
GkeClusterConfig.Builder

setNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder builderForValue)

public GkeClusterConfig.Builder setNamespacedGkeDeploymentTarget(GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder builderForValue)

Optional. A target for the deployment.

.google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget namespaced_gke_deployment_target = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueGkeClusterConfig.NamespacedGkeDeploymentTarget.Builder
Returns
TypeDescription
GkeClusterConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GkeClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GkeClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GkeClusterConfig.Builder
Overrides