public final class PrivateEnvironmentConfig extends GeneratedMessageV3 implements PrivateEnvironmentConfigOrBuilder
The configuration information for configuring a Private IP Cloud Composer
environment.
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.PrivateEnvironmentConfig
Static Fields
CLOUD_COMPOSER_CONNECTION_SUBNETWORK_FIELD_NUMBER
public static final int CLOUD_COMPOSER_CONNECTION_SUBNETWORK_FIELD_NUMBER
Field Value
CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER
public static final int CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER
Field Value
CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
ENABLE_PRIVATELY_USED_PUBLIC_IPS_FIELD_NUMBER
public static final int ENABLE_PRIVATELY_USED_PUBLIC_IPS_FIELD_NUMBER
Field Value
ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER
public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER
Field Value
NETWORKING_CONFIG_FIELD_NUMBER
public static final int NETWORKING_CONFIG_FIELD_NUMBER
Field Value
PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
Field Value
WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER
public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PrivateEnvironmentConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PrivateEnvironmentConfig.Builder newBuilder()
Returns
newBuilder(PrivateEnvironmentConfig prototype)
public static PrivateEnvironmentConfig.Builder newBuilder(PrivateEnvironmentConfig prototype)
Parameter
Returns
public static PrivateEnvironmentConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PrivateEnvironmentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PrivateEnvironmentConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateEnvironmentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PrivateEnvironmentConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateEnvironmentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateEnvironmentConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PrivateEnvironmentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PrivateEnvironmentConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PrivateEnvironmentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PrivateEnvironmentConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateEnvironmentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PrivateEnvironmentConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCloudComposerConnectionSubnetwork()
public String getCloudComposerConnectionSubnetwork()
Optional. When specified, the environment will use Private Service Connect
instead of VPC peerings to connect to Cloud SQL in the Tenant Project,
and the PSC endpoint in the Customer Project will use an IP address from
this subnetwork.
string cloud_composer_connection_subnetwork = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The cloudComposerConnectionSubnetwork.
|
getCloudComposerConnectionSubnetworkBytes()
public ByteString getCloudComposerConnectionSubnetworkBytes()
Optional. When specified, the environment will use Private Service Connect
instead of VPC peerings to connect to Cloud SQL in the Tenant Project,
and the PSC endpoint in the Customer Project will use an IP address from
this subnetwork.
string cloud_composer_connection_subnetwork = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for cloudComposerConnectionSubnetwork.
|
getCloudComposerNetworkIpv4CidrBlock()
public String getCloudComposerNetworkIpv4CidrBlock()
Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
project will be reserved. Needs to be disjoint from
private_cluster_config.master_ipv4_cidr_block and
cloud_sql_ipv4_cidr_block.
This field is supported for Cloud Composer environments in versions
composer-2..-airflow-..* and newer.
string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The cloudComposerNetworkIpv4CidrBlock.
|
getCloudComposerNetworkIpv4CidrBlockBytes()
public ByteString getCloudComposerNetworkIpv4CidrBlockBytes()
Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
project will be reserved. Needs to be disjoint from
private_cluster_config.master_ipv4_cidr_block and
cloud_sql_ipv4_cidr_block.
This field is supported for Cloud Composer environments in versions
composer-2..-airflow-..* and newer.
string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for cloudComposerNetworkIpv4CidrBlock.
|
getCloudComposerNetworkIpv4ReservedRange()
public String getCloudComposerNetworkIpv4ReservedRange()
Output only. The IP range reserved for the tenant project's Cloud Composer network.
This field is supported for Cloud Composer environments in versions
composer-2..-airflow-..* and newer.
string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
String |
The cloudComposerNetworkIpv4ReservedRange.
|
getCloudComposerNetworkIpv4ReservedRangeBytes()
public ByteString getCloudComposerNetworkIpv4ReservedRangeBytes()
Output only. The IP range reserved for the tenant project's Cloud Composer network.
This field is supported for Cloud Composer environments in versions
composer-2..-airflow-..* and newer.
string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
ByteString |
The bytes for cloudComposerNetworkIpv4ReservedRange.
|
getCloudSqlIpv4CidrBlock()
public String getCloudSqlIpv4CidrBlock()
Optional. The CIDR block from which IP range in tenant project will be reserved for
Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The cloudSqlIpv4CidrBlock.
|
getCloudSqlIpv4CidrBlockBytes()
public ByteString getCloudSqlIpv4CidrBlockBytes()
Optional. The CIDR block from which IP range in tenant project will be reserved for
Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for cloudSqlIpv4CidrBlock.
|
getDefaultInstanceForType()
public PrivateEnvironmentConfig getDefaultInstanceForType()
Returns
getEnablePrivateEnvironment()
public boolean getEnablePrivateEnvironment()
Optional. If true
, a Private IP Cloud Composer environment is created.
If this field is set to true, IPAllocationPolicy.use_ip_aliases
must be
set to true for Cloud Composer environments in versions
composer-1..-airflow-..*.
bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
The enablePrivateEnvironment.
|
getEnablePrivatelyUsedPublicIps()
public boolean getEnablePrivatelyUsedPublicIps()
Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
IPAllocationPolicy.cluster_ipv4_cidr_block
and
IPAllocationPolicy.service_ipv4_cidr_block
.
bool enable_privately_used_public_ips = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
The enablePrivatelyUsedPublicIps.
|
getNetworkingConfig()
public NetworkingConfig getNetworkingConfig()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
getNetworkingConfigOrBuilder()
public NetworkingConfigOrBuilder getNetworkingConfigOrBuilder()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<PrivateEnvironmentConfig> getParserForType()
Returns
Overrides
getPrivateClusterConfig()
public PrivateClusterConfig getPrivateClusterConfig()
Optional. Configuration for the private GKE cluster for a Private IP
Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPrivateClusterConfigOrBuilder()
public PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()
Optional. Configuration for the private GKE cluster for a Private IP
Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getWebServerIpv4CidrBlock()
public String getWebServerIpv4CidrBlock()
Optional. The CIDR block from which IP range for web server will be reserved. Needs
to be disjoint from private_cluster_config.master_ipv4_cidr_block and
cloud_sql_ipv4_cidr_block.
This field is supported for Cloud Composer environments in versions
composer-1..-airflow-..*.
string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The webServerIpv4CidrBlock.
|
getWebServerIpv4CidrBlockBytes()
public ByteString getWebServerIpv4CidrBlockBytes()
Optional. The CIDR block from which IP range for web server will be reserved. Needs
to be disjoint from private_cluster_config.master_ipv4_cidr_block and
cloud_sql_ipv4_cidr_block.
This field is supported for Cloud Composer environments in versions
composer-1..-airflow-..*.
string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for webServerIpv4CidrBlock.
|
getWebServerIpv4ReservedRange()
public String getWebServerIpv4ReservedRange()
Output only. The IP range reserved for the tenant project's App Engine VMs.
This field is supported for Cloud Composer environments in versions
composer-1..-airflow-..*.
string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
String |
The webServerIpv4ReservedRange.
|
getWebServerIpv4ReservedRangeBytes()
public ByteString getWebServerIpv4ReservedRangeBytes()
Output only. The IP range reserved for the tenant project's App Engine VMs.
This field is supported for Cloud Composer environments in versions
composer-1..-airflow-..*.
string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
ByteString |
The bytes for webServerIpv4ReservedRange.
|
hasNetworkingConfig()
public boolean hasNetworkingConfig()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the networkingConfig field is set.
|
hasPrivateClusterConfig()
public boolean hasPrivateClusterConfig()
Optional. Configuration for the private GKE cluster for a Private IP
Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the privateClusterConfig field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PrivateEnvironmentConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivateEnvironmentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PrivateEnvironmentConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions