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 BuildBazelRemoteExecutionV2Command extends \Google\Collection 21{ 22 protected $collection_key = 'outputPaths'; 23 public $arguments; 24 protected $environmentVariablesType = BuildBazelRemoteExecutionV2CommandEnvironmentVariable::class; 25 protected $environmentVariablesDataType = 'array'; 26 public $outputDirectories; 27 public $outputFiles; 28 public $outputNodeProperties; 29 public $outputPaths; 30 protected $platformType = BuildBazelRemoteExecutionV2Platform::class; 31 protected $platformDataType = ''; 32 public $workingDirectory; 33 34 public function setArguments($arguments) 35 { 36 $this->arguments = $arguments; 37 } 38 public function getArguments() 39 { 40 return $this->arguments; 41 } 42 /** 43 * @param BuildBazelRemoteExecutionV2CommandEnvironmentVariable[] 44 */ 45 public function setEnvironmentVariables($environmentVariables) 46 { 47 $this->environmentVariables = $environmentVariables; 48 } 49 /** 50 * @return BuildBazelRemoteExecutionV2CommandEnvironmentVariable[] 51 */ 52 public function getEnvironmentVariables() 53 { 54 return $this->environmentVariables; 55 } 56 public function setOutputDirectories($outputDirectories) 57 { 58 $this->outputDirectories = $outputDirectories; 59 } 60 public function getOutputDirectories() 61 { 62 return $this->outputDirectories; 63 } 64 public function setOutputFiles($outputFiles) 65 { 66 $this->outputFiles = $outputFiles; 67 } 68 public function getOutputFiles() 69 { 70 return $this->outputFiles; 71 } 72 public function setOutputNodeProperties($outputNodeProperties) 73 { 74 $this->outputNodeProperties = $outputNodeProperties; 75 } 76 public function getOutputNodeProperties() 77 { 78 return $this->outputNodeProperties; 79 } 80 public function setOutputPaths($outputPaths) 81 { 82 $this->outputPaths = $outputPaths; 83 } 84 public function getOutputPaths() 85 { 86 return $this->outputPaths; 87 } 88 /** 89 * @param BuildBazelRemoteExecutionV2Platform 90 */ 91 public function setPlatform(BuildBazelRemoteExecutionV2Platform $platform) 92 { 93 $this->platform = $platform; 94 } 95 /** 96 * @return BuildBazelRemoteExecutionV2Platform 97 */ 98 public function getPlatform() 99 { 100 return $this->platform; 101 } 102 public function setWorkingDirectory($workingDirectory) 103 { 104 $this->workingDirectory = $workingDirectory; 105 } 106 public function getWorkingDirectory() 107 { 108 return $this->workingDirectory; 109 } 110} 111 112// Adding a class alias for backwards compatibility with the previous class name. 113class_alias(BuildBazelRemoteExecutionV2Command::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Command'); 114