| 1 |
<?php |
| 2 |
|
| 3 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 |
# source: google/api/source_info.proto |
| 5 |
namespace Dudlewebs\WPMCS\Google\Api; |
| 6 |
|
| 7 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; |
| 8 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; |
| 9 |
use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; |
| 10 |
/** |
| 11 |
* Source information used to create a Service Config |
| 12 |
* |
| 13 |
* Generated from protobuf message <code>google.api.SourceInfo</code> |
| 14 |
*/ |
| 15 |
class SourceInfo extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message |
| 16 |
{ |
| 17 |
/** |
| 18 |
* All files used during config generation. |
| 19 |
* |
| 20 |
* Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code> |
| 21 |
*/ |
| 22 |
private $source_files; |
| 23 |
/** |
| 24 |
* Constructor. |
| 25 |
* |
| 26 |
* @param array $data { |
| 27 |
* Optional. Data for populating the Message object. |
| 28 |
* |
| 29 |
* @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $source_files |
| 30 |
* All files used during config generation. |
| 31 |
* } |
| 32 |
*/ |
| 33 |
public function __construct($data = NULL) |
| 34 |
{ |
| 35 |
\Dudlewebs\WPMCS\GPBMetadata\Google\Api\SourceInfo::initOnce(); |
| 36 |
parent::__construct($data); |
| 37 |
} |
| 38 |
/** |
| 39 |
* All files used during config generation. |
| 40 |
* |
| 41 |
* Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code> |
| 42 |
* @return \Google\Protobuf\Internal\RepeatedField |
| 43 |
*/ |
| 44 |
public function getSourceFiles() |
| 45 |
{ |
| 46 |
return $this->source_files; |
| 47 |
} |
| 48 |
/** |
| 49 |
* All files used during config generation. |
| 50 |
* |
| 51 |
* Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code> |
| 52 |
* @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var |
| 53 |
* @return $this |
| 54 |
*/ |
| 55 |
public function setSourceFiles($var) |
| 56 |
{ |
| 57 |
$arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Any::class); |
| 58 |
$this->source_files = $arr; |
| 59 |
return $this; |
| 60 |
} |
| 61 |
} |
| 62 |
|