Class IPAllocationPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
-
- All Implemented Interfaces:
IPAllocationPolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 implements IPAllocationPolicyOrBuilder
Configuration for controlling how IPs are allocated in the GKE cluster.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1beta1.IPAllocationPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IPAllocationPolicy.Builder
Configuration for controlling how IPs are allocated in the GKE cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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()
String
getServicesIpv4CidrBlock()
Optional.com.google.protobuf.ByteString
getServicesIpv4CidrBlockBytes()
Optional.String
getServicesSecondaryRangeName()
Optional.com.google.protobuf.ByteString
getServicesSecondaryRangeNameBytes()
Optional.boolean
getUseIpAliases()
Optional.int
hashCode()
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(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 IPAllocationPolicy
parseFrom(ByteBuffer data)
static IPAllocationPolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<IPAllocationPolicy>
parser()
IPAllocationPolicy.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
USE_IP_ALIASES_FIELD_NUMBER
public static final int USE_IP_ALIASES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER
public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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 interfaceIPAllocationPolicyOrBuilder
- Returns:
- The useIpAliases.
-
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. 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 interfaceIPAllocationPolicyOrBuilder
- Returns:
- The clusterSecondaryRangeName.
-
getClusterSecondaryRangeNameBytes
public com.google.protobuf.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. 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 interfaceIPAllocationPolicyOrBuilder
- Returns:
- The bytes for clusterSecondaryRangeName.
-
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. 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 interfaceIPAllocationPolicyOrBuilder
- 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 cluster. Specify either `services_secondary_range_name` or `services_ipv4_cidr_block` but not both. 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 interfaceIPAllocationPolicyOrBuilder
- Returns:
- The bytes for servicesSecondaryRangeName.
-
getClusterIpv4CidrBlock
public String getClusterIpv4CidrBlock()
Optional. The IP address range used to allocate IP addresses to pods in the 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. Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both.
string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getClusterIpv4CidrBlock
in interfaceIPAllocationPolicyOrBuilder
- Returns:
- The clusterIpv4CidrBlock.
-
getClusterIpv4CidrBlockBytes
public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes()
Optional. The IP address range used to allocate IP addresses to pods in the 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. Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both.
string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getClusterIpv4CidrBlockBytes
in interfaceIPAllocationPolicyOrBuilder
- Returns:
- The bytes for clusterIpv4CidrBlock.
-
getServicesIpv4CidrBlock
public String getServicesIpv4CidrBlock()
Optional. The IP address range of the services IP addresses in this 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. Specify `services_secondary_range_name` or `services_ipv4_cidr_block` but not both.
string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServicesIpv4CidrBlock
in interfaceIPAllocationPolicyOrBuilder
- Returns:
- The servicesIpv4CidrBlock.
-
getServicesIpv4CidrBlockBytes
public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes()
Optional. The IP address range of the services IP addresses in this 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. Specify `services_secondary_range_name` or `services_ipv4_cidr_block` but not both.
string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getServicesIpv4CidrBlockBytes
in interfaceIPAllocationPolicyOrBuilder
- Returns:
- The bytes for servicesIpv4CidrBlock.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static IPAllocationPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IPAllocationPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static IPAllocationPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static IPAllocationPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static IPAllocationPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static IPAllocationPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static IPAllocationPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public IPAllocationPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static IPAllocationPolicy.Builder newBuilder()
-
newBuilder
public static IPAllocationPolicy.Builder newBuilder(IPAllocationPolicy prototype)
-
toBuilder
public IPAllocationPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IPAllocationPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static IPAllocationPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<IPAllocationPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<IPAllocationPolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public IPAllocationPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-