Class GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder (2.3.1)

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

A full, namespace-isolated deployment target for an existing GKE cluster.

Protobuf type google.cloud.dataproc.v1.GkeClusterConfig.NamespacedGkeDeploymentTarget

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GkeClusterConfig.NamespacedGkeDeploymentTarget build()
Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget

buildPartial()

public GkeClusterConfig.NamespacedGkeDeploymentTarget buildPartial()
Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget

clear()

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

clearClusterNamespace()

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder clearClusterNamespace()

Optional. A namespace within the GKE cluster to deploy into.

string cluster_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetGkeCluster()

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder clearTargetGkeCluster()

Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

string target_gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

clone()

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

getClusterNamespace()

public String getClusterNamespace()

Optional. A namespace within the GKE cluster to deploy into.

string cluster_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The clusterNamespace.

getClusterNamespaceBytes()

public ByteString getClusterNamespaceBytes()

Optional. A namespace within the GKE cluster to deploy into.

string cluster_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for clusterNamespace.

getDefaultInstanceForType()

public GkeClusterConfig.NamespacedGkeDeploymentTarget getDefaultInstanceForType()
Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTargetGkeCluster()

public String getTargetGkeCluster()

Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

string target_gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The targetGkeCluster.

getTargetGkeClusterBytes()

public ByteString getTargetGkeClusterBytes()

Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

string target_gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for targetGkeCluster.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GkeClusterConfig.NamespacedGkeDeploymentTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClusterNamespace(String value)

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder setClusterNamespace(String value)

Optional. A namespace within the GKE cluster to deploy into.

string cluster_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The clusterNamespace to set.

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

setClusterNamespaceBytes(ByteString value)

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder setClusterNamespaceBytes(ByteString value)

Optional. A namespace within the GKE cluster to deploy into.

string cluster_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for clusterNamespace to set.

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetGkeCluster(String value)

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder setTargetGkeCluster(String value)

Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

string target_gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The targetGkeCluster to set.

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

setTargetGkeClusterBytes(ByteString value)

public GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder setTargetGkeClusterBytes(ByteString value)

Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

string target_gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for targetGkeCluster to set.

Returns
TypeDescription
GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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