Send feedback
Class GkeClusterConfig.NamespacedGkeDeploymentTarget.Builder (2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.1 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public GkeClusterConfig . NamespacedGkeDeploymentTarget build ()
Returns
buildPartial()
public GkeClusterConfig . NamespacedGkeDeploymentTarget buildPartial ()
Returns
clear()
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clone()
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder clone ()
Returns
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
Type Description 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
Type Description ByteString The bytes for clusterNamespace.
getDefaultInstanceForType()
public GkeClusterConfig . NamespacedGkeDeploymentTarget getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Type Description 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
Type Description ByteString The bytes for targetGkeCluster.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(GkeClusterConfig.NamespacedGkeDeploymentTarget other)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder mergeFrom ( GkeClusterConfig . NamespacedGkeDeploymentTarget other )
Parameter
Returns
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name Description value String
The clusterNamespace to set.
Returns
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
Name Description value ByteString
The bytes for clusterNamespace to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
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
Name Description value String
The targetGkeCluster to set.
Returns
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
Name Description value ByteString
The bytes for targetGkeCluster to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GkeClusterConfig . NamespacedGkeDeploymentTarget . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]