Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionSpokes that are NCC gateways.Spokes associated with VLAN attachments.Spokes that are backed by a producer VPC network.Spokes associated with router appliance instances.Unspecified spoke type.Spokes associated with VPC networks.Spokes associated with VPN tunnels. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpokes that are NCC gateways.static final intSpokes associated with VLAN attachments.static final intSpokes that are backed by a producer VPC network.static final intSpokes associated with router appliance instances.static final intUnspecified spoke type.static final intSpokes associated with VPC networks.static final intSpokes associated with VPN tunnels. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpokeTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SpokeType>static SpokeTypevalueOf(int value) Deprecated.static SpokeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SpokeTypeReturns the enum constant of this type with the specified name.static SpokeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SPOKE_TYPE_UNSPECIFIED
Unspecified spoke type.
SPOKE_TYPE_UNSPECIFIED = 0; -
VPN_TUNNEL
Spokes associated with VPN tunnels.
VPN_TUNNEL = 1; -
INTERCONNECT_ATTACHMENT
Spokes associated with VLAN attachments.
INTERCONNECT_ATTACHMENT = 2; -
ROUTER_APPLIANCE
Spokes associated with router appliance instances.
ROUTER_APPLIANCE = 3; -
VPC_NETWORK
Spokes associated with VPC networks.
VPC_NETWORK = 4; -
GATEWAY
Spokes that are NCC gateways.
GATEWAY = 5; -
PRODUCER_VPC_NETWORK
Spokes that are backed by a producer VPC network.
PRODUCER_VPC_NETWORK = 7; -
UNRECOGNIZED
-
-
Field Details
-
SPOKE_TYPE_UNSPECIFIED_VALUE
public static final int SPOKE_TYPE_UNSPECIFIED_VALUEUnspecified spoke type.
SPOKE_TYPE_UNSPECIFIED = 0;- See Also:
-
VPN_TUNNEL_VALUE
public static final int VPN_TUNNEL_VALUESpokes associated with VPN tunnels.
VPN_TUNNEL = 1;- See Also:
-
INTERCONNECT_ATTACHMENT_VALUE
public static final int INTERCONNECT_ATTACHMENT_VALUESpokes associated with VLAN attachments.
INTERCONNECT_ATTACHMENT = 2;- See Also:
-
ROUTER_APPLIANCE_VALUE
public static final int ROUTER_APPLIANCE_VALUESpokes associated with router appliance instances.
ROUTER_APPLIANCE = 3;- See Also:
-
VPC_NETWORK_VALUE
public static final int VPC_NETWORK_VALUESpokes associated with VPC networks.
VPC_NETWORK = 4;- See Also:
-
GATEWAY_VALUE
public static final int GATEWAY_VALUESpokes that are NCC gateways.
GATEWAY = 5;- See Also:
-
PRODUCER_VPC_NETWORK_VALUE
public static final int PRODUCER_VPC_NETWORK_VALUESpokes that are backed by a producer VPC network.
PRODUCER_VPC_NETWORK = 7;- 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
-
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
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
-