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\RemoteBuildExecution;
19
20class GoogleDevtoolsRemoteworkersV1test2CommandResult extends \Google\Collection
21{
22  protected $collection_key = 'metadata';
23  public $duration;
24  public $exitCode;
25  public $metadata;
26  protected $outputsType = GoogleDevtoolsRemoteworkersV1test2Digest::class;
27  protected $outputsDataType = '';
28  public $overhead;
29  protected $statusType = GoogleRpcStatus::class;
30  protected $statusDataType = '';
31
32  public function setDuration($duration)
33  {
34    $this->duration = $duration;
35  }
36  public function getDuration()
37  {
38    return $this->duration;
39  }
40  public function setExitCode($exitCode)
41  {
42    $this->exitCode = $exitCode;
43  }
44  public function getExitCode()
45  {
46    return $this->exitCode;
47  }
48  public function setMetadata($metadata)
49  {
50    $this->metadata = $metadata;
51  }
52  public function getMetadata()
53  {
54    return $this->metadata;
55  }
56  /**
57   * @param GoogleDevtoolsRemoteworkersV1test2Digest
58   */
59  public function setOutputs(GoogleDevtoolsRemoteworkersV1test2Digest $outputs)
60  {
61    $this->outputs = $outputs;
62  }
63  /**
64   * @return GoogleDevtoolsRemoteworkersV1test2Digest
65   */
66  public function getOutputs()
67  {
68    return $this->outputs;
69  }
70  public function setOverhead($overhead)
71  {
72    $this->overhead = $overhead;
73  }
74  public function getOverhead()
75  {
76    return $this->overhead;
77  }
78  /**
79   * @param GoogleRpcStatus
80   */
81  public function setStatus(GoogleRpcStatus $status)
82  {
83    $this->status = $status;
84  }
85  /**
86   * @return GoogleRpcStatus
87   */
88  public function getStatus()
89  {
90    return $this->status;
91  }
92}
93
94// Adding a class alias for backwards compatibility with the previous class name.
95class_alias(GoogleDevtoolsRemoteworkersV1test2CommandResult::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult');
96