Enum NatInfo.Type

java.lang.Object
java.lang.Enum<NatInfo.Type>
com.google.cloud.networkmanagement.v1beta1.NatInfo.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<NatInfo.Type>
Enclosing class:
NatInfo

public static enum NatInfo.Type extends Enum<NatInfo.Type> implements com.google.protobuf.ProtocolMessageEnum
 Types of NAT.
 
Protobuf enum google.cloud.networkmanagement.v1beta1.NatInfo.Type
  • Enum Constant Details

    • TYPE_UNSPECIFIED

      public static final NatInfo.Type TYPE_UNSPECIFIED
       Type is unspecified.
       
      TYPE_UNSPECIFIED = 0;
    • INTERNAL_TO_EXTERNAL

      public static final NatInfo.Type INTERNAL_TO_EXTERNAL
       From Compute Engine instance's internal address to external address.
       
      INTERNAL_TO_EXTERNAL = 1;
    • EXTERNAL_TO_INTERNAL

      public static final NatInfo.Type EXTERNAL_TO_INTERNAL
       From Compute Engine instance's external address to internal address.
       
      EXTERNAL_TO_INTERNAL = 2;
    • CLOUD_NAT

      public static final NatInfo.Type CLOUD_NAT
       Cloud NAT Gateway.
       
      CLOUD_NAT = 3;
    • PRIVATE_SERVICE_CONNECT

      public static final NatInfo.Type PRIVATE_SERVICE_CONNECT
       Private service connect NAT.
       
      PRIVATE_SERVICE_CONNECT = 4;
    • GKE_POD_IP_MASQUERADING

      public static final NatInfo.Type GKE_POD_IP_MASQUERADING
       GKE Pod IP address masquerading.
       
      GKE_POD_IP_MASQUERADING = 5;
    • UNRECOGNIZED

      public static final NatInfo.Type UNRECOGNIZED
  • Field Details

    • TYPE_UNSPECIFIED_VALUE

      public static final int TYPE_UNSPECIFIED_VALUE
       Type is unspecified.
       
      TYPE_UNSPECIFIED = 0;
      See Also:
    • INTERNAL_TO_EXTERNAL_VALUE

      public static final int INTERNAL_TO_EXTERNAL_VALUE
       From Compute Engine instance's internal address to external address.
       
      INTERNAL_TO_EXTERNAL = 1;
      See Also:
    • EXTERNAL_TO_INTERNAL_VALUE

      public static final int EXTERNAL_TO_INTERNAL_VALUE
       From Compute Engine instance's external address to internal address.
       
      EXTERNAL_TO_INTERNAL = 2;
      See Also:
    • CLOUD_NAT_VALUE

      public static final int CLOUD_NAT_VALUE
       Cloud NAT Gateway.
       
      CLOUD_NAT = 3;
      See Also:
    • PRIVATE_SERVICE_CONNECT_VALUE

      public static final int PRIVATE_SERVICE_CONNECT_VALUE
       Private service connect NAT.
       
      PRIVATE_SERVICE_CONNECT = 4;
      See Also:
    • GKE_POD_IP_MASQUERADING_VALUE

      public static final int GKE_POD_IP_MASQUERADING_VALUE
       GKE Pod IP address masquerading.
       
      GKE_POD_IP_MASQUERADING = 5;
      See Also:
  • Method Details

    • values

      public static NatInfo.Type[] 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 NatInfo.Type 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 NatInfo.Type 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 NatInfo.Type 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<NatInfo.Type> 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 NatInfo.Type 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