A protocol buffer message type.
New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
Generated from protobuf message google.protobuf.Type
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearSourceContext() |
| public getEdition() The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 7;
|
| public getFields() The list of fields. Generated from protobuf field repeated .google.protobuf.Field fields = 2;
|
| public getName() The fully qualified message name. Generated from protobuf field string name = 1;
|
| public getOneofs() The list of types appearing in Generated from protobuf field repeated string oneofs = 3;
|
| public getOptions() The protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 4;
|
| public getSourceContext() The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 5;
|
| public getSyntax() The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 6;
|
| public hasSourceContext() |
| public setEdition( $var) The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 7;
|
| public setFields( $var) The list of fields. Generated from protobuf field repeated .google.protobuf.Field fields = 2;
|
| public setName( $var) The fully qualified message name. Generated from protobuf field string name = 1;
|
| public setOneofs( $var) The list of types appearing in Generated from protobuf field repeated string oneofs = 3;
|
| public setOptions( $var) The protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 4;
|
| public setSourceContext( $var) The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 5;
|
| public setSyntax( $var) The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 6;
|
| Properties |
| protected $edition = '' The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 7; |
| protected $name = '' The fully qualified message name. Generated from protobuf field string name = 1; |
| protected $source_context = NULL The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 5; |
| protected $syntax = 0 The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 6; |
| Methods |
| Properties |
| private $fields = NULL The list of fields. Generated from protobuf field repeated .google.protobuf.Field fields = 2; |
| private $oneofs = NULL The list of types appearing in Generated from protobuf field repeated string oneofs = 3; |
| private $options = NULL The protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 4; |