public static enum Constant.ConstantKindCase extends Enum<Constant.ConstantKindCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BOOL_VALUE |
BYTES_VALUE |
CONSTANTKIND_NOT_SET |
DOUBLE_VALUE |
DURATION_VALUE
Deprecated.
|
INT64_VALUE |
NULL_VALUE |
STRING_VALUE |
TIMESTAMP_VALUE
Deprecated.
|
UINT64_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Constant.ConstantKindCase |
forNumber(int value) |
int |
getNumber() |
static Constant.ConstantKindCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Constant.ConstantKindCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constant.ConstantKindCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constant.ConstantKindCase NULL_VALUE
public static final Constant.ConstantKindCase BOOL_VALUE
public static final Constant.ConstantKindCase INT64_VALUE
public static final Constant.ConstantKindCase UINT64_VALUE
public static final Constant.ConstantKindCase DOUBLE_VALUE
public static final Constant.ConstantKindCase STRING_VALUE
public static final Constant.ConstantKindCase BYTES_VALUE
@Deprecated public static final Constant.ConstantKindCase DURATION_VALUE
@Deprecated public static final Constant.ConstantKindCase TIMESTAMP_VALUE
public static final Constant.ConstantKindCase CONSTANTKIND_NOT_SET
public static Constant.ConstantKindCase[] values()
for (Constant.ConstantKindCase c : Constant.ConstantKindCase.values()) System.out.println(c);
public static Constant.ConstantKindCase 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 null@Deprecated public static Constant.ConstantKindCase valueOf(int value)
forNumber(int) instead.public static Constant.ConstantKindCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.