- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class IPAllocationPolicy.Builder extends GeneratedMessageV3.Builder<IPAllocationPolicy.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IPAllocationPolicy.BuilderImplements
IPAllocationPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IPAllocationPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IPAllocationPolicy.Builder |
build()
public IPAllocationPolicy build()
Type | Description |
IPAllocationPolicy |
buildPartial()
public IPAllocationPolicy buildPartial()
Type | Description |
IPAllocationPolicy |
clear()
public IPAllocationPolicy.Builder clear()
Type | Description |
IPAllocationPolicy.Builder |
clearClusterIpAllocation()
public IPAllocationPolicy.Builder clearClusterIpAllocation()
Type | Description |
IPAllocationPolicy.Builder |
clearClusterIpv4CidrBlock()
public IPAllocationPolicy.Builder clearClusterIpv4CidrBlock()
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];
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
clearClusterSecondaryRangeName()
public IPAllocationPolicy.Builder clearClusterSecondaryRangeName()
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];
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IPAllocationPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
IPAllocationPolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IPAllocationPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
IPAllocationPolicy.Builder |
clearServicesIpAllocation()
public IPAllocationPolicy.Builder clearServicesIpAllocation()
Type | Description |
IPAllocationPolicy.Builder |
clearServicesIpv4CidrBlock()
public IPAllocationPolicy.Builder clearServicesIpv4CidrBlock()
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];
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
clearServicesSecondaryRangeName()
public IPAllocationPolicy.Builder clearServicesSecondaryRangeName()
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];
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
clearUseIpAliases()
public IPAllocationPolicy.Builder clearUseIpAliases()
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];
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
clone()
public IPAllocationPolicy.Builder clone()
Type | Description |
IPAllocationPolicy.Builder |
getClusterIpAllocationCase()
public IPAllocationPolicy.ClusterIpAllocationCase getClusterIpAllocationCase()
Type | Description |
IPAllocationPolicy.ClusterIpAllocationCase |
getClusterIpv4CidrBlock()
public 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];
Type | Description |
String | The clusterIpv4CidrBlock. |
getClusterIpv4CidrBlockBytes()
public 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];
Type | Description |
ByteString | The bytes for clusterIpv4CidrBlock. |
getClusterSecondaryRangeName()
public 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];
Type | Description |
String | The clusterSecondaryRangeName. |
getClusterSecondaryRangeNameBytes()
public 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];
Type | Description |
ByteString | The bytes for clusterSecondaryRangeName. |
getDefaultInstanceForType()
public IPAllocationPolicy getDefaultInstanceForType()
Type | Description |
IPAllocationPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getServicesIpAllocationCase()
public IPAllocationPolicy.ServicesIpAllocationCase getServicesIpAllocationCase()
Type | Description |
IPAllocationPolicy.ServicesIpAllocationCase |
getServicesIpv4CidrBlock()
public 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];
Type | Description |
String | The servicesIpv4CidrBlock. |
getServicesIpv4CidrBlockBytes()
public 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];
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 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];
Type | Description |
String | The servicesSecondaryRangeName. |
getServicesSecondaryRangeNameBytes()
public 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];
Type | Description |
ByteString | The bytes for servicesSecondaryRangeName. |
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];
Type | Description |
boolean | The useIpAliases. |
hasClusterIpv4CidrBlock()
public 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];
Type | Description |
boolean | Whether the clusterIpv4CidrBlock field is set. |
hasClusterSecondaryRangeName()
public 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];
Type | Description |
boolean | Whether the clusterSecondaryRangeName field is set. |
hasServicesIpv4CidrBlock()
public 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];
Type | Description |
boolean | Whether the servicesIpv4CidrBlock field is set. |
hasServicesSecondaryRangeName()
public 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];
Type | Description |
boolean | Whether the servicesSecondaryRangeName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(IPAllocationPolicy other)
public IPAllocationPolicy.Builder mergeFrom(IPAllocationPolicy other)
Name | Description |
other | IPAllocationPolicy |
Type | Description |
IPAllocationPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IPAllocationPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
IPAllocationPolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public IPAllocationPolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
IPAllocationPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IPAllocationPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IPAllocationPolicy.Builder |
setClusterIpv4CidrBlock(String value)
public IPAllocationPolicy.Builder setClusterIpv4CidrBlock(String value)
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];
Name | Description |
value | String The clusterIpv4CidrBlock to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setClusterIpv4CidrBlockBytes(ByteString value)
public IPAllocationPolicy.Builder setClusterIpv4CidrBlockBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for clusterIpv4CidrBlock to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setClusterSecondaryRangeName(String value)
public IPAllocationPolicy.Builder setClusterSecondaryRangeName(String value)
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];
Name | Description |
value | String The clusterSecondaryRangeName to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setClusterSecondaryRangeNameBytes(ByteString value)
public IPAllocationPolicy.Builder setClusterSecondaryRangeNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for clusterSecondaryRangeName to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IPAllocationPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IPAllocationPolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IPAllocationPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
IPAllocationPolicy.Builder |
setServicesIpv4CidrBlock(String value)
public IPAllocationPolicy.Builder setServicesIpv4CidrBlock(String value)
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];
Name | Description |
value | String The servicesIpv4CidrBlock to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setServicesIpv4CidrBlockBytes(ByteString value)
public IPAllocationPolicy.Builder setServicesIpv4CidrBlockBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for servicesIpv4CidrBlock to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setServicesSecondaryRangeName(String value)
public IPAllocationPolicy.Builder setServicesSecondaryRangeName(String value)
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];
Name | Description |
value | String The servicesSecondaryRangeName to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setServicesSecondaryRangeNameBytes(ByteString value)
public IPAllocationPolicy.Builder setServicesSecondaryRangeNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for servicesSecondaryRangeName to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final IPAllocationPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IPAllocationPolicy.Builder |
setUseIpAliases(boolean value)
public IPAllocationPolicy.Builder setUseIpAliases(boolean value)
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];
Name | Description |
value | boolean The useIpAliases to set. |
Type | Description |
IPAllocationPolicy.Builder | This builder for chaining. |