Package com.google.cloud.compute.v1
Enum NetworkProfileNetworkFeatures.SubnetworkPurposes
java.lang.Object
java.lang.Enum<NetworkProfileNetworkFeatures.SubnetworkPurposes>
com.google.cloud.compute.v1.NetworkProfileNetworkFeatures.SubnetworkPurposes
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NetworkProfileNetworkFeatures.SubnetworkPurposes>
- Enclosing class:
- NetworkProfileNetworkFeatures
public static enum NetworkProfileNetworkFeatures.SubnetworkPurposes
extends Enum<NetworkProfileNetworkFeatures.SubnetworkPurposes>
implements com.google.protobuf.ProtocolMessageEnum
Additional supported values which may be not listed in the enum directly due to technical reasons: PRIVATE_SERVICE_CONNECTProtobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.SubnetworkPurposes-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSubnet reserved for Global Envoy-based Load Balancing.Subnet reserved for Internal HTTP(S) Load Balancing.Subnetwork will be used for Migration from one peered VPC to another.Regular user created or automatically created subnet.Subnetwork used as source range for Private NAT Gateways.Regular user created or automatically created subnet.Subnetwork used for Regional Envoy-based Load Balancing.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSubnet reserved for Global Envoy-based Load Balancing.static final intSubnet reserved for Internal HTTP(S) Load Balancing.static final intSubnetwork will be used for Migration from one peered VPC to another.static final intSubnetwork used as source range for Private NAT Gateways.static final intRegular user created or automatically created subnet.static final intRegular user created or automatically created subnet.static final intSubnetwork used for Regional Envoy-based Load Balancing.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.SubnetworkPurposes>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_SUBNETWORK_PURPOSES
A value indicating that the enum field is not set.
UNDEFINED_SUBNETWORK_PURPOSES = 0; -
GLOBAL_MANAGED_PROXY
Subnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236463602; -
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; -
PEER_MIGRATION
Subnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).
PEER_MIGRATION = 491902225; -
PRIVATE
Regular user created or automatically created subnet.
PRIVATE = 403485027; -
PRIVATE_NAT
Subnetwork used as source range for Private NAT Gateways.
PRIVATE_NAT = 367764517; -
PRIVATE_RFC_1918
Regular user created or automatically created subnet.
PRIVATE_RFC_1918 = 254902107; -
REGIONAL_MANAGED_PROXY
Subnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153049966; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_SUBNETWORK_PURPOSES_VALUE
public static final int UNDEFINED_SUBNETWORK_PURPOSES_VALUEA value indicating that the enum field is not set.
UNDEFINED_SUBNETWORK_PURPOSES = 0;- See Also:
-
GLOBAL_MANAGED_PROXY_VALUE
public static final int GLOBAL_MANAGED_PROXY_VALUESubnet reserved for Global Envoy-based Load Balancing.
GLOBAL_MANAGED_PROXY = 236463602;- See Also:
-
INTERNAL_HTTPS_LOAD_BALANCER_VALUE
public static final int INTERNAL_HTTPS_LOAD_BALANCER_VALUESubnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.
INTERNAL_HTTPS_LOAD_BALANCER = 248748889;- See Also:
-
PEER_MIGRATION_VALUE
public static final int PEER_MIGRATION_VALUESubnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).
PEER_MIGRATION = 491902225;- See Also:
-
PRIVATE_VALUE
public static final int PRIVATE_VALUERegular user created or automatically created subnet.
PRIVATE = 403485027;- See Also:
-
PRIVATE_NAT_VALUE
public static final int PRIVATE_NAT_VALUESubnetwork used as source range for Private NAT Gateways.
PRIVATE_NAT = 367764517;- See Also:
-
PRIVATE_RFC_1918_VALUE
public static final int PRIVATE_RFC_1918_VALUERegular user created or automatically created subnet.
PRIVATE_RFC_1918 = 254902107;- See Also:
-
REGIONAL_MANAGED_PROXY_VALUE
public static final int REGIONAL_MANAGED_PROXY_VALUESubnetwork used for Regional Envoy-based Load Balancing.
REGIONAL_MANAGED_PROXY = 153049966;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.SubnetworkPurposes> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static NetworkProfileNetworkFeatures.SubnetworkPurposes valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-