source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1NearestNeighborQuery.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.9 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 GoogleCloudAiplatformV1NearestNeighborQuery extends \Google\Collection
21{
22 protected $collection_key = 'stringFilters';
23 protected $embeddingType = GoogleCloudAiplatformV1NearestNeighborQueryEmbedding::class;
24 protected $embeddingDataType = '';
25 /**
26 * @var string
27 */
28 public $entityId;
29 /**
30 * @var int
31 */
32 public $neighborCount;
33 protected $numericFiltersType = GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter::class;
34 protected $numericFiltersDataType = 'array';
35 protected $parametersType = GoogleCloudAiplatformV1NearestNeighborQueryParameters::class;
36 protected $parametersDataType = '';
37 /**
38 * @var int
39 */
40 public $perCrowdingAttributeNeighborCount;
41 protected $stringFiltersType = GoogleCloudAiplatformV1NearestNeighborQueryStringFilter::class;
42 protected $stringFiltersDataType = 'array';
43
44 /**
45 * @param GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
46 */
47 public function setEmbedding(GoogleCloudAiplatformV1NearestNeighborQueryEmbedding $embedding)
48 {
49 $this->embedding = $embedding;
50 }
51 /**
52 * @return GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
53 */
54 public function getEmbedding()
55 {
56 return $this->embedding;
57 }
58 /**
59 * @param string
60 */
61 public function setEntityId($entityId)
62 {
63 $this->entityId = $entityId;
64 }
65 /**
66 * @return string
67 */
68 public function getEntityId()
69 {
70 return $this->entityId;
71 }
72 /**
73 * @param int
74 */
75 public function setNeighborCount($neighborCount)
76 {
77 $this->neighborCount = $neighborCount;
78 }
79 /**
80 * @return int
81 */
82 public function getNeighborCount()
83 {
84 return $this->neighborCount;
85 }
86 /**
87 * @param GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter[]
88 */
89 public function setNumericFilters($numericFilters)
90 {
91 $this->numericFilters = $numericFilters;
92 }
93 /**
94 * @return GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter[]
95 */
96 public function getNumericFilters()
97 {
98 return $this->numericFilters;
99 }
100 /**
101 * @param GoogleCloudAiplatformV1NearestNeighborQueryParameters
102 */
103 public function setParameters(GoogleCloudAiplatformV1NearestNeighborQueryParameters $parameters)
104 {
105 $this->parameters = $parameters;
106 }
107 /**
108 * @return GoogleCloudAiplatformV1NearestNeighborQueryParameters
109 */
110 public function getParameters()
111 {
112 return $this->parameters;
113 }
114 /**
115 * @param int
116 */
117 public function setPerCrowdingAttributeNeighborCount($perCrowdingAttributeNeighborCount)
118 {
119 $this->perCrowdingAttributeNeighborCount = $perCrowdingAttributeNeighborCount;
120 }
121 /**
122 * @return int
123 */
124 public function getPerCrowdingAttributeNeighborCount()
125 {
126 return $this->perCrowdingAttributeNeighborCount;
127 }
128 /**
129 * @param GoogleCloudAiplatformV1NearestNeighborQueryStringFilter[]
130 */
131 public function setStringFilters($stringFilters)
132 {
133 $this->stringFilters = $stringFilters;
134 }
135 /**
136 * @return GoogleCloudAiplatformV1NearestNeighborQueryStringFilter[]
137 */
138 public function getStringFilters()
139 {
140 return $this->stringFilters;
141 }
142}
143
144// Adding a class alias for backwards compatibility with the previous class name.
145class_alias(GoogleCloudAiplatformV1NearestNeighborQuery::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1NearestNeighborQuery');
Note: See TracBrowser for help on using the repository browser.