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

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks 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 GoogleCloudAiplatformV1EvaluatedAnnotation extends \Google\Collection
21{
22 protected $collection_key = 'predictions';
23 /**
24 * @var array
25 */
26 public $dataItemPayload;
27 protected $errorAnalysisAnnotationsType = GoogleCloudAiplatformV1ErrorAnalysisAnnotation::class;
28 protected $errorAnalysisAnnotationsDataType = 'array';
29 /**
30 * @var string
31 */
32 public $evaluatedDataItemViewId;
33 protected $explanationsType = GoogleCloudAiplatformV1EvaluatedAnnotationExplanation::class;
34 protected $explanationsDataType = 'array';
35 /**
36 * @var array[]
37 */
38 public $groundTruths;
39 /**
40 * @var array[]
41 */
42 public $predictions;
43 /**
44 * @var string
45 */
46 public $type;
47
48 /**
49 * @param array
50 */
51 public function setDataItemPayload($dataItemPayload)
52 {
53 $this->dataItemPayload = $dataItemPayload;
54 }
55 /**
56 * @return array
57 */
58 public function getDataItemPayload()
59 {
60 return $this->dataItemPayload;
61 }
62 /**
63 * @param GoogleCloudAiplatformV1ErrorAnalysisAnnotation[]
64 */
65 public function setErrorAnalysisAnnotations($errorAnalysisAnnotations)
66 {
67 $this->errorAnalysisAnnotations = $errorAnalysisAnnotations;
68 }
69 /**
70 * @return GoogleCloudAiplatformV1ErrorAnalysisAnnotation[]
71 */
72 public function getErrorAnalysisAnnotations()
73 {
74 return $this->errorAnalysisAnnotations;
75 }
76 /**
77 * @param string
78 */
79 public function setEvaluatedDataItemViewId($evaluatedDataItemViewId)
80 {
81 $this->evaluatedDataItemViewId = $evaluatedDataItemViewId;
82 }
83 /**
84 * @return string
85 */
86 public function getEvaluatedDataItemViewId()
87 {
88 return $this->evaluatedDataItemViewId;
89 }
90 /**
91 * @param GoogleCloudAiplatformV1EvaluatedAnnotationExplanation[]
92 */
93 public function setExplanations($explanations)
94 {
95 $this->explanations = $explanations;
96 }
97 /**
98 * @return GoogleCloudAiplatformV1EvaluatedAnnotationExplanation[]
99 */
100 public function getExplanations()
101 {
102 return $this->explanations;
103 }
104 /**
105 * @param array[]
106 */
107 public function setGroundTruths($groundTruths)
108 {
109 $this->groundTruths = $groundTruths;
110 }
111 /**
112 * @return array[]
113 */
114 public function getGroundTruths()
115 {
116 return $this->groundTruths;
117 }
118 /**
119 * @param array[]
120 */
121 public function setPredictions($predictions)
122 {
123 $this->predictions = $predictions;
124 }
125 /**
126 * @return array[]
127 */
128 public function getPredictions()
129 {
130 return $this->predictions;
131 }
132 /**
133 * @param string
134 */
135 public function setType($type)
136 {
137 $this->type = $type;
138 }
139 /**
140 * @return string
141 */
142 public function getType()
143 {
144 return $this->type;
145 }
146}
147
148// Adding a class alias for backwards compatibility with the previous class name.
149class_alias(GoogleCloudAiplatformV1EvaluatedAnnotation::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1EvaluatedAnnotation');
Note: See TracBrowser for help on using the repository browser.