public static enum RouteAction.ClusterNotFoundResponseCode extends Enum<RouteAction.ClusterNotFoundResponseCode> implements com.google.protobuf.ProtocolMessageEnum
envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode| Enum Constant and Description |
|---|
NOT_FOUND
HTTP status code - 404 Not Found.
|
SERVICE_UNAVAILABLE
HTTP status code - 503 Service Unavailable.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NOT_FOUND_VALUE
HTTP status code - 404 Not Found.
|
static int |
SERVICE_UNAVAILABLE_VALUE
HTTP status code - 503 Service Unavailable.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteAction.ClusterNotFoundResponseCode |
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<RouteAction.ClusterNotFoundResponseCode> |
internalGetValueMap() |
static RouteAction.ClusterNotFoundResponseCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouteAction.ClusterNotFoundResponseCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouteAction.ClusterNotFoundResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteAction.ClusterNotFoundResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteAction.ClusterNotFoundResponseCode SERVICE_UNAVAILABLE
HTTP status code - 503 Service Unavailable.
SERVICE_UNAVAILABLE = 0;public static final RouteAction.ClusterNotFoundResponseCode NOT_FOUND
HTTP status code - 404 Not Found.
NOT_FOUND = 1;public static final RouteAction.ClusterNotFoundResponseCode UNRECOGNIZED
public static final int SERVICE_UNAVAILABLE_VALUE
HTTP status code - 503 Service Unavailable.
SERVICE_UNAVAILABLE = 0;public static final int NOT_FOUND_VALUE
HTTP status code - 404 Not Found.
NOT_FOUND = 1;public static RouteAction.ClusterNotFoundResponseCode[] values()
for (RouteAction.ClusterNotFoundResponseCode c : RouteAction.ClusterNotFoundResponseCode.values()) System.out.println(c);
public static RouteAction.ClusterNotFoundResponseCode 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 RouteAction.ClusterNotFoundResponseCode valueOf(int value)
forNumber(int) instead.public static RouteAction.ClusterNotFoundResponseCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RouteAction.ClusterNotFoundResponseCode> 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 RouteAction.ClusterNotFoundResponseCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.