public static enum ExchangedPeeringRoute.Type extends Enum<ExchangedPeeringRoute.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of the peering route.Protobuf enum
google.cloud.compute.v1.ExchangedPeeringRoute.Type| Enum Constant and Description |
|---|
DYNAMIC_PEERING_ROUTE
For routes exported from local network.
|
STATIC_PEERING_ROUTE
The peering route.
|
SUBNET_PEERING_ROUTE
The peering route corresponding to subnetwork range.
|
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_PEERING_ROUTE_VALUE
For routes exported from local network.
|
static int |
STATIC_PEERING_ROUTE_VALUE
The peering route.
|
static int |
SUBNET_PEERING_ROUTE_VALUE
The peering route corresponding to subnetwork range.
|
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ExchangedPeeringRoute.Type |
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<ExchangedPeeringRoute.Type> |
internalGetValueMap() |
static ExchangedPeeringRoute.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExchangedPeeringRoute.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExchangedPeeringRoute.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangedPeeringRoute.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangedPeeringRoute.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final ExchangedPeeringRoute.Type DYNAMIC_PEERING_ROUTE
For routes exported from local network.
DYNAMIC_PEERING_ROUTE = 469794858;public static final ExchangedPeeringRoute.Type STATIC_PEERING_ROUTE
The peering route.
STATIC_PEERING_ROUTE = 473407545;public static final ExchangedPeeringRoute.Type SUBNET_PEERING_ROUTE
The peering route corresponding to subnetwork range.
SUBNET_PEERING_ROUTE = 465782504;public static final ExchangedPeeringRoute.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int DYNAMIC_PEERING_ROUTE_VALUE
For routes exported from local network.
DYNAMIC_PEERING_ROUTE = 469794858;public static final int STATIC_PEERING_ROUTE_VALUE
The peering route.
STATIC_PEERING_ROUTE = 473407545;public static final int SUBNET_PEERING_ROUTE_VALUE
The peering route corresponding to subnetwork range.
SUBNET_PEERING_ROUTE = 465782504;public static ExchangedPeeringRoute.Type[] values()
for (ExchangedPeeringRoute.Type c : ExchangedPeeringRoute.Type.values()) System.out.println(c);
public static ExchangedPeeringRoute.Type 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 ExchangedPeeringRoute.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExchangedPeeringRoute.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExchangedPeeringRoute.Type> 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 ExchangedPeeringRoute.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.