java.lang.Object
java.lang.Enum<SpokeType>
com.google.cloud.networkconnectivity.v1beta.SpokeType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SpokeType>

@Generated public enum SpokeType extends Enum<SpokeType> implements com.google.protobuf.ProtocolMessageEnum
 The SpokeType enum represents the type of spoke. The type
 reflects the kind of resource that a spoke is associated with.
 
Protobuf enum google.cloud.networkconnectivity.v1beta.SpokeType
  • Enum Constant Details

    • SPOKE_TYPE_UNSPECIFIED

      public static final SpokeType SPOKE_TYPE_UNSPECIFIED
       Unspecified spoke type.
       
      SPOKE_TYPE_UNSPECIFIED = 0;
    • VPN_TUNNEL

      public static final SpokeType VPN_TUNNEL
       Spokes associated with VPN tunnels.
       
      VPN_TUNNEL = 1;
    • INTERCONNECT_ATTACHMENT

      public static final SpokeType INTERCONNECT_ATTACHMENT
       Spokes associated with VLAN attachments.
       
      INTERCONNECT_ATTACHMENT = 2;
    • ROUTER_APPLIANCE

      public static final SpokeType ROUTER_APPLIANCE
       Spokes associated with router appliance instances.
       
      ROUTER_APPLIANCE = 3;
    • VPC_NETWORK

      public static final SpokeType VPC_NETWORK
       Spokes associated with VPC networks.
       
      VPC_NETWORK = 4;
    • GATEWAY

      public static final SpokeType GATEWAY
       Spokes that are NCC gateways.
       
      GATEWAY = 5;
    • PRODUCER_VPC_NETWORK

      public static final SpokeType PRODUCER_VPC_NETWORK
       Spokes that are backed by a producer VPC network.
       
      PRODUCER_VPC_NETWORK = 7;
    • UNRECOGNIZED

      public static final SpokeType UNRECOGNIZED
  • Field Details

    • SPOKE_TYPE_UNSPECIFIED_VALUE

      public static final int SPOKE_TYPE_UNSPECIFIED_VALUE
       Unspecified spoke type.
       
      SPOKE_TYPE_UNSPECIFIED = 0;
      See Also:
    • VPN_TUNNEL_VALUE

      public static final int VPN_TUNNEL_VALUE
       Spokes associated with VPN tunnels.
       
      VPN_TUNNEL = 1;
      See Also:
    • INTERCONNECT_ATTACHMENT_VALUE

      public static final int INTERCONNECT_ATTACHMENT_VALUE
       Spokes associated with VLAN attachments.
       
      INTERCONNECT_ATTACHMENT = 2;
      See Also:
    • ROUTER_APPLIANCE_VALUE

      public static final int ROUTER_APPLIANCE_VALUE
       Spokes associated with router appliance instances.
       
      ROUTER_APPLIANCE = 3;
      See Also:
    • VPC_NETWORK_VALUE

      public static final int VPC_NETWORK_VALUE
       Spokes associated with VPC networks.
       
      VPC_NETWORK = 4;
      See Also:
    • GATEWAY_VALUE

      public static final int GATEWAY_VALUE
       Spokes that are NCC gateways.
       
      GATEWAY = 5;
      See Also:
    • PRODUCER_VPC_NETWORK_VALUE

      public static final int PRODUCER_VPC_NETWORK_VALUE
       Spokes that are backed by a producer VPC network.
       
      PRODUCER_VPC_NETWORK = 7;
      See Also:
  • Method Details

    • values

      public static SpokeType[] 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 SpokeType 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 SpokeType 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 SpokeType 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<SpokeType> 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 SpokeType 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