Class PrivateClusterConfig.Builder (1.13.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.13.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  PrivateClusterConfig . Builder   extends   GeneratedMessageV3 . Builder<PrivateClusterConfig . Builder >  implements   PrivateClusterConfigOrBuilder  
   Configuration options for the private GKE cluster in a Cloud Composer
 environment.
 Protobuf type google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PrivateClusterConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   PrivateClusterConfig   build ()  
  
  buildPartial() 
  
    
public   PrivateClusterConfig   buildPartial ()  
  
  clear() 
  
    
public   PrivateClusterConfig . Builder   clear ()  
  
  Overrides 
  
  clearEnablePrivateEndpoint() 
  
    
public   PrivateClusterConfig . Builder   clearEnablePrivateEndpoint ()  
   Optional. If true, access to the public endpoint of the GKE cluster is
 denied.
 bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   PrivateClusterConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearMasterIpv4CidrBlock() 
  
    
public   PrivateClusterConfig . Builder   clearMasterIpv4CidrBlock ()  
   Optional. The CIDR block from which IPv4 range for GKE master will be
 reserved. If left blank, the default value of '172.16.0.0/23' is used.
 string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
clearMasterIpv4ReservedRange() 
  
    
public   PrivateClusterConfig . Builder   clearMasterIpv4ReservedRange ()  
   Output only. The IP range in CIDR notation to use for the hosted master
 network. This range is used for assigning internal IP addresses to the
 cluster master or set of masters and to the internal load balancer virtual
 IP. This range must not overlap with any other ranges in use within the
 cluster's network.
 string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   PrivateClusterConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   PrivateClusterConfig . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   PrivateClusterConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getEnablePrivateEndpoint() 
  
    
public   boolean   getEnablePrivateEndpoint ()  
   Optional. If true, access to the public endpoint of the GKE cluster is
 denied.
 bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The enablePrivateEndpoint.
 
     
  
  getMasterIpv4CidrBlock() 
  
    
public   String   getMasterIpv4CidrBlock ()  
   Optional. The CIDR block from which IPv4 range for GKE master will be
 reserved. If left blank, the default value of '172.16.0.0/23' is used.
 string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The masterIpv4CidrBlock.
 
     
  
  getMasterIpv4CidrBlockBytes() 
  
    
public   ByteString   getMasterIpv4CidrBlockBytes ()  
   Optional. The CIDR block from which IPv4 range for GKE master will be
 reserved. If left blank, the default value of '172.16.0.0/23' is used.
 string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for masterIpv4CidrBlock.
 
     
  
  getMasterIpv4ReservedRange() 
  
    
public   String   getMasterIpv4ReservedRange ()  
   Output only. The IP range in CIDR notation to use for the hosted master
 network. This range is used for assigning internal IP addresses to the
 cluster master or set of masters and to the internal load balancer virtual
 IP. This range must not overlap with any other ranges in use within the
 cluster's network.
 string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        String The masterIpv4ReservedRange.
 
     
  
  getMasterIpv4ReservedRangeBytes() 
  
    
public   ByteString   getMasterIpv4ReservedRangeBytes ()  
   Output only. The IP range in CIDR notation to use for the hosted master
 network. This range is used for assigning internal IP addresses to the
 cluster master or set of masters and to the internal load balancer virtual
 IP. This range must not overlap with any other ranges in use within the
 cluster's network.
 string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for masterIpv4ReservedRange.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(PrivateClusterConfig other) 
  
    
public   PrivateClusterConfig . Builder   mergeFrom ( PrivateClusterConfig   other )  
  
  
  
    
public   PrivateClusterConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   PrivateClusterConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PrivateClusterConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setEnablePrivateEndpoint(boolean value) 
  
    
public   PrivateClusterConfig . Builder   setEnablePrivateEndpoint ( boolean   value )  
   Optional. If true, access to the public endpoint of the GKE cluster is
 denied.
 bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The enablePrivateEndpoint to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   PrivateClusterConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setMasterIpv4CidrBlock(String value) 
  
    
public   PrivateClusterConfig . Builder   setMasterIpv4CidrBlock ( String   value )  
   Optional. The CIDR block from which IPv4 range for GKE master will be
 reserved. If left blank, the default value of '172.16.0.0/23' is used.
 string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueString The masterIpv4CidrBlock to set.
 
     
  
  
  setMasterIpv4CidrBlockBytes(ByteString value) 
  
    
public   PrivateClusterConfig . Builder   setMasterIpv4CidrBlockBytes ( ByteString   value )  
   Optional. The CIDR block from which IPv4 range for GKE master will be
 reserved. If left blank, the default value of '172.16.0.0/23' is used.
 string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for masterIpv4CidrBlock to set.
 
     
  
  
  setMasterIpv4ReservedRange(String value) 
  
    
public   PrivateClusterConfig . Builder   setMasterIpv4ReservedRange ( String   value )  
   Output only. The IP range in CIDR notation to use for the hosted master
 network. This range is used for assigning internal IP addresses to the
 cluster master or set of masters and to the internal load balancer virtual
 IP. This range must not overlap with any other ranges in use within the
 cluster's network.
 string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        valueString The masterIpv4ReservedRange to set.
 
     
  
  
  setMasterIpv4ReservedRangeBytes(ByteString value) 
  
    
public   PrivateClusterConfig . Builder   setMasterIpv4ReservedRangeBytes ( ByteString   value )  
   Output only. The IP range in CIDR notation to use for the hosted master
 network. This range is used for assigning internal IP addresses to the
 cluster master or set of masters and to the internal load balancer virtual
 IP. This range must not overlap with any other ranges in use within the
 cluster's network.
 string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for masterIpv4ReservedRange to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   PrivateClusterConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   PrivateClusterConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 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-29 UTC."],[],[]]