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

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

Upload project files

  • Property mode set to 100644
File size: 3.4 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 GoogleCloudAiplatformV1IndexDatapoint extends \Google\Collection
21{
22 protected $collection_key = 'restricts';
23 protected $crowdingTagType = GoogleCloudAiplatformV1IndexDatapointCrowdingTag::class;
24 protected $crowdingTagDataType = '';
25 /**
26 * @var string
27 */
28 public $datapointId;
29 /**
30 * @var float[]
31 */
32 public $featureVector;
33 protected $numericRestrictsType = GoogleCloudAiplatformV1IndexDatapointNumericRestriction::class;
34 protected $numericRestrictsDataType = 'array';
35 protected $restrictsType = GoogleCloudAiplatformV1IndexDatapointRestriction::class;
36 protected $restrictsDataType = 'array';
37 protected $sparseEmbeddingType = GoogleCloudAiplatformV1IndexDatapointSparseEmbedding::class;
38 protected $sparseEmbeddingDataType = '';
39
40 /**
41 * @param GoogleCloudAiplatformV1IndexDatapointCrowdingTag
42 */
43 public function setCrowdingTag(GoogleCloudAiplatformV1IndexDatapointCrowdingTag $crowdingTag)
44 {
45 $this->crowdingTag = $crowdingTag;
46 }
47 /**
48 * @return GoogleCloudAiplatformV1IndexDatapointCrowdingTag
49 */
50 public function getCrowdingTag()
51 {
52 return $this->crowdingTag;
53 }
54 /**
55 * @param string
56 */
57 public function setDatapointId($datapointId)
58 {
59 $this->datapointId = $datapointId;
60 }
61 /**
62 * @return string
63 */
64 public function getDatapointId()
65 {
66 return $this->datapointId;
67 }
68 /**
69 * @param float[]
70 */
71 public function setFeatureVector($featureVector)
72 {
73 $this->featureVector = $featureVector;
74 }
75 /**
76 * @return float[]
77 */
78 public function getFeatureVector()
79 {
80 return $this->featureVector;
81 }
82 /**
83 * @param GoogleCloudAiplatformV1IndexDatapointNumericRestriction[]
84 */
85 public function setNumericRestricts($numericRestricts)
86 {
87 $this->numericRestricts = $numericRestricts;
88 }
89 /**
90 * @return GoogleCloudAiplatformV1IndexDatapointNumericRestriction[]
91 */
92 public function getNumericRestricts()
93 {
94 return $this->numericRestricts;
95 }
96 /**
97 * @param GoogleCloudAiplatformV1IndexDatapointRestriction[]
98 */
99 public function setRestricts($restricts)
100 {
101 $this->restricts = $restricts;
102 }
103 /**
104 * @return GoogleCloudAiplatformV1IndexDatapointRestriction[]
105 */
106 public function getRestricts()
107 {
108 return $this->restricts;
109 }
110 /**
111 * @param GoogleCloudAiplatformV1IndexDatapointSparseEmbedding
112 */
113 public function setSparseEmbedding(GoogleCloudAiplatformV1IndexDatapointSparseEmbedding $sparseEmbedding)
114 {
115 $this->sparseEmbedding = $sparseEmbedding;
116 }
117 /**
118 * @return GoogleCloudAiplatformV1IndexDatapointSparseEmbedding
119 */
120 public function getSparseEmbedding()
121 {
122 return $this->sparseEmbedding;
123 }
124}
125
126// Adding a class alias for backwards compatibility with the previous class name.
127class_alias(GoogleCloudAiplatformV1IndexDatapoint::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1IndexDatapoint');
Note: See TracBrowser for help on using the repository browser.