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_GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig extends Google_Model
19{
20  protected $acceleratorType = 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig';
21  protected $acceleratorDataType = '';
22  public $diskSizeGb;
23  public $diskType;
24  public $labels;
25  public $machineType;
26  public $maxConcurrentActions;
27  public $minCpuPlatform;
28  public $networkAccess;
29  public $reserved;
30  public $soleTenantNodeType;
31  public $vmImage;
32
33  /**
34   * @param Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
35   */
36  public function setAccelerator(Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig $accelerator)
37  {
38    $this->accelerator = $accelerator;
39  }
40  /**
41   * @return Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
42   */
43  public function getAccelerator()
44  {
45    return $this->accelerator;
46  }
47  public function setDiskSizeGb($diskSizeGb)
48  {
49    $this->diskSizeGb = $diskSizeGb;
50  }
51  public function getDiskSizeGb()
52  {
53    return $this->diskSizeGb;
54  }
55  public function setDiskType($diskType)
56  {
57    $this->diskType = $diskType;
58  }
59  public function getDiskType()
60  {
61    return $this->diskType;
62  }
63  public function setLabels($labels)
64  {
65    $this->labels = $labels;
66  }
67  public function getLabels()
68  {
69    return $this->labels;
70  }
71  public function setMachineType($machineType)
72  {
73    $this->machineType = $machineType;
74  }
75  public function getMachineType()
76  {
77    return $this->machineType;
78  }
79  public function setMaxConcurrentActions($maxConcurrentActions)
80  {
81    $this->maxConcurrentActions = $maxConcurrentActions;
82  }
83  public function getMaxConcurrentActions()
84  {
85    return $this->maxConcurrentActions;
86  }
87  public function setMinCpuPlatform($minCpuPlatform)
88  {
89    $this->minCpuPlatform = $minCpuPlatform;
90  }
91  public function getMinCpuPlatform()
92  {
93    return $this->minCpuPlatform;
94  }
95  public function setNetworkAccess($networkAccess)
96  {
97    $this->networkAccess = $networkAccess;
98  }
99  public function getNetworkAccess()
100  {
101    return $this->networkAccess;
102  }
103  public function setReserved($reserved)
104  {
105    $this->reserved = $reserved;
106  }
107  public function getReserved()
108  {
109    return $this->reserved;
110  }
111  public function setSoleTenantNodeType($soleTenantNodeType)
112  {
113    $this->soleTenantNodeType = $soleTenantNodeType;
114  }
115  public function getSoleTenantNodeType()
116  {
117    return $this->soleTenantNodeType;
118  }
119  public function setVmImage($vmImage)
120  {
121    $this->vmImage = $vmImage;
122  }
123  public function getVmImage()
124  {
125    return $this->vmImage;
126  }
127}
128