public static enum ListPeeringRoutesNetworksRequest.Direction extends Enum<ListPeeringRoutesNetworksRequest.Direction> implements com.google.protobuf.ProtocolMessageEnum
The direction of the exchanged routes.Protobuf enum
google.cloud.compute.v1.ListPeeringRoutesNetworksRequest.Direction| Enum Constant and Description |
|---|
INCOMING
For routes exported from peer network.
|
OUTGOING
For routes exported from local network.
|
UNDEFINED_DIRECTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INCOMING_VALUE
For routes exported from peer network.
|
static int |
OUTGOING_VALUE
For routes exported from local network.
|
static int |
UNDEFINED_DIRECTION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ListPeeringRoutesNetworksRequest.Direction |
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<ListPeeringRoutesNetworksRequest.Direction> |
internalGetValueMap() |
static ListPeeringRoutesNetworksRequest.Direction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListPeeringRoutesNetworksRequest.Direction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListPeeringRoutesNetworksRequest.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListPeeringRoutesNetworksRequest.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListPeeringRoutesNetworksRequest.Direction UNDEFINED_DIRECTION
A value indicating that the enum field is not set.
UNDEFINED_DIRECTION = 0;public static final ListPeeringRoutesNetworksRequest.Direction INCOMING
For routes exported from peer network.
INCOMING = 338552870;public static final ListPeeringRoutesNetworksRequest.Direction OUTGOING
For routes exported from local network.
OUTGOING = 307438444;public static final ListPeeringRoutesNetworksRequest.Direction UNRECOGNIZED
public static final int UNDEFINED_DIRECTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DIRECTION = 0;public static final int INCOMING_VALUE
For routes exported from peer network.
INCOMING = 338552870;public static final int OUTGOING_VALUE
For routes exported from local network.
OUTGOING = 307438444;public static ListPeeringRoutesNetworksRequest.Direction[] values()
for (ListPeeringRoutesNetworksRequest.Direction c : ListPeeringRoutesNetworksRequest.Direction.values()) System.out.println(c);
public static ListPeeringRoutesNetworksRequest.Direction 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 ListPeeringRoutesNetworksRequest.Direction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ListPeeringRoutesNetworksRequest.Direction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListPeeringRoutesNetworksRequest.Direction> 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 ListPeeringRoutesNetworksRequest.Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.