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