Class PrivateClusterConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
All Implemented Interfaces:
PrivateClusterConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PrivateClusterConfig

public static final class PrivateClusterConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
    • getDefaultInstanceForType

      public PrivateClusterConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PrivateClusterConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PrivateClusterConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PrivateClusterConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivateClusterConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
    • mergeFrom

      public PrivateClusterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivateClusterConfig.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getEnablePrivateEndpoint in interface PrivateClusterConfigOrBuilder
      Returns:
      The enablePrivateEndpoint.
    • setEnablePrivateEndpoint

      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];
      Parameters:
      value - The enablePrivateEndpoint to set.
      Returns:
      This builder for chaining.
    • 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];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getMasterIpv4CidrBlock in interface PrivateClusterConfigOrBuilder
      Returns:
      The masterIpv4CidrBlock.
    • getMasterIpv4CidrBlockBytes

      public com.google.protobuf.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];
      Specified by:
      getMasterIpv4CidrBlockBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for masterIpv4CidrBlock.
    • setMasterIpv4CidrBlock

      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];
      Parameters:
      value - The masterIpv4CidrBlock to set.
      Returns:
      This builder for chaining.
    • 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];
      Returns:
      This builder for chaining.
    • setMasterIpv4CidrBlockBytes

      public PrivateClusterConfig.Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for masterIpv4CidrBlock to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getMasterIpv4ReservedRange in interface PrivateClusterConfigOrBuilder
      Returns:
      The masterIpv4ReservedRange.
    • getMasterIpv4ReservedRangeBytes

      public com.google.protobuf.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];
      Specified by:
      getMasterIpv4ReservedRangeBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for masterIpv4ReservedRange.
    • setMasterIpv4ReservedRange

      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];
      Parameters:
      value - The masterIpv4ReservedRange to set.
      Returns:
      This builder for chaining.
    • 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];
      Returns:
      This builder for chaining.
    • setMasterIpv4ReservedRangeBytes

      public PrivateClusterConfig.Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for masterIpv4ReservedRange to set.
      Returns:
      This builder for chaining.