Package io.milvus.grpc
Enum TemplateValue.ValCase
- java.lang.Object
-
- java.lang.Enum<TemplateValue.ValCase>
-
- io.milvus.grpc.TemplateValue.ValCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<TemplateValue.ValCase>
- Enclosing class:
- TemplateValue
public static enum TemplateValue.ValCase extends Enum<TemplateValue.ValCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_VALBOOL_VALFLOAT_VALINT64_VALSTRING_VALVAL_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TemplateValue.ValCaseforNumber(int value)intgetNumber()static TemplateValue.ValCasevalueOf(int value)Deprecated.static TemplateValue.ValCasevalueOf(String name)Returns the enum constant of this type with the specified name.static TemplateValue.ValCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL_VAL
public static final TemplateValue.ValCase BOOL_VAL
-
INT64_VAL
public static final TemplateValue.ValCase INT64_VAL
-
FLOAT_VAL
public static final TemplateValue.ValCase FLOAT_VAL
-
STRING_VAL
public static final TemplateValue.ValCase STRING_VAL
-
ARRAY_VAL
public static final TemplateValue.ValCase ARRAY_VAL
-
VAL_NOT_SET
public static final TemplateValue.ValCase VAL_NOT_SET
-
-
Method Detail
-
values
public static TemplateValue.ValCase[] 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 (TemplateValue.ValCase c : TemplateValue.ValCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateValue.ValCase 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 TemplateValue.ValCase 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 TemplateValue.ValCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-