Enum ForwardInfo.Target
- java.lang.Object
-
- java.lang.Enum<ForwardInfo.Target>
-
- com.google.cloud.networkmanagement.v1.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 enumgoogle.cloud.networkmanagement.v1.ForwardInfo.Target
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANOTHER_PROJECT
Forwarded to a VPC network in another project.CLOUD_SQL_INSTANCE
Forwarded to a Cloud SQL instance.GKE_MASTER
Forwarded to a Google Kubernetes Engine Container cluster master.IMPORTED_CUSTOM_ROUTE_NEXT_HOP
Forwarded to the next hop of a custom route imported from a peering VPC.INTERCONNECT
Forwarded to a Cloud Interconnect connection.NCC_HUB
Forwarded to an NCC Hub.PEERING_VPC
Forwarded to a VPC peering network.TARGET_UNSPECIFIED
Target not specified.UNRECOGNIZED
VPN_GATEWAY
Forwarded to a Cloud VPN gateway.
-
Field Summary
Fields Modifier and Type Field Description static int
ANOTHER_PROJECT_VALUE
Forwarded to a VPC network in another project.static int
CLOUD_SQL_INSTANCE_VALUE
Forwarded to a Cloud SQL instance.static int
GKE_MASTER_VALUE
Forwarded to a Google Kubernetes Engine Container cluster master.static int
IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE
Forwarded to the next hop of a custom route imported from a peering VPC.static int
INTERCONNECT_VALUE
Forwarded to a Cloud Interconnect connection.static int
NCC_HUB_VALUE
Forwarded to an NCC Hub.static int
PEERING_VPC_VALUE
Forwarded to a VPC peering network.static int
TARGET_UNSPECIFIED_VALUE
Target not specified.static int
VPN_GATEWAY_VALUE
Forwarded to a Cloud VPN gateway.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ForwardInfo.Target
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ForwardInfo.Target>
internalGetValueMap()
static ForwardInfo.Target
valueOf(int value)
Deprecated.static ForwardInfo.Target
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ForwardInfo.Target
valueOf(String name)
Returns 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 Detail
-
TARGET_UNSPECIFIED
public static final ForwardInfo.Target TARGET_UNSPECIFIED
Target not specified.
TARGET_UNSPECIFIED = 0;
-
PEERING_VPC
public static final ForwardInfo.Target PEERING_VPC
Forwarded to a VPC peering network.
PEERING_VPC = 1;
-
VPN_GATEWAY
public static final ForwardInfo.Target VPN_GATEWAY
Forwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2;
-
INTERCONNECT
public static final ForwardInfo.Target INTERCONNECT
Forwarded to a Cloud Interconnect connection.
INTERCONNECT = 3;
-
GKE_MASTER
public static final ForwardInfo.Target GKE_MASTER
Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4;
-
IMPORTED_CUSTOM_ROUTE_NEXT_HOP
public static final ForwardInfo.Target 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
public static final ForwardInfo.Target CLOUD_SQL_INSTANCE
Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6;
-
ANOTHER_PROJECT
public static final ForwardInfo.Target ANOTHER_PROJECT
Forwarded to a VPC network in another project.
ANOTHER_PROJECT = 7;
-
NCC_HUB
public static final ForwardInfo.Target NCC_HUB
Forwarded to an NCC Hub.
NCC_HUB = 8;
-
UNRECOGNIZED
public static final ForwardInfo.Target UNRECOGNIZED
-
-
Field Detail
-
TARGET_UNSPECIFIED_VALUE
public static final int TARGET_UNSPECIFIED_VALUE
Target not specified.
TARGET_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
PEERING_VPC_VALUE
public static final int PEERING_VPC_VALUE
Forwarded to a VPC peering network.
PEERING_VPC = 1;
- See Also:
- Constant Field Values
-
VPN_GATEWAY_VALUE
public static final int VPN_GATEWAY_VALUE
Forwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2;
- See Also:
- Constant Field Values
-
INTERCONNECT_VALUE
public static final int INTERCONNECT_VALUE
Forwarded to a Cloud Interconnect connection.
INTERCONNECT = 3;
- See Also:
- Constant Field Values
-
GKE_MASTER_VALUE
public static final int GKE_MASTER_VALUE
Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4;
- See Also:
- Constant Field Values
-
IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE
public static final int IMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUE
Forwarded to the next hop of a custom route imported from a peering VPC.
IMPORTED_CUSTOM_ROUTE_NEXT_HOP = 5;
- See Also:
- Constant Field Values
-
CLOUD_SQL_INSTANCE_VALUE
public static final int CLOUD_SQL_INSTANCE_VALUE
Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6;
- See Also:
- Constant Field Values
-
ANOTHER_PROJECT_VALUE
public static final int ANOTHER_PROJECT_VALUE
Forwarded to a VPC network in another project.
ANOTHER_PROJECT = 7;
- See Also:
- Constant Field Values
-
NCC_HUB_VALUE
public static final int NCC_HUB_VALUE
Forwarded to an NCC Hub.
NCC_HUB = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ForwardInfo.Target[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ForwardInfo.Target c : ForwardInfo.Target.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardInfo.Target 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ForwardInfo.Target 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 nameNullPointerException
- if the argument is null
-
forNumber
public static ForwardInfo.Target 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<ForwardInfo.Target> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ForwardInfo.Target 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
-
-