public final class KubernetesClusterConfig extends GeneratedMessageV3 implements KubernetesClusterConfigOrBuilder
The configuration for running the Dataproc cluster on Kubernetes.
Protobuf type google.cloud.dataproc.v1.KubernetesClusterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static KubernetesClusterConfig.Builder newBuilder()
newBuilder(KubernetesClusterConfig prototype)
public static KubernetesClusterConfig.Builder newBuilder(KubernetesClusterConfig prototype)
public static KubernetesClusterConfig parseDelimitedFrom(InputStream input)
public static KubernetesClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static KubernetesClusterConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static KubernetesClusterConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(CodedInputStream input)
public static KubernetesClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(InputStream input)
public static KubernetesClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static KubernetesClusterConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KubernetesClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<KubernetesClusterConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getConfigCase()
public KubernetesClusterConfig.ConfigCase getConfigCase()
getDefaultInstanceForType()
public KubernetesClusterConfig getDefaultInstanceForType()
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];
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];
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];
getParserForType()
public Parser<KubernetesClusterConfig> getParserForType()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public KubernetesClusterConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KubernetesClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public KubernetesClusterConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides