proto library Client - Class FileDescriptorSet (v5.36.2)

Reference documentation and code samples for the proto library Client class FileDescriptorSet.

The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.

Generated from protobuf message google.protobuf.FileDescriptorSet

Namespace

Google \ Protobuf \ Internal

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ file array<FileDescriptorProto>

getFile

Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1;

Returns
Type Description
Google\Protobuf\RepeatedField<FileDescriptorProto>

setFile

Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1;

Parameter
Name Description
var array<FileDescriptorProto>
Returns
Type Description
$this