Package io.envoyproxy.pgv.validate
Enum Validate.FieldRules.TypeCase
- java.lang.Object
-
- java.lang.Enum<Validate.FieldRules.TypeCase>
-
- io.envoyproxy.pgv.validate.Validate.FieldRules.TypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<Validate.FieldRules.TypeCase>
- Enclosing class:
- Validate.FieldRules
public static enum Validate.FieldRules.TypeCase extends java.lang.Enum<Validate.FieldRules.TypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
TypeCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Validate.FieldRules.TypeCase
forNumber(int value)
int
getNumber()
static Validate.FieldRules.TypeCase
valueOf(int value)
Deprecated.static Validate.FieldRules.TypeCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Validate.FieldRules.TypeCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT
public static final Validate.FieldRules.TypeCase FLOAT
-
DOUBLE
public static final Validate.FieldRules.TypeCase DOUBLE
-
INT32
public static final Validate.FieldRules.TypeCase INT32
-
INT64
public static final Validate.FieldRules.TypeCase INT64
-
UINT32
public static final Validate.FieldRules.TypeCase UINT32
-
UINT64
public static final Validate.FieldRules.TypeCase UINT64
-
SINT32
public static final Validate.FieldRules.TypeCase SINT32
-
SINT64
public static final Validate.FieldRules.TypeCase SINT64
-
FIXED32
public static final Validate.FieldRules.TypeCase FIXED32
-
FIXED64
public static final Validate.FieldRules.TypeCase FIXED64
-
SFIXED32
public static final Validate.FieldRules.TypeCase SFIXED32
-
SFIXED64
public static final Validate.FieldRules.TypeCase SFIXED64
-
BOOL
public static final Validate.FieldRules.TypeCase BOOL
-
STRING
public static final Validate.FieldRules.TypeCase STRING
-
BYTES
public static final Validate.FieldRules.TypeCase BYTES
-
ENUM
public static final Validate.FieldRules.TypeCase ENUM
-
REPEATED
public static final Validate.FieldRules.TypeCase REPEATED
-
MAP
public static final Validate.FieldRules.TypeCase MAP
-
ANY
public static final Validate.FieldRules.TypeCase ANY
-
DURATION
public static final Validate.FieldRules.TypeCase DURATION
-
TIMESTAMP
public static final Validate.FieldRules.TypeCase TIMESTAMP
-
TYPE_NOT_SET
public static final Validate.FieldRules.TypeCase TYPE_NOT_SET
-
-
Method Detail
-
values
public static Validate.FieldRules.TypeCase[] 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 (Validate.FieldRules.TypeCase c : Validate.FieldRules.TypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Validate.FieldRules.TypeCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static Validate.FieldRules.TypeCase 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Validate.FieldRules.TypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-