googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Rpc
/
DebugInfo.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
DebugInfo.php
102 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 | * Describes additional debugging info. |
| 13 | * |
| 14 | * Generated from protobuf message <code>google.rpc.DebugInfo</code> |
| 15 | */ |
| 16 | class DebugInfo extends \Google\Protobuf\Internal\Message |
| 17 | { |
| 18 | /** |
| 19 | * The stack trace entries indicating where the error occurred. |
| 20 | * |
| 21 | * Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 22 | */ |
| 23 | private $stack_entries; |
| 24 | /** |
| 25 | * Additional debugging information provided by the server. |
| 26 | * |
| 27 | * Generated from protobuf field <code>string detail = 2;</code> |
| 28 | */ |
| 29 | protected $detail = ''; |
| 30 | |
| 31 | /** |
| 32 | * Constructor. |
| 33 | * |
| 34 | * @param array $data { |
| 35 | * Optional. Data for populating the Message object. |
| 36 | * |
| 37 | * @type string[]|\Google\Protobuf\Internal\RepeatedField $stack_entries |
| 38 | * The stack trace entries indicating where the error occurred. |
| 39 | * @type string $detail |
| 40 | * Additional debugging information provided by the server. |
| 41 | * } |
| 42 | */ |
| 43 | public function __construct($data = NULL) { |
| 44 | \GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); |
| 45 | parent::__construct($data); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * The stack trace entries indicating where the error occurred. |
| 50 | * |
| 51 | * Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 52 | * @return \Google\Protobuf\Internal\RepeatedField |
| 53 | */ |
| 54 | public function getStackEntries() |
| 55 | { |
| 56 | return $this->stack_entries; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * The stack trace entries indicating where the error occurred. |
| 61 | * |
| 62 | * Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 63 | * @param string[]|\Google\Protobuf\Internal\RepeatedField $var |
| 64 | * @return $this |
| 65 | */ |
| 66 | public function setStackEntries($var) |
| 67 | { |
| 68 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); |
| 69 | $this->stack_entries = $arr; |
| 70 | |
| 71 | return $this; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Additional debugging information provided by the server. |
| 76 | * |
| 77 | * Generated from protobuf field <code>string detail = 2;</code> |
| 78 | * @return string |
| 79 | */ |
| 80 | public function getDetail() |
| 81 | { |
| 82 | return $this->detail; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Additional debugging information provided by the server. |
| 87 | * |
| 88 | * Generated from protobuf field <code>string detail = 2;</code> |
| 89 | * @param string $var |
| 90 | * @return $this |
| 91 | */ |
| 92 | public function setDetail($var) |
| 93 | { |
| 94 | GPBUtil::checkString($var, True); |
| 95 | $this->detail = $var; |
| 96 | |
| 97 | return $this; |
| 98 | } |
| 99 | |
| 100 | } |
| 101 | |
| 102 |