Enum RouteInfo.NextHopType
java.lang.Object
java.lang.Enum<RouteInfo.NextHopType>
com.google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RouteInfo.NextHopType>
- Enclosing class:
- RouteInfo
public static enum RouteInfo.NextHopType
extends Enum<RouteInfo.NextHopType>
implements com.google.protobuf.ProtocolMessageEnum
Type of next hop:Protobuf enum
google.cloud.networkmanagement.v1beta1.RouteInfo.NextHopType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNext hop is blackhole; that is, the next hop either does not exist or is unusable.Next hop is the forwarding rule of an Internal Load Balancer.Next hop is a Compute Engine instance.Next hop is an interconnect.Next hop is an internet gateway.Next hop is an IP address.Next hop is an NCC hub.Next hop is a VPC network gateway.Next hop is a peering VPC.Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).Unspecified type.Next hop is a VPN gateway.Next hop is a VPN tunnel.Next hop is Secure Web Proxy Gateway. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNext hop is blackhole; that is, the next hop either does not exist or is unusable.static final intNext hop is the forwarding rule of an Internal Load Balancer.static final intNext hop is a Compute Engine instance.static final intNext hop is an interconnect.static final intNext hop is an internet gateway.static final intNext hop is an IP address.static final intNext hop is an NCC hub.static final intNext hop is a VPC network gateway.static final intNext hop is a peering VPC.static final intNext hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).static final intUnspecified type.static final intNext hop is a VPN gateway.static final intNext hop is a VPN tunnel.static final intNext hop is Secure Web Proxy Gateway. -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteInfo.NextHopTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RouteInfo.NextHopType>static RouteInfo.NextHopTypevalueOf(int value) Deprecated.static RouteInfo.NextHopTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RouteInfo.NextHopTypeReturns the enum constant of this type with the specified name.static RouteInfo.NextHopType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEXT_HOP_TYPE_UNSPECIFIED
Unspecified type. Default value.
NEXT_HOP_TYPE_UNSPECIFIED = 0; -
NEXT_HOP_IP
Next hop is an IP address.
NEXT_HOP_IP = 1; -
NEXT_HOP_INSTANCE
Next hop is a Compute Engine instance.
NEXT_HOP_INSTANCE = 2; -
NEXT_HOP_NETWORK
Next hop is a VPC network gateway.
NEXT_HOP_NETWORK = 3; -
NEXT_HOP_PEERING
Next hop is a peering VPC. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.
NEXT_HOP_PEERING = 4; -
NEXT_HOP_INTERCONNECT
Next hop is an interconnect.
NEXT_HOP_INTERCONNECT = 5; -
NEXT_HOP_VPN_TUNNEL
Next hop is a VPN tunnel.
NEXT_HOP_VPN_TUNNEL = 6; -
NEXT_HOP_VPN_GATEWAY
Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.
NEXT_HOP_VPN_GATEWAY = 7; -
NEXT_HOP_INTERNET_GATEWAY
Next hop is an internet gateway.
NEXT_HOP_INTERNET_GATEWAY = 8; -
NEXT_HOP_BLACKHOLE
Next hop is blackhole; that is, the next hop either does not exist or is unusable.
NEXT_HOP_BLACKHOLE = 9; -
NEXT_HOP_ILB
Next hop is the forwarding rule of an Internal Load Balancer.
NEXT_HOP_ILB = 10; -
NEXT_HOP_ROUTER_APPLIANCE
Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
NEXT_HOP_ROUTER_APPLIANCE = 11; -
NEXT_HOP_NCC_HUB
Next hop is an NCC hub. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.
NEXT_HOP_NCC_HUB = 12; -
SECURE_WEB_PROXY_GATEWAY
Next hop is Secure Web Proxy Gateway.
SECURE_WEB_PROXY_GATEWAY = 13; -
UNRECOGNIZED
-
-
Field Details
-
NEXT_HOP_TYPE_UNSPECIFIED_VALUE
public static final int NEXT_HOP_TYPE_UNSPECIFIED_VALUEUnspecified type. Default value.
NEXT_HOP_TYPE_UNSPECIFIED = 0;- See Also:
-
NEXT_HOP_IP_VALUE
public static final int NEXT_HOP_IP_VALUENext hop is an IP address.
NEXT_HOP_IP = 1;- See Also:
-
NEXT_HOP_INSTANCE_VALUE
public static final int NEXT_HOP_INSTANCE_VALUENext hop is a Compute Engine instance.
NEXT_HOP_INSTANCE = 2;- See Also:
-
NEXT_HOP_NETWORK_VALUE
public static final int NEXT_HOP_NETWORK_VALUENext hop is a VPC network gateway.
NEXT_HOP_NETWORK = 3;- See Also:
-
NEXT_HOP_PEERING_VALUE
public static final int NEXT_HOP_PEERING_VALUENext hop is a peering VPC. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.
NEXT_HOP_PEERING = 4;- See Also:
-
NEXT_HOP_INTERCONNECT_VALUE
public static final int NEXT_HOP_INTERCONNECT_VALUENext hop is an interconnect.
NEXT_HOP_INTERCONNECT = 5;- See Also:
-
NEXT_HOP_VPN_TUNNEL_VALUE
public static final int NEXT_HOP_VPN_TUNNEL_VALUENext hop is a VPN tunnel.
NEXT_HOP_VPN_TUNNEL = 6;- See Also:
-
NEXT_HOP_VPN_GATEWAY_VALUE
public static final int NEXT_HOP_VPN_GATEWAY_VALUENext hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.
NEXT_HOP_VPN_GATEWAY = 7;- See Also:
-
NEXT_HOP_INTERNET_GATEWAY_VALUE
public static final int NEXT_HOP_INTERNET_GATEWAY_VALUENext hop is an internet gateway.
NEXT_HOP_INTERNET_GATEWAY = 8;- See Also:
-
NEXT_HOP_BLACKHOLE_VALUE
public static final int NEXT_HOP_BLACKHOLE_VALUENext hop is blackhole; that is, the next hop either does not exist or is unusable.
NEXT_HOP_BLACKHOLE = 9;- See Also:
-
NEXT_HOP_ILB_VALUE
public static final int NEXT_HOP_ILB_VALUENext hop is the forwarding rule of an Internal Load Balancer.
NEXT_HOP_ILB = 10;- See Also:
-
NEXT_HOP_ROUTER_APPLIANCE_VALUE
public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUENext hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
NEXT_HOP_ROUTER_APPLIANCE = 11;- See Also:
-
NEXT_HOP_NCC_HUB_VALUE
public static final int NEXT_HOP_NCC_HUB_VALUENext hop is an NCC hub. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.
NEXT_HOP_NCC_HUB = 12;- See Also:
-
SECURE_WEB_PROXY_GATEWAY_VALUE
public static final int SECURE_WEB_PROXY_GATEWAY_VALUENext hop is Secure Web Proxy Gateway.
SECURE_WEB_PROXY_GATEWAY = 13;- 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
public static RouteInfo.NextHopType 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 nameNullPointerException- if the argument is null
-