public enum CodecClientType extends Enum<CodecClientType> implements com.google.protobuf.ProtocolMessageEnum
envoy.type.CodecClientType| Enum Constant and Description |
|---|
HTTP1
HTTP1 = 0; |
HTTP2
HTTP2 = 1; |
HTTP3
[#not-implemented-hide:] QUIC implementation is not production ready yet.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP1_VALUE
HTTP1 = 0; |
static int |
HTTP2_VALUE
HTTP2 = 1; |
static int |
HTTP3_VALUE
[#not-implemented-hide:] QUIC implementation is not production ready yet.
|
| Modifier and Type | Method and Description |
|---|---|
static CodecClientType |
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<CodecClientType> |
internalGetValueMap() |
static CodecClientType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CodecClientType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CodecClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodecClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodecClientType HTTP1
HTTP1 = 0;public static final CodecClientType HTTP2
HTTP2 = 1;public static final CodecClientType HTTP3
[#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient to distinguish HTTP1 and HTTP2 traffic.
HTTP3 = 2;public static final CodecClientType UNRECOGNIZED
public static final int HTTP1_VALUE
HTTP1 = 0;public static final int HTTP2_VALUE
HTTP2 = 1;public static final int HTTP3_VALUE
[#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient to distinguish HTTP1 and HTTP2 traffic.
HTTP3 = 2;public static CodecClientType[] values()
for (CodecClientType c : CodecClientType.values()) System.out.println(c);
public static CodecClientType 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 CodecClientType valueOf(int value)
forNumber(int) instead.public static CodecClientType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CodecClientType> 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 CodecClientType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.