Class KubernetesClusterConfig (4.20.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
TypeDescription
int

KUBERNETES_NAMESPACE_FIELD_NUMBER

public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER

public static final int KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KubernetesClusterConfig getDefaultInstance()
Returns
TypeDescription
KubernetesClusterConfig

getDescriptor()

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

newBuilder()

public static KubernetesClusterConfig.Builder newBuilder()
Returns
TypeDescription
KubernetesClusterConfig.Builder

newBuilder(KubernetesClusterConfig prototype)

public static KubernetesClusterConfig.Builder newBuilder(KubernetesClusterConfig prototype)
Parameter
NameDescription
prototypeKubernetesClusterConfig
Returns
TypeDescription
KubernetesClusterConfig.Builder

parseDelimitedFrom(InputStream input)

public static KubernetesClusterConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static KubernetesClusterConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KubernetesClusterConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KubernetesClusterConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static KubernetesClusterConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static KubernetesClusterConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KubernetesClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<KubernetesClusterConfig> parser()
Returns
TypeDescription
Parser<KubernetesClusterConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfigCase()

public KubernetesClusterConfig.ConfigCase getConfigCase()
Returns
TypeDescription
KubernetesClusterConfig.ConfigCase

getDefaultInstanceForType()

public KubernetesClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
KubernetesSoftwareConfigOrBuilder

getParserForType()

public Parser<KubernetesClusterConfig> getParserForType()
Returns
TypeDescription
Parser<KubernetesClusterConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the kubernetesSoftwareConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public KubernetesClusterConfig.Builder newBuilderForType()
Returns
TypeDescription
KubernetesClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
KubernetesClusterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public KubernetesClusterConfig.Builder toBuilder()
Returns
TypeDescription
KubernetesClusterConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException