Enum ForwardInfo.Target
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ForwardInfo.Target>
- Enclosing class:
- ForwardInfo
public static enum ForwardInfo.Target
extends Enum<ForwardInfo.Target>
implements com.google.protobuf.ProtocolMessageEnum
Forward target types.Protobuf enum
google.cloud.networkmanagement.v1beta1.ForwardInfo.Target-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForwarded to a VPC network in another project.Deprecated.Deprecated.Forwarded to the next hop of a custom route imported from a peering VPC.Forwarded to a Cloud Interconnect connection.Forwarded to an NCC Hub.Forwarded to a VPC peering network.Forwarded to a router appliance.Forwarded to a Secure Web Proxy Gateway.Target not specified.Forwarded to a Cloud VPN gateway. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intForwarded to a VPC network in another project.static final intDeprecated.static final intDeprecated.static final intForwarded to the next hop of a custom route imported from a peering VPC.static final intForwarded to a Cloud Interconnect connection.static final intForwarded to an NCC Hub.static final intForwarded to a VPC peering network.static final intForwarded to a router appliance.static final intForwarded to a Secure Web Proxy Gateway.static final intTarget not specified.static final intForwarded to a Cloud VPN gateway. -
Method Summary
Modifier and TypeMethodDescriptionstatic ForwardInfo.TargetforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ForwardInfo.Target>static ForwardInfo.TargetvalueOf(int value) Deprecated.static ForwardInfo.TargetvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ForwardInfo.TargetReturns the enum constant of this type with the specified name.static ForwardInfo.Target[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TARGET_UNSPECIFIED
Target not specified.
TARGET_UNSPECIFIED = 0; -
PEERING_VPC
Forwarded to a VPC peering network.
PEERING_VPC = 1; -
VPN_GATEWAY
Forwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2; -
INTERCONNECT
Forwarded to a Cloud Interconnect connection.
INTERCONNECT = 3; -
GKE_MASTER
Deprecated.Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4 [deprecated = true]; -
IMPORTED_CUSTOM_ROUTE_NEXT_HOP
Forwarded to the next hop of a custom route imported from a peering VPC.
IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5; -
CLOUD_SQL_INSTANCE
Deprecated.Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6 [deprecated = true]; -
ANOTHER_PROJECT
Forwarded to a VPC network in another project.
ANOTHER_PROJECT = 7; -
NCC_HUB
Forwarded to an NCC Hub.
NCC_HUB = 8; -
ROUTER_APPLIANCE
Forwarded to a router appliance.
ROUTER_APPLIANCE = 9; -
SECURE_WEB_PROXY_GATEWAY
Forwarded to a Secure Web Proxy Gateway.
SECURE_WEB_PROXY_GATEWAY = 10; -
UNRECOGNIZED
-
-
Field Details
-
TARGET_UNSPECIFIED_VALUE
public static final int TARGET_UNSPECIFIED_VALUETarget not specified.
TARGET_UNSPECIFIED = 0;- See Also:
-
PEERING_VPC_VALUE
public static final int PEERING_VPC_VALUEForwarded to a VPC peering network.
PEERING_VPC = 1;- See Also:
-
VPN_GATEWAY_VALUE
public static final int VPN_GATEWAY_VALUEForwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2;- See Also:
-
INTERCONNECT_VALUE
public static final int INTERCONNECT_VALUEForwarded to a Cloud Interconnect connection.
INTERCONNECT = 3;- See Also:
-
GKE_MASTER_VALUE
Deprecated.Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4 [deprecated = true];- See Also:
-
IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE
public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUEForwarded to the next hop of a custom route imported from a peering VPC.
IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5;- See Also:
-
CLOUD_SQL_INSTANCE_VALUE
Deprecated.Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6 [deprecated = true];- See Also:
-
ANOTHER_PROJECT_VALUE
public static final int ANOTHER_PROJECT_VALUEForwarded to a VPC network in another project.
ANOTHER_PROJECT = 7;- See Also:
-
NCC_HUB_VALUE
public static final int NCC_HUB_VALUEForwarded to an NCC Hub.
NCC_HUB = 8;- See Also:
-
ROUTER_APPLIANCE_VALUE
public static final int ROUTER_APPLIANCE_VALUEForwarded to a router appliance.
ROUTER_APPLIANCE = 9;- See Also:
-
SECURE_WEB_PROXY_GATEWAY_VALUE
public static final int SECURE_WEB_PROXY_GATEWAY_VALUEForwarded to a Secure Web Proxy Gateway.
SECURE_WEB_PROXY_GATEWAY = 10;- 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
-