Reference documentation and code samples for the proto library Client class Kind.
Basic field types.
Protobuf type google.protobuf.Field.Kind
Namespace
Google \ Protobuf \ FieldMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TYPE_UNKNOWN
Value: 0Field type unknown.
Generated from protobuf enum TYPE_UNKNOWN = 0;
TYPE_DOUBLE
Value: 1Field type double.
Generated from protobuf enum TYPE_DOUBLE = 1;
TYPE_FLOAT
Value: 2Field type float.
Generated from protobuf enum TYPE_FLOAT = 2;
TYPE_INT64
Value: 3Field type int64.
Generated from protobuf enum TYPE_INT64 = 3;
TYPE_UINT64
Value: 4Field type uint64.
Generated from protobuf enum TYPE_UINT64 = 4;
TYPE_INT32
Value: 5Field type int32.
Generated from protobuf enum TYPE_INT32 = 5;
TYPE_FIXED64
Value: 6Field type fixed64.
Generated from protobuf enum TYPE_FIXED64 = 6;
TYPE_FIXED32
Value: 7Field type fixed32.
Generated from protobuf enum TYPE_FIXED32 = 7;
TYPE_BOOL
Value: 8Field type bool.
Generated from protobuf enum TYPE_BOOL = 8;
TYPE_STRING
Value: 9Field type string.
Generated from protobuf enum TYPE_STRING = 9;
TYPE_GROUP
Value: 10Field type group. Proto2 syntax only, and deprecated.
Generated from protobuf enum TYPE_GROUP = 10;
TYPE_MESSAGE
Value: 11Field type message.
Generated from protobuf enum TYPE_MESSAGE = 11;
TYPE_BYTES
Value: 12Field type bytes.
Generated from protobuf enum TYPE_BYTES = 12;
TYPE_UINT32
Value: 13Field type uint32.
Generated from protobuf enum TYPE_UINT32 = 13;
TYPE_ENUM
Value: 14Field type enum.
Generated from protobuf enum TYPE_ENUM = 14;
TYPE_SFIXED32
Value: 15Field type sfixed32.
Generated from protobuf enum TYPE_SFIXED32 = 15;
TYPE_SFIXED64
Value: 16Field type sfixed64.
Generated from protobuf enum TYPE_SFIXED64 = 16;
TYPE_SINT32
Value: 17Field type sint32.
Generated from protobuf enum TYPE_SINT32 = 17;
TYPE_SINT64
Value: 18Field type sint64.
Generated from protobuf enum TYPE_SINT64 = 18;