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.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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public KubernetesClusterConfig build()
buildPartial()
public KubernetesClusterConfig buildPartial()
clear()
public KubernetesClusterConfig.Builder clear()
Overrides
clearConfig()
public KubernetesClusterConfig.Builder clearConfig()
clearField(Descriptors.FieldDescriptor field)
public KubernetesClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public KubernetesClusterConfig.Builder clone()
Overrides
getConfigCase()
public KubernetesClusterConfig.ConfigCase getConfigCase()
getDefaultInstanceForType()
public KubernetesClusterConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(KubernetesClusterConfig other)
public KubernetesClusterConfig.Builder mergeFrom(KubernetesClusterConfig other)
public KubernetesClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KubernetesClusterConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides