class Kind (View source)

Basic field types.

Protobuf type google.protobuf.Field.Kind

Constants

TYPE_UNKNOWN

Field type unknown.

Generated from protobuf enum TYPE_UNKNOWN = 0;

TYPE_DOUBLE

Field type double.

Generated from protobuf enum TYPE_DOUBLE = 1;

TYPE_FLOAT

Field type float.

Generated from protobuf enum TYPE_FLOAT = 2;

TYPE_INT64

Field type int64.

Generated from protobuf enum TYPE_INT64 = 3;

TYPE_UINT64

Field type uint64.

Generated from protobuf enum TYPE_UINT64 = 4;

TYPE_INT32

Field type int32.

Generated from protobuf enum TYPE_INT32 = 5;

TYPE_FIXED64

Field type fixed64.

Generated from protobuf enum TYPE_FIXED64 = 6;

TYPE_FIXED32

Field type fixed32.

Generated from protobuf enum TYPE_FIXED32 = 7;

TYPE_BOOL

Field type bool.

Generated from protobuf enum TYPE_BOOL = 8;

TYPE_STRING

Field type string.

Generated from protobuf enum TYPE_STRING = 9;

TYPE_GROUP

Field type group. Proto2 syntax only, and deprecated.

Generated from protobuf enum TYPE_GROUP = 10;

TYPE_MESSAGE

Field type message.

Generated from protobuf enum TYPE_MESSAGE = 11;

TYPE_BYTES

Field type bytes.

Generated from protobuf enum TYPE_BYTES = 12;

TYPE_UINT32

Field type uint32.

Generated from protobuf enum TYPE_UINT32 = 13;

TYPE_ENUM

Field type enum.

Generated from protobuf enum TYPE_ENUM = 14;

TYPE_SFIXED32

Field type sfixed32.

Generated from protobuf enum TYPE_SFIXED32 = 15;

TYPE_SFIXED64

Field type sfixed64.

Generated from protobuf enum TYPE_SFIXED64 = 16;

TYPE_SINT32

Field type sint32.

Generated from protobuf enum TYPE_SINT32 = 17;

TYPE_SINT64

Field type sint64.

Generated from protobuf enum TYPE_SINT64 = 18;

Methods

static 
name($value)

No description

static 
value($name)

No description

Details

static name($value)

No description

Parameters

$value

static value($name)

No description

Parameters

$name