public final class IPAllocationPolicy extends GeneratedMessageV3 implements IPAllocationPolicyOrBuilder
Configuration for controlling how IPs are allocated in the
GKE cluster.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
Static Fields
CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER
Field Value
SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER
Field Value
USE_IP_ALIASES_FIELD_NUMBER
public static final int USE_IP_ALIASES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IPAllocationPolicy getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IPAllocationPolicy.Builder newBuilder()
Returns
newBuilder(IPAllocationPolicy prototype)
public static IPAllocationPolicy.Builder newBuilder(IPAllocationPolicy prototype)
Parameter
Returns
public static IPAllocationPolicy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IPAllocationPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IPAllocationPolicy parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IPAllocationPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IPAllocationPolicy parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IPAllocationPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IPAllocationPolicy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IPAllocationPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IPAllocationPolicy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IPAllocationPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IPAllocationPolicy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IPAllocationPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IPAllocationPolicy> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getClusterIpv4CidrBlock()
public String getClusterIpv4CidrBlock()
Optional. The IP address range used to allocate IP addresses to pods in
the cluster.
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.
Specify cluster_secondary_range_name
or cluster_ipv4_cidr_block
but not both.
string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The clusterIpv4CidrBlock.
|
getClusterIpv4CidrBlockBytes()
public ByteString getClusterIpv4CidrBlockBytes()
Optional. The IP address range used to allocate IP addresses to pods in
the cluster.
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.
Specify cluster_secondary_range_name
or cluster_ipv4_cidr_block
but not both.
string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for clusterIpv4CidrBlock.
|
getClusterSecondaryRangeName()
public String getClusterSecondaryRangeName()
Optional. The name of the cluster's secondary range used to allocate
IP addresses to pods. Specify either cluster_secondary_range_name
or cluster_ipv4_cidr_block
but not both.
This field is applicable only when use_ip_aliases
is true.
string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The clusterSecondaryRangeName.
|
getClusterSecondaryRangeNameBytes()
public ByteString getClusterSecondaryRangeNameBytes()
Optional. The name of the cluster's secondary range used to allocate
IP addresses to pods. Specify either cluster_secondary_range_name
or cluster_ipv4_cidr_block
but not both.
This field is applicable only when use_ip_aliases
is true.
string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for clusterSecondaryRangeName.
|
getDefaultInstanceForType()
public IPAllocationPolicy getDefaultInstanceForType()
Returns
getParserForType()
public Parser<IPAllocationPolicy> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServicesIpv4CidrBlock()
public String getServicesIpv4CidrBlock()
Optional. The IP address range of the services IP addresses in this
cluster.
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.
Specify services_secondary_range_name
or services_ipv4_cidr_block
but not both.
string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The servicesIpv4CidrBlock.
|
getServicesIpv4CidrBlockBytes()
public ByteString getServicesIpv4CidrBlockBytes()
Optional. The IP address range of the services IP addresses in this
cluster.
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.
Specify services_secondary_range_name
or services_ipv4_cidr_block
but not both.
string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for servicesIpv4CidrBlock.
|
getServicesSecondaryRangeName()
public String getServicesSecondaryRangeName()
Optional. The name of the services' secondary range used to allocate
IP addresses to the cluster. Specify either services_secondary_range_name
or services_ipv4_cidr_block
but not both.
This field is applicable only when use_ip_aliases
is true.
string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The servicesSecondaryRangeName.
|
getServicesSecondaryRangeNameBytes()
public ByteString getServicesSecondaryRangeNameBytes()
Optional. The name of the services' secondary range used to allocate
IP addresses to the cluster. Specify either services_secondary_range_name
or services_ipv4_cidr_block
but not both.
This field is applicable only when use_ip_aliases
is true.
string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for servicesSecondaryRangeName.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUseIpAliases()
public boolean getUseIpAliases()
Optional. Whether or not to enable Alias IPs in the GKE cluster.
If true
, a VPC-native cluster is created.
bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
The useIpAliases.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IPAllocationPolicy.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IPAllocationPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IPAllocationPolicy.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions