Enum Subnetwork.Ipv6GceEndpoint

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

public static enum Subnetwork.Ipv6GceEndpoint extends Enum<Subnetwork.Ipv6GceEndpoint> implements com.google.protobuf.ProtocolMessageEnum
 Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the
 following:

 - VM_ONLY: The subnetwork can be used for creating instances and
 IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6
 ranges from a public delegated prefix and cannot be used to create NetLb.
 - VM_AND_FR: The subnetwork can be used for creating both VM
 instances and Forwarding Rules. It can also be used to reserve IPv6
 addresses with both VM and FR endpoint types. Such a subnetwork gets its
 IPv6 range from Google IP Pool directly.
 
Protobuf enum google.cloud.compute.v1.Subnetwork.Ipv6GceEndpoint
  • Enum Constant Details

  • Field Details

    • UNDEFINED_IPV6_GCE_ENDPOINT_VALUE

      public static final int UNDEFINED_IPV6_GCE_ENDPOINT_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_IPV6_GCE_ENDPOINT = 0;
      See Also:
    • VM_AND_FR_VALUE

      public static final int VM_AND_FR_VALUE
      VM_AND_FR = 41830108;
      See Also:
    • VM_ONLY_VALUE

      public static final int VM_ONLY_VALUE
      VM_ONLY = 236773428;
      See Also:
  • Method Details

    • values

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