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 GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool extends \Google\Model 21{ 22 protected $autoscaleType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale::class; 23 protected $autoscaleDataType = ''; 24 public $channel; 25 public $name; 26 public $state; 27 protected $workerConfigType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::class; 28 protected $workerConfigDataType = ''; 29 public $workerCount; 30 31 /** 32 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale 33 */ 34 public function setAutoscale(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale $autoscale) 35 { 36 $this->autoscale = $autoscale; 37 } 38 /** 39 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale 40 */ 41 public function getAutoscale() 42 { 43 return $this->autoscale; 44 } 45 public function setChannel($channel) 46 { 47 $this->channel = $channel; 48 } 49 public function getChannel() 50 { 51 return $this->channel; 52 } 53 public function setName($name) 54 { 55 $this->name = $name; 56 } 57 public function getName() 58 { 59 return $this->name; 60 } 61 public function setState($state) 62 { 63 $this->state = $state; 64 } 65 public function getState() 66 { 67 return $this->state; 68 } 69 /** 70 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig 71 */ 72 public function setWorkerConfig(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig $workerConfig) 73 { 74 $this->workerConfig = $workerConfig; 75 } 76 /** 77 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig 78 */ 79 public function getWorkerConfig() 80 { 81 return $this->workerConfig; 82 } 83 public function setWorkerCount($workerCount) 84 { 85 $this->workerCount = $workerCount; 86 } 87 public function getWorkerCount() 88 { 89 return $this->workerCount; 90 } 91} 92 93// Adding a class alias for backwards compatibility with the previous class name. 94class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool'); 95