| 1 |
<?php |
| 2 |
|
| 3 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 |
# source: google/rpc/error_details.proto |
| 5 |
namespace Dudlewebs\WPMCS\GCP\Google\Rpc; |
| 6 |
|
| 7 |
use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; |
| 8 |
use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; |
| 9 |
use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; |
| 10 |
/** |
| 11 |
* Describes additional debugging info. |
| 12 |
* |
| 13 |
* Generated from protobuf message <code>google.rpc.DebugInfo</code> |
| 14 |
*/ |
| 15 |
class DebugInfo extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message |
| 16 |
{ |
| 17 |
/** |
| 18 |
* The stack trace entries indicating where the error occurred. |
| 19 |
* |
| 20 |
* Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 21 |
*/ |
| 22 |
private $stack_entries; |
| 23 |
/** |
| 24 |
* Additional debugging information provided by the server. |
| 25 |
* |
| 26 |
* Generated from protobuf field <code>string detail = 2;</code> |
| 27 |
*/ |
| 28 |
protected $detail = ''; |
| 29 |
/** |
| 30 |
* Constructor. |
| 31 |
* |
| 32 |
* @param array $data { |
| 33 |
* Optional. Data for populating the Message object. |
| 34 |
* |
| 35 |
* @type string[] $stack_entries |
| 36 |
* The stack trace entries indicating where the error occurred. |
| 37 |
* @type string $detail |
| 38 |
* Additional debugging information provided by the server. |
| 39 |
* } |
| 40 |
*/ |
| 41 |
public function __construct($data = NULL) |
| 42 |
{ |
| 43 |
\Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); |
| 44 |
parent::__construct($data); |
| 45 |
} |
| 46 |
/** |
| 47 |
* The stack trace entries indicating where the error occurred. |
| 48 |
* |
| 49 |
* Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 50 |
* @return RepeatedField<string> |
| 51 |
*/ |
| 52 |
public function getStackEntries() |
| 53 |
{ |
| 54 |
return $this->stack_entries; |
| 55 |
} |
| 56 |
/** |
| 57 |
* The stack trace entries indicating where the error occurred. |
| 58 |
* |
| 59 |
* Generated from protobuf field <code>repeated string stack_entries = 1;</code> |
| 60 |
* @param string[] $var |
| 61 |
* @return $this |
| 62 |
*/ |
| 63 |
public function setStackEntries($var) |
| 64 |
{ |
| 65 |
$arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); |
| 66 |
$this->stack_entries = $arr; |
| 67 |
return $this; |
| 68 |
} |
| 69 |
/** |
| 70 |
* Additional debugging information provided by the server. |
| 71 |
* |
| 72 |
* Generated from protobuf field <code>string detail = 2;</code> |
| 73 |
* @return string |
| 74 |
*/ |
| 75 |
public function getDetail() |
| 76 |
{ |
| 77 |
return $this->detail; |
| 78 |
} |
| 79 |
/** |
| 80 |
* Additional debugging information provided by the server. |
| 81 |
* |
| 82 |
* Generated from protobuf field <code>string detail = 2;</code> |
| 83 |
* @param string $var |
| 84 |
* @return $this |
| 85 |
*/ |
| 86 |
public function setDetail($var) |
| 87 |
{ |
| 88 |
GPBUtil::checkString($var, True); |
| 89 |
$this->detail = $var; |
| 90 |
return $this; |
| 91 |
} |
| 92 |
} |
| 93 |
|