public static enum Check.HeaderOperation.Operation extends Enum<Check.HeaderOperation.Operation> implements com.google.protobuf.ProtocolMessageEnum
Operation type.Protobuf enum
istio.mixer.v1.HeaderOperation.Operation| Enum Constant and Description |
|---|
APPEND
appends the value to the header value, or sets it if not present
|
REMOVE
removes the header with the given name (the value is ignored)
|
REPLACE
replaces the header with the given name
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPEND_VALUE
appends the value to the header value, or sets it if not present
|
static int |
REMOVE_VALUE
removes the header with the given name (the value is ignored)
|
static int |
REPLACE_VALUE
replaces the header with the given name
|
| Modifier and Type | Method and Description |
|---|---|
static Check.HeaderOperation.Operation |
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<Check.HeaderOperation.Operation> |
internalGetValueMap() |
static Check.HeaderOperation.Operation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Check.HeaderOperation.Operation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Check.HeaderOperation.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Check.HeaderOperation.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Check.HeaderOperation.Operation REPLACE
replaces the header with the given name
REPLACE = 0;public static final Check.HeaderOperation.Operation REMOVE
removes the header with the given name (the value is ignored)
REMOVE = 1;public static final Check.HeaderOperation.Operation APPEND
appends the value to the header value, or sets it if not present
APPEND = 2;public static final Check.HeaderOperation.Operation UNRECOGNIZED
public static final int REPLACE_VALUE
replaces the header with the given name
REPLACE = 0;public static final int REMOVE_VALUE
removes the header with the given name (the value is ignored)
REMOVE = 1;public static final int APPEND_VALUE
appends the value to the header value, or sets it if not present
APPEND = 2;public static Check.HeaderOperation.Operation[] values()
for (Check.HeaderOperation.Operation c : Check.HeaderOperation.Operation.values()) System.out.println(c);
public static Check.HeaderOperation.Operation 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 Check.HeaderOperation.Operation valueOf(int value)
forNumber(int) instead.public static Check.HeaderOperation.Operation forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Check.HeaderOperation.Operation> 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 Check.HeaderOperation.Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 WSO2. All rights reserved.