public static enum Route.RouteStatus extends Enum<Route.RouteStatus> implements com.google.protobuf.ProtocolMessageEnum
[Output only] The status of the route.Protobuf enum
google.cloud.compute.v1.Route.RouteStatus| Enum Constant and Description |
|---|
ACTIVE
This route is processed and active.
|
DROPPED
The route is dropped due to the VPC exceeding the dynamic route limit.
|
INACTIVE
This route is processed but inactive due to failure from the backend.
|
PENDING
This route is being processed internally.
|
UNDEFINED_ROUTE_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
This route is processed and active.
|
static int |
DROPPED_VALUE
The route is dropped due to the VPC exceeding the dynamic route limit.
|
static int |
INACTIVE_VALUE
This route is processed but inactive due to failure from the backend.
|
static int |
PENDING_VALUE
This route is being processed internally.
|
static int |
UNDEFINED_ROUTE_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Route.RouteStatus |
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<Route.RouteStatus> |
internalGetValueMap() |
static Route.RouteStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Route.RouteStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Route.RouteStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Route.RouteStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.RouteStatus UNDEFINED_ROUTE_STATUS
A value indicating that the enum field is not set.
UNDEFINED_ROUTE_STATUS = 0;public static final Route.RouteStatus ACTIVE
This route is processed and active.
ACTIVE = 314733318;public static final Route.RouteStatus DROPPED
The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example
DROPPED = 496235424;public static final Route.RouteStatus INACTIVE
This route is processed but inactive due to failure from the backend. The backend may have rejected the route
INACTIVE = 270421099;public static final Route.RouteStatus PENDING
This route is being processed internally. The status will change once processed.
PENDING = 35394935;public static final Route.RouteStatus UNRECOGNIZED
public static final int UNDEFINED_ROUTE_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ROUTE_STATUS = 0;public static final int ACTIVE_VALUE
This route is processed and active.
ACTIVE = 314733318;public static final int DROPPED_VALUE
The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example
DROPPED = 496235424;public static final int INACTIVE_VALUE
This route is processed but inactive due to failure from the backend. The backend may have rejected the route
INACTIVE = 270421099;public static final int PENDING_VALUE
This route is being processed internally. The status will change once processed.
PENDING = 35394935;public static Route.RouteStatus[] values()
for (Route.RouteStatus c : Route.RouteStatus.values()) System.out.println(c);
public static Route.RouteStatus 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 Route.RouteStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Route.RouteStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Route.RouteStatus> 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 Route.RouteStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.