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_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.Protobuf enum
google.cloud.compute.v1.UsableSubnetwork.Purpose| Enum Constant and Description |
|---|
INTERNAL_HTTPS_LOAD_BALANCER
Subnet reserved for Internal HTTP(S) Load Balancing.
|
PRIVATE
Regular user created or automatically created subnet.
|
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 Internal/External HTTP(S) Load Balancing.
|
UNDEFINED_PURPOSE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERNAL_HTTPS_LOAD_BALANCER_VALUE
Subnet reserved for Internal HTTP(S) Load Balancing.
|
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 Internal/External HTTP(S) 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 INTERNAL_HTTPS_LOAD_BALANCER
Subnet reserved for Internal HTTP(S) Load Balancing.
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_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 Internal/External HTTP(S) 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 INTERNAL_HTTPS_LOAD_BALANCER_VALUE
Subnet reserved for Internal HTTP(S) Load Balancing.
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_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 Internal/External HTTP(S) 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 © 2023 Google LLC. All rights reserved.