public static enum UsableSubnetwork.Purpose extends Enum<UsableSubnetwork.Purpose> implements com.google.protobuf.ProtocolMessageEnum
The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.Protobuf enum
google.cloud.compute.v1.UsableSubnetwork.Purpose| Enum Constant and Description |
|---|
GLOBAL_MANAGED_PROXY
Subnet reserved for Global Envoy-based Load Balancing.
|
INTERNAL_HTTPS_LOAD_BALANCER
Subnet reserved for Internal HTTP(S) Load Balancing.
|
PRIVATE
Regular user created or automatically created subnet.
|
PRIVATE_NAT
Subnetwork used as source range for Private NAT Gateways.
|
PRIVATE_RFC_1918
Regular user created or automatically created subnet.
|
PRIVATE_SERVICE_CONNECT
Subnetworks created for Private Service Connect in the producer network.
|
REGIONAL_MANAGED_PROXY
Subnetwork used for Regional Envoy-based Load Balancing.
|
UNDEFINED_PURPOSE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GLOBAL_MANAGED_PROXY_VALUE
Subnet reserved for Global Envoy-based Load Balancing.
|
static int |
INTERNAL_HTTPS_LOAD_BALANCER_VALUE
Subnet reserved for Internal HTTP(S) Load Balancing.
|
static int |
PRIVATE_NAT_VALUE
Subnetwork used as source range for Private NAT Gateways.
|
static int |
PRIVATE_RFC_1918_VALUE
Regular user created or automatically created subnet.
|
static int |
PRIVATE_SERVICE_CONNECT_VALUE
Subnetworks created for Private Service Connect in the producer network.
|
static int |
PRIVATE_VALUE
Regular user created or automatically created subnet.
|
static int |
REGIONAL_MANAGED_PROXY_VALUE
Subnetwork used for Regional Envoy-based Load Balancing.
|
static int |
UNDEFINED_PURPOSE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static UsableSubnetwork.Purpose |
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<UsableSubnetwork.Purpose> |
internalGetValueMap() |
static UsableSubnetwork.Purpose |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UsableSubnetwork.Purpose |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UsableSubnetwork.Purpose |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsableSubnetwork.Purpose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsableSubnetwork.Purpose UNDEFINED_PURPOSE
A value indicating that the enum field is not set.
UNDEFINED_PURPOSE = 0;public static final UsableSubnetwork.Purpose GLOBAL_MANAGED_PROXY
Subnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236463602;public static final UsableSubnetwork.Purpose INTERNAL_HTTPS_LOAD_BALANCER
Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.
INTERNAL_HTTPS_LOAD_BALANCER = 248748889;public static final UsableSubnetwork.Purpose PRIVATE
Regular user created or automatically created subnet.
PRIVATE = 403485027;public static final UsableSubnetwork.Purpose PRIVATE_NAT
Subnetwork used as source range for Private NAT Gateways.
PRIVATE_NAT = 367764517;public static final UsableSubnetwork.Purpose PRIVATE_RFC_1918
Regular user created or automatically created subnet.
PRIVATE_RFC_1918 = 254902107;public static final UsableSubnetwork.Purpose PRIVATE_SERVICE_CONNECT
Subnetworks created for Private Service Connect in the producer network.
PRIVATE_SERVICE_CONNECT = 48134724;public static final UsableSubnetwork.Purpose REGIONAL_MANAGED_PROXY
Subnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153049966;public static final UsableSubnetwork.Purpose UNRECOGNIZED
public static final int UNDEFINED_PURPOSE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PURPOSE = 0;public static final int GLOBAL_MANAGED_PROXY_VALUE
Subnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236463602;public static final int INTERNAL_HTTPS_LOAD_BALANCER_VALUE
Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.
INTERNAL_HTTPS_LOAD_BALANCER = 248748889;public static final int PRIVATE_VALUE
Regular user created or automatically created subnet.
PRIVATE = 403485027;public static final int PRIVATE_NAT_VALUE
Subnetwork used as source range for Private NAT Gateways.
PRIVATE_NAT = 367764517;public static final int PRIVATE_RFC_1918_VALUE
Regular user created or automatically created subnet.
PRIVATE_RFC_1918 = 254902107;public static final int PRIVATE_SERVICE_CONNECT_VALUE
Subnetworks created for Private Service Connect in the producer network.
PRIVATE_SERVICE_CONNECT = 48134724;public static final int REGIONAL_MANAGED_PROXY_VALUE
Subnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153049966;public static UsableSubnetwork.Purpose[] values()
for (UsableSubnetwork.Purpose c : UsableSubnetwork.Purpose.values()) System.out.println(c);
public static UsableSubnetwork.Purpose 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 UsableSubnetwork.Purpose valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UsableSubnetwork.Purpose forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UsableSubnetwork.Purpose> 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 UsableSubnetwork.Purpose valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.