Send feedback
  
   
 
  
    
      Class KubernetesClusterConfig (4.73.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  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 )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   KubernetesClusterConfig . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]