public static enum CommonResponse.ResponseStatus extends Enum<CommonResponse.ResponseStatus> implements com.google.protobuf.ProtocolMessageEnum
envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus| Enum Constant and Description |
|---|
CONTINUE
Apply the mutation instructions in this message to the
request or response, and then continue processing the filter
stream as normal.
|
CONTINUE_AND_REPLACE
Replace the request or response with the contents
of this message.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTINUE_AND_REPLACE_VALUE
Replace the request or response with the contents
of this message.
|
static int |
CONTINUE_VALUE
Apply the mutation instructions in this message to the
request or response, and then continue processing the filter
stream as normal.
|
| Modifier and Type | Method and Description |
|---|---|
static CommonResponse.ResponseStatus |
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<CommonResponse.ResponseStatus> |
internalGetValueMap() |
static CommonResponse.ResponseStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommonResponse.ResponseStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommonResponse.ResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonResponse.ResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonResponse.ResponseStatus CONTINUE
Apply the mutation instructions in this message to the request or response, and then continue processing the filter stream as normal. This is the default.
CONTINUE = 0;public static final CommonResponse.ResponseStatus CONTINUE_AND_REPLACE
Replace the request or response with the contents of this message. If header_mutation is set, apply it to the headers. If body_mutation is set and contains a body, then add that body to the request or response, even if one does not already exist -- otherwise, clear the body. Any additional body and trailers received from downstream or upstream will be ignored. This can be used to add a body to a request or response that does not have one already.
CONTINUE_AND_REPLACE = 1;public static final CommonResponse.ResponseStatus UNRECOGNIZED
public static final int CONTINUE_VALUE
Apply the mutation instructions in this message to the request or response, and then continue processing the filter stream as normal. This is the default.
CONTINUE = 0;public static final int CONTINUE_AND_REPLACE_VALUE
Replace the request or response with the contents of this message. If header_mutation is set, apply it to the headers. If body_mutation is set and contains a body, then add that body to the request or response, even if one does not already exist -- otherwise, clear the body. Any additional body and trailers received from downstream or upstream will be ignored. This can be used to add a body to a request or response that does not have one already.
CONTINUE_AND_REPLACE = 1;public static CommonResponse.ResponseStatus[] values()
for (CommonResponse.ResponseStatus c : CommonResponse.ResponseStatus.values()) System.out.println(c);
public static CommonResponse.ResponseStatus 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 CommonResponse.ResponseStatus valueOf(int value)
forNumber(int) instead.public static CommonResponse.ResponseStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CommonResponse.ResponseStatus> 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 CommonResponse.ResponseStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.