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 and Description |
|---|
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.
|
PEERING_VPC
Forwarded to a VPC peering network.
|
TARGET_UNSPECIFIED
Target not specified.
|
UNRECOGNIZED |
VPN_GATEWAY
Forwarded to a Cloud VPN gateway.
|
| Modifier and Type | Field and Description |
|---|---|
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 |
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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ForwardInfo.Target |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final ForwardInfo.Target TARGET_UNSPECIFIED
Target not specified.
TARGET_UNSPECIFIED = 0;public static final ForwardInfo.Target PEERING_VPC
Forwarded to a VPC peering network.
PEERING_VPC = 1;public static final ForwardInfo.Target VPN_GATEWAY
Forwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2;public static final ForwardInfo.Target INTERCONNECT
Forwarded to a Cloud Interconnect connection.
INTERCONNECT = 3;public static final ForwardInfo.Target GKE_MASTER
Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4;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;public static final ForwardInfo.Target CLOUD_SQL_INSTANCE
Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6;public static final ForwardInfo.Target UNRECOGNIZED
public static final int TARGET_UNSPECIFIED_VALUE
Target not specified.
TARGET_UNSPECIFIED = 0;public static final int PEERING_VPC_VALUE
Forwarded to a VPC peering network.
PEERING_VPC = 1;public static final int VPN_GATEWAY_VALUE
Forwarded to a Cloud VPN gateway.
VPN_GATEWAY = 2;public static final int INTERCONNECT_VALUE
Forwarded to a Cloud Interconnect connection.
INTERCONNECT = 3;public static final int GKE_MASTER_VALUE
Forwarded to a Google Kubernetes Engine Container cluster master.
GKE_MASTER = 4;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;public static final int CLOUD_SQL_INSTANCE_VALUE
Forwarded to a Cloud SQL instance.
CLOUD_SQL_INSTANCE = 6;public static ForwardInfo.Target[] values()
for (ForwardInfo.Target c : ForwardInfo.Target.values()) System.out.println(c);
public static ForwardInfo.Target valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ForwardInfo.Target valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ForwardInfo.Target forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ForwardInfo.Target> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ForwardInfo.Target valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.