Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   1  <?php
   2  /*
   3   * Copyright 2010 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  
  18  /**
  19   * Service definition for Clouddebugger (v2).
  20   *
  21   * <p>
  22   * Lets you examine the stack and variables of your running application without
  23   * stopping or slowing it down.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://cloud.google.com/tools/cloud-debugger" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  #[AllowDynamicProperties]
  33  class Google_Service_Clouddebugger extends Google_Service
  34  {
  35    /** View and manage your data across Google Cloud Platform services. */
  36    const CLOUD_PLATFORM =
  37        "https://www.googleapis.com/auth/cloud-platform";
  38    /** Manage cloud debugger. */
  39    const CLOUD_DEBUGGER =
  40        "https://www.googleapis.com/auth/cloud_debugger";
  41    /** Manage active breakpoints in cloud debugger. */
  42    const CLOUD_DEBUGLETCONTROLLER =
  43        "https://www.googleapis.com/auth/cloud_debugletcontroller";
  44  
  45    public $controller_debuggees;
  46    public $controller_debuggees_breakpoints;
  47    public $debugger_debuggees;
  48    public $debugger_debuggees_breakpoints;
  49    
  50  
  51    /**
  52     * Constructs the internal representation of the Clouddebugger service.
  53     *
  54     * @param Google_Client $client
  55     */
  56    public function __construct(Google_Client $client)
  57    {
  58      parent::__construct($client);
  59      $this->rootUrl = 'https://clouddebugger.googleapis.com/';
  60      $this->servicePath = '';
  61      $this->version = 'v2';
  62      $this->serviceName = 'clouddebugger';
  63  
  64      $this->controller_debuggees = new Google_Service_Clouddebugger_ControllerDebuggees_Resource(
  65          $this,
  66          $this->serviceName,
  67          'debuggees',
  68          array(
  69            'methods' => array(
  70              'register' => array(
  71                'path' => 'v2/controller/debuggees/register',
  72                'httpMethod' => 'POST',
  73                'parameters' => array(),
  74              ),
  75            )
  76          )
  77      );
  78      $this->controller_debuggees_breakpoints = new Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource(
  79          $this,
  80          $this->serviceName,
  81          'breakpoints',
  82          array(
  83            'methods' => array(
  84              'list' => array(
  85                'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints',
  86                'httpMethod' => 'GET',
  87                'parameters' => array(
  88                  'debuggeeId' => array(
  89                    'location' => 'path',
  90                    'type' => 'string',
  91                    'required' => true,
  92                  ),
  93                  'waitToken' => array(
  94                    'location' => 'query',
  95                    'type' => 'string',
  96                  ),
  97                ),
  98              ),'update' => array(
  99                'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}',
 100                'httpMethod' => 'PUT',
 101                'parameters' => array(
 102                  'debuggeeId' => array(
 103                    'location' => 'path',
 104                    'type' => 'string',
 105                    'required' => true,
 106                  ),
 107                  'id' => array(
 108                    'location' => 'path',
 109                    'type' => 'string',
 110                    'required' => true,
 111                  ),
 112                ),
 113              ),
 114            )
 115          )
 116      );
 117      $this->debugger_debuggees = new Google_Service_Clouddebugger_DebuggerDebuggees_Resource(
 118          $this,
 119          $this->serviceName,
 120          'debuggees',
 121          array(
 122            'methods' => array(
 123              'list' => array(
 124                'path' => 'v2/debugger/debuggees',
 125                'httpMethod' => 'GET',
 126                'parameters' => array(
 127                  'project' => array(
 128                    'location' => 'query',
 129                    'type' => 'string',
 130                  ),
 131                  'includeInactive' => array(
 132                    'location' => 'query',
 133                    'type' => 'boolean',
 134                  ),
 135                ),
 136              ),
 137            )
 138          )
 139      );
 140      $this->debugger_debuggees_breakpoints = new Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource(
 141          $this,
 142          $this->serviceName,
 143          'breakpoints',
 144          array(
 145            'methods' => array(
 146              'delete' => array(
 147                'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
 148                'httpMethod' => 'DELETE',
 149                'parameters' => array(
 150                  'debuggeeId' => array(
 151                    'location' => 'path',
 152                    'type' => 'string',
 153                    'required' => true,
 154                  ),
 155                  'breakpointId' => array(
 156                    'location' => 'path',
 157                    'type' => 'string',
 158                    'required' => true,
 159                  ),
 160                ),
 161              ),'get' => array(
 162                'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
 163                'httpMethod' => 'GET',
 164                'parameters' => array(
 165                  'debuggeeId' => array(
 166                    'location' => 'path',
 167                    'type' => 'string',
 168                    'required' => true,
 169                  ),
 170                  'breakpointId' => array(
 171                    'location' => 'path',
 172                    'type' => 'string',
 173                    'required' => true,
 174                  ),
 175                ),
 176              ),'list' => array(
 177                'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints',
 178                'httpMethod' => 'GET',
 179                'parameters' => array(
 180                  'debuggeeId' => array(
 181                    'location' => 'path',
 182                    'type' => 'string',
 183                    'required' => true,
 184                  ),
 185                  'includeAllUsers' => array(
 186                    'location' => 'query',
 187                    'type' => 'boolean',
 188                  ),
 189                  'stripResults' => array(
 190                    'location' => 'query',
 191                    'type' => 'boolean',
 192                  ),
 193                  'action.value' => array(
 194                    'location' => 'query',
 195                    'type' => 'string',
 196                  ),
 197                  'includeInactive' => array(
 198                    'location' => 'query',
 199                    'type' => 'boolean',
 200                  ),
 201                  'waitToken' => array(
 202                    'location' => 'query',
 203                    'type' => 'string',
 204                  ),
 205                ),
 206              ),'set' => array(
 207                'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set',
 208                'httpMethod' => 'POST',
 209                'parameters' => array(
 210                  'debuggeeId' => array(
 211                    'location' => 'path',
 212                    'type' => 'string',
 213                    'required' => true,
 214                  ),
 215                ),
 216              ),
 217            )
 218          )
 219      );
 220    }
 221  }
 222  
 223  
 224  /**
 225   * The "controller" collection of methods.
 226   * Typical usage is:
 227   *  <code>
 228   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 229   *   $controller = $clouddebuggerService->controller;
 230   *  </code>
 231   */
 232  #[AllowDynamicProperties]
 233  class Google_Service_Clouddebugger_Controller_Resource extends Google_Service_Resource
 234  {
 235  }
 236  
 237  /**
 238   * The "debuggees" collection of methods.
 239   * Typical usage is:
 240   *  <code>
 241   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 242   *   $debuggees = $clouddebuggerService->debuggees;
 243   *  </code>
 244   */
 245  #[AllowDynamicProperties]
 246  class Google_Service_Clouddebugger_ControllerDebuggees_Resource extends Google_Service_Resource
 247  {
 248  
 249    /**
 250     * Registers the debuggee with the controller. All agents should call this API
 251     * with the same request content to get back the same stable 'debuggee_id'.
 252     * Agents should call this API again whenever ListActiveBreakpoints or
 253     * UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows
 254     * the server to disable the agent or recover from any registration loss. If the
 255     * debuggee is disabled server, the response will have is_disabled' set to true.
 256     * (debuggees.register)
 257     *
 258     * @param Google_RegisterDebuggeeRequest $postBody
 259     * @param array $optParams Optional parameters.
 260     * @return Google_Service_Clouddebugger_RegisterDebuggeeResponse
 261     */
 262    public function register(Google_Service_Clouddebugger_RegisterDebuggeeRequest $postBody, $optParams = array())
 263    {
 264      $params = array('postBody' => $postBody);
 265      $params = array_merge($params, $optParams);
 266      return $this->call('register', array($params), "Google_Service_Clouddebugger_RegisterDebuggeeResponse");
 267    }
 268  }
 269  
 270  /**
 271   * The "breakpoints" collection of methods.
 272   * Typical usage is:
 273   *  <code>
 274   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 275   *   $breakpoints = $clouddebuggerService->breakpoints;
 276   *  </code>
 277   */
 278  #[AllowDynamicProperties]
 279  class Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource extends Google_Service_Resource
 280  {
 281  
 282    /**
 283     * Returns the list of all active breakpoints for the specified debuggee. The
 284     * breakpoint specification (location, condition, and expression fields) is
 285     * semantically immutable, although the field values may change. For example, an
 286     * agent may update the location line number to reflect the actual line the
 287     * breakpoint was set to, but that doesn't change the breakpoint semantics.
 288     * Thus, an agent does not need to check if a breakpoint has changed when it
 289     * encounters the same breakpoint on a successive call. Moreover, an agent
 290     * should remember breakpoints that are complete until the controller removes
 291     * them from the active list to avoid setting those breakpoints again.
 292     * (breakpoints.listControllerDebuggeesBreakpoints)
 293     *
 294     * @param string $debuggeeId Identifies the debuggee.
 295     * @param array $optParams Optional parameters.
 296     *
 297     * @opt_param string waitToken A wait token that, if specified, blocks the
 298     * method call until the list of active breakpoints has changed, or a server
 299     * selected timeout has expired. The value should be set from the last returned
 300     * response. The error code google.rpc.Code.ABORTED is returned on wait timeout
 301     * (which does not require the agent to re-register with the server)
 302     * @return Google_Service_Clouddebugger_ListActiveBreakpointsResponse
 303     */
 304    public function listControllerDebuggeesBreakpoints($debuggeeId, $optParams = array())
 305    {
 306      $params = array('debuggeeId' => $debuggeeId);
 307      $params = array_merge($params, $optParams);
 308      return $this->call('list', array($params), "Google_Service_Clouddebugger_ListActiveBreakpointsResponse");
 309    }
 310  
 311    /**
 312     * Updates the breakpoint state or mutable fields. The entire Breakpoint
 313     * protobuf must be sent back to the controller. Updates to active breakpoint
 314     * fields are only allowed if the new value does not change the breakpoint
 315     * specification. Updates to the 'location', 'condition' and 'expression' fields
 316     * should not alter the breakpoint semantics. They are restricted to changes
 317     * such as canonicalizing a value or snapping the location to the correct line
 318     * of code. (breakpoints.update)
 319     *
 320     * @param string $debuggeeId Identifies the debuggee being debugged.
 321     * @param string $id Breakpoint identifier, unique in the scope of the debuggee.
 322     * @param Google_UpdateActiveBreakpointRequest $postBody
 323     * @param array $optParams Optional parameters.
 324     * @return Google_Service_Clouddebugger_UpdateActiveBreakpointResponse
 325     */
 326    public function update($debuggeeId, $id, Google_Service_Clouddebugger_UpdateActiveBreakpointRequest $postBody, $optParams = array())
 327    {
 328      $params = array('debuggeeId' => $debuggeeId, 'id' => $id, 'postBody' => $postBody);
 329      $params = array_merge($params, $optParams);
 330      return $this->call('update', array($params), "Google_Service_Clouddebugger_UpdateActiveBreakpointResponse");
 331    }
 332  }
 333  
 334  /**
 335   * The "debugger" collection of methods.
 336   * Typical usage is:
 337   *  <code>
 338   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 339   *   $debugger = $clouddebuggerService->debugger;
 340   *  </code>
 341   */
 342  #[AllowDynamicProperties]
 343  class Google_Service_Clouddebugger_Debugger_Resource extends Google_Service_Resource
 344  {
 345  }
 346  
 347  /**
 348   * The "debuggees" collection of methods.
 349   * Typical usage is:
 350   *  <code>
 351   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 352   *   $debuggees = $clouddebuggerService->debuggees;
 353   *  </code>
 354   */
 355  #[AllowDynamicProperties]
 356  class Google_Service_Clouddebugger_DebuggerDebuggees_Resource extends Google_Service_Resource
 357  {
 358  
 359    /**
 360     * Lists all the debuggees that the user can set breakpoints to.
 361     * (debuggees.listDebuggerDebuggees)
 362     *
 363     * @param array $optParams Optional parameters.
 364     *
 365     * @opt_param string project Set to the project number of the Google Cloud
 366     * Platform to list the debuggees that are part of that project.
 367     * @opt_param bool includeInactive When set to true the result includes all
 368     * debuggees, otherwise only debugees that are active.
 369     * @return Google_Service_Clouddebugger_ListDebuggeesResponse
 370     */
 371    public function listDebuggerDebuggees($optParams = array())
 372    {
 373      $params = array();
 374      $params = array_merge($params, $optParams);
 375      return $this->call('list', array($params), "Google_Service_Clouddebugger_ListDebuggeesResponse");
 376    }
 377  }
 378  
 379  /**
 380   * The "breakpoints" collection of methods.
 381   * Typical usage is:
 382   *  <code>
 383   *   $clouddebuggerService = new Google_Service_Clouddebugger(...);
 384   *   $breakpoints = $clouddebuggerService->breakpoints;
 385   *  </code>
 386   */
 387  #[AllowDynamicProperties]
 388  class Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource extends Google_Service_Resource
 389  {
 390  
 391    /**
 392     * Deletes the breakpoint from the debuggee. (breakpoints.delete)
 393     *
 394     * @param string $debuggeeId The debuggee id to delete the breakpoint from.
 395     * @param string $breakpointId The breakpoint to delete.
 396     * @param array $optParams Optional parameters.
 397     * @return Google_Service_Clouddebugger_Empty
 398     */
 399    public function delete($debuggeeId, $breakpointId, $optParams = array())
 400    {
 401      $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId);
 402      $params = array_merge($params, $optParams);
 403      return $this->call('delete', array($params), "Google_Service_Clouddebugger_Empty");
 404    }
 405  
 406    /**
 407     * Gets breakpoint information. (breakpoints.get)
 408     *
 409     * @param string $debuggeeId The debuggee id to get the breakpoint from.
 410     * @param string $breakpointId The breakpoint to get.
 411     * @param array $optParams Optional parameters.
 412     * @return Google_Service_Clouddebugger_GetBreakpointResponse
 413     */
 414    public function get($debuggeeId, $breakpointId, $optParams = array())
 415    {
 416      $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId);
 417      $params = array_merge($params, $optParams);
 418      return $this->call('get', array($params), "Google_Service_Clouddebugger_GetBreakpointResponse");
 419    }
 420  
 421    /**
 422     * Lists all breakpoints of the debuggee that the user has access to.
 423     * (breakpoints.listDebuggerDebuggeesBreakpoints)
 424     *
 425     * @param string $debuggeeId The debuggee id to list breakpoint from.
 426     * @param array $optParams Optional parameters.
 427     *
 428     * @opt_param bool includeAllUsers When set to true the response includes the
 429     * list of breakpoints set by any user, otherwise only breakpoints set by the
 430     * caller.
 431     * @opt_param bool stripResults When set to true the response breakpoints will
 432     * be stripped of the results fields: stack_frames, evaluated_expressions and
 433     * variable_table.
 434     * @opt_param string action.value Only breakpoints with the specified action
 435     * will pass the filter.
 436     * @opt_param bool includeInactive When set to true the response includes active
 437     * and inactive breakpoints, otherwise only active breakpoints are returned.
 438     * @opt_param string waitToken A wait token that, if specified, blocks the call
 439     * until the breakpoints list has changed, or a server selected timeout has
 440     * expired. The value should be set from the last response to ListBreakpoints.
 441     * The error code ABORTED is returned on wait timeout, which should be called
 442     * again with the same wait_token.
 443     * @return Google_Service_Clouddebugger_ListBreakpointsResponse
 444     */
 445    public function listDebuggerDebuggeesBreakpoints($debuggeeId, $optParams = array())
 446    {
 447      $params = array('debuggeeId' => $debuggeeId);
 448      $params = array_merge($params, $optParams);
 449      return $this->call('list', array($params), "Google_Service_Clouddebugger_ListBreakpointsResponse");
 450    }
 451  
 452    /**
 453     * Sets the breakpoint to the debuggee. (breakpoints.set)
 454     *
 455     * @param string $debuggeeId The debuggee id to set the breakpoint to.
 456     * @param Google_Breakpoint $postBody
 457     * @param array $optParams Optional parameters.
 458     * @return Google_Service_Clouddebugger_SetBreakpointResponse
 459     */
 460    public function set($debuggeeId, Google_Service_Clouddebugger_Breakpoint $postBody, $optParams = array())
 461    {
 462      $params = array('debuggeeId' => $debuggeeId, 'postBody' => $postBody);
 463      $params = array_merge($params, $optParams);
 464      return $this->call('set', array($params), "Google_Service_Clouddebugger_SetBreakpointResponse");
 465    }
 466  }
 467  
 468  
 469  
 470  
 471  #[AllowDynamicProperties]
 472  class Google_Service_Clouddebugger_Breakpoint extends Google_Collection
 473  {
 474    protected $collection_key = 'variableTable';
 475    protected $internal_gapi_mappings = array(
 476    );
 477    public $action;
 478    public $condition;
 479    public $createTime;
 480    protected $evaluatedExpressionsType = 'Google_Service_Clouddebugger_Variable';
 481    protected $evaluatedExpressionsDataType = 'array';
 482    public $expressions;
 483    public $finalTime;
 484    public $id;
 485    public $isFinalState;
 486    protected $locationType = 'Google_Service_Clouddebugger_SourceLocation';
 487    protected $locationDataType = '';
 488    public $logLevel;
 489    public $logMessageFormat;
 490    protected $stackFramesType = 'Google_Service_Clouddebugger_StackFrame';
 491    protected $stackFramesDataType = 'array';
 492    protected $statusType = 'Google_Service_Clouddebugger_StatusMessage';
 493    protected $statusDataType = '';
 494    public $userEmail;
 495    protected $variableTableType = 'Google_Service_Clouddebugger_Variable';
 496    protected $variableTableDataType = 'array';
 497  
 498  
 499    public function setAction($action)
 500    {
 501      $this->action = $action;
 502    }
 503    public function getAction()
 504    {
 505      return $this->action;
 506    }
 507    public function setCondition($condition)
 508    {
 509      $this->condition = $condition;
 510    }
 511    public function getCondition()
 512    {
 513      return $this->condition;
 514    }
 515    public function setCreateTime($createTime)
 516    {
 517      $this->createTime = $createTime;
 518    }
 519    public function getCreateTime()
 520    {
 521      return $this->createTime;
 522    }
 523    public function setEvaluatedExpressions($evaluatedExpressions)
 524    {
 525      $this->evaluatedExpressions = $evaluatedExpressions;
 526    }
 527    public function getEvaluatedExpressions()
 528    {
 529      return $this->evaluatedExpressions;
 530    }
 531    public function setExpressions($expressions)
 532    {
 533      $this->expressions = $expressions;
 534    }
 535    public function getExpressions()
 536    {
 537      return $this->expressions;
 538    }
 539    public function setFinalTime($finalTime)
 540    {
 541      $this->finalTime = $finalTime;
 542    }
 543    public function getFinalTime()
 544    {
 545      return $this->finalTime;
 546    }
 547    public function setId($id)
 548    {
 549      $this->id = $id;
 550    }
 551    public function getId()
 552    {
 553      return $this->id;
 554    }
 555    public function setIsFinalState($isFinalState)
 556    {
 557      $this->isFinalState = $isFinalState;
 558    }
 559    public function getIsFinalState()
 560    {
 561      return $this->isFinalState;
 562    }
 563    public function setLocation(Google_Service_Clouddebugger_SourceLocation $location)
 564    {
 565      $this->location = $location;
 566    }
 567    public function getLocation()
 568    {
 569      return $this->location;
 570    }
 571    public function setLogLevel($logLevel)
 572    {
 573      $this->logLevel = $logLevel;
 574    }
 575    public function getLogLevel()
 576    {
 577      return $this->logLevel;
 578    }
 579    public function setLogMessageFormat($logMessageFormat)
 580    {
 581      $this->logMessageFormat = $logMessageFormat;
 582    }
 583    public function getLogMessageFormat()
 584    {
 585      return $this->logMessageFormat;
 586    }
 587    public function setStackFrames($stackFrames)
 588    {
 589      $this->stackFrames = $stackFrames;
 590    }
 591    public function getStackFrames()
 592    {
 593      return $this->stackFrames;
 594    }
 595    public function setStatus(Google_Service_Clouddebugger_StatusMessage $status)
 596    {
 597      $this->status = $status;
 598    }
 599    public function getStatus()
 600    {
 601      return $this->status;
 602    }
 603    public function setUserEmail($userEmail)
 604    {
 605      $this->userEmail = $userEmail;
 606    }
 607    public function getUserEmail()
 608    {
 609      return $this->userEmail;
 610    }
 611    public function setVariableTable($variableTable)
 612    {
 613      $this->variableTable = $variableTable;
 614    }
 615    public function getVariableTable()
 616    {
 617      return $this->variableTable;
 618    }
 619  }
 620  
 621  #[AllowDynamicProperties]
 622  class Google_Service_Clouddebugger_CloudRepoSourceContext extends Google_Model
 623  {
 624    protected $internal_gapi_mappings = array(
 625    );
 626    public $aliasName;
 627    protected $repoIdType = 'Google_Service_Clouddebugger_RepoId';
 628    protected $repoIdDataType = '';
 629    public $revisionId;
 630  
 631  
 632    public function setAliasName($aliasName)
 633    {
 634      $this->aliasName = $aliasName;
 635    }
 636    public function getAliasName()
 637    {
 638      return $this->aliasName;
 639    }
 640    public function setRepoId(Google_Service_Clouddebugger_RepoId $repoId)
 641    {
 642      $this->repoId = $repoId;
 643    }
 644    public function getRepoId()
 645    {
 646      return $this->repoId;
 647    }
 648    public function setRevisionId($revisionId)
 649    {
 650      $this->revisionId = $revisionId;
 651    }
 652    public function getRevisionId()
 653    {
 654      return $this->revisionId;
 655    }
 656  }
 657  
 658  #[AllowDynamicProperties]
 659  class Google_Service_Clouddebugger_CloudWorkspaceId extends Google_Model
 660  {
 661    protected $internal_gapi_mappings = array(
 662    );
 663    public $name;
 664    protected $repoIdType = 'Google_Service_Clouddebugger_RepoId';
 665    protected $repoIdDataType = '';
 666  
 667  
 668    public function setName($name)
 669    {
 670      $this->name = $name;
 671    }
 672    public function getName()
 673    {
 674      return $this->name;
 675    }
 676    public function setRepoId(Google_Service_Clouddebugger_RepoId $repoId)
 677    {
 678      $this->repoId = $repoId;
 679    }
 680    public function getRepoId()
 681    {
 682      return $this->repoId;
 683    }
 684  }
 685  
 686  #[AllowDynamicProperties]
 687  class Google_Service_Clouddebugger_CloudWorkspaceSourceContext extends Google_Model
 688  {
 689    protected $internal_gapi_mappings = array(
 690    );
 691    public $snapshotId;
 692    protected $workspaceIdType = 'Google_Service_Clouddebugger_CloudWorkspaceId';
 693    protected $workspaceIdDataType = '';
 694  
 695  
 696    public function setSnapshotId($snapshotId)
 697    {
 698      $this->snapshotId = $snapshotId;
 699    }
 700    public function getSnapshotId()
 701    {
 702      return $this->snapshotId;
 703    }
 704    public function setWorkspaceId(Google_Service_Clouddebugger_CloudWorkspaceId $workspaceId)
 705    {
 706      $this->workspaceId = $workspaceId;
 707    }
 708    public function getWorkspaceId()
 709    {
 710      return $this->workspaceId;
 711    }
 712  }
 713  
 714  #[AllowDynamicProperties]
 715  class Google_Service_Clouddebugger_Debuggee extends Google_Collection
 716  {
 717    protected $collection_key = 'sourceContexts';
 718    protected $internal_gapi_mappings = array(
 719    );
 720    public $agentVersion;
 721    public $description;
 722    public $id;
 723    public $isDisabled;
 724    public $isInactive;
 725    public $labels;
 726    public $project;
 727    protected $sourceContextsType = 'Google_Service_Clouddebugger_SourceContext';
 728    protected $sourceContextsDataType = 'array';
 729    protected $statusType = 'Google_Service_Clouddebugger_StatusMessage';
 730    protected $statusDataType = '';
 731    public $uniquifier;
 732  
 733  
 734    public function setAgentVersion($agentVersion)
 735    {
 736      $this->agentVersion = $agentVersion;
 737    }
 738    public function getAgentVersion()
 739    {
 740      return $this->agentVersion;
 741    }
 742    public function setDescription($description)
 743    {
 744      $this->description = $description;
 745    }
 746    public function getDescription()
 747    {
 748      return $this->description;
 749    }
 750    public function setId($id)
 751    {
 752      $this->id = $id;
 753    }
 754    public function getId()
 755    {
 756      return $this->id;
 757    }
 758    public function setIsDisabled($isDisabled)
 759    {
 760      $this->isDisabled = $isDisabled;
 761    }
 762    public function getIsDisabled()
 763    {
 764      return $this->isDisabled;
 765    }
 766    public function setIsInactive($isInactive)
 767    {
 768      $this->isInactive = $isInactive;
 769    }
 770    public function getIsInactive()
 771    {
 772      return $this->isInactive;
 773    }
 774    public function setLabels($labels)
 775    {
 776      $this->labels = $labels;
 777    }
 778    public function getLabels()
 779    {
 780      return $this->labels;
 781    }
 782    public function setProject($project)
 783    {
 784      $this->project = $project;
 785    }
 786    public function getProject()
 787    {
 788      return $this->project;
 789    }
 790    public function setSourceContexts($sourceContexts)
 791    {
 792      $this->sourceContexts = $sourceContexts;
 793    }
 794    public function getSourceContexts()
 795    {
 796      return $this->sourceContexts;
 797    }
 798    public function setStatus(Google_Service_Clouddebugger_StatusMessage $status)
 799    {
 800      $this->status = $status;
 801    }
 802    public function getStatus()
 803    {
 804      return $this->status;
 805    }
 806    public function setUniquifier($uniquifier)
 807    {
 808      $this->uniquifier = $uniquifier;
 809    }
 810    public function getUniquifier()
 811    {
 812      return $this->uniquifier;
 813    }
 814  }
 815  
 816  #[AllowDynamicProperties]
 817  class Google_Service_Clouddebugger_DebuggeeLabels extends Google_Model
 818  {
 819  }
 820  
 821  #[AllowDynamicProperties]
 822  class Google_Service_Clouddebugger_Empty extends Google_Model
 823  {
 824  }
 825  
 826  #[AllowDynamicProperties]
 827  class Google_Service_Clouddebugger_FormatMessage extends Google_Collection
 828  {
 829    protected $collection_key = 'parameters';
 830    protected $internal_gapi_mappings = array(
 831    );
 832    public $format;
 833    public $parameters;
 834  
 835  
 836    public function setFormat($format)
 837    {
 838      $this->format = $format;
 839    }
 840    public function getFormat()
 841    {
 842      return $this->format;
 843    }
 844    public function setParameters($parameters)
 845    {
 846      $this->parameters = $parameters;
 847    }
 848    public function getParameters()
 849    {
 850      return $this->parameters;
 851    }
 852  }
 853  
 854  #[AllowDynamicProperties]
 855  class Google_Service_Clouddebugger_GerritSourceContext extends Google_Model
 856  {
 857    protected $internal_gapi_mappings = array(
 858    );
 859    public $aliasName;
 860    public $gerritProject;
 861    public $hostUri;
 862    public $revisionId;
 863  
 864  
 865    public function setAliasName($aliasName)
 866    {
 867      $this->aliasName = $aliasName;
 868    }
 869    public function getAliasName()
 870    {
 871      return $this->aliasName;
 872    }
 873    public function setGerritProject($gerritProject)
 874    {
 875      $this->gerritProject = $gerritProject;
 876    }
 877    public function getGerritProject()
 878    {
 879      return $this->gerritProject;
 880    }
 881    public function setHostUri($hostUri)
 882    {
 883      $this->hostUri = $hostUri;
 884    }
 885    public function getHostUri()
 886    {
 887      return $this->hostUri;
 888    }
 889    public function setRevisionId($revisionId)
 890    {
 891      $this->revisionId = $revisionId;
 892    }
 893    public function getRevisionId()
 894    {
 895      return $this->revisionId;
 896    }
 897  }
 898  
 899  #[AllowDynamicProperties]
 900  class Google_Service_Clouddebugger_GetBreakpointResponse extends Google_Model
 901  {
 902    protected $internal_gapi_mappings = array(
 903    );
 904    protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint';
 905    protected $breakpointDataType = '';
 906  
 907  
 908    public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)
 909    {
 910      $this->breakpoint = $breakpoint;
 911    }
 912    public function getBreakpoint()
 913    {
 914      return $this->breakpoint;
 915    }
 916  }
 917  
 918  #[AllowDynamicProperties]
 919  class Google_Service_Clouddebugger_GitSourceContext extends Google_Model
 920  {
 921    protected $internal_gapi_mappings = array(
 922    );
 923    public $revisionId;
 924    public $url;
 925  
 926  
 927    public function setRevisionId($revisionId)
 928    {
 929      $this->revisionId = $revisionId;
 930    }
 931    public function getRevisionId()
 932    {
 933      return $this->revisionId;
 934    }
 935    public function setUrl($url)
 936    {
 937      $this->url = $url;
 938    }
 939    public function getUrl()
 940    {
 941      return $this->url;
 942    }
 943  }
 944  
 945  #[AllowDynamicProperties]
 946  class Google_Service_Clouddebugger_ListActiveBreakpointsResponse extends Google_Collection
 947  {
 948    protected $collection_key = 'breakpoints';
 949    protected $internal_gapi_mappings = array(
 950    );
 951    protected $breakpointsType = 'Google_Service_Clouddebugger_Breakpoint';
 952    protected $breakpointsDataType = 'array';
 953    public $nextWaitToken;
 954  
 955  
 956    public function setBreakpoints($breakpoints)
 957    {
 958      $this->breakpoints = $breakpoints;
 959    }
 960    public function getBreakpoints()
 961    {
 962      return $this->breakpoints;
 963    }
 964    public function setNextWaitToken($nextWaitToken)
 965    {
 966      $this->nextWaitToken = $nextWaitToken;
 967    }
 968    public function getNextWaitToken()
 969    {
 970      return $this->nextWaitToken;
 971    }
 972  }
 973  
 974  #[AllowDynamicProperties]
 975  class Google_Service_Clouddebugger_ListBreakpointsResponse extends Google_Collection
 976  {
 977    protected $collection_key = 'breakpoints';
 978    protected $internal_gapi_mappings = array(
 979    );
 980    protected $breakpointsType = 'Google_Service_Clouddebugger_Breakpoint';
 981    protected $breakpointsDataType = 'array';
 982    public $nextWaitToken;
 983  
 984  
 985    public function setBreakpoints($breakpoints)
 986    {
 987      $this->breakpoints = $breakpoints;
 988    }
 989    public function getBreakpoints()
 990    {
 991      return $this->breakpoints;
 992    }
 993    public function setNextWaitToken($nextWaitToken)
 994    {
 995      $this->nextWaitToken = $nextWaitToken;
 996    }
 997    public function getNextWaitToken()
 998    {
 999      return $this->nextWaitToken;
1000    }
1001  }
1002  
1003  #[AllowDynamicProperties]
1004  class Google_Service_Clouddebugger_ListDebuggeesResponse extends Google_Collection
1005  {
1006    protected $collection_key = 'debuggees';
1007    protected $internal_gapi_mappings = array(
1008    );
1009    protected $debuggeesType = 'Google_Service_Clouddebugger_Debuggee';
1010    protected $debuggeesDataType = 'array';
1011  
1012  
1013    public function setDebuggees($debuggees)
1014    {
1015      $this->debuggees = $debuggees;
1016    }
1017    public function getDebuggees()
1018    {
1019      return $this->debuggees;
1020    }
1021  }
1022  
1023  #[AllowDynamicProperties]
1024  class Google_Service_Clouddebugger_ProjectRepoId extends Google_Model
1025  {
1026    protected $internal_gapi_mappings = array(
1027    );
1028    public $projectId;
1029    public $repoName;
1030  
1031  
1032    public function setProjectId($projectId)
1033    {
1034      $this->projectId = $projectId;
1035    }
1036    public function getProjectId()
1037    {
1038      return $this->projectId;
1039    }
1040    public function setRepoName($repoName)
1041    {
1042      $this->repoName = $repoName;
1043    }
1044    public function getRepoName()
1045    {
1046      return $this->repoName;
1047    }
1048  }
1049  
1050  #[AllowDynamicProperties]
1051  class Google_Service_Clouddebugger_RegisterDebuggeeRequest extends Google_Model
1052  {
1053    protected $internal_gapi_mappings = array(
1054    );
1055    protected $debuggeeType = 'Google_Service_Clouddebugger_Debuggee';
1056    protected $debuggeeDataType = '';
1057  
1058  
1059    public function setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee)
1060    {
1061      $this->debuggee = $debuggee;
1062    }
1063    public function getDebuggee()
1064    {
1065      return $this->debuggee;
1066    }
1067  }
1068  
1069  #[AllowDynamicProperties]
1070  class Google_Service_Clouddebugger_RegisterDebuggeeResponse extends Google_Model
1071  {
1072    protected $internal_gapi_mappings = array(
1073    );
1074    protected $debuggeeType = 'Google_Service_Clouddebugger_Debuggee';
1075    protected $debuggeeDataType = '';
1076  
1077  
1078    public function setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee)
1079    {
1080      $this->debuggee = $debuggee;
1081    }
1082    public function getDebuggee()
1083    {
1084      return $this->debuggee;
1085    }
1086  }
1087  
1088  #[AllowDynamicProperties]
1089  class Google_Service_Clouddebugger_RepoId extends Google_Model
1090  {
1091    protected $internal_gapi_mappings = array(
1092    );
1093    protected $projectRepoIdType = 'Google_Service_Clouddebugger_ProjectRepoId';
1094    protected $projectRepoIdDataType = '';
1095    public $uid;
1096  
1097  
1098    public function setProjectRepoId(Google_Service_Clouddebugger_ProjectRepoId $projectRepoId)
1099    {
1100      $this->projectRepoId = $projectRepoId;
1101    }
1102    public function getProjectRepoId()
1103    {
1104      return $this->projectRepoId;
1105    }
1106    public function setUid($uid)
1107    {
1108      $this->uid = $uid;
1109    }
1110    public function getUid()
1111    {
1112      return $this->uid;
1113    }
1114  }
1115  
1116  #[AllowDynamicProperties]
1117  class Google_Service_Clouddebugger_SetBreakpointResponse extends Google_Model
1118  {
1119    protected $internal_gapi_mappings = array(
1120    );
1121    protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint';
1122    protected $breakpointDataType = '';
1123  
1124  
1125    public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)
1126    {
1127      $this->breakpoint = $breakpoint;
1128    }
1129    public function getBreakpoint()
1130    {
1131      return $this->breakpoint;
1132    }
1133  }
1134  
1135  #[AllowDynamicProperties]
1136  class Google_Service_Clouddebugger_SourceContext extends Google_Model
1137  {
1138    protected $internal_gapi_mappings = array(
1139    );
1140    protected $cloudRepoType = 'Google_Service_Clouddebugger_CloudRepoSourceContext';
1141    protected $cloudRepoDataType = '';
1142    protected $cloudWorkspaceType = 'Google_Service_Clouddebugger_CloudWorkspaceSourceContext';
1143    protected $cloudWorkspaceDataType = '';
1144    protected $gerritType = 'Google_Service_Clouddebugger_GerritSourceContext';
1145    protected $gerritDataType = '';
1146    protected $gitType = 'Google_Service_Clouddebugger_GitSourceContext';
1147    protected $gitDataType = '';
1148  
1149  
1150    public function setCloudRepo(Google_Service_Clouddebugger_CloudRepoSourceContext $cloudRepo)
1151    {
1152      $this->cloudRepo = $cloudRepo;
1153    }
1154    public function getCloudRepo()
1155    {
1156      return $this->cloudRepo;
1157    }
1158    public function setCloudWorkspace(Google_Service_Clouddebugger_CloudWorkspaceSourceContext $cloudWorkspace)
1159    {
1160      $this->cloudWorkspace = $cloudWorkspace;
1161    }
1162    public function getCloudWorkspace()
1163    {
1164      return $this->cloudWorkspace;
1165    }
1166    public function setGerrit(Google_Service_Clouddebugger_GerritSourceContext $gerrit)
1167    {
1168      $this->gerrit = $gerrit;
1169    }
1170    public function getGerrit()
1171    {
1172      return $this->gerrit;
1173    }
1174    public function setGit(Google_Service_Clouddebugger_GitSourceContext $git)
1175    {
1176      $this->git = $git;
1177    }
1178    public function getGit()
1179    {
1180      return $this->git;
1181    }
1182  }
1183  
1184  #[AllowDynamicProperties]
1185  class Google_Service_Clouddebugger_SourceLocation extends Google_Model
1186  {
1187    protected $internal_gapi_mappings = array(
1188    );
1189    public $line;
1190    public $path;
1191  
1192  
1193    public function setLine($line)
1194    {
1195      $this->line = $line;
1196    }
1197    public function getLine()
1198    {
1199      return $this->line;
1200    }
1201    public function setPath($path)
1202    {
1203      $this->path = $path;
1204    }
1205    public function getPath()
1206    {
1207      return $this->path;
1208    }
1209  }
1210  
1211  #[AllowDynamicProperties]
1212  class Google_Service_Clouddebugger_StackFrame extends Google_Collection
1213  {
1214    protected $collection_key = 'locals';
1215    protected $internal_gapi_mappings = array(
1216    );
1217    protected $argumentsType = 'Google_Service_Clouddebugger_Variable';
1218    protected $argumentsDataType = 'array';
1219    public $function;
1220    protected $localsType = 'Google_Service_Clouddebugger_Variable';
1221    protected $localsDataType = 'array';
1222    protected $locationType = 'Google_Service_Clouddebugger_SourceLocation';
1223    protected $locationDataType = '';
1224  
1225  
1226    public function setArguments($arguments)
1227    {
1228      $this->arguments = $arguments;
1229    }
1230    public function getArguments()
1231    {
1232      return $this->arguments;
1233    }
1234    public function setFunction($function)
1235    {
1236      $this->function = $function;
1237    }
1238    public function getFunction()
1239    {
1240      return $this->function;
1241    }
1242    public function setLocals($locals)
1243    {
1244      $this->locals = $locals;
1245    }
1246    public function getLocals()
1247    {
1248      return $this->locals;
1249    }
1250    public function setLocation(Google_Service_Clouddebugger_SourceLocation $location)
1251    {
1252      $this->location = $location;
1253    }
1254    public function getLocation()
1255    {
1256      return $this->location;
1257    }
1258  }
1259  
1260  #[AllowDynamicProperties]
1261  class Google_Service_Clouddebugger_StatusMessage extends Google_Model
1262  {
1263    protected $internal_gapi_mappings = array(
1264    );
1265    protected $descriptionType = 'Google_Service_Clouddebugger_FormatMessage';
1266    protected $descriptionDataType = '';
1267    public $isError;
1268    public $refersTo;
1269  
1270  
1271    public function setDescription(Google_Service_Clouddebugger_FormatMessage $description)
1272    {
1273      $this->description = $description;
1274    }
1275    public function getDescription()
1276    {
1277      return $this->description;
1278    }
1279    public function setIsError($isError)
1280    {
1281      $this->isError = $isError;
1282    }
1283    public function getIsError()
1284    {
1285      return $this->isError;
1286    }
1287    public function setRefersTo($refersTo)
1288    {
1289      $this->refersTo = $refersTo;
1290    }
1291    public function getRefersTo()
1292    {
1293      return $this->refersTo;
1294    }
1295  }
1296  
1297  #[AllowDynamicProperties]
1298  class Google_Service_Clouddebugger_UpdateActiveBreakpointRequest extends Google_Model
1299  {
1300    protected $internal_gapi_mappings = array(
1301    );
1302    protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint';
1303    protected $breakpointDataType = '';
1304  
1305  
1306    public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)
1307    {
1308      $this->breakpoint = $breakpoint;
1309    }
1310    public function getBreakpoint()
1311    {
1312      return $this->breakpoint;
1313    }
1314  }
1315  
1316  #[AllowDynamicProperties]
1317  class Google_Service_Clouddebugger_UpdateActiveBreakpointResponse extends Google_Model
1318  {
1319  }
1320  
1321  #[AllowDynamicProperties]
1322  class Google_Service_Clouddebugger_Variable extends Google_Collection
1323  {
1324    protected $collection_key = 'members';
1325    protected $internal_gapi_mappings = array(
1326    );
1327    protected $membersType = 'Google_Service_Clouddebugger_Variable';
1328    protected $membersDataType = 'array';
1329    public $name;
1330    protected $statusType = 'Google_Service_Clouddebugger_StatusMessage';
1331    protected $statusDataType = '';
1332    public $value;
1333    public $varTableIndex;
1334  
1335  
1336    public function setMembers($members)
1337    {
1338      $this->members = $members;
1339    }
1340    public function getMembers()
1341    {
1342      return $this->members;
1343    }
1344    public function setName($name)
1345    {
1346      $this->name = $name;
1347    }
1348    public function getName()
1349    {
1350      return $this->name;
1351    }
1352    public function setStatus(Google_Service_Clouddebugger_StatusMessage $status)
1353    {
1354      $this->status = $status;
1355    }
1356    public function getStatus()
1357    {
1358      return $this->status;
1359    }
1360    public function setValue($value)
1361    {
1362      $this->value = $value;
1363    }
1364    public function getValue()
1365    {
1366      return $this->value;
1367    }
1368    public function setVarTableIndex($varTableIndex)
1369    {
1370      $this->varTableIndex = $varTableIndex;
1371    }
1372    public function getVarTableIndex()
1373    {
1374      return $this->varTableIndex;
1375    }
1376  }