Interface IPAllocationPolicyOrBuilder (1.23.0)

public interface IPAllocationPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterIpAllocationCase()

public abstract IPAllocationPolicy.ClusterIpAllocationCase getClusterIpAllocationCase()
Returns
TypeDescription
IPAllocationPolicy.ClusterIpAllocationCase

getClusterIpv4CidrBlock()

public abstract 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 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
TypeDescription
String

The clusterIpv4CidrBlock.

getClusterIpv4CidrBlockBytes()

public abstract 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 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
TypeDescription
ByteString

The bytes for clusterIpv4CidrBlock.

getClusterSecondaryRangeName()

public abstract 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];

Returns
TypeDescription
String

The clusterSecondaryRangeName.

getClusterSecondaryRangeNameBytes()

public abstract 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];

Returns
TypeDescription
ByteString

The bytes for clusterSecondaryRangeName.

getServicesIpAllocationCase()

public abstract IPAllocationPolicy.ServicesIpAllocationCase getServicesIpAllocationCase()
Returns
TypeDescription
IPAllocationPolicy.ServicesIpAllocationCase

getServicesIpv4CidrBlock()

public abstract 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 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
TypeDescription
String

The servicesIpv4CidrBlock.

getServicesIpv4CidrBlockBytes()

public abstract 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 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
TypeDescription
ByteString

The bytes for servicesIpv4CidrBlock.

getServicesSecondaryRangeName()

public abstract 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];

Returns
TypeDescription
String

The servicesSecondaryRangeName.

getServicesSecondaryRangeNameBytes()

public abstract 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];

Returns
TypeDescription
ByteString

The bytes for servicesSecondaryRangeName.

getUseIpAliases()

public abstract 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];

Returns
TypeDescription
boolean

The useIpAliases.

hasClusterIpv4CidrBlock()

public abstract 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 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
TypeDescription
boolean

Whether the clusterIpv4CidrBlock field is set.

hasClusterSecondaryRangeName()

public abstract 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];

Returns
TypeDescription
boolean

Whether the clusterSecondaryRangeName field is set.

hasServicesIpv4CidrBlock()

public abstract 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 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
TypeDescription
boolean

Whether the servicesIpv4CidrBlock field is set.

hasServicesSecondaryRangeName()

public abstract 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];

Returns
TypeDescription
boolean

Whether the servicesSecondaryRangeName field is set.