google.api.SourceInfo
*/
class SourceInfo extends \Google\Protobuf\Internal\Message
{
/**
* All files used during config generation.
*
* Generated from protobuf field repeated .google.protobuf.Any source_files = 1;
*/
private $source_files;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $source_files
* All files used during config generation.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Api\SourceInfo::initOnce();
parent::__construct($data);
}
/**
* All files used during config generation.
*
* Generated from protobuf field repeated .google.protobuf.Any source_files = 1;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getSourceFiles()
{
return $this->source_files;
}
/**
* All files used during config generation.
*
* Generated from protobuf field repeated .google.protobuf.Any source_files = 1;
* @param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setSourceFiles($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class);
$this->source_files = $arr;
return $this;
}
}