Class GkeNodePoolConfig (4.9.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.9.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GkeNodePoolConfig   extends   GeneratedMessageV3   implements   GkeNodePoolConfigOrBuilder  
   The configuration of a GKE node pool used by a Dataproc-on-GKE
 cluster .
 Protobuf type google.cloud.dataproc.v1.GkeNodePoolConfig
Static Fields
   
  AUTOSCALING_FIELD_NUMBER 
  
    
public   static   final   int   AUTOSCALING_FIELD_NUMBER  
  Field Value 
  
  CONFIG_FIELD_NUMBER 
  
    
public   static   final   int   CONFIG_FIELD_NUMBER  
  Field Value 
  
  LOCATIONS_FIELD_NUMBER 
  
    
public   static   final   int   LOCATIONS_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   GkeNodePoolConfig   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   GkeNodePoolConfig . Builder   newBuilder ()  
  Returns 
  
  newBuilder(GkeNodePoolConfig prototype) 
  
    
public   static   GkeNodePoolConfig . Builder   newBuilder ( GkeNodePoolConfig   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   GkeNodePoolConfig   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   GkeNodePoolConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        databyte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   GkeNodePoolConfig   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   GkeNodePoolConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   GkeNodePoolConfig   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   GkeNodePoolConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GkeNodePoolConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<GkeNodePoolConfig>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getAutoscaling() 
  
    
public   GkeNodePoolConfig . GkeNodePoolAutoscalingConfig   getAutoscaling ()  
   Optional. The autoscaler configuration for this node pool. The autoscaler
 is enabled only when a valid configuration is present.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getAutoscalingOrBuilder() 
  
    
public   GkeNodePoolConfig . GkeNodePoolAutoscalingConfigOrBuilder   getAutoscalingOrBuilder ()  
   Optional. The autoscaler configuration for this node pool. The autoscaler
 is enabled only when a valid configuration is present.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getConfig() 
  
    
public   GkeNodePoolConfig . GkeNodeConfig   getConfig ()  
   Optional. The node pool configuration.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getConfigOrBuilder() 
  
    
public   GkeNodePoolConfig . GkeNodeConfigOrBuilder   getConfigOrBuilder ()  
   Optional. The node pool configuration.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getDefaultInstanceForType() 
  
    
public   GkeNodePoolConfig   getDefaultInstanceForType ()  
  Returns 
  
  getLocations(int index) 
  
    
public   String   getLocations ( int   index )  
   Optional. The list of Compute Engine
 zones  where
 node pool nodes associated with a Dataproc on GKE virtual cluster
 will be located.
 Note:  All node pools associated with a virtual cluster
 must be located in the same region as the virtual cluster, and they must
 be located in the same zone within that region.
 If a location is not specified during node pool creation, Dataproc on GKE
 will choose the zone.
 repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter 
  
    
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  Returns 
  
    
      
        Type Description  
      
        String The locations at the given index.
 
     
  
  getLocationsBytes(int index) 
  
    
public   ByteString   getLocationsBytes ( int   index )  
   Optional. The list of Compute Engine
 zones  where
 node pool nodes associated with a Dataproc on GKE virtual cluster
 will be located.
 Note:  All node pools associated with a virtual cluster
 must be located in the same region as the virtual cluster, and they must
 be located in the same zone within that region.
 If a location is not specified during node pool creation, Dataproc on GKE
 will choose the zone.
 repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter 
  
    
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  Returns 
  
    
      
        Type Description  
      
        ByteString The bytes of the locations at the given index.
 
     
  
  getLocationsCount() 
  
    
public   int   getLocationsCount ()  
   Optional. The list of Compute Engine
 zones  where
 node pool nodes associated with a Dataproc on GKE virtual cluster
 will be located.
 Note:  All node pools associated with a virtual cluster
 must be located in the same region as the virtual cluster, and they must
 be located in the same zone within that region.
 If a location is not specified during node pool creation, Dataproc on GKE
 will choose the zone.
 repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns 
  
    
      
        Type Description  
      
        int The count of locations.
 
     
  
  getLocationsList() 
  
    
public   ProtocolStringList   getLocationsList ()  
   Optional. The list of Compute Engine
 zones  where
 node pool nodes associated with a Dataproc on GKE virtual cluster
 will be located.
 Note:  All node pools associated with a virtual cluster
 must be located in the same region as the virtual cluster, and they must
 be located in the same zone within that region.
 If a location is not specified during node pool creation, Dataproc on GKE
 will choose the zone.
 repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns 
  
  getParserForType() 
  
    
public   Parser<GkeNodePoolConfig>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasAutoscaling() 
  
    
public   boolean   hasAutoscaling ()  
   Optional. The autoscaler configuration for this node pool. The autoscaler
 is enabled only when a valid configuration is present.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
    
      
        Type Description  
      
        boolean Whether the autoscaling field is set.
 
     
  
  hasConfig() 
  
    
public   boolean   hasConfig ()  
   Optional. The node pool configuration.
 
 .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
    
      
        Type Description  
      
        boolean Whether the config field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   GkeNodePoolConfig . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GkeNodePoolConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   GkeNodePoolConfig . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]