public static enum Config.ValueEncode extends Enum<Config.ValueEncode> implements com.google.protobuf.ProtocolMessageEnum
ValueEncode defines the encoding algorithm.Protobuf enum
envoy.extensions.filters.http.header_to_metadata.v4alpha.Config.ValueEncode| Enum Constant and Description |
|---|
BASE64
The value is encoded in `Base64 <https://tools.ietf.org/html/rfc4648#section-4>`_.
|
NONE
The value is not encoded.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE64_VALUE
The value is encoded in `Base64 <https://tools.ietf.org/html/rfc4648#section-4>`_.
|
static int |
NONE_VALUE
The value is not encoded.
|
| Modifier and Type | Method and Description |
|---|---|
static Config.ValueEncode |
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<Config.ValueEncode> |
internalGetValueMap() |
static Config.ValueEncode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Config.ValueEncode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Config.ValueEncode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.ValueEncode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.ValueEncode NONE
The value is not encoded.
NONE = 0;public static final Config.ValueEncode BASE64
The value is encoded in `Base64 <https://tools.ietf.org/html/rfc4648#section-4>`_. Note: this is mostly used for STRING and PROTOBUF_VALUE to escape the non-ASCII characters in the header.
BASE64 = 1;public static final Config.ValueEncode UNRECOGNIZED
public static final int NONE_VALUE
The value is not encoded.
NONE = 0;public static final int BASE64_VALUE
The value is encoded in `Base64 <https://tools.ietf.org/html/rfc4648#section-4>`_. Note: this is mostly used for STRING and PROTOBUF_VALUE to escape the non-ASCII characters in the header.
BASE64 = 1;public static Config.ValueEncode[] values()
for (Config.ValueEncode c : Config.ValueEncode.values()) System.out.println(c);
public static Config.ValueEncode 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 Config.ValueEncode valueOf(int value)
forNumber(int) instead.public static Config.ValueEncode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Config.ValueEncode> 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 Config.ValueEncode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.