Bez popisu

Node.php 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. class Google_Service_TPU_Node extends Google_Collection
  18. {
  19. protected $collection_key = 'networkEndpoints';
  20. public $acceleratorType;
  21. public $cidrBlock;
  22. public $createTime;
  23. public $description;
  24. public $health;
  25. public $healthDescription;
  26. public $ipAddress;
  27. public $labels;
  28. public $name;
  29. public $network;
  30. protected $networkEndpointsType = 'Google_Service_TPU_NetworkEndpoint';
  31. protected $networkEndpointsDataType = 'array';
  32. public $port;
  33. protected $schedulingConfigType = 'Google_Service_TPU_SchedulingConfig';
  34. protected $schedulingConfigDataType = '';
  35. public $serviceAccount;
  36. public $state;
  37. public $tensorflowVersion;
  38. public function setAcceleratorType($acceleratorType)
  39. {
  40. $this->acceleratorType = $acceleratorType;
  41. }
  42. public function getAcceleratorType()
  43. {
  44. return $this->acceleratorType;
  45. }
  46. public function setCidrBlock($cidrBlock)
  47. {
  48. $this->cidrBlock = $cidrBlock;
  49. }
  50. public function getCidrBlock()
  51. {
  52. return $this->cidrBlock;
  53. }
  54. public function setCreateTime($createTime)
  55. {
  56. $this->createTime = $createTime;
  57. }
  58. public function getCreateTime()
  59. {
  60. return $this->createTime;
  61. }
  62. public function setDescription($description)
  63. {
  64. $this->description = $description;
  65. }
  66. public function getDescription()
  67. {
  68. return $this->description;
  69. }
  70. public function setHealth($health)
  71. {
  72. $this->health = $health;
  73. }
  74. public function getHealth()
  75. {
  76. return $this->health;
  77. }
  78. public function setHealthDescription($healthDescription)
  79. {
  80. $this->healthDescription = $healthDescription;
  81. }
  82. public function getHealthDescription()
  83. {
  84. return $this->healthDescription;
  85. }
  86. public function setIpAddress($ipAddress)
  87. {
  88. $this->ipAddress = $ipAddress;
  89. }
  90. public function getIpAddress()
  91. {
  92. return $this->ipAddress;
  93. }
  94. public function setLabels($labels)
  95. {
  96. $this->labels = $labels;
  97. }
  98. public function getLabels()
  99. {
  100. return $this->labels;
  101. }
  102. public function setName($name)
  103. {
  104. $this->name = $name;
  105. }
  106. public function getName()
  107. {
  108. return $this->name;
  109. }
  110. public function setNetwork($network)
  111. {
  112. $this->network = $network;
  113. }
  114. public function getNetwork()
  115. {
  116. return $this->network;
  117. }
  118. /**
  119. * @param Google_Service_TPU_NetworkEndpoint
  120. */
  121. public function setNetworkEndpoints($networkEndpoints)
  122. {
  123. $this->networkEndpoints = $networkEndpoints;
  124. }
  125. /**
  126. * @return Google_Service_TPU_NetworkEndpoint
  127. */
  128. public function getNetworkEndpoints()
  129. {
  130. return $this->networkEndpoints;
  131. }
  132. public function setPort($port)
  133. {
  134. $this->port = $port;
  135. }
  136. public function getPort()
  137. {
  138. return $this->port;
  139. }
  140. /**
  141. * @param Google_Service_TPU_SchedulingConfig
  142. */
  143. public function setSchedulingConfig(Google_Service_TPU_SchedulingConfig $schedulingConfig)
  144. {
  145. $this->schedulingConfig = $schedulingConfig;
  146. }
  147. /**
  148. * @return Google_Service_TPU_SchedulingConfig
  149. */
  150. public function getSchedulingConfig()
  151. {
  152. return $this->schedulingConfig;
  153. }
  154. public function setServiceAccount($serviceAccount)
  155. {
  156. $this->serviceAccount = $serviceAccount;
  157. }
  158. public function getServiceAccount()
  159. {
  160. return $this->serviceAccount;
  161. }
  162. public function setState($state)
  163. {
  164. $this->state = $state;
  165. }
  166. public function getState()
  167. {
  168. return $this->state;
  169. }
  170. public function setTensorflowVersion($tensorflowVersion)
  171. {
  172. $this->tensorflowVersion = $tensorflowVersion;
  173. }
  174. public function getTensorflowVersion()
  175. {
  176. return $this->tensorflowVersion;
  177. }
  178. }