Enum ForwardInfo.Target
- java.lang.Object
-
- java.lang.Enum<ForwardInfo.Target>
-
- com.google.cloud.networkmanagement.v1beta1.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.v1beta1.ForwardInfo.Target
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANOTHER_PROJECTForwarded to a VPC network in another project.CLOUD_SQL_INSTANCEForwarded to a Cloud SQL instance.GKE_MASTERForwarded to a Google Kubernetes Engine Container cluster master.IMPORTED_CUSTOM_ROUTE_NEXT_HOPForwarded to the next hop of a custom route imported from a peering VPC.INTERCONNECTForwarded to a Cloud Interconnect connection.NCC_HUBForwarded to an NCC Hub.PEERING_VPCForwarded to a VPC peering network.TARGET_UNSPECIFIEDTarget not specified.UNRECOGNIZEDVPN_GATEWAYForwarded to a Cloud VPN gateway.
-
Field Summary
Fields Modifier and Type Field Description static intANOTHER_PROJECT_VALUEForwarded to a VPC network in another project.static intCLOUD_SQL_INSTANCE_VALUEForwarded to a Cloud SQL instance.static intGKE_MASTER_VALUEForwarded to a Google Kubernetes Engine Container cluster master.static intIMPORTED_CUSTOM_ROUTE_NEXT_HOP_VALUEForwarded to the next hop of a custom route imported from a peering VPC.static intINTERCONNECT_VALUEForwarded to a Cloud Interconnect connection.static intNCC_HUB_VALUEForwarded to an NCC Hub.static intPEERING_VPC_VALUEForwarded to a VPC peering network.static intTARGET_UNSPECIFIED_VALUETarget not specified.static intVPN_GATEWAY_VALUEForwarded to a Cloud VPN gateway.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ForwardInfo.TargetforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ForwardInfo.Target>internalGetValueMap()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.TargetvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-