PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.4
ShareThis Dashboard for Google Analytics v3.2.4
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / protobuf / src / Google / Protobuf / Mixin.php
googleanalytics / lib / analytics-admin / vendor / google / protobuf / src / Google / Protobuf Last commit date
Field 3 years ago Internal 2 years ago Any.php 2 years ago Api.php 3 years ago BoolValue.php 3 years ago BytesValue.php 3 years ago Descriptor.php 2 years ago DescriptorPool.php 2 years ago DoubleValue.php 3 years ago Duration.php 3 years ago Enum.php 3 years ago EnumDescriptor.php 2 years ago EnumValue.php 3 years ago EnumValueDescriptor.php 2 years ago Field.php 3 years ago FieldDescriptor.php 2 years ago FieldMask.php 3 years ago Field_Cardinality.php 3 years ago Field_Kind.php 3 years ago FloatValue.php 3 years ago GPBEmpty.php 3 years ago Int32Value.php 3 years ago Int64Value.php 3 years ago ListValue.php 3 years ago Method.php 3 years ago Mixin.php 3 years ago NullValue.php 3 years ago OneofDescriptor.php 2 years ago Option.php 3 years ago SourceContext.php 3 years ago StringValue.php 3 years ago Struct.php 3 years ago Syntax.php 3 years ago Timestamp.php 3 years ago Type.php 3 years ago UInt32Value.php 3 years ago UInt64Value.php 3 years ago Value.php 3 years ago
Mixin.php
167 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/protobuf/api.proto
4
5 namespace Google\Protobuf;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * Declares an API Interface to be included in this interface. The including
13 * interface must redeclare all the methods from the included interface, but
14 * documentation and options are inherited as follows:
15 * - If after comment and whitespace stripping, the documentation
16 * string of the redeclared method is empty, it will be inherited
17 * from the original method.
18 * - Each annotation belonging to the service config (http,
19 * visibility) which is not set in the redeclared method will be
20 * inherited.
21 * - If an http annotation is inherited, the path pattern will be
22 * modified as follows. Any version prefix will be replaced by the
23 * version of the including interface plus the [root][] path if
24 * specified.
25 * Example of a simple mixin:
26 * package google.acl.v1;
27 * service AccessControl {
28 * // Get the underlying ACL object.
29 * rpc GetAcl(GetAclRequest) returns (Acl) {
30 * option (google.api.http).get = "/v1/{resource=**}:getAcl";
31 * }
32 * }
33 * package google.storage.v2;
34 * service Storage {
35 * rpc GetAcl(GetAclRequest) returns (Acl);
36 * // Get a data record.
37 * rpc GetData(GetDataRequest) returns (Data) {
38 * option (google.api.http).get = "/v2/{resource=**}";
39 * }
40 * }
41 * Example of a mixin configuration:
42 * apis:
43 * - name: google.storage.v2.Storage
44 * mixins:
45 * - name: google.acl.v1.AccessControl
46 * The mixin construct implies that all methods in `AccessControl` are
47 * also declared with same name and request/response types in
48 * `Storage`. A documentation generator or annotation processor will
49 * see the effective `Storage.GetAcl` method after inheriting
50 * documentation and annotations as follows:
51 * service Storage {
52 * // Get the underlying ACL object.
53 * rpc GetAcl(GetAclRequest) returns (Acl) {
54 * option (google.api.http).get = "/v2/{resource=**}:getAcl";
55 * }
56 * ...
57 * }
58 * Note how the version in the path pattern changed from `v1` to `v2`.
59 * If the `root` field in the mixin is specified, it should be a
60 * relative path under which inherited HTTP paths are placed. Example:
61 * apis:
62 * - name: google.storage.v2.Storage
63 * mixins:
64 * - name: google.acl.v1.AccessControl
65 * root: acls
66 * This implies the following inherited HTTP annotation:
67 * service Storage {
68 * // Get the underlying ACL object.
69 * rpc GetAcl(GetAclRequest) returns (Acl) {
70 * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
71 * }
72 * ...
73 * }
74 *
75 * Generated from protobuf message <code>google.protobuf.Mixin</code>
76 */
77 class Mixin extends \Google\Protobuf\Internal\Message
78 {
79 /**
80 * The fully qualified name of the interface which is included.
81 *
82 * Generated from protobuf field <code>string name = 1;</code>
83 */
84 protected $name = '';
85 /**
86 * If non-empty specifies a path under which inherited HTTP paths
87 * are rooted.
88 *
89 * Generated from protobuf field <code>string root = 2;</code>
90 */
91 protected $root = '';
92
93 /**
94 * Constructor.
95 *
96 * @param array $data {
97 * Optional. Data for populating the Message object.
98 *
99 * @type string $name
100 * The fully qualified name of the interface which is included.
101 * @type string $root
102 * If non-empty specifies a path under which inherited HTTP paths
103 * are rooted.
104 * }
105 */
106 public function __construct($data = NULL) {
107 \GPBMetadata\Google\Protobuf\Api::initOnce();
108 parent::__construct($data);
109 }
110
111 /**
112 * The fully qualified name of the interface which is included.
113 *
114 * Generated from protobuf field <code>string name = 1;</code>
115 * @return string
116 */
117 public function getName()
118 {
119 return $this->name;
120 }
121
122 /**
123 * The fully qualified name of the interface which is included.
124 *
125 * Generated from protobuf field <code>string name = 1;</code>
126 * @param string $var
127 * @return $this
128 */
129 public function setName($var)
130 {
131 GPBUtil::checkString($var, True);
132 $this->name = $var;
133
134 return $this;
135 }
136
137 /**
138 * If non-empty specifies a path under which inherited HTTP paths
139 * are rooted.
140 *
141 * Generated from protobuf field <code>string root = 2;</code>
142 * @return string
143 */
144 public function getRoot()
145 {
146 return $this->root;
147 }
148
149 /**
150 * If non-empty specifies a path under which inherited HTTP paths
151 * are rooted.
152 *
153 * Generated from protobuf field <code>string root = 2;</code>
154 * @param string $var
155 * @return $this
156 */
157 public function setRoot($var)
158 {
159 GPBUtil::checkString($var, True);
160 $this->root = $var;
161
162 return $this;
163 }
164
165 }
166
167