source: vendor/google/apiclient-services/src/Document/GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.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.7 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\Document;
19
20class GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics extends \Google\Collection
21{
22 protected $collection_key = 'confidenceLevelMetricsExact';
23 /**
24 * @var float
25 */
26 public $auprc;
27 /**
28 * @var float
29 */
30 public $auprcExact;
31 protected $confidenceLevelMetricsType = GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics::class;
32 protected $confidenceLevelMetricsDataType = 'array';
33 protected $confidenceLevelMetricsExactType = GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics::class;
34 protected $confidenceLevelMetricsExactDataType = 'array';
35 /**
36 * @var float
37 */
38 public $estimatedCalibrationError;
39 /**
40 * @var float
41 */
42 public $estimatedCalibrationErrorExact;
43 /**
44 * @var string
45 */
46 public $metricsType;
47
48 /**
49 * @param float
50 */
51 public function setAuprc($auprc)
52 {
53 $this->auprc = $auprc;
54 }
55 /**
56 * @return float
57 */
58 public function getAuprc()
59 {
60 return $this->auprc;
61 }
62 /**
63 * @param float
64 */
65 public function setAuprcExact($auprcExact)
66 {
67 $this->auprcExact = $auprcExact;
68 }
69 /**
70 * @return float
71 */
72 public function getAuprcExact()
73 {
74 return $this->auprcExact;
75 }
76 /**
77 * @param GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics[]
78 */
79 public function setConfidenceLevelMetrics($confidenceLevelMetrics)
80 {
81 $this->confidenceLevelMetrics = $confidenceLevelMetrics;
82 }
83 /**
84 * @return GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics[]
85 */
86 public function getConfidenceLevelMetrics()
87 {
88 return $this->confidenceLevelMetrics;
89 }
90 /**
91 * @param GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics[]
92 */
93 public function setConfidenceLevelMetricsExact($confidenceLevelMetricsExact)
94 {
95 $this->confidenceLevelMetricsExact = $confidenceLevelMetricsExact;
96 }
97 /**
98 * @return GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics[]
99 */
100 public function getConfidenceLevelMetricsExact()
101 {
102 return $this->confidenceLevelMetricsExact;
103 }
104 /**
105 * @param float
106 */
107 public function setEstimatedCalibrationError($estimatedCalibrationError)
108 {
109 $this->estimatedCalibrationError = $estimatedCalibrationError;
110 }
111 /**
112 * @return float
113 */
114 public function getEstimatedCalibrationError()
115 {
116 return $this->estimatedCalibrationError;
117 }
118 /**
119 * @param float
120 */
121 public function setEstimatedCalibrationErrorExact($estimatedCalibrationErrorExact)
122 {
123 $this->estimatedCalibrationErrorExact = $estimatedCalibrationErrorExact;
124 }
125 /**
126 * @return float
127 */
128 public function getEstimatedCalibrationErrorExact()
129 {
130 return $this->estimatedCalibrationErrorExact;
131 }
132 /**
133 * @param string
134 */
135 public function setMetricsType($metricsType)
136 {
137 $this->metricsType = $metricsType;
138 }
139 /**
140 * @return string
141 */
142 public function getMetricsType()
143 {
144 return $this->metricsType;
145 }
146}
147
148// Adding a class alias for backwards compatibility with the previous class name.
149class_alias(GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics::class, 'Google_Service_Document_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics');
Note: See TracBrowser for help on using the repository browser.