Protobuf type google.protobuf.FieldDescriptorProto.Type

CloneableInstantiable
Constants
public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_BOOL = 8
 
Generated from protobuf enum TYPE_BOOL = 8;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_BYTES = 12
 
New in version 2.

Generated from protobuf enum TYPE_BYTES = 12;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_DOUBLE = 1
 
0 is reserved for errors.

Order is weird for historical reasons.

Generated from protobuf enum TYPE_DOUBLE = 1;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_ENUM = 14
 
Generated from protobuf enum TYPE_ENUM = 14;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_FIXED32 = 7
 
Generated from protobuf enum TYPE_FIXED32 = 7;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_FIXED64 = 6
 
Generated from protobuf enum TYPE_FIXED64 = 6;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_FLOAT = 2
 
Generated from protobuf enum TYPE_FLOAT = 2;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_GROUP = 10
 
Tag-delimited aggregate.

Group type is deprecated and not supported in proto3. However, Proto3
implementations should still be able to parse the group wire format and
treat group fields as unknown fields.

Generated from protobuf enum TYPE_GROUP = 10;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_INT32 = 5
 
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.

Generated from protobuf enum TYPE_INT32 = 5;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_INT64 = 3
 
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.

Generated from protobuf enum TYPE_INT64 = 3;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_MESSAGE = 11
 
Length-delimited aggregate.

Generated from protobuf enum TYPE_MESSAGE = 11;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_SFIXED32 = 15
 
Generated from protobuf enum TYPE_SFIXED32 = 15;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_SFIXED64 = 16
 
Generated from protobuf enum TYPE_SFIXED64 = 16;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_SINT32 = 17
 
Uses ZigZag encoding.

Generated from protobuf enum TYPE_SINT32 = 17;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_SINT64 = 18
 
Uses ZigZag encoding.

Generated from protobuf enum TYPE_SINT64 = 18;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_STRING = 9
 
Generated from protobuf enum TYPE_STRING = 9;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_UINT32 = 13
 
Generated from protobuf enum TYPE_UINT32 = 13;

public Google\Protobuf\Internal\FieldDescriptorProto\Type::TYPE_UINT64 = 4
 
Generated from protobuf enum TYPE_UINT64 = 4;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName
Properties
private static $valueToName
Methods
public static name( $value)
public static value( $name)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only