[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Aiplatform;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudAiplatformV1Examples extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $exampleGcsSourceType = GoogleCloudAiplatformV1ExamplesExampleGcsSource::class;
|
---|
| 23 | protected $exampleGcsSourceDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var array
|
---|
| 26 | */
|
---|
| 27 | public $nearestNeighborSearchConfig;
|
---|
| 28 | /**
|
---|
| 29 | * @var int
|
---|
| 30 | */
|
---|
| 31 | public $neighborCount;
|
---|
| 32 | protected $presetsType = GoogleCloudAiplatformV1Presets::class;
|
---|
| 33 | protected $presetsDataType = '';
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @param GoogleCloudAiplatformV1ExamplesExampleGcsSource
|
---|
| 37 | */
|
---|
| 38 | public function setExampleGcsSource(GoogleCloudAiplatformV1ExamplesExampleGcsSource $exampleGcsSource)
|
---|
| 39 | {
|
---|
| 40 | $this->exampleGcsSource = $exampleGcsSource;
|
---|
| 41 | }
|
---|
| 42 | /**
|
---|
| 43 | * @return GoogleCloudAiplatformV1ExamplesExampleGcsSource
|
---|
| 44 | */
|
---|
| 45 | public function getExampleGcsSource()
|
---|
| 46 | {
|
---|
| 47 | return $this->exampleGcsSource;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @param array
|
---|
| 51 | */
|
---|
| 52 | public function setNearestNeighborSearchConfig($nearestNeighborSearchConfig)
|
---|
| 53 | {
|
---|
| 54 | $this->nearestNeighborSearchConfig = $nearestNeighborSearchConfig;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @return array
|
---|
| 58 | */
|
---|
| 59 | public function getNearestNeighborSearchConfig()
|
---|
| 60 | {
|
---|
| 61 | return $this->nearestNeighborSearchConfig;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param int
|
---|
| 65 | */
|
---|
| 66 | public function setNeighborCount($neighborCount)
|
---|
| 67 | {
|
---|
| 68 | $this->neighborCount = $neighborCount;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return int
|
---|
| 72 | */
|
---|
| 73 | public function getNeighborCount()
|
---|
| 74 | {
|
---|
| 75 | return $this->neighborCount;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @param GoogleCloudAiplatformV1Presets
|
---|
| 79 | */
|
---|
| 80 | public function setPresets(GoogleCloudAiplatformV1Presets $presets)
|
---|
| 81 | {
|
---|
| 82 | $this->presets = $presets;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return GoogleCloudAiplatformV1Presets
|
---|
| 86 | */
|
---|
| 87 | public function getPresets()
|
---|
| 88 | {
|
---|
| 89 | return $this->presets;
|
---|
| 90 | }
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 94 | class_alias(GoogleCloudAiplatformV1Examples::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Examples');
|
---|