1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudDebugger;
19
20class Breakpoint extends \Google\Collection
21{
22  protected $collection_key = 'variableTable';
23  /**
24   * @var string
25   */
26  public $action;
27  /**
28   * @var string
29   */
30  public $canaryExpireTime;
31  /**
32   * @var string
33   */
34  public $condition;
35  /**
36   * @var string
37   */
38  public $createTime;
39  protected $evaluatedExpressionsType = Variable::class;
40  protected $evaluatedExpressionsDataType = 'array';
41  /**
42   * @var string[]
43   */
44  public $expressions;
45  /**
46   * @var string
47   */
48  public $finalTime;
49  /**
50   * @var string
51   */
52  public $id;
53  /**
54   * @var bool
55   */
56  public $isFinalState;
57  /**
58   * @var string[]
59   */
60  public $labels;
61  protected $locationType = SourceLocation::class;
62  protected $locationDataType = '';
63  /**
64   * @var string
65   */
66  public $logLevel;
67  /**
68   * @var string
69   */
70  public $logMessageFormat;
71  protected $stackFramesType = StackFrame::class;
72  protected $stackFramesDataType = 'array';
73  /**
74   * @var string
75   */
76  public $state;
77  protected $statusType = StatusMessage::class;
78  protected $statusDataType = '';
79  /**
80   * @var string
81   */
82  public $userEmail;
83  protected $variableTableType = Variable::class;
84  protected $variableTableDataType = 'array';
85
86  /**
87   * @param string
88   */
89  public function setAction($action)
90  {
91    $this->action = $action;
92  }
93  /**
94   * @return string
95   */
96  public function getAction()
97  {
98    return $this->action;
99  }
100  /**
101   * @param string
102   */
103  public function setCanaryExpireTime($canaryExpireTime)
104  {
105    $this->canaryExpireTime = $canaryExpireTime;
106  }
107  /**
108   * @return string
109   */
110  public function getCanaryExpireTime()
111  {
112    return $this->canaryExpireTime;
113  }
114  /**
115   * @param string
116   */
117  public function setCondition($condition)
118  {
119    $this->condition = $condition;
120  }
121  /**
122   * @return string
123   */
124  public function getCondition()
125  {
126    return $this->condition;
127  }
128  /**
129   * @param string
130   */
131  public function setCreateTime($createTime)
132  {
133    $this->createTime = $createTime;
134  }
135  /**
136   * @return string
137   */
138  public function getCreateTime()
139  {
140    return $this->createTime;
141  }
142  /**
143   * @param Variable[]
144   */
145  public function setEvaluatedExpressions($evaluatedExpressions)
146  {
147    $this->evaluatedExpressions = $evaluatedExpressions;
148  }
149  /**
150   * @return Variable[]
151   */
152  public function getEvaluatedExpressions()
153  {
154    return $this->evaluatedExpressions;
155  }
156  /**
157   * @param string[]
158   */
159  public function setExpressions($expressions)
160  {
161    $this->expressions = $expressions;
162  }
163  /**
164   * @return string[]
165   */
166  public function getExpressions()
167  {
168    return $this->expressions;
169  }
170  /**
171   * @param string
172   */
173  public function setFinalTime($finalTime)
174  {
175    $this->finalTime = $finalTime;
176  }
177  /**
178   * @return string
179   */
180  public function getFinalTime()
181  {
182    return $this->finalTime;
183  }
184  /**
185   * @param string
186   */
187  public function setId($id)
188  {
189    $this->id = $id;
190  }
191  /**
192   * @return string
193   */
194  public function getId()
195  {
196    return $this->id;
197  }
198  /**
199   * @param bool
200   */
201  public function setIsFinalState($isFinalState)
202  {
203    $this->isFinalState = $isFinalState;
204  }
205  /**
206   * @return bool
207   */
208  public function getIsFinalState()
209  {
210    return $this->isFinalState;
211  }
212  /**
213   * @param string[]
214   */
215  public function setLabels($labels)
216  {
217    $this->labels = $labels;
218  }
219  /**
220   * @return string[]
221   */
222  public function getLabels()
223  {
224    return $this->labels;
225  }
226  /**
227   * @param SourceLocation
228   */
229  public function setLocation(SourceLocation $location)
230  {
231    $this->location = $location;
232  }
233  /**
234   * @return SourceLocation
235   */
236  public function getLocation()
237  {
238    return $this->location;
239  }
240  /**
241   * @param string
242   */
243  public function setLogLevel($logLevel)
244  {
245    $this->logLevel = $logLevel;
246  }
247  /**
248   * @return string
249   */
250  public function getLogLevel()
251  {
252    return $this->logLevel;
253  }
254  /**
255   * @param string
256   */
257  public function setLogMessageFormat($logMessageFormat)
258  {
259    $this->logMessageFormat = $logMessageFormat;
260  }
261  /**
262   * @return string
263   */
264  public function getLogMessageFormat()
265  {
266    return $this->logMessageFormat;
267  }
268  /**
269   * @param StackFrame[]
270   */
271  public function setStackFrames($stackFrames)
272  {
273    $this->stackFrames = $stackFrames;
274  }
275  /**
276   * @return StackFrame[]
277   */
278  public function getStackFrames()
279  {
280    return $this->stackFrames;
281  }
282  /**
283   * @param string
284   */
285  public function setState($state)
286  {
287    $this->state = $state;
288  }
289  /**
290   * @return string
291   */
292  public function getState()
293  {
294    return $this->state;
295  }
296  /**
297   * @param StatusMessage
298   */
299  public function setStatus(StatusMessage $status)
300  {
301    $this->status = $status;
302  }
303  /**
304   * @return StatusMessage
305   */
306  public function getStatus()
307  {
308    return $this->status;
309  }
310  /**
311   * @param string
312   */
313  public function setUserEmail($userEmail)
314  {
315    $this->userEmail = $userEmail;
316  }
317  /**
318   * @return string
319   */
320  public function getUserEmail()
321  {
322    return $this->userEmail;
323  }
324  /**
325   * @param Variable[]
326   */
327  public function setVariableTable($variableTable)
328  {
329    $this->variableTable = $variableTable;
330  }
331  /**
332   * @return Variable[]
333   */
334  public function getVariableTable()
335  {
336    return $this->variableTable;
337  }
338}
339
340// Adding a class alias for backwards compatibility with the previous class name.
341class_alias(Breakpoint::class, 'Google_Service_CloudDebugger_Breakpoint');
342