public static enum HTTPAccessLogEntry.HTTPVersion extends Enum<HTTPAccessLogEntry.HTTPVersion> implements com.google.protobuf.ProtocolMessageEnum
HTTP versionProtobuf enum
envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion| Enum Constant and Description |
|---|
HTTP10
HTTP10 = 1; |
HTTP11
HTTP11 = 2; |
HTTP2
HTTP2 = 3; |
HTTP3
HTTP3 = 4; |
PROTOCOL_UNSPECIFIED
PROTOCOL_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP10_VALUE
HTTP10 = 1; |
static int |
HTTP11_VALUE
HTTP11 = 2; |
static int |
HTTP2_VALUE
HTTP2 = 3; |
static int |
HTTP3_VALUE
HTTP3 = 4; |
static int |
PROTOCOL_UNSPECIFIED_VALUE
PROTOCOL_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HTTPAccessLogEntry.HTTPVersion |
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<HTTPAccessLogEntry.HTTPVersion> |
internalGetValueMap() |
static HTTPAccessLogEntry.HTTPVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HTTPAccessLogEntry.HTTPVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HTTPAccessLogEntry.HTTPVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPAccessLogEntry.HTTPVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPAccessLogEntry.HTTPVersion PROTOCOL_UNSPECIFIED
PROTOCOL_UNSPECIFIED = 0;public static final HTTPAccessLogEntry.HTTPVersion HTTP10
HTTP10 = 1;public static final HTTPAccessLogEntry.HTTPVersion HTTP11
HTTP11 = 2;public static final HTTPAccessLogEntry.HTTPVersion HTTP2
HTTP2 = 3;public static final HTTPAccessLogEntry.HTTPVersion HTTP3
HTTP3 = 4;public static final HTTPAccessLogEntry.HTTPVersion UNRECOGNIZED
public static final int PROTOCOL_UNSPECIFIED_VALUE
PROTOCOL_UNSPECIFIED = 0;public static final int HTTP10_VALUE
HTTP10 = 1;public static final int HTTP11_VALUE
HTTP11 = 2;public static final int HTTP2_VALUE
HTTP2 = 3;public static final int HTTP3_VALUE
HTTP3 = 4;public static HTTPAccessLogEntry.HTTPVersion[] values()
for (HTTPAccessLogEntry.HTTPVersion c : HTTPAccessLogEntry.HTTPVersion.values()) System.out.println(c);
public static HTTPAccessLogEntry.HTTPVersion 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 HTTPAccessLogEntry.HTTPVersion valueOf(int value)
forNumber(int) instead.public static HTTPAccessLogEntry.HTTPVersion forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HTTPAccessLogEntry.HTTPVersion> 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 HTTPAccessLogEntry.HTTPVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.