Basic field types.

Protobuf type google.protobuf.Field.Kind

CloneableInstantiable
Constants
public Google\Protobuf\Field\Kind::TYPE_BOOL = 8
 

Field type bool.

Generated from protobuf enum TYPE_BOOL = 8;

public Google\Protobuf\Field\Kind::TYPE_BYTES = 12
 

Field type bytes.

Generated from protobuf enum TYPE_BYTES = 12;

public Google\Protobuf\Field\Kind::TYPE_DOUBLE = 1
 

Field type double.

Generated from protobuf enum TYPE_DOUBLE = 1;

public Google\Protobuf\Field\Kind::TYPE_ENUM = 14
 

Field type enum.

Generated from protobuf enum TYPE_ENUM = 14;

public Google\Protobuf\Field\Kind::TYPE_FIXED32 = 7
 

Field type fixed32.

Generated from protobuf enum TYPE_FIXED32 = 7;

public Google\Protobuf\Field\Kind::TYPE_FIXED64 = 6
 

Field type fixed64.

Generated from protobuf enum TYPE_FIXED64 = 6;

public Google\Protobuf\Field\Kind::TYPE_FLOAT = 2
 

Field type float.

Generated from protobuf enum TYPE_FLOAT = 2;

public Google\Protobuf\Field\Kind::TYPE_GROUP = 10
 

Field type group. Proto2 syntax only, and deprecated.

Generated from protobuf enum TYPE_GROUP = 10;

public Google\Protobuf\Field\Kind::TYPE_INT32 = 5
 

Field type int32.

Generated from protobuf enum TYPE_INT32 = 5;

public Google\Protobuf\Field\Kind::TYPE_INT64 = 3
 

Field type int64.

Generated from protobuf enum TYPE_INT64 = 3;

public Google\Protobuf\Field\Kind::TYPE_MESSAGE = 11
 

Field type message.

Generated from protobuf enum TYPE_MESSAGE = 11;

public Google\Protobuf\Field\Kind::TYPE_SFIXED32 = 15
 

Field type sfixed32.

Generated from protobuf enum TYPE_SFIXED32 = 15;

public Google\Protobuf\Field\Kind::TYPE_SFIXED64 = 16
 

Field type sfixed64.

Generated from protobuf enum TYPE_SFIXED64 = 16;

public Google\Protobuf\Field\Kind::TYPE_SINT32 = 17
 

Field type sint32.

Generated from protobuf enum TYPE_SINT32 = 17;

public Google\Protobuf\Field\Kind::TYPE_SINT64 = 18
 

Field type sint64.

Generated from protobuf enum TYPE_SINT64 = 18;

public Google\Protobuf\Field\Kind::TYPE_STRING = 9
 

Field type string.

Generated from protobuf enum TYPE_STRING = 9;

public Google\Protobuf\Field\Kind::TYPE_UINT32 = 13
 

Field type uint32.

Generated from protobuf enum TYPE_UINT32 = 13;

public Google\Protobuf\Field\Kind::TYPE_UINT64 = 4
 

Field type uint64.

Generated from protobuf enum TYPE_UINT64 = 4;

public Google\Protobuf\Field\Kind::TYPE_UNKNOWN = 0
 

Field type unknown.

Generated from protobuf enum TYPE_UNKNOWN = 0;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['TYPE_UNKNOWN', 'TYPE_DOUBLE', 'TYPE_FLOAT', 'TYPE_INT64', 'TYPE_UINT64', 'TYPE_INT32', 'TYPE_FIXED64', 'TYPE_FIXED32', 'TYPE_BOOL', 'TYPE_STRING', 'TYPE_GROUP', 'TYPE_MESSAGE', 'TYPE_BYTES', 'TYPE_UINT32', 'TYPE_ENUM', 'TYPE_SFIXED32', 'TYPE_SFIXED64', 'TYPE_SINT32', 'TYPE_SINT64']
Properties
private static $valueToName = ['TYPE_UNKNOWN', 'TYPE_DOUBLE', 'TYPE_FLOAT', 'TYPE_INT64', 'TYPE_UINT64', 'TYPE_INT32', 'TYPE_FIXED64', 'TYPE_FIXED32', 'TYPE_BOOL', 'TYPE_STRING', 'TYPE_GROUP', 'TYPE_MESSAGE', 'TYPE_BYTES', 'TYPE_UINT32', 'TYPE_ENUM', 'TYPE_SFIXED32', 'TYPE_SFIXED64', 'TYPE_SINT32', 'TYPE_SINT64']
Methods
public static name( $value)
public static value( $name)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only