Enum Field.Kind (3.19.4)

public enum Field.Kind extends Enum<Field.Kind> implements Internal.EnumLite

Basic field types.

Protobuf enum google.protobuf.Field.Kind

Implements

Internal.EnumLite

Static Fields

NameDescription
TYPE_BOOL

Field type bool.

TYPE_BOOL = 8;

TYPE_BOOL_VALUE

Field type bool.

TYPE_BOOL = 8;

TYPE_BYTES

Field type bytes.

TYPE_BYTES = 12;

TYPE_BYTES_VALUE

Field type bytes.

TYPE_BYTES = 12;

TYPE_DOUBLE

Field type double.

TYPE_DOUBLE = 1;

TYPE_DOUBLE_VALUE

Field type double.

TYPE_DOUBLE = 1;

TYPE_ENUM

Field type enum.

TYPE_ENUM = 14;

TYPE_ENUM_VALUE

Field type enum.

TYPE_ENUM = 14;

TYPE_FIXED32

Field type fixed32.

TYPE_FIXED32 = 7;

TYPE_FIXED32_VALUE

Field type fixed32.

TYPE_FIXED32 = 7;

TYPE_FIXED64

Field type fixed64.

TYPE_FIXED64 = 6;

TYPE_FIXED64_VALUE

Field type fixed64.

TYPE_FIXED64 = 6;

TYPE_FLOAT

Field type float.

TYPE_FLOAT = 2;

TYPE_FLOAT_VALUE

Field type float.

TYPE_FLOAT = 2;

TYPE_GROUP

Field type group. Proto2 syntax only, and deprecated.

TYPE_GROUP = 10;

TYPE_GROUP_VALUE

Field type group. Proto2 syntax only, and deprecated.

TYPE_GROUP = 10;

TYPE_INT32

Field type int32.

TYPE_INT32 = 5;

TYPE_INT32_VALUE

Field type int32.

TYPE_INT32 = 5;

TYPE_INT64

Field type int64.

TYPE_INT64 = 3;

TYPE_INT64_VALUE

Field type int64.

TYPE_INT64 = 3;

TYPE_MESSAGE

Field type message.

TYPE_MESSAGE = 11;

TYPE_MESSAGE_VALUE

Field type message.

TYPE_MESSAGE = 11;

TYPE_SFIXED32

Field type sfixed32.

TYPE_SFIXED32 = 15;

TYPE_SFIXED32_VALUE

Field type sfixed32.

TYPE_SFIXED32 = 15;

TYPE_SFIXED64

Field type sfixed64.

TYPE_SFIXED64 = 16;

TYPE_SFIXED64_VALUE

Field type sfixed64.

TYPE_SFIXED64 = 16;

TYPE_SINT32

Field type sint32.

TYPE_SINT32 = 17;

TYPE_SINT32_VALUE

Field type sint32.

TYPE_SINT32 = 17;

TYPE_SINT64

Field type sint64.

TYPE_SINT64 = 18;

TYPE_SINT64_VALUE

Field type sint64.

TYPE_SINT64 = 18;

TYPE_STRING

Field type string.

TYPE_STRING = 9;

TYPE_STRING_VALUE

Field type string.

TYPE_STRING = 9;

TYPE_UINT32

Field type uint32.

TYPE_UINT32 = 13;

TYPE_UINT32_VALUE

Field type uint32.

TYPE_UINT32 = 13;

TYPE_UINT64

Field type uint64.

TYPE_UINT64 = 4;

TYPE_UINT64_VALUE

Field type uint64.

TYPE_UINT64 = 4;

TYPE_UNKNOWN

Field type unknown.

TYPE_UNKNOWN = 0;

TYPE_UNKNOWN_VALUE

Field type unknown.

TYPE_UNKNOWN = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
internalGetValueMap()
internalGetVerifier()
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getNumber()