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 / common-protos / src / Rpc / LocalizedMessage.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Rpc Last commit date
BadRequest 3 years ago Help 3 years ago PreconditionFailure 3 years ago QuotaFailure 3 years ago BadRequest.php 3 years ago BadRequest_FieldViolation.php 3 years ago Code.php 3 years ago DebugInfo.php 3 years ago ErrorInfo.php 3 years ago Help.php 3 years ago Help_Link.php 3 years ago LocalizedMessage.php 3 years ago PreconditionFailure.php 3 years ago PreconditionFailure_Violation.php 3 years ago QuotaFailure.php 3 years ago QuotaFailure_Violation.php 3 years ago RequestInfo.php 3 years ago ResourceInfo.php 3 years ago RetryInfo.php 3 years ago Status.php 3 years ago
LocalizedMessage.php
111 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/rpc/error_details.proto
4
5 namespace Google\Rpc;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * Provides a localized error message that is safe to return to the user
13 * which can be attached to an RPC error.
14 *
15 * Generated from protobuf message <code>google.rpc.LocalizedMessage</code>
16 */
17 class LocalizedMessage extends \Google\Protobuf\Internal\Message
18 {
19 /**
20 * The locale used following the specification defined at
21 * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
22 * Examples are: "en-US", "fr-CH", "es-MX"
23 *
24 * Generated from protobuf field <code>string locale = 1;</code>
25 */
26 protected $locale = '';
27 /**
28 * The localized error message in the above locale.
29 *
30 * Generated from protobuf field <code>string message = 2;</code>
31 */
32 protected $message = '';
33
34 /**
35 * Constructor.
36 *
37 * @param array $data {
38 * Optional. Data for populating the Message object.
39 *
40 * @type string $locale
41 * The locale used following the specification defined at
42 * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
43 * Examples are: "en-US", "fr-CH", "es-MX"
44 * @type string $message
45 * The localized error message in the above locale.
46 * }
47 */
48 public function __construct($data = NULL) {
49 \GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
50 parent::__construct($data);
51 }
52
53 /**
54 * The locale used following the specification defined at
55 * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
56 * Examples are: "en-US", "fr-CH", "es-MX"
57 *
58 * Generated from protobuf field <code>string locale = 1;</code>
59 * @return string
60 */
61 public function getLocale()
62 {
63 return $this->locale;
64 }
65
66 /**
67 * The locale used following the specification defined at
68 * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
69 * Examples are: "en-US", "fr-CH", "es-MX"
70 *
71 * Generated from protobuf field <code>string locale = 1;</code>
72 * @param string $var
73 * @return $this
74 */
75 public function setLocale($var)
76 {
77 GPBUtil::checkString($var, True);
78 $this->locale = $var;
79
80 return $this;
81 }
82
83 /**
84 * The localized error message in the above locale.
85 *
86 * Generated from protobuf field <code>string message = 2;</code>
87 * @return string
88 */
89 public function getMessage()
90 {
91 return $this->message;
92 }
93
94 /**
95 * The localized error message in the above locale.
96 *
97 * Generated from protobuf field <code>string message = 2;</code>
98 * @param string $var
99 * @return $this
100 */
101 public function setMessage($var)
102 {
103 GPBUtil::checkString($var, True);
104 $this->message = $var;
105
106 return $this;
107 }
108
109 }
110
111