Class IPAllocationPolicy.Builder

  • All Implemented Interfaces:
    IPAllocationPolicyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    IPAllocationPolicy

    public static final class IPAllocationPolicy.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
    implements IPAllocationPolicyOrBuilder
     Configuration for controlling how IPs are allocated in the
     GKE cluster running the Apache Airflow software.
     
    Protobuf type google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy
    • Method Detail

      • getDescriptor

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

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

        public IPAllocationPolicy.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.GeneratedMessageV3.Builder<IPAllocationPolicy.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.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • getDefaultInstanceForType

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

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

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

        public IPAllocationPolicy.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • setField

        public IPAllocationPolicy.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • clearField

        public IPAllocationPolicy.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • clearOneof

        public IPAllocationPolicy.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • setRepeatedField

        public IPAllocationPolicy.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • addRepeatedField

        public IPAllocationPolicy.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • mergeFrom

        public IPAllocationPolicy.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<IPAllocationPolicy.Builder>
      • isInitialized

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

        public IPAllocationPolicy.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<IPAllocationPolicy.Builder>
        Throws:
        IOException
      • getUseIpAliases

        public boolean getUseIpAliases()
         Optional. Whether or not to enable Alias IPs in the GKE cluster.
         If `true`, a VPC-native cluster is created.
        
         This field is only supported for Cloud Composer environments in versions
         composer-1.*.*-airflow-*.*.*. Environments in newer versions always use
         VPC-native GKE clusters.
         
        bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUseIpAliases in interface IPAllocationPolicyOrBuilder
        Returns:
        The useIpAliases.
      • setUseIpAliases

        public IPAllocationPolicy.Builder setUseIpAliases​(boolean value)
         Optional. Whether or not to enable Alias IPs in the GKE cluster.
         If `true`, a VPC-native cluster is created.
        
         This field is only supported for Cloud Composer environments in versions
         composer-1.*.*-airflow-*.*.*. Environments in newer versions always use
         VPC-native GKE clusters.
         
        bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The useIpAliases to set.
        Returns:
        This builder for chaining.
      • clearUseIpAliases

        public IPAllocationPolicy.Builder clearUseIpAliases()
         Optional. Whether or not to enable Alias IPs in the GKE cluster.
         If `true`, a VPC-native cluster is created.
        
         This field is only supported for Cloud Composer environments in versions
         composer-1.*.*-airflow-*.*.*. Environments in newer versions always use
         VPC-native GKE clusters.
         
        bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • hasClusterSecondaryRangeName

        public boolean hasClusterSecondaryRangeName()
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasClusterSecondaryRangeName in interface IPAllocationPolicyOrBuilder
        Returns:
        Whether the clusterSecondaryRangeName field is set.
      • getClusterSecondaryRangeName

        public String getClusterSecondaryRangeName()
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterSecondaryRangeName in interface IPAllocationPolicyOrBuilder
        Returns:
        The clusterSecondaryRangeName.
      • getClusterSecondaryRangeNameBytes

        public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes()
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterSecondaryRangeNameBytes in interface IPAllocationPolicyOrBuilder
        Returns:
        The bytes for clusterSecondaryRangeName.
      • setClusterSecondaryRangeName

        public IPAllocationPolicy.Builder setClusterSecondaryRangeName​(String value)
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The clusterSecondaryRangeName to set.
        Returns:
        This builder for chaining.
      • clearClusterSecondaryRangeName

        public IPAllocationPolicy.Builder clearClusterSecondaryRangeName()
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setClusterSecondaryRangeNameBytes

        public IPAllocationPolicy.Builder setClusterSecondaryRangeNameBytes​(com.google.protobuf.ByteString value)
         Optional. The name of the GKE cluster's secondary range used to allocate
         IP addresses to pods.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for clusterSecondaryRangeName to set.
        Returns:
        This builder for chaining.
      • hasClusterIpv4CidrBlock

        public boolean hasClusterIpv4CidrBlock()
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasClusterIpv4CidrBlock in interface IPAllocationPolicyOrBuilder
        Returns:
        Whether the clusterIpv4CidrBlock field is set.
      • getClusterIpv4CidrBlock

        public String getClusterIpv4CidrBlock()
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterIpv4CidrBlock in interface IPAllocationPolicyOrBuilder
        Returns:
        The clusterIpv4CidrBlock.
      • getClusterIpv4CidrBlockBytes

        public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes()
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getClusterIpv4CidrBlockBytes in interface IPAllocationPolicyOrBuilder
        Returns:
        The bytes for clusterIpv4CidrBlock.
      • setClusterIpv4CidrBlock

        public IPAllocationPolicy.Builder setClusterIpv4CidrBlock​(String value)
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The clusterIpv4CidrBlock to set.
        Returns:
        This builder for chaining.
      • clearClusterIpv4CidrBlock

        public IPAllocationPolicy.Builder clearClusterIpv4CidrBlock()
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setClusterIpv4CidrBlockBytes

        public IPAllocationPolicy.Builder setClusterIpv4CidrBlockBytes​(com.google.protobuf.ByteString value)
         Optional. The IP address range used to allocate IP addresses to pods in
         the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for clusterIpv4CidrBlock to set.
        Returns:
        This builder for chaining.
      • hasServicesSecondaryRangeName

        public boolean hasServicesSecondaryRangeName()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasServicesSecondaryRangeName in interface IPAllocationPolicyOrBuilder
        Returns:
        Whether the servicesSecondaryRangeName field is set.
      • getServicesSecondaryRangeName

        public String getServicesSecondaryRangeName()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServicesSecondaryRangeName in interface IPAllocationPolicyOrBuilder
        Returns:
        The servicesSecondaryRangeName.
      • getServicesSecondaryRangeNameBytes

        public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServicesSecondaryRangeNameBytes in interface IPAllocationPolicyOrBuilder
        Returns:
        The bytes for servicesSecondaryRangeName.
      • setServicesSecondaryRangeName

        public IPAllocationPolicy.Builder setServicesSecondaryRangeName​(String value)
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The servicesSecondaryRangeName to set.
        Returns:
        This builder for chaining.
      • clearServicesSecondaryRangeName

        public IPAllocationPolicy.Builder clearServicesSecondaryRangeName()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setServicesSecondaryRangeNameBytes

        public IPAllocationPolicy.Builder setServicesSecondaryRangeNameBytes​(com.google.protobuf.ByteString value)
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for servicesSecondaryRangeName to set.
        Returns:
        This builder for chaining.
      • hasServicesIpv4CidrBlock

        public boolean hasServicesIpv4CidrBlock()
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasServicesIpv4CidrBlock in interface IPAllocationPolicyOrBuilder
        Returns:
        Whether the servicesIpv4CidrBlock field is set.
      • getServicesIpv4CidrBlock

        public String getServicesIpv4CidrBlock()
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServicesIpv4CidrBlock in interface IPAllocationPolicyOrBuilder
        Returns:
        The servicesIpv4CidrBlock.
      • getServicesIpv4CidrBlockBytes

        public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes()
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getServicesIpv4CidrBlockBytes in interface IPAllocationPolicyOrBuilder
        Returns:
        The bytes for servicesIpv4CidrBlock.
      • setServicesIpv4CidrBlock

        public IPAllocationPolicy.Builder setServicesIpv4CidrBlock​(String value)
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The servicesIpv4CidrBlock to set.
        Returns:
        This builder for chaining.
      • clearServicesIpv4CidrBlock

        public IPAllocationPolicy.Builder clearServicesIpv4CidrBlock()
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setServicesIpv4CidrBlockBytes

        public IPAllocationPolicy.Builder setServicesIpv4CidrBlockBytes​(com.google.protobuf.ByteString value)
         Optional. The IP address range of the services IP addresses in this
         GKE cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for servicesIpv4CidrBlock to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final IPAllocationPolicy.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>
      • mergeUnknownFields

        public final IPAllocationPolicy.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IPAllocationPolicy.Builder>