Bez popisu

GoogleCloudMlV1TrainingInput.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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_CloudMachineLearningEngine_GoogleCloudMlV1TrainingInput extends Google_Collection
  18. {
  19. protected $collection_key = 'packageUris';
  20. public $args;
  21. protected $hyperparametersType = 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec';
  22. protected $hyperparametersDataType = '';
  23. public $jobDir;
  24. public $masterType;
  25. public $packageUris;
  26. public $parameterServerCount;
  27. public $parameterServerType;
  28. public $pythonModule;
  29. public $pythonVersion;
  30. public $region;
  31. public $runtimeVersion;
  32. public $scaleTier;
  33. public $workerCount;
  34. public $workerType;
  35. public function setArgs($args)
  36. {
  37. $this->args = $args;
  38. }
  39. public function getArgs()
  40. {
  41. return $this->args;
  42. }
  43. /**
  44. * @param Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec
  45. */
  46. public function setHyperparameters(Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec $hyperparameters)
  47. {
  48. $this->hyperparameters = $hyperparameters;
  49. }
  50. /**
  51. * @return Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec
  52. */
  53. public function getHyperparameters()
  54. {
  55. return $this->hyperparameters;
  56. }
  57. public function setJobDir($jobDir)
  58. {
  59. $this->jobDir = $jobDir;
  60. }
  61. public function getJobDir()
  62. {
  63. return $this->jobDir;
  64. }
  65. public function setMasterType($masterType)
  66. {
  67. $this->masterType = $masterType;
  68. }
  69. public function getMasterType()
  70. {
  71. return $this->masterType;
  72. }
  73. public function setPackageUris($packageUris)
  74. {
  75. $this->packageUris = $packageUris;
  76. }
  77. public function getPackageUris()
  78. {
  79. return $this->packageUris;
  80. }
  81. public function setParameterServerCount($parameterServerCount)
  82. {
  83. $this->parameterServerCount = $parameterServerCount;
  84. }
  85. public function getParameterServerCount()
  86. {
  87. return $this->parameterServerCount;
  88. }
  89. public function setParameterServerType($parameterServerType)
  90. {
  91. $this->parameterServerType = $parameterServerType;
  92. }
  93. public function getParameterServerType()
  94. {
  95. return $this->parameterServerType;
  96. }
  97. public function setPythonModule($pythonModule)
  98. {
  99. $this->pythonModule = $pythonModule;
  100. }
  101. public function getPythonModule()
  102. {
  103. return $this->pythonModule;
  104. }
  105. public function setPythonVersion($pythonVersion)
  106. {
  107. $this->pythonVersion = $pythonVersion;
  108. }
  109. public function getPythonVersion()
  110. {
  111. return $this->pythonVersion;
  112. }
  113. public function setRegion($region)
  114. {
  115. $this->region = $region;
  116. }
  117. public function getRegion()
  118. {
  119. return $this->region;
  120. }
  121. public function setRuntimeVersion($runtimeVersion)
  122. {
  123. $this->runtimeVersion = $runtimeVersion;
  124. }
  125. public function getRuntimeVersion()
  126. {
  127. return $this->runtimeVersion;
  128. }
  129. public function setScaleTier($scaleTier)
  130. {
  131. $this->scaleTier = $scaleTier;
  132. }
  133. public function getScaleTier()
  134. {
  135. return $this->scaleTier;
  136. }
  137. public function setWorkerCount($workerCount)
  138. {
  139. $this->workerCount = $workerCount;
  140. }
  141. public function getWorkerCount()
  142. {
  143. return $this->workerCount;
  144. }
  145. public function setWorkerType($workerType)
  146. {
  147. $this->workerType = $workerType;
  148. }
  149. public function getWorkerType()
  150. {
  151. return $this->workerType;
  152. }
  153. }