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 BuildBazelRemoteExecutionV2ActionResult extends \Google\Collection
21{
22  protected $collection_key = 'outputSymlinks';
23  protected $executionMetadataType = BuildBazelRemoteExecutionV2ExecutedActionMetadata::class;
24  protected $executionMetadataDataType = '';
25  public $exitCode;
26  protected $outputDirectoriesType = BuildBazelRemoteExecutionV2OutputDirectory::class;
27  protected $outputDirectoriesDataType = 'array';
28  protected $outputDirectorySymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
29  protected $outputDirectorySymlinksDataType = 'array';
30  protected $outputFileSymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
31  protected $outputFileSymlinksDataType = 'array';
32  protected $outputFilesType = BuildBazelRemoteExecutionV2OutputFile::class;
33  protected $outputFilesDataType = 'array';
34  protected $outputSymlinksType = BuildBazelRemoteExecutionV2OutputSymlink::class;
35  protected $outputSymlinksDataType = 'array';
36  protected $stderrDigestType = BuildBazelRemoteExecutionV2Digest::class;
37  protected $stderrDigestDataType = '';
38  public $stderrRaw;
39  protected $stdoutDigestType = BuildBazelRemoteExecutionV2Digest::class;
40  protected $stdoutDigestDataType = '';
41  public $stdoutRaw;
42
43  /**
44   * @param BuildBazelRemoteExecutionV2ExecutedActionMetadata
45   */
46  public function setExecutionMetadata(BuildBazelRemoteExecutionV2ExecutedActionMetadata $executionMetadata)
47  {
48    $this->executionMetadata = $executionMetadata;
49  }
50  /**
51   * @return BuildBazelRemoteExecutionV2ExecutedActionMetadata
52   */
53  public function getExecutionMetadata()
54  {
55    return $this->executionMetadata;
56  }
57  public function setExitCode($exitCode)
58  {
59    $this->exitCode = $exitCode;
60  }
61  public function getExitCode()
62  {
63    return $this->exitCode;
64  }
65  /**
66   * @param BuildBazelRemoteExecutionV2OutputDirectory[]
67   */
68  public function setOutputDirectories($outputDirectories)
69  {
70    $this->outputDirectories = $outputDirectories;
71  }
72  /**
73   * @return BuildBazelRemoteExecutionV2OutputDirectory[]
74   */
75  public function getOutputDirectories()
76  {
77    return $this->outputDirectories;
78  }
79  /**
80   * @param BuildBazelRemoteExecutionV2OutputSymlink[]
81   */
82  public function setOutputDirectorySymlinks($outputDirectorySymlinks)
83  {
84    $this->outputDirectorySymlinks = $outputDirectorySymlinks;
85  }
86  /**
87   * @return BuildBazelRemoteExecutionV2OutputSymlink[]
88   */
89  public function getOutputDirectorySymlinks()
90  {
91    return $this->outputDirectorySymlinks;
92  }
93  /**
94   * @param BuildBazelRemoteExecutionV2OutputSymlink[]
95   */
96  public function setOutputFileSymlinks($outputFileSymlinks)
97  {
98    $this->outputFileSymlinks = $outputFileSymlinks;
99  }
100  /**
101   * @return BuildBazelRemoteExecutionV2OutputSymlink[]
102   */
103  public function getOutputFileSymlinks()
104  {
105    return $this->outputFileSymlinks;
106  }
107  /**
108   * @param BuildBazelRemoteExecutionV2OutputFile[]
109   */
110  public function setOutputFiles($outputFiles)
111  {
112    $this->outputFiles = $outputFiles;
113  }
114  /**
115   * @return BuildBazelRemoteExecutionV2OutputFile[]
116   */
117  public function getOutputFiles()
118  {
119    return $this->outputFiles;
120  }
121  /**
122   * @param BuildBazelRemoteExecutionV2OutputSymlink[]
123   */
124  public function setOutputSymlinks($outputSymlinks)
125  {
126    $this->outputSymlinks = $outputSymlinks;
127  }
128  /**
129   * @return BuildBazelRemoteExecutionV2OutputSymlink[]
130   */
131  public function getOutputSymlinks()
132  {
133    return $this->outputSymlinks;
134  }
135  /**
136   * @param BuildBazelRemoteExecutionV2Digest
137   */
138  public function setStderrDigest(BuildBazelRemoteExecutionV2Digest $stderrDigest)
139  {
140    $this->stderrDigest = $stderrDigest;
141  }
142  /**
143   * @return BuildBazelRemoteExecutionV2Digest
144   */
145  public function getStderrDigest()
146  {
147    return $this->stderrDigest;
148  }
149  public function setStderrRaw($stderrRaw)
150  {
151    $this->stderrRaw = $stderrRaw;
152  }
153  public function getStderrRaw()
154  {
155    return $this->stderrRaw;
156  }
157  /**
158   * @param BuildBazelRemoteExecutionV2Digest
159   */
160  public function setStdoutDigest(BuildBazelRemoteExecutionV2Digest $stdoutDigest)
161  {
162    $this->stdoutDigest = $stdoutDigest;
163  }
164  /**
165   * @return BuildBazelRemoteExecutionV2Digest
166   */
167  public function getStdoutDigest()
168  {
169    return $this->stdoutDigest;
170  }
171  public function setStdoutRaw($stdoutRaw)
172  {
173    $this->stdoutRaw = $stdoutRaw;
174  }
175  public function getStdoutRaw()
176  {
177    return $this->stdoutRaw;
178  }
179}
180
181// Adding a class alias for backwards compatibility with the previous class name.
182class_alias(BuildBazelRemoteExecutionV2ActionResult::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2ActionResult');
183