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 BuildBazelRemoteExecutionV2ExecuteResponse extends \Google\Model
21{
22  public $cachedResult;
23  public $message;
24  protected $resultType = BuildBazelRemoteExecutionV2ActionResult::class;
25  protected $resultDataType = '';
26  protected $serverLogsType = BuildBazelRemoteExecutionV2LogFile::class;
27  protected $serverLogsDataType = 'map';
28  protected $statusType = GoogleRpcStatus::class;
29  protected $statusDataType = '';
30
31  public function setCachedResult($cachedResult)
32  {
33    $this->cachedResult = $cachedResult;
34  }
35  public function getCachedResult()
36  {
37    return $this->cachedResult;
38  }
39  public function setMessage($message)
40  {
41    $this->message = $message;
42  }
43  public function getMessage()
44  {
45    return $this->message;
46  }
47  /**
48   * @param BuildBazelRemoteExecutionV2ActionResult
49   */
50  public function setResult(BuildBazelRemoteExecutionV2ActionResult $result)
51  {
52    $this->result = $result;
53  }
54  /**
55   * @return BuildBazelRemoteExecutionV2ActionResult
56   */
57  public function getResult()
58  {
59    return $this->result;
60  }
61  /**
62   * @param BuildBazelRemoteExecutionV2LogFile[]
63   */
64  public function setServerLogs($serverLogs)
65  {
66    $this->serverLogs = $serverLogs;
67  }
68  /**
69   * @return BuildBazelRemoteExecutionV2LogFile[]
70   */
71  public function getServerLogs()
72  {
73    return $this->serverLogs;
74  }
75  /**
76   * @param GoogleRpcStatus
77   */
78  public function setStatus(GoogleRpcStatus $status)
79  {
80    $this->status = $status;
81  }
82  /**
83   * @return GoogleRpcStatus
84   */
85  public function getStatus()
86  {
87    return $this->status;
88  }
89}
90
91// Adding a class alias for backwards compatibility with the previous class name.
92class_alias(BuildBazelRemoteExecutionV2ExecuteResponse::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteResponse');
93