* The protocol compiler can output a FileDescriptorSet containing the .proto
* files it parses.
*
*
* Protobuf type google.protobuf.FileDescriptorSet
*/
class FileDescriptorSet extends \Google\Protobuf\Internal\Message
{
/**
* repeated .google.protobuf.FileDescriptorProto file = 1;
*/
private $file;
private $has_file = false;
public function __construct() {
\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
parent::__construct();
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1;
*/
public function getFile()
{
return $this->file;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1;
*/
public function setFile(&$var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\FileDescriptorProto::class);
$this->file = $arr;
$this->has_file = true;
return $this;
}
public function hasFile()
{
return $this->has_file;
}
}