public static enum Type.KindCase extends Enum<Type.KindCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
AGGREGATE_TYPE |
ARRAY_TYPE |
BOOL_TYPE |
BYTES_TYPE |
DATE_TYPE |
ENUM_TYPE |
FLOAT32_TYPE |
FLOAT64_TYPE |
INT64_TYPE |
KIND_NOT_SET |
MAP_TYPE |
PROTO_TYPE |
STRING_TYPE |
STRUCT_TYPE |
TIMESTAMP_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static Type.KindCase |
forNumber(int value) |
int |
getNumber() |
static Type.KindCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type.KindCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.KindCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.KindCase BYTES_TYPE
public static final Type.KindCase STRING_TYPE
public static final Type.KindCase INT64_TYPE
public static final Type.KindCase FLOAT32_TYPE
public static final Type.KindCase FLOAT64_TYPE
public static final Type.KindCase BOOL_TYPE
public static final Type.KindCase TIMESTAMP_TYPE
public static final Type.KindCase DATE_TYPE
public static final Type.KindCase AGGREGATE_TYPE
public static final Type.KindCase STRUCT_TYPE
public static final Type.KindCase ARRAY_TYPE
public static final Type.KindCase MAP_TYPE
public static final Type.KindCase PROTO_TYPE
public static final Type.KindCase ENUM_TYPE
public static final Type.KindCase KIND_NOT_SET
public static Type.KindCase[] values()
for (Type.KindCase c : Type.KindCase.values()) System.out.println(c);
public static Type.KindCase 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 Type.KindCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Type.KindCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2026 Google LLC. All rights reserved.