public static enum NetworkingConfig.ConnectionType extends Enum<NetworkingConfig.ConnectionType> implements com.google.protobuf.ProtocolMessageEnum
Represents connection type between Composer environment in Customer Project and the corresponding Tenant project, from a predefined list of available connection modes.Protobuf enum
google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionType| Enum Constant and Description |
|---|
CONNECTION_TYPE_UNSPECIFIED
No specific connection type was requested, so the environment uses
the default value corresponding to the rest of its configuration.
|
PRIVATE_SERVICE_CONNECT
Requests the use of Private Service Connect for connecting the Customer
and Tenant projects.
|
UNRECOGNIZED |
VPC_PEERING
Requests the use of VPC peerings for connecting the Customer and Tenant
projects.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTION_TYPE_UNSPECIFIED_VALUE
No specific connection type was requested, so the environment uses
the default value corresponding to the rest of its configuration.
|
static int |
PRIVATE_SERVICE_CONNECT_VALUE
Requests the use of Private Service Connect for connecting the Customer
and Tenant projects.
|
static int |
VPC_PEERING_VALUE
Requests the use of VPC peerings for connecting the Customer and Tenant
projects.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkingConfig.ConnectionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NetworkingConfig.ConnectionType> |
internalGetValueMap() |
static NetworkingConfig.ConnectionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkingConfig.ConnectionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkingConfig.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkingConfig.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkingConfig.ConnectionType CONNECTION_TYPE_UNSPECIFIED
No specific connection type was requested, so the environment uses the default value corresponding to the rest of its configuration.
CONNECTION_TYPE_UNSPECIFIED = 0;public static final NetworkingConfig.ConnectionType VPC_PEERING
Requests the use of VPC peerings for connecting the Customer and Tenant projects.
VPC_PEERING = 1;public static final NetworkingConfig.ConnectionType PRIVATE_SERVICE_CONNECT
Requests the use of Private Service Connect for connecting the Customer and Tenant projects.
PRIVATE_SERVICE_CONNECT = 2;public static final NetworkingConfig.ConnectionType UNRECOGNIZED
public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE
No specific connection type was requested, so the environment uses the default value corresponding to the rest of its configuration.
CONNECTION_TYPE_UNSPECIFIED = 0;public static final int VPC_PEERING_VALUE
Requests the use of VPC peerings for connecting the Customer and Tenant projects.
VPC_PEERING = 1;public static final int PRIVATE_SERVICE_CONNECT_VALUE
Requests the use of Private Service Connect for connecting the Customer and Tenant projects.
PRIVATE_SERVICE_CONNECT = 2;public static NetworkingConfig.ConnectionType[] values()
for (NetworkingConfig.ConnectionType c : NetworkingConfig.ConnectionType.values()) System.out.println(c);
public static NetworkingConfig.ConnectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NetworkingConfig.ConnectionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkingConfig.ConnectionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkingConfig.ConnectionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NetworkingConfig.ConnectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.