Class PrivateEnvironmentConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig
-
- All Implemented Interfaces:
PrivateEnvironmentConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PrivateEnvironmentConfig extends com.google.protobuf.GeneratedMessageV3 implements PrivateEnvironmentConfigOrBuilder
The configuration information for configuring a Private IP Cloud Composer environment.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivateEnvironmentConfig.BuilderThe configuration information for configuring a Private IP Cloud Composer environment.-
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 intCLOUD_COMPOSER_CONNECTION_SUBNETWORK_FIELD_NUMBERstatic intCLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBERstatic intCLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBERstatic intCLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBERstatic intENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBERstatic intENABLE_PRIVATELY_USED_PUBLIC_IPS_FIELD_NUMBERstatic intNETWORKING_CONFIG_FIELD_NUMBERstatic intPRIVATE_CLUSTER_CONFIG_FIELD_NUMBERstatic intWEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBERstatic intWEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER
-
Method Summary
-
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
-
ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER
public static final int ENABLE_PRIVATE_ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int WEB_SERVER_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLOUD_SQL_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER
public static final int WEB_SERVER_IPV4_RESERVED_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int CLOUD_COMPOSER_NETWORK_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER
public static final int CLOUD_COMPOSER_NETWORK_IPV4_RESERVED_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_PRIVATELY_USED_PUBLIC_IPS_FIELD_NUMBER
public static final int ENABLE_PRIVATELY_USED_PUBLIC_IPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_COMPOSER_CONNECTION_SUBNETWORK_FIELD_NUMBER
public static final int CLOUD_COMPOSER_CONNECTION_SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORKING_CONFIG_FIELD_NUMBER
public static final int NETWORKING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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];- Specified by:
getEnablePrivateEnvironmentin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The enablePrivateEnvironment.
-
hasPrivateClusterConfig
public boolean hasPrivateClusterConfig()
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPrivateClusterConfigin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- Whether the privateClusterConfig field is set.
-
getPrivateClusterConfig
public PrivateClusterConfig getPrivateClusterConfig()
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateClusterConfigin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The privateClusterConfig.
-
getPrivateClusterConfigOrBuilder
public PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.
.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrivateClusterConfigOrBuilderin interfacePrivateEnvironmentConfigOrBuilder
-
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];- Specified by:
getWebServerIpv4CidrBlockin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The webServerIpv4CidrBlock.
-
getWebServerIpv4CidrBlockBytes
public com.google.protobuf.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];- Specified by:
getWebServerIpv4CidrBlockBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The bytes for webServerIpv4CidrBlock.
-
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];- Specified by:
getCloudSqlIpv4CidrBlockin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The cloudSqlIpv4CidrBlock.
-
getCloudSqlIpv4CidrBlockBytes
public com.google.protobuf.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];- Specified by:
getCloudSqlIpv4CidrBlockBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The bytes for cloudSqlIpv4CidrBlock.
-
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];- Specified by:
getWebServerIpv4ReservedRangein interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The webServerIpv4ReservedRange.
-
getWebServerIpv4ReservedRangeBytes
public com.google.protobuf.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];- Specified by:
getWebServerIpv4ReservedRangeBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The bytes for webServerIpv4ReservedRange.
-
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];- Specified by:
getCloudComposerNetworkIpv4CidrBlockin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The cloudComposerNetworkIpv4CidrBlock.
-
getCloudComposerNetworkIpv4CidrBlockBytes
public com.google.protobuf.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];- Specified by:
getCloudComposerNetworkIpv4CidrBlockBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- 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];- Specified by:
getCloudComposerNetworkIpv4ReservedRangein interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The cloudComposerNetworkIpv4ReservedRange.
-
getCloudComposerNetworkIpv4ReservedRangeBytes
public com.google.protobuf.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];- Specified by:
getCloudComposerNetworkIpv4ReservedRangeBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The bytes for cloudComposerNetworkIpv4ReservedRange.
-
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];- Specified by:
getEnablePrivatelyUsedPublicIpsin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The enablePrivatelyUsedPublicIps.
-
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];- Specified by:
getCloudComposerConnectionSubnetworkin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The cloudComposerConnectionSubnetwork.
-
getCloudComposerConnectionSubnetworkBytes
public com.google.protobuf.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];- Specified by:
getCloudComposerConnectionSubnetworkBytesin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The bytes for cloudComposerConnectionSubnetwork.
-
hasNetworkingConfig
public boolean hasNetworkingConfig()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNetworkingConfigin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- Whether the networkingConfig field is set.
-
getNetworkingConfig
public NetworkingConfig getNetworkingConfig()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkingConfigin interfacePrivateEnvironmentConfigOrBuilder- Returns:
- The networkingConfig.
-
getNetworkingConfigOrBuilder
public NetworkingConfigOrBuilder getNetworkingConfigOrBuilder()
Optional. Configuration for the network connections configuration in the environment.
.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkingConfigOrBuilderin interfacePrivateEnvironmentConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PrivateEnvironmentConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PrivateEnvironmentConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PrivateEnvironmentConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PrivateEnvironmentConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PrivateEnvironmentConfig.Builder newBuilder()
-
newBuilder
public static PrivateEnvironmentConfig.Builder newBuilder(PrivateEnvironmentConfig prototype)
-
toBuilder
public PrivateEnvironmentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PrivateEnvironmentConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PrivateEnvironmentConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PrivateEnvironmentConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<PrivateEnvironmentConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PrivateEnvironmentConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-