123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-
- class Google_Service_TPU_Node extends Google_Collection
- {
- protected $collection_key = 'networkEndpoints';
- public $acceleratorType;
- public $cidrBlock;
- public $createTime;
- public $description;
- public $health;
- public $healthDescription;
- public $ipAddress;
- public $labels;
- public $name;
- public $network;
- protected $networkEndpointsType = 'Google_Service_TPU_NetworkEndpoint';
- protected $networkEndpointsDataType = 'array';
- public $port;
- protected $schedulingConfigType = 'Google_Service_TPU_SchedulingConfig';
- protected $schedulingConfigDataType = '';
- public $serviceAccount;
- public $state;
- public $tensorflowVersion;
-
- public function setAcceleratorType($acceleratorType)
- {
- $this->acceleratorType = $acceleratorType;
- }
- public function getAcceleratorType()
- {
- return $this->acceleratorType;
- }
- public function setCidrBlock($cidrBlock)
- {
- $this->cidrBlock = $cidrBlock;
- }
- public function getCidrBlock()
- {
- return $this->cidrBlock;
- }
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function getCreateTime()
- {
- return $this->createTime;
- }
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
- public function setHealth($health)
- {
- $this->health = $health;
- }
- public function getHealth()
- {
- return $this->health;
- }
- public function setHealthDescription($healthDescription)
- {
- $this->healthDescription = $healthDescription;
- }
- public function getHealthDescription()
- {
- return $this->healthDescription;
- }
- public function setIpAddress($ipAddress)
- {
- $this->ipAddress = $ipAddress;
- }
- public function getIpAddress()
- {
- return $this->ipAddress;
- }
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
- public function getLabels()
- {
- return $this->labels;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setNetwork($network)
- {
- $this->network = $network;
- }
- public function getNetwork()
- {
- return $this->network;
- }
- /**
- * @param Google_Service_TPU_NetworkEndpoint
- */
- public function setNetworkEndpoints($networkEndpoints)
- {
- $this->networkEndpoints = $networkEndpoints;
- }
- /**
- * @return Google_Service_TPU_NetworkEndpoint
- */
- public function getNetworkEndpoints()
- {
- return $this->networkEndpoints;
- }
- public function setPort($port)
- {
- $this->port = $port;
- }
- public function getPort()
- {
- return $this->port;
- }
- /**
- * @param Google_Service_TPU_SchedulingConfig
- */
- public function setSchedulingConfig(Google_Service_TPU_SchedulingConfig $schedulingConfig)
- {
- $this->schedulingConfig = $schedulingConfig;
- }
- /**
- * @return Google_Service_TPU_SchedulingConfig
- */
- public function getSchedulingConfig()
- {
- return $this->schedulingConfig;
- }
- public function setServiceAccount($serviceAccount)
- {
- $this->serviceAccount = $serviceAccount;
- }
- public function getServiceAccount()
- {
- return $this->serviceAccount;
- }
- public function setState($state)
- {
- $this->state = $state;
- }
- public function getState()
- {
- return $this->state;
- }
- public function setTensorflowVersion($tensorflowVersion)
- {
- $this->tensorflowVersion = $tensorflowVersion;
- }
- public function getTensorflowVersion()
- {
- return $this->tensorflowVersion;
- }
- }
|