PluginProbe
Media Cloud Sync / 1.2.6
Media Cloud Sync v1.2.6
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / common-protos / src / Api / Backend.php

Backend.php in Media Cloud Sync 1.2.6, at includes/sdk/google/google/common-protos/src/Api/Backend.php

66 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/api/backend.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 * `Backend` defines the backend configuration for a service.
12 *
13 * Generated from protobuf message <code>google.api.Backend</code>
14 */
15 class Backend extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 {
17 /**
18 * A list of API backend rules that apply to individual API methods.
19 * **NOTE:** All service configuration rules follow "last one wins" order.
20 *
21 * Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
22 */
23 private $rules;
24 /**
25 * Constructor.
26 *
27 * @param array $data {
28 * Optional. Data for populating the Message object.
29 *
30 * @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules
31 * A list of API backend rules that apply to individual API methods.
32 * **NOTE:** All service configuration rules follow "last one wins" order.
33 * }
34 */
35 public function __construct($data = NULL)
36 {
37 \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Backend::initOnce();
38 parent::__construct($data);
39 }
40 /**
41 * A list of API backend rules that apply to individual API methods.
42 * **NOTE:** All service configuration rules follow "last one wins" order.
43 *
44 * Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
45 * @return \Google\Protobuf\Internal\RepeatedField
46 */
47 public function getRules()
48 {
49 return $this->rules;
50 }
51 /**
52 * A list of API backend rules that apply to individual API methods.
53 * **NOTE:** All service configuration rules follow "last one wins" order.
54 *
55 * Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
56 * @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var
57 * @return $this
58 */
59 public function setRules($var)
60 {
61 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\BackendRule::class);
62 $this->rules = $arr;
63 return $this;
64 }
65 }
66