public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
IPAllocationPolicy.Builder
Configuration for controlling how IPs are allocated in the
GKE cluster running the Apache Airflow software.
|
static class |
IPAllocationPolicy.ClusterIpAllocationCase |
static class |
IPAllocationPolicy.ServicesIpAllocationCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER |
static int |
CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER |
static int |
SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER |
static int |
SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER |
static int |
USE_IP_ALIASES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IPAllocationPolicy.ClusterIpAllocationCase |
getClusterIpAllocationCase() |
String |
getClusterIpv4CidrBlock()
Optional.
|
com.google.protobuf.ByteString |
getClusterIpv4CidrBlockBytes()
Optional.
|
String |
getClusterSecondaryRangeName()
Optional.
|
com.google.protobuf.ByteString |
getClusterSecondaryRangeNameBytes()
Optional.
|
static IPAllocationPolicy |
getDefaultInstance() |
IPAllocationPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<IPAllocationPolicy> |
getParserForType() |
int |
getSerializedSize() |
IPAllocationPolicy.ServicesIpAllocationCase |
getServicesIpAllocationCase() |
String |
getServicesIpv4CidrBlock()
Optional.
|
com.google.protobuf.ByteString |
getServicesIpv4CidrBlockBytes()
Optional.
|
String |
getServicesSecondaryRangeName()
Optional.
|
com.google.protobuf.ByteString |
getServicesSecondaryRangeNameBytes()
Optional.
|
boolean |
getUseIpAliases()
Optional.
|
boolean |
hasClusterIpv4CidrBlock()
Optional.
|
boolean |
hasClusterSecondaryRangeName()
Optional.
|
int |
hashCode() |
boolean |
hasServicesIpv4CidrBlock()
Optional.
|
boolean |
hasServicesSecondaryRangeName()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IPAllocationPolicy.Builder |
newBuilder() |
static IPAllocationPolicy.Builder |
newBuilder(IPAllocationPolicy prototype) |
IPAllocationPolicy.Builder |
newBuilderForType() |
protected IPAllocationPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IPAllocationPolicy |
parseDelimitedFrom(InputStream input) |
static IPAllocationPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IPAllocationPolicy |
parseFrom(byte[] data) |
static IPAllocationPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IPAllocationPolicy |
parseFrom(ByteBuffer data) |
static IPAllocationPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IPAllocationPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static IPAllocationPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IPAllocationPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IPAllocationPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IPAllocationPolicy |
parseFrom(InputStream input) |
static IPAllocationPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IPAllocationPolicy> |
parser() |
IPAllocationPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int USE_IP_ALIASES_FIELD_NUMBER
public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public IPAllocationPolicy.ClusterIpAllocationCase getClusterIpAllocationCase()
getClusterIpAllocationCase in interface IPAllocationPolicyOrBuilderpublic IPAllocationPolicy.ServicesIpAllocationCase getServicesIpAllocationCase()
getServicesIpAllocationCase in interface IPAllocationPolicyOrBuilderpublic 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];getUseIpAliases in interface IPAllocationPolicyOrBuilderpublic 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];hasClusterSecondaryRangeName in interface IPAllocationPolicyOrBuilderpublic 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];getClusterSecondaryRangeName in interface IPAllocationPolicyOrBuilderpublic 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];getClusterSecondaryRangeNameBytes in interface IPAllocationPolicyOrBuilderpublic 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];hasClusterIpv4CidrBlock in interface IPAllocationPolicyOrBuilderpublic 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];getClusterIpv4CidrBlock in interface IPAllocationPolicyOrBuilderpublic 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];getClusterIpv4CidrBlockBytes in interface IPAllocationPolicyOrBuilderpublic 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];
hasServicesSecondaryRangeName in interface IPAllocationPolicyOrBuilderpublic 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];
getServicesSecondaryRangeName in interface IPAllocationPolicyOrBuilderpublic 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];
getServicesSecondaryRangeNameBytes in interface IPAllocationPolicyOrBuilderpublic 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];hasServicesIpv4CidrBlock in interface IPAllocationPolicyOrBuilderpublic 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];getServicesIpv4CidrBlock in interface IPAllocationPolicyOrBuilderpublic 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];getServicesIpv4CidrBlockBytes in interface IPAllocationPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static IPAllocationPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IPAllocationPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static IPAllocationPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IPAllocationPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IPAllocationPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IPAllocationPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static IPAllocationPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IPAllocationPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IPAllocationPolicy.Builder newBuilder()
public static IPAllocationPolicy.Builder newBuilder(IPAllocationPolicy prototype)
public IPAllocationPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IPAllocationPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static IPAllocationPolicy getDefaultInstance()
public static com.google.protobuf.Parser<IPAllocationPolicy> parser()
public com.google.protobuf.Parser<IPAllocationPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public IPAllocationPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.