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
KUBERNETES_NAMESPACE_FIELD_NUMBER
public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
Field Value
KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER
public static final int KUBERNETES_SOFTWARE_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KubernetesClusterConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KubernetesClusterConfig.Builder newBuilder()
Returns
newBuilder(KubernetesClusterConfig prototype)
public static KubernetesClusterConfig.Builder newBuilder(KubernetesClusterConfig prototype)
Parameter
Returns
public static KubernetesClusterConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KubernetesClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KubernetesClusterConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KubernetesClusterConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KubernetesClusterConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KubernetesClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KubernetesClusterConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KubernetesClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KubernetesClusterConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KubernetesClusterConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConfigCase()
public KubernetesClusterConfig.ConfigCase getConfigCase()
Returns
getDefaultInstanceForType()
public KubernetesClusterConfig getDefaultInstanceForType()
Returns
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
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
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
getParserForType()
public Parser<KubernetesClusterConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public KubernetesClusterConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KubernetesClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KubernetesClusterConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions