Enum GrpcJsonTranscoder.UrlUnescapeSpec
- java.lang.Object
-
- java.lang.Enum<GrpcJsonTranscoder.UrlUnescapeSpec>
-
- io.envoyproxy.envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.UrlUnescapeSpec
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GrpcJsonTranscoder.UrlUnescapeSpec>
- Enclosing class:
- GrpcJsonTranscoder
public static enum GrpcJsonTranscoder.UrlUnescapeSpec extends Enum<GrpcJsonTranscoder.UrlUnescapeSpec> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumenvoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.UrlUnescapeSpec
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_CHARACTERSURL path parameters will be fully URI-decoded.ALL_CHARACTERS_EXCEPT_RESERVEDURL path parameters will not decode RFC 6570 reserved characters.ALL_CHARACTERS_EXCEPT_SLASHURL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where ``%2F`` will be left encoded.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intALL_CHARACTERS_EXCEPT_RESERVED_VALUEURL path parameters will not decode RFC 6570 reserved characters.static intALL_CHARACTERS_EXCEPT_SLASH_VALUEURL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where ``%2F`` will be left encoded.static intALL_CHARACTERS_VALUEURL path parameters will be fully URI-decoded.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GrpcJsonTranscoder.UrlUnescapeSpecforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<GrpcJsonTranscoder.UrlUnescapeSpec>internalGetValueMap()static GrpcJsonTranscoder.UrlUnescapeSpecvalueOf(int value)Deprecated.static GrpcJsonTranscoder.UrlUnescapeSpecvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static GrpcJsonTranscoder.UrlUnescapeSpecvalueOf(String name)Returns the enum constant of this type with the specified name.static GrpcJsonTranscoder.UrlUnescapeSpec[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_CHARACTERS_EXCEPT_RESERVED
public static final GrpcJsonTranscoder.UrlUnescapeSpec ALL_CHARACTERS_EXCEPT_RESERVED
URL path parameters will not decode RFC 6570 reserved characters. For example, segment ``%2f%23/%20%2523`` is unescaped to ``%2f%23/ %23``.
ALL_CHARACTERS_EXCEPT_RESERVED = 0;
-
ALL_CHARACTERS_EXCEPT_SLASH
public static final GrpcJsonTranscoder.UrlUnescapeSpec ALL_CHARACTERS_EXCEPT_SLASH
URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where ``%2F`` will be left encoded. For example, segment ``%2f%23/%20%2523`` is unescaped to ``%2f#/ %23``.
ALL_CHARACTERS_EXCEPT_SLASH = 1;
-
ALL_CHARACTERS
public static final GrpcJsonTranscoder.UrlUnescapeSpec ALL_CHARACTERS
URL path parameters will be fully URI-decoded. For example, segment ``%2f%23/%20%2523`` is unescaped to ``/#/ %23``.
ALL_CHARACTERS = 2;
-
UNRECOGNIZED
public static final GrpcJsonTranscoder.UrlUnescapeSpec UNRECOGNIZED
-
-
Field Detail
-
ALL_CHARACTERS_EXCEPT_RESERVED_VALUE
public static final int ALL_CHARACTERS_EXCEPT_RESERVED_VALUE
URL path parameters will not decode RFC 6570 reserved characters. For example, segment ``%2f%23/%20%2523`` is unescaped to ``%2f%23/ %23``.
ALL_CHARACTERS_EXCEPT_RESERVED = 0;- See Also:
- Constant Field Values
-
ALL_CHARACTERS_EXCEPT_SLASH_VALUE
public static final int ALL_CHARACTERS_EXCEPT_SLASH_VALUE
URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where ``%2F`` will be left encoded. For example, segment ``%2f%23/%20%2523`` is unescaped to ``%2f#/ %23``.
ALL_CHARACTERS_EXCEPT_SLASH = 1;- See Also:
- Constant Field Values
-
ALL_CHARACTERS_VALUE
public static final int ALL_CHARACTERS_VALUE
URL path parameters will be fully URI-decoded. For example, segment ``%2f%23/%20%2523`` is unescaped to ``/#/ %23``.
ALL_CHARACTERS = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GrpcJsonTranscoder.UrlUnescapeSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GrpcJsonTranscoder.UrlUnescapeSpec c : GrpcJsonTranscoder.UrlUnescapeSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GrpcJsonTranscoder.UrlUnescapeSpec valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GrpcJsonTranscoder.UrlUnescapeSpec valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static GrpcJsonTranscoder.UrlUnescapeSpec forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GrpcJsonTranscoder.UrlUnescapeSpec> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static GrpcJsonTranscoder.UrlUnescapeSpec valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-