Enum Subnetwork.Purpose

java.lang.Object
java.lang.Enum<Subnetwork.Purpose>
com.google.cloud.compute.v1.Subnetwork.Purpose
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Subnetwork.Purpose>
Enclosing class:
Subnetwork

public static enum Subnetwork.Purpose extends Enum<Subnetwork.Purpose> implements com.google.protobuf.ProtocolMessageEnum
 
Protobuf enum google.cloud.compute.v1.Subnetwork.Purpose
  • Enum Constant Details

    • UNDEFINED_PURPOSE

      public static final Subnetwork.Purpose UNDEFINED_PURPOSE
       A value indicating that the enum field is not set.
       
      UNDEFINED_PURPOSE = 0;
    • GLOBAL_MANAGED_PROXY

      public static final Subnetwork.Purpose GLOBAL_MANAGED_PROXY
       Subnet reserved for Global Envoy-based Load Balancing.
       
      GLOBAL_MANAGED_PROXY = 236463602;
    • INTERNAL_HTTPS_LOAD_BALANCER

      public static final Subnetwork.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;
    • PEER_MIGRATION

      public static final Subnetwork.Purpose 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

      public static final Subnetwork.Purpose PRIVATE
       Regular user created or automatically created subnet.
       
      PRIVATE = 403485027;
    • PRIVATE_NAT

      public static final Subnetwork.Purpose PRIVATE_NAT
       Subnetwork used as source range for Private NAT Gateways.
       
      PRIVATE_NAT = 367764517;
    • PRIVATE_RFC_1918

      public static final Subnetwork.Purpose PRIVATE_RFC_1918
       Regular user created or automatically created subnet.
       
      PRIVATE_RFC_1918 = 254902107;
    • PRIVATE_SERVICE_CONNECT

      public static final Subnetwork.Purpose PRIVATE_SERVICE_CONNECT
       Subnetworks created for Private Service Connect in the producer network.
       
      PRIVATE_SERVICE_CONNECT = 48134724;
    • REGIONAL_MANAGED_PROXY

      public static final Subnetwork.Purpose REGIONAL_MANAGED_PROXY
       Subnetwork used for Regional Envoy-based Load Balancing.
       
      REGIONAL_MANAGED_PROXY = 153049966;
    • UNRECOGNIZED

      public static final Subnetwork.Purpose UNRECOGNIZED
  • Field Details

    • UNDEFINED_PURPOSE_VALUE

      public static final int UNDEFINED_PURPOSE_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_PURPOSE = 0;
      See Also:
    • GLOBAL_MANAGED_PROXY_VALUE

      public static final int GLOBAL_MANAGED_PROXY_VALUE
       Subnet 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_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;
      See Also:
    • PEER_MIGRATION_VALUE

      public static final int PEER_MIGRATION_VALUE
       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;
      See Also:
    • PRIVATE_VALUE

      public static final int PRIVATE_VALUE
       Regular user created or automatically created subnet.
       
      PRIVATE = 403485027;
      See Also:
    • PRIVATE_NAT_VALUE

      public static final int PRIVATE_NAT_VALUE
       Subnetwork used as source range for Private NAT Gateways.
       
      PRIVATE_NAT = 367764517;
      See Also:
    • PRIVATE_RFC_1918_VALUE

      public static final int PRIVATE_RFC_1918_VALUE
       Regular user created or automatically created subnet.
       
      PRIVATE_RFC_1918 = 254902107;
      See Also:
    • PRIVATE_SERVICE_CONNECT_VALUE

      public static final int PRIVATE_SERVICE_CONNECT_VALUE
       Subnetworks created for Private Service Connect in the producer network.
       
      PRIVATE_SERVICE_CONNECT = 48134724;
      See Also:
    • REGIONAL_MANAGED_PROXY_VALUE

      public static final int REGIONAL_MANAGED_PROXY_VALUE
       Subnetwork used for Regional Envoy-based Load Balancing.
       
      REGIONAL_MANAGED_PROXY = 153049966;
      See Also:
  • Method Details

    • values

      public static Subnetwork.Purpose[] 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

      public static Subnetwork.Purpose valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Subnetwork.Purpose valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Subnetwork.Purpose forNumber(int value)
      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<Subnetwork.Purpose> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Subnetwork.Purpose 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 name
      NullPointerException - if the argument is null