PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
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 / Struct.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
Struct.php
74 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/protobuf/struct.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 * `Struct` represents a structured data value, consisting of fields
13 * which map to dynamically typed values. In some languages, `Struct`
14 * might be supported by a native representation. For example, in
15 * scripting languages like JS a struct is represented as an
16 * object. The details of that representation are described together
17 * with the proto support for the language.
18 * The JSON representation for `Struct` is JSON object.
19 *
20 * Generated from protobuf message <code>google.protobuf.Struct</code>
21 */
22 class Struct extends \Google\Protobuf\Internal\Message
23 {
24 /**
25 * Unordered map of dynamically typed values.
26 *
27 * Generated from protobuf field <code>map<string, .google.protobuf.Value> fields = 1;</code>
28 */
29 private $fields;
30
31 /**
32 * Constructor.
33 *
34 * @param array $data {
35 * Optional. Data for populating the Message object.
36 *
37 * @type array|\Google\Protobuf\Internal\MapField $fields
38 * Unordered map of dynamically typed values.
39 * }
40 */
41 public function __construct($data = NULL) {
42 \GPBMetadata\Google\Protobuf\Struct::initOnce();
43 parent::__construct($data);
44 }
45
46 /**
47 * Unordered map of dynamically typed values.
48 *
49 * Generated from protobuf field <code>map<string, .google.protobuf.Value> fields = 1;</code>
50 * @return \Google\Protobuf\Internal\MapField
51 */
52 public function getFields()
53 {
54 return $this->fields;
55 }
56
57 /**
58 * Unordered map of dynamically typed values.
59 *
60 * Generated from protobuf field <code>map<string, .google.protobuf.Value> fields = 1;</code>
61 * @param array|\Google\Protobuf\Internal\MapField $var
62 * @return $this
63 */
64 public function setFields($var)
65 {
66 $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class);
67 $this->fields = $arr;
68
69 return $this;
70 }
71
72 }
73
74