| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/automl/v1beta1/text_extraction.proto |
| 20 |
|
| 21 |
package automlpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
// Annotation for identifying spans of text. |
| 38 |
type TextExtractionAnnotation struct { |
| 39 |
state protoimpl.MessageState |
| 40 |
sizeCache protoimpl.SizeCache |
| 41 |
unknownFields protoimpl.UnknownFields |
| 42 |
|
| 43 |
// Required. Text extraction annotations can either be a text segment or a |
| 44 |
// text relation. |
| 45 |
// |
| 46 |
// Types that are assignable to Annotation: |
| 47 |
// |
| 48 |
// *TextExtractionAnnotation_TextSegment |
| 49 |
Annotation isTextExtractionAnnotation_Annotation `protobuf_oneof:"annotation"` |
| 50 |
// Output only. A confidence estimate between 0.0 and 1.0. A higher value |
| 51 |
// means greater confidence in correctness of the annotation. |
| 52 |
Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` |
| 53 |
} |
| 54 |
|
| 55 |
func (x *TextExtractionAnnotation) Reset() { |
| 56 |
*x = TextExtractionAnnotation{} |
| 57 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[0] |
| 58 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 59 |
ms.StoreMessageInfo(mi) |
| 60 |
} |
| 61 |
|
| 62 |
func (x *TextExtractionAnnotation) String() string { |
| 63 |
return protoimpl.X.MessageStringOf(x) |
| 64 |
} |
| 65 |
|
| 66 |
func (*TextExtractionAnnotation) ProtoMessage() {} |
| 67 |
|
| 68 |
func (x *TextExtractionAnnotation) ProtoReflect() protoreflect.Message { |
| 69 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[0] |
| 70 |
if x != nil { |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
if ms.LoadMessageInfo() == nil { |
| 73 |
ms.StoreMessageInfo(mi) |
| 74 |
} |
| 75 |
return ms |
| 76 |
} |
| 77 |
return mi.MessageOf(x) |
| 78 |
} |
| 79 |
|
| 80 |
// Deprecated: Use TextExtractionAnnotation.ProtoReflect.Descriptor instead. |
| 81 |
func (*TextExtractionAnnotation) Descriptor() ([]byte, []int) { |
| 82 |
return file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescGZIP(), []int{0} |
| 83 |
} |
| 84 |
|
| 85 |
func (m *TextExtractionAnnotation) GetAnnotation() isTextExtractionAnnotation_Annotation { |
| 86 |
if m != nil { |
| 87 |
return m.Annotation |
| 88 |
} |
| 89 |
return nil |
| 90 |
} |
| 91 |
|
| 92 |
func (x *TextExtractionAnnotation) GetTextSegment() *TextSegment { |
| 93 |
if x, ok := x.GetAnnotation().(*TextExtractionAnnotation_TextSegment); ok { |
| 94 |
return x.TextSegment |
| 95 |
} |
| 96 |
return nil |
| 97 |
} |
| 98 |
|
| 99 |
func (x *TextExtractionAnnotation) GetScore() float32 { |
| 100 |
if x != nil { |
| 101 |
return x.Score |
| 102 |
} |
| 103 |
return 0 |
| 104 |
} |
| 105 |
|
| 106 |
type isTextExtractionAnnotation_Annotation interface { |
| 107 |
isTextExtractionAnnotation_Annotation() |
| 108 |
} |
| 109 |
|
| 110 |
type TextExtractionAnnotation_TextSegment struct { |
| 111 |
// An entity annotation will set this, which is the part of the original |
| 112 |
// text to which the annotation pertains. |
| 113 |
TextSegment *TextSegment `protobuf:"bytes,3,opt,name=text_segment,json=textSegment,proto3,oneof"` |
| 114 |
} |
| 115 |
|
| 116 |
func (*TextExtractionAnnotation_TextSegment) isTextExtractionAnnotation_Annotation() {} |
| 117 |
|
| 118 |
// Model evaluation metrics for text extraction problems. |
| 119 |
type TextExtractionEvaluationMetrics struct { |
| 120 |
state protoimpl.MessageState |
| 121 |
sizeCache protoimpl.SizeCache |
| 122 |
unknownFields protoimpl.UnknownFields |
| 123 |
|
| 124 |
// Output only. The Area under precision recall curve metric. |
| 125 |
AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"` |
| 126 |
// Output only. Metrics that have confidence thresholds. |
| 127 |
// Precision-recall curve can be derived from it. |
| 128 |
ConfidenceMetricsEntries []*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry `protobuf:"bytes,2,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"` |
| 129 |
} |
| 130 |
|
| 131 |
func (x *TextExtractionEvaluationMetrics) Reset() { |
| 132 |
*x = TextExtractionEvaluationMetrics{} |
| 133 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[1] |
| 134 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 135 |
ms.StoreMessageInfo(mi) |
| 136 |
} |
| 137 |
|
| 138 |
func (x *TextExtractionEvaluationMetrics) String() string { |
| 139 |
return protoimpl.X.MessageStringOf(x) |
| 140 |
} |
| 141 |
|
| 142 |
func (*TextExtractionEvaluationMetrics) ProtoMessage() {} |
| 143 |
|
| 144 |
func (x *TextExtractionEvaluationMetrics) ProtoReflect() protoreflect.Message { |
| 145 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[1] |
| 146 |
if x != nil { |
| 147 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 148 |
if ms.LoadMessageInfo() == nil { |
| 149 |
ms.StoreMessageInfo(mi) |
| 150 |
} |
| 151 |
return ms |
| 152 |
} |
| 153 |
return mi.MessageOf(x) |
| 154 |
} |
| 155 |
|
| 156 |
// Deprecated: Use TextExtractionEvaluationMetrics.ProtoReflect.Descriptor instead. |
| 157 |
func (*TextExtractionEvaluationMetrics) Descriptor() ([]byte, []int) { |
| 158 |
return file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescGZIP(), []int{1} |
| 159 |
} |
| 160 |
|
| 161 |
func (x *TextExtractionEvaluationMetrics) GetAuPrc() float32 { |
| 162 |
if x != nil { |
| 163 |
return x.AuPrc |
| 164 |
} |
| 165 |
return 0 |
| 166 |
} |
| 167 |
|
| 168 |
func (x *TextExtractionEvaluationMetrics) GetConfidenceMetricsEntries() []*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry { |
| 169 |
if x != nil { |
| 170 |
return x.ConfidenceMetricsEntries |
| 171 |
} |
| 172 |
return nil |
| 173 |
} |
| 174 |
|
| 175 |
// Metrics for a single confidence threshold. |
| 176 |
type TextExtractionEvaluationMetrics_ConfidenceMetricsEntry struct { |
| 177 |
state protoimpl.MessageState |
| 178 |
sizeCache protoimpl.SizeCache |
| 179 |
unknownFields protoimpl.UnknownFields |
| 180 |
|
| 181 |
// Output only. The confidence threshold value used to compute the metrics. |
| 182 |
// Only annotations with score of at least this threshold are considered to |
| 183 |
// be ones the model would return. |
| 184 |
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` |
| 185 |
// Output only. Recall under the given confidence threshold. |
| 186 |
Recall float32 `protobuf:"fixed32,3,opt,name=recall,proto3" json:"recall,omitempty"` |
| 187 |
// Output only. Precision under the given confidence threshold. |
| 188 |
Precision float32 `protobuf:"fixed32,4,opt,name=precision,proto3" json:"precision,omitempty"` |
| 189 |
// Output only. The harmonic mean of recall and precision. |
| 190 |
F1Score float32 `protobuf:"fixed32,5,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` |
| 191 |
} |
| 192 |
|
| 193 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) Reset() { |
| 194 |
*x = TextExtractionEvaluationMetrics_ConfidenceMetricsEntry{} |
| 195 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[2] |
| 196 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 197 |
ms.StoreMessageInfo(mi) |
| 198 |
} |
| 199 |
|
| 200 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) String() string { |
| 201 |
return protoimpl.X.MessageStringOf(x) |
| 202 |
} |
| 203 |
|
| 204 |
func (*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {} |
| 205 |
|
| 206 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) ProtoReflect() protoreflect.Message { |
| 207 |
mi := &file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[2] |
| 208 |
if x != nil { |
| 209 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 210 |
if ms.LoadMessageInfo() == nil { |
| 211 |
ms.StoreMessageInfo(mi) |
| 212 |
} |
| 213 |
return ms |
| 214 |
} |
| 215 |
return mi.MessageOf(x) |
| 216 |
} |
| 217 |
|
| 218 |
// Deprecated: Use TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.ProtoReflect.Descriptor instead. |
| 219 |
func (*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { |
| 220 |
return file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescGZIP(), []int{1, 0} |
| 221 |
} |
| 222 |
|
| 223 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { |
| 224 |
if x != nil { |
| 225 |
return x.ConfidenceThreshold |
| 226 |
} |
| 227 |
return 0 |
| 228 |
} |
| 229 |
|
| 230 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32 { |
| 231 |
if x != nil { |
| 232 |
return x.Recall |
| 233 |
} |
| 234 |
return 0 |
| 235 |
} |
| 236 |
|
| 237 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32 { |
| 238 |
if x != nil { |
| 239 |
return x.Precision |
| 240 |
} |
| 241 |
return 0 |
| 242 |
} |
| 243 |
|
| 244 |
func (x *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32 { |
| 245 |
if x != nil { |
| 246 |
return x.F1Score |
| 247 |
} |
| 248 |
return 0 |
| 249 |
} |
| 250 |
|
| 251 |
var File_google_cloud_automl_v1beta1_text_extraction_proto protoreflect.FileDescriptor |
| 252 |
|
| 253 |
var file_google_cloud_automl_v1beta1_text_extraction_proto_rawDesc = []byte{ |
| 254 |
0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 255 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, |
| 256 |
0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, |
| 257 |
0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 258 |
0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 259 |
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 260 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, |
| 261 |
0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 262 |
0x22, 0x8d, 0x01, 0x0a, 0x18, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, |
| 263 |
0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, |
| 264 |
0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, |
| 265 |
0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 266 |
0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 267 |
0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, |
| 268 |
0x0b, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, |
| 269 |
0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, |
| 270 |
0x72, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 271 |
0x22, 0xeb, 0x02, 0x0a, 0x1f, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, |
| 272 |
0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, |
| 273 |
0x72, 0x69, 0x63, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x75, 0x5f, 0x70, 0x72, 0x63, 0x18, 0x01, |
| 274 |
0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x61, 0x75, 0x50, 0x72, 0x63, 0x12, 0x91, 0x01, 0x0a, 0x1a, |
| 275 |
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 276 |
0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, |
| 277 |
0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 278 |
0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, |
| 279 |
0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, |
| 280 |
0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, |
| 281 |
0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 282 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, |
| 283 |
0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, |
| 284 |
0x9c, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, |
| 285 |
0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, |
| 286 |
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, |
| 287 |
0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, |
| 288 |
0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, |
| 289 |
0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x72, |
| 290 |
0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, |
| 291 |
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, |
| 292 |
0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, |
| 293 |
0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x66, 0x31, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x9b, |
| 294 |
0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 295 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 296 |
0x61, 0x31, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 297 |
0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, |
| 298 |
0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, |
| 299 |
0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, |
| 300 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, |
| 301 |
0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, |
| 302 |
0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, |
| 303 |
0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, |
| 304 |
0x6f, 0x74, 0x6f, 0x33, |
| 305 |
} |
| 306 |
|
| 307 |
var ( |
| 308 |
file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescOnce sync.Once |
| 309 |
file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescData = file_google_cloud_automl_v1beta1_text_extraction_proto_rawDesc |
| 310 |
) |
| 311 |
|
| 312 |
func file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescGZIP() []byte { |
| 313 |
file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescOnce.Do(func() { |
| 314 |
file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescData) |
| 315 |
}) |
| 316 |
return file_google_cloud_automl_v1beta1_text_extraction_proto_rawDescData |
| 317 |
} |
| 318 |
|
| 319 |
var file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 320 |
var file_google_cloud_automl_v1beta1_text_extraction_proto_goTypes = []any{ |
| 321 |
(*TextExtractionAnnotation)(nil), // 0: google.cloud.automl.v1beta1.TextExtractionAnnotation |
| 322 |
(*TextExtractionEvaluationMetrics)(nil), // 1: google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics |
| 323 |
(*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry)(nil), // 2: google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry |
| 324 |
(*TextSegment)(nil), // 3: google.cloud.automl.v1beta1.TextSegment |
| 325 |
} |
| 326 |
var file_google_cloud_automl_v1beta1_text_extraction_proto_depIdxs = []int32{ |
| 327 |
3, // 0: google.cloud.automl.v1beta1.TextExtractionAnnotation.text_segment:type_name -> google.cloud.automl.v1beta1.TextSegment |
| 328 |
2, // 1: google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.confidence_metrics_entries:type_name -> google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry |
| 329 |
2, // [2:2] is the sub-list for method output_type |
| 330 |
2, // [2:2] is the sub-list for method input_type |
| 331 |
2, // [2:2] is the sub-list for extension type_name |
| 332 |
2, // [2:2] is the sub-list for extension extendee |
| 333 |
0, // [0:2] is the sub-list for field type_name |
| 334 |
} |
| 335 |
|
| 336 |
func init() { file_google_cloud_automl_v1beta1_text_extraction_proto_init() } |
| 337 |
func file_google_cloud_automl_v1beta1_text_extraction_proto_init() { |
| 338 |
if File_google_cloud_automl_v1beta1_text_extraction_proto != nil { |
| 339 |
return |
| 340 |
} |
| 341 |
file_google_cloud_automl_v1beta1_text_segment_proto_init() |
| 342 |
file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes[0].OneofWrappers = []any{ |
| 343 |
(*TextExtractionAnnotation_TextSegment)(nil), |
| 344 |
} |
| 345 |
type x struct{} |
| 346 |
out := protoimpl.TypeBuilder{ |
| 347 |
File: protoimpl.DescBuilder{ |
| 348 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 349 |
RawDescriptor: file_google_cloud_automl_v1beta1_text_extraction_proto_rawDesc, |
| 350 |
NumEnums: 0, |
| 351 |
NumMessages: 3, |
| 352 |
NumExtensions: 0, |
| 353 |
NumServices: 0, |
| 354 |
}, |
| 355 |
GoTypes: file_google_cloud_automl_v1beta1_text_extraction_proto_goTypes, |
| 356 |
DependencyIndexes: file_google_cloud_automl_v1beta1_text_extraction_proto_depIdxs, |
| 357 |
MessageInfos: file_google_cloud_automl_v1beta1_text_extraction_proto_msgTypes, |
| 358 |
}.Build() |
| 359 |
File_google_cloud_automl_v1beta1_text_extraction_proto = out.File |
| 360 |
file_google_cloud_automl_v1beta1_text_extraction_proto_rawDesc = nil |
| 361 |
file_google_cloud_automl_v1beta1_text_extraction_proto_goTypes = nil |
| 362 |
file_google_cloud_automl_v1beta1_text_extraction_proto_depIdxs = nil |
| 363 |
} |