Enum Field
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Field>,java.lang.constant.Constable
Protobuf enum
envoy.extensions.filters.http.thrift_to_metadata.v3.Field-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Thrift message type, singed 16-bit integer value.The Thrift message type, string value.The Thrift method name, string value.The Thrift protocol name, string value.The Thrift reply type, string value.The Thrift sequence ID, singed 32-bit integer value.The Thrift transport name, string value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Thrift message type, singed 16-bit integer value.static final intThe Thrift message type, string value.static final intThe Thrift method name, string value.static final intThe Thrift protocol name, string value.static final intThe Thrift reply type, string value.static final intThe Thrift sequence ID, singed 32-bit integer value.static final intThe Thrift transport name, string value. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Field>static FieldvalueOf(int value) Deprecated.static FieldvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static FieldReturns the enum constant of this type with the specified name.static Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METHOD_NAME
The Thrift method name, string value.
METHOD_NAME = 0; -
PROTOCOL
The Thrift protocol name, string value. Values are "binary", "binary/non-strict", and "compact", with "(auto)" suffix if :ref:`protocol <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.protocol>` is set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
PROTOCOL = 1; -
TRANSPORT
The Thrift transport name, string value. Values are "framed", "header", and "unframed", with "(auto)" suffix if :ref:`transport <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.transport>` is set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
TRANSPORT = 2; -
HEADER_FLAGS
The Thrift message type, singed 16-bit integer value.
HEADER_FLAGS = 3; -
SEQUENCE_ID
The Thrift sequence ID, singed 32-bit integer value.
SEQUENCE_ID = 4; -
MESSAGE_TYPE
The Thrift message type, string value. Values in request are "call" and "oneway", and in response are "reply" and "exception".
MESSAGE_TYPE = 5; -
REPLY_TYPE
The Thrift reply type, string value. This is only valid for response rules. Values are "success" and "error".
REPLY_TYPE = 6; -
UNRECOGNIZED
-
-
Field Details
-
METHOD_NAME_VALUE
public static final int METHOD_NAME_VALUEThe Thrift method name, string value.
METHOD_NAME = 0;- See Also:
-
PROTOCOL_VALUE
public static final int PROTOCOL_VALUEThe Thrift protocol name, string value. Values are "binary", "binary/non-strict", and "compact", with "(auto)" suffix if :ref:`protocol <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.protocol>` is set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
PROTOCOL = 1;- See Also:
-
TRANSPORT_VALUE
public static final int TRANSPORT_VALUEThe Thrift transport name, string value. Values are "framed", "header", and "unframed", with "(auto)" suffix if :ref:`transport <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.transport>` is set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
TRANSPORT = 2;- See Also:
-
HEADER_FLAGS_VALUE
public static final int HEADER_FLAGS_VALUEThe Thrift message type, singed 16-bit integer value.
HEADER_FLAGS = 3;- See Also:
-
SEQUENCE_ID_VALUE
public static final int SEQUENCE_ID_VALUEThe Thrift sequence ID, singed 32-bit integer value.
SEQUENCE_ID = 4;- See Also:
-
MESSAGE_TYPE_VALUE
public static final int MESSAGE_TYPE_VALUEThe Thrift message type, string value. Values in request are "call" and "oneway", and in response are "reply" and "exception".
MESSAGE_TYPE = 5;- See Also:
-
REPLY_TYPE_VALUE
public static final int REPLY_TYPE_VALUEThe Thrift reply type, string value. This is only valid for response rules. Values are "success" and "error".
REPLY_TYPE = 6;- See Also:
-
-
Method Details
-
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
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
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
-