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>, java.lang.constant.Constable
Enclosing class:
GrpcJsonTranscoder

public static enum GrpcJsonTranscoder.UrlUnescapeSpec extends Enum<GrpcJsonTranscoder.UrlUnescapeSpec> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.UrlUnescapeSpec
  • Enum Constant Details

    • 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 Details

    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static GrpcJsonTranscoder.UrlUnescapeSpec[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null