Class KubernetesClusterConfig (4.51.0)

public final class KubernetesClusterConfig extends GeneratedMessageV3 implements KubernetesClusterConfigOrBuilder

The configuration for running the Dataproc cluster on Kubernetes.

Protobuf type google.cloud.dataproc.v1.KubernetesClusterConfig

Static Fields

GKE_CLUSTER_CONFIG_FIELD_NUMBER

public static final int GKE_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_NAMESPACE_FIELD_NUMBER

public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER

public static final int KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KubernetesClusterConfig getDefaultInstance()
Returns
Type Description
KubernetesClusterConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static KubernetesClusterConfig.Builder newBuilder()
Returns
Type Description
KubernetesClusterConfig.Builder

newBuilder(KubernetesClusterConfig prototype)

public static KubernetesClusterConfig.Builder newBuilder(KubernetesClusterConfig prototype)
Parameter
Name Description
prototype KubernetesClusterConfig
Returns
Type Description
KubernetesClusterConfig.Builder

parseDelimitedFrom(InputStream input)

public static KubernetesClusterConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static KubernetesClusterConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KubernetesClusterConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KubernetesClusterConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static KubernetesClusterConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static KubernetesClusterConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<KubernetesClusterConfig> parser()
Returns
Type Description
Parser<KubernetesClusterConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigCase()

public KubernetesClusterConfig.ConfigCase getConfigCase()
Returns
Type Description
KubernetesClusterConfig.ConfigCase

getDefaultInstanceForType()

public KubernetesClusterConfig getDefaultInstanceForType()
Returns
Type Description
KubernetesClusterConfig

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
Type Description
GkeClusterConfig

The gkeClusterConfig.

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
Type Description
GkeClusterConfigOrBuilder

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
Type Description
KubernetesSoftwareConfig

The kubernetesSoftwareConfig.

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
Type Description
KubernetesSoftwareConfigOrBuilder

getParserForType()

public Parser<KubernetesClusterConfig> getParserForType()
Returns
Type Description
Parser<KubernetesClusterConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public KubernetesClusterConfig.Builder newBuilderForType()
Returns
Type Description
KubernetesClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KubernetesClusterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public KubernetesClusterConfig.Builder toBuilder()
Returns
Type Description
KubernetesClusterConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException