Enum GrpcJsonTranscoder.DescriptorSetCase
- java.lang.Object
-
- java.lang.Enum<GrpcJsonTranscoder.DescriptorSetCase>
-
- io.envoyproxy.envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.DescriptorSetCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<GrpcJsonTranscoder.DescriptorSetCase>
- Enclosing class:
- GrpcJsonTranscoder
public static enum GrpcJsonTranscoder.DescriptorSetCase extends Enum<GrpcJsonTranscoder.DescriptorSetCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESCRIPTORSET_NOT_SETPROTO_DESCRIPTORPROTO_DESCRIPTOR_BIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GrpcJsonTranscoder.DescriptorSetCaseforNumber(int value)intgetNumber()static GrpcJsonTranscoder.DescriptorSetCasevalueOf(int value)Deprecated.static GrpcJsonTranscoder.DescriptorSetCasevalueOf(String name)Returns the enum constant of this type with the specified name.static GrpcJsonTranscoder.DescriptorSetCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROTO_DESCRIPTOR
public static final GrpcJsonTranscoder.DescriptorSetCase PROTO_DESCRIPTOR
-
PROTO_DESCRIPTOR_BIN
public static final GrpcJsonTranscoder.DescriptorSetCase PROTO_DESCRIPTOR_BIN
-
DESCRIPTORSET_NOT_SET
public static final GrpcJsonTranscoder.DescriptorSetCase DESCRIPTORSET_NOT_SET
-
-
Method Detail
-
values
public static GrpcJsonTranscoder.DescriptorSetCase[] 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.DescriptorSetCase c : GrpcJsonTranscoder.DescriptorSetCase.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.DescriptorSetCase 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
-
valueOf
@Deprecated public static GrpcJsonTranscoder.DescriptorSetCase 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.DescriptorSetCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-