source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1FindNeighborsRequestQuery.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.2 KB
Line 
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
18namespace Google\Service\Aiplatform;
19
20class GoogleCloudAiplatformV1FindNeighborsRequestQuery extends \Google\Model
21{
22 /**
23 * @var int
24 */
25 public $approximateNeighborCount;
26 protected $datapointType = GoogleCloudAiplatformV1IndexDatapoint::class;
27 protected $datapointDataType = '';
28 public $fractionLeafNodesToSearchOverride;
29 /**
30 * @var int
31 */
32 public $neighborCount;
33 /**
34 * @var int
35 */
36 public $perCrowdingAttributeNeighborCount;
37 protected $rrfType = GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF::class;
38 protected $rrfDataType = '';
39
40 /**
41 * @param int
42 */
43 public function setApproximateNeighborCount($approximateNeighborCount)
44 {
45 $this->approximateNeighborCount = $approximateNeighborCount;
46 }
47 /**
48 * @return int
49 */
50 public function getApproximateNeighborCount()
51 {
52 return $this->approximateNeighborCount;
53 }
54 /**
55 * @param GoogleCloudAiplatformV1IndexDatapoint
56 */
57 public function setDatapoint(GoogleCloudAiplatformV1IndexDatapoint $datapoint)
58 {
59 $this->datapoint = $datapoint;
60 }
61 /**
62 * @return GoogleCloudAiplatformV1IndexDatapoint
63 */
64 public function getDatapoint()
65 {
66 return $this->datapoint;
67 }
68 public function setFractionLeafNodesToSearchOverride($fractionLeafNodesToSearchOverride)
69 {
70 $this->fractionLeafNodesToSearchOverride = $fractionLeafNodesToSearchOverride;
71 }
72 public function getFractionLeafNodesToSearchOverride()
73 {
74 return $this->fractionLeafNodesToSearchOverride;
75 }
76 /**
77 * @param int
78 */
79 public function setNeighborCount($neighborCount)
80 {
81 $this->neighborCount = $neighborCount;
82 }
83 /**
84 * @return int
85 */
86 public function getNeighborCount()
87 {
88 return $this->neighborCount;
89 }
90 /**
91 * @param int
92 */
93 public function setPerCrowdingAttributeNeighborCount($perCrowdingAttributeNeighborCount)
94 {
95 $this->perCrowdingAttributeNeighborCount = $perCrowdingAttributeNeighborCount;
96 }
97 /**
98 * @return int
99 */
100 public function getPerCrowdingAttributeNeighborCount()
101 {
102 return $this->perCrowdingAttributeNeighborCount;
103 }
104 /**
105 * @param GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF
106 */
107 public function setRrf(GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF $rrf)
108 {
109 $this->rrf = $rrf;
110 }
111 /**
112 * @return GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF
113 */
114 public function getRrf()
115 {
116 return $this->rrf;
117 }
118}
119
120// Adding a class alias for backwards compatibility with the previous class name.
121class_alias(GoogleCloudAiplatformV1FindNeighborsRequestQuery::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1FindNeighborsRequestQuery');
Note: See TracBrowser for help on using the repository browser.