Interface IPAllocationPolicyOrBuilder (2.23.0)

public interface IPAllocationPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdditionalPodRangesConfig()

public abstract AdditionalPodRangesConfig getAdditionalPodRangesConfig()

Output only. [Output only] The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AdditionalPodRangesConfig

The additionalPodRangesConfig.

getAdditionalPodRangesConfigOrBuilder()

public abstract AdditionalPodRangesConfigOrBuilder getAdditionalPodRangesConfigOrBuilder()

Output only. [Output only] The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AdditionalPodRangesConfigOrBuilder

getClusterIpv4Cidr() (deprecated)

public abstract String getClusterIpv4Cidr()

Deprecated. google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See google/container/v1/cluster_service.proto;l=1423

This field is deprecated, use cluster_ipv4_cidr_block.

string cluster_ipv4_cidr = 4 [deprecated = true];

Returns
TypeDescription
String

The clusterIpv4Cidr.

getClusterIpv4CidrBlock()

public abstract String getClusterIpv4CidrBlock()

The IP address range for the cluster pod IPs. If this field is set, then cluster.cluster_ipv4_cidr must be left blank.

This field is only applicable when use_ip_aliases is true.

Set to blank to have a range chosen with the default size.

Set to /netmask (e.g. /14) to have a range chosen 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 = 9;

Returns
TypeDescription
String

The clusterIpv4CidrBlock.

getClusterIpv4CidrBlockBytes()

public abstract ByteString getClusterIpv4CidrBlockBytes()

The IP address range for the cluster pod IPs. If this field is set, then cluster.cluster_ipv4_cidr must be left blank.

This field is only applicable when use_ip_aliases is true.

Set to blank to have a range chosen with the default size.

Set to /netmask (e.g. /14) to have a range chosen 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 = 9;

Returns
TypeDescription
ByteString

The bytes for clusterIpv4CidrBlock.

getClusterIpv4CidrBytes() (deprecated)

public abstract ByteString getClusterIpv4CidrBytes()

Deprecated. google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See google/container/v1/cluster_service.proto;l=1423

This field is deprecated, use cluster_ipv4_cidr_block.

string cluster_ipv4_cidr = 4 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for clusterIpv4Cidr.

getClusterSecondaryRangeName()

public abstract String getClusterSecondaryRangeName()

The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork.

This field is only applicable with use_ip_aliases is true and create_subnetwork is false.

string cluster_secondary_range_name = 7;

Returns
TypeDescription
String

The clusterSecondaryRangeName.

getClusterSecondaryRangeNameBytes()

public abstract ByteString getClusterSecondaryRangeNameBytes()

The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork.

This field is only applicable with use_ip_aliases is true and create_subnetwork is false.

string cluster_secondary_range_name = 7;

Returns
TypeDescription
ByteString

The bytes for clusterSecondaryRangeName.