function DescriptorProto::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type string $name @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $field @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $extension @type array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $nested_type @type array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $enum_type @type array<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange>|\Google\Protobuf\Internal\RepeatedField $extension_range @type array<\Google\Protobuf\Internal\OneofDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $oneof_decl @type \Google\Protobuf\Internal\MessageOptions $options @type array<\Google\Protobuf\Internal\DescriptorProto\ReservedRange>|\Google\Protobuf\Internal\RepeatedField $reserved_range @type array<string>|\Google\Protobuf\Internal\RepeatedField $reserved_name Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once. }
Overrides Message::__construct
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ DescriptorProto.php, line 84
Class
- DescriptorProto
- Describes a message type.
Namespace
Google\Protobuf\InternalCode
public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
parent::__construct($data);
}