Reference documentation and code samples for the proto library Client class Syntax.
The syntax in which a protocol buffer element is defined.
Protobuf type google.protobuf.Syntax
Namespace
Google \ ProtobufMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SYNTAX_PROTO2
Value: 0Syntax proto2.
Generated from protobuf enum SYNTAX_PROTO2 = 0;
SYNTAX_PROTO3
Value: 1Syntax proto3.
Generated from protobuf enum SYNTAX_PROTO3 = 1;
SYNTAX_EDITIONS
Value: 2Syntax editions.
Generated from protobuf enum SYNTAX_EDITIONS = 2;