public static final class KubernetesClusterConfig.Builder extends GeneratedMessageV3.Builder<KubernetesClusterConfig.Builder> implements KubernetesClusterConfigOrBuilder
The configuration for running the Dataproc cluster on Kubernetes.
Protobuf type google.cloud.dataproc.v1.KubernetesClusterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public KubernetesClusterConfig build()
Returns
buildPartial()
public KubernetesClusterConfig buildPartial()
Returns
clear()
public KubernetesClusterConfig.Builder clear()
Returns
Overrides
clearConfig()
public KubernetesClusterConfig.Builder clearConfig()
Returns
clearField(Descriptors.FieldDescriptor field)
public KubernetesClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGkeClusterConfig()
public KubernetesClusterConfig.Builder clearGkeClusterConfig()
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearKubernetesNamespace()
public KubernetesClusterConfig.Builder clearKubernetesNamespace()
Optional. A namespace within the Kubernetes cluster to deploy into. If this
namespace does not exist, it is created. If it exists, Dataproc verifies
that another Dataproc VirtualCluster is not installed into it. If not
specified, the name of the Dataproc Cluster is used.
string kubernetes_namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearKubernetesSoftwareConfig()
public KubernetesClusterConfig.Builder clearKubernetesSoftwareConfig()
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public KubernetesClusterConfig.Builder clone()
Returns
Overrides
getConfigCase()
public KubernetesClusterConfig.ConfigCase getConfigCase()
Returns
getDefaultInstanceForType()
public KubernetesClusterConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGkeClusterConfig()
public GkeClusterConfig getGkeClusterConfig()
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getGkeClusterConfigBuilder()
public GkeClusterConfig.Builder getGkeClusterConfigBuilder()
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getGkeClusterConfigOrBuilder()
public GkeClusterConfigOrBuilder getGkeClusterConfigOrBuilder()
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getKubernetesNamespace()
public String getKubernetesNamespace()
Optional. A namespace within the Kubernetes cluster to deploy into. If this
namespace does not exist, it is created. If it exists, Dataproc verifies
that another Dataproc VirtualCluster is not installed into it. If not
specified, the name of the Dataproc Cluster is used.
string kubernetes_namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The kubernetesNamespace.
|
getKubernetesNamespaceBytes()
public ByteString getKubernetesNamespaceBytes()
Optional. A namespace within the Kubernetes cluster to deploy into. If this
namespace does not exist, it is created. If it exists, Dataproc verifies
that another Dataproc VirtualCluster is not installed into it. If not
specified, the name of the Dataproc Cluster is used.
string kubernetes_namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for kubernetesNamespace.
|
getKubernetesSoftwareConfig()
public KubernetesSoftwareConfig getKubernetesSoftwareConfig()
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getKubernetesSoftwareConfigBuilder()
public KubernetesSoftwareConfig.Builder getKubernetesSoftwareConfigBuilder()
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getKubernetesSoftwareConfigOrBuilder()
public KubernetesSoftwareConfigOrBuilder getKubernetesSoftwareConfigOrBuilder()
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasGkeClusterConfig()
public boolean hasGkeClusterConfig()
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the gkeClusterConfig field is set.
|
hasKubernetesSoftwareConfig()
public boolean hasKubernetesSoftwareConfig()
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the kubernetesSoftwareConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(KubernetesClusterConfig other)
public KubernetesClusterConfig.Builder mergeFrom(KubernetesClusterConfig other)
Parameter
Returns
public KubernetesClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public KubernetesClusterConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGkeClusterConfig(GkeClusterConfig value)
public KubernetesClusterConfig.Builder mergeGkeClusterConfig(GkeClusterConfig value)
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeKubernetesSoftwareConfig(KubernetesSoftwareConfig value)
public KubernetesClusterConfig.Builder mergeKubernetesSoftwareConfig(KubernetesSoftwareConfig value)
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGkeClusterConfig(GkeClusterConfig value)
public KubernetesClusterConfig.Builder setGkeClusterConfig(GkeClusterConfig value)
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setGkeClusterConfig(GkeClusterConfig.Builder builderForValue)
public KubernetesClusterConfig.Builder setGkeClusterConfig(GkeClusterConfig.Builder builderForValue)
Required. The configuration for running the Dataproc cluster on GKE.
.google.cloud.dataproc.v1.GkeClusterConfig gke_cluster_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setKubernetesNamespace(String value)
public KubernetesClusterConfig.Builder setKubernetesNamespace(String value)
Optional. A namespace within the Kubernetes cluster to deploy into. If this
namespace does not exist, it is created. If it exists, Dataproc verifies
that another Dataproc VirtualCluster is not installed into it. If not
specified, the name of the Dataproc Cluster is used.
string kubernetes_namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The kubernetesNamespace to set.
|
Returns
setKubernetesNamespaceBytes(ByteString value)
public KubernetesClusterConfig.Builder setKubernetesNamespaceBytes(ByteString value)
Optional. A namespace within the Kubernetes cluster to deploy into. If this
namespace does not exist, it is created. If it exists, Dataproc verifies
that another Dataproc VirtualCluster is not installed into it. If not
specified, the name of the Dataproc Cluster is used.
string kubernetes_namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for kubernetesNamespace to set.
|
Returns
setKubernetesSoftwareConfig(KubernetesSoftwareConfig value)
public KubernetesClusterConfig.Builder setKubernetesSoftwareConfig(KubernetesSoftwareConfig value)
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setKubernetesSoftwareConfig(KubernetesSoftwareConfig.Builder builderForValue)
public KubernetesClusterConfig.Builder setKubernetesSoftwareConfig(KubernetesSoftwareConfig.Builder builderForValue)
Optional. The software configuration for this Dataproc cluster running on
Kubernetes.
.google.cloud.dataproc.v1.KubernetesSoftwareConfig kubernetes_software_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides