public static enum ResponseFlags.Unauthorized.Reason extends Enum<ResponseFlags.Unauthorized.Reason> implements com.google.protobuf.ProtocolMessageEnum
Reasons why the request was unauthorizedProtobuf enum
envoy.data.accesslog.v3.ResponseFlags.Unauthorized.Reason| Enum Constant and Description |
|---|
EXTERNAL_SERVICE
The request was denied by the external authorization service.
|
REASON_UNSPECIFIED
REASON_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_SERVICE_VALUE
The request was denied by the external authorization service.
|
static int |
REASON_UNSPECIFIED_VALUE
REASON_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static ResponseFlags.Unauthorized.Reason |
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<ResponseFlags.Unauthorized.Reason> |
internalGetValueMap() |
static ResponseFlags.Unauthorized.Reason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResponseFlags.Unauthorized.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResponseFlags.Unauthorized.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseFlags.Unauthorized.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseFlags.Unauthorized.Reason REASON_UNSPECIFIED
REASON_UNSPECIFIED = 0;public static final ResponseFlags.Unauthorized.Reason EXTERNAL_SERVICE
The request was denied by the external authorization service.
EXTERNAL_SERVICE = 1;public static final ResponseFlags.Unauthorized.Reason UNRECOGNIZED
public static final int REASON_UNSPECIFIED_VALUE
REASON_UNSPECIFIED = 0;public static final int EXTERNAL_SERVICE_VALUE
The request was denied by the external authorization service.
EXTERNAL_SERVICE = 1;public static ResponseFlags.Unauthorized.Reason[] values()
for (ResponseFlags.Unauthorized.Reason c : ResponseFlags.Unauthorized.Reason.values()) System.out.println(c);
public static ResponseFlags.Unauthorized.Reason 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 ResponseFlags.Unauthorized.Reason valueOf(int value)
forNumber(int) instead.public static ResponseFlags.Unauthorized.Reason forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ResponseFlags.Unauthorized.Reason> 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 ResponseFlags.Unauthorized.Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.