Debian Codegraph @

automl/apiv1beta1/automlpb/annotation_payload.pb.go

raw
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/annotation_payload.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 // Contains annotation information that is relevant to AutoML.
38 type AnnotationPayload struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Output only . Additional information about the annotation
44 // specific to the AutoML domain.
45 //
46 // Types that are assignable to Detail:
47 //
48 // *AnnotationPayload_Translation
49 // *AnnotationPayload_Classification
50 // *AnnotationPayload_ImageObjectDetection
51 // *AnnotationPayload_VideoClassification
52 // *AnnotationPayload_VideoObjectTracking
53 // *AnnotationPayload_TextExtraction
54 // *AnnotationPayload_TextSentiment
55 // *AnnotationPayload_Tables
56 Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"`
57 // Output only . The resource ID of the annotation spec that
58 // this annotation pertains to. The annotation spec comes from either an
59 // ancestor dataset, or the dataset that was used to train the model in use.
60 AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
61 // Output only. The value of
62 // [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name]
63 // when the model was trained. Because this field returns a value at model
64 // training time, for different models trained using the same dataset, the
65 // returned value could be different as model owner could update the
66 // `display_name` between any two model training.
67 DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
68 }
69
70 func (x *AnnotationPayload) Reset() {
71 *x = AnnotationPayload{}
72 mi := &file_google_cloud_automl_v1beta1_annotation_payload_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76
77 func (x *AnnotationPayload) String() string {
78 return protoimpl.X.MessageStringOf(x)
79 }
80
81 func (*AnnotationPayload) ProtoMessage() {}
82
83 func (x *AnnotationPayload) ProtoReflect() protoreflect.Message {
84 mi := &file_google_cloud_automl_v1beta1_annotation_payload_proto_msgTypes[0]
85 if x != nil {
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 if ms.LoadMessageInfo() == nil {
88 ms.StoreMessageInfo(mi)
89 }
90 return ms
91 }
92 return mi.MessageOf(x)
93 }
94
95 // Deprecated: Use AnnotationPayload.ProtoReflect.Descriptor instead.
96 func (*AnnotationPayload) Descriptor() ([]byte, []int) {
97 return file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescGZIP(), []int{0}
98 }
99
100 func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail {
101 if m != nil {
102 return m.Detail
103 }
104 return nil
105 }
106
107 func (x *AnnotationPayload) GetTranslation() *TranslationAnnotation {
108 if x, ok := x.GetDetail().(*AnnotationPayload_Translation); ok {
109 return x.Translation
110 }
111 return nil
112 }
113
114 func (x *AnnotationPayload) GetClassification() *ClassificationAnnotation {
115 if x, ok := x.GetDetail().(*AnnotationPayload_Classification); ok {
116 return x.Classification
117 }
118 return nil
119 }
120
121 func (x *AnnotationPayload) GetImageObjectDetection() *ImageObjectDetectionAnnotation {
122 if x, ok := x.GetDetail().(*AnnotationPayload_ImageObjectDetection); ok {
123 return x.ImageObjectDetection
124 }
125 return nil
126 }
127
128 func (x *AnnotationPayload) GetVideoClassification() *VideoClassificationAnnotation {
129 if x, ok := x.GetDetail().(*AnnotationPayload_VideoClassification); ok {
130 return x.VideoClassification
131 }
132 return nil
133 }
134
135 func (x *AnnotationPayload) GetVideoObjectTracking() *VideoObjectTrackingAnnotation {
136 if x, ok := x.GetDetail().(*AnnotationPayload_VideoObjectTracking); ok {
137 return x.VideoObjectTracking
138 }
139 return nil
140 }
141
142 func (x *AnnotationPayload) GetTextExtraction() *TextExtractionAnnotation {
143 if x, ok := x.GetDetail().(*AnnotationPayload_TextExtraction); ok {
144 return x.TextExtraction
145 }
146 return nil
147 }
148
149 func (x *AnnotationPayload) GetTextSentiment() *TextSentimentAnnotation {
150 if x, ok := x.GetDetail().(*AnnotationPayload_TextSentiment); ok {
151 return x.TextSentiment
152 }
153 return nil
154 }
155
156 func (x *AnnotationPayload) GetTables() *TablesAnnotation {
157 if x, ok := x.GetDetail().(*AnnotationPayload_Tables); ok {
158 return x.Tables
159 }
160 return nil
161 }
162
163 func (x *AnnotationPayload) GetAnnotationSpecId() string {
164 if x != nil {
165 return x.AnnotationSpecId
166 }
167 return ""
168 }
169
170 func (x *AnnotationPayload) GetDisplayName() string {
171 if x != nil {
172 return x.DisplayName
173 }
174 return ""
175 }
176
177 type isAnnotationPayload_Detail interface {
178 isAnnotationPayload_Detail()
179 }
180
181 type AnnotationPayload_Translation struct {
182 // Annotation details for translation.
183 Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"`
184 }
185
186 type AnnotationPayload_Classification struct {
187 // Annotation details for content or image classification.
188 Classification *ClassificationAnnotation `protobuf:"bytes,3,opt,name=classification,proto3,oneof"`
189 }
190
191 type AnnotationPayload_ImageObjectDetection struct {
192 // Annotation details for image object detection.
193 ImageObjectDetection *ImageObjectDetectionAnnotation `protobuf:"bytes,4,opt,name=image_object_detection,json=imageObjectDetection,proto3,oneof"`
194 }
195
196 type AnnotationPayload_VideoClassification struct {
197 // Annotation details for video classification.
198 // Returned for Video Classification predictions.
199 VideoClassification *VideoClassificationAnnotation `protobuf:"bytes,9,opt,name=video_classification,json=videoClassification,proto3,oneof"`
200 }
201
202 type AnnotationPayload_VideoObjectTracking struct {
203 // Annotation details for video object tracking.
204 VideoObjectTracking *VideoObjectTrackingAnnotation `protobuf:"bytes,8,opt,name=video_object_tracking,json=videoObjectTracking,proto3,oneof"`
205 }
206
207 type AnnotationPayload_TextExtraction struct {
208 // Annotation details for text extraction.
209 TextExtraction *TextExtractionAnnotation `protobuf:"bytes,6,opt,name=text_extraction,json=textExtraction,proto3,oneof"`
210 }
211
212 type AnnotationPayload_TextSentiment struct {
213 // Annotation details for text sentiment.
214 TextSentiment *TextSentimentAnnotation `protobuf:"bytes,7,opt,name=text_sentiment,json=textSentiment,proto3,oneof"`
215 }
216
217 type AnnotationPayload_Tables struct {
218 // Annotation details for Tables.
219 Tables *TablesAnnotation `protobuf:"bytes,10,opt,name=tables,proto3,oneof"`
220 }
221
222 func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {}
223
224 func (*AnnotationPayload_Classification) isAnnotationPayload_Detail() {}
225
226 func (*AnnotationPayload_ImageObjectDetection) isAnnotationPayload_Detail() {}
227
228 func (*AnnotationPayload_VideoClassification) isAnnotationPayload_Detail() {}
229
230 func (*AnnotationPayload_VideoObjectTracking) isAnnotationPayload_Detail() {}
231
232 func (*AnnotationPayload_TextExtraction) isAnnotationPayload_Detail() {}
233
234 func (*AnnotationPayload_TextSentiment) isAnnotationPayload_Detail() {}
235
236 func (*AnnotationPayload_Tables) isAnnotationPayload_Detail() {}
237
238 var File_google_cloud_automl_v1beta1_annotation_payload_proto protoreflect.FileDescriptor
239
240 var file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDesc = []byte{
241 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
242 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6e,
243 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
244 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
245 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65,
246 0x74, 0x61, 0x31, 0x1a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
247 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
248 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
249 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
250 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
251 0x61, 0x31, 0x2f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
252 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
253 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
254 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f,
255 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d,
256 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65,
257 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
258 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75,
259 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x78,
260 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
261 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
262 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74,
263 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
264 0x22, 0x89, 0x07, 0x0a, 0x11, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
265 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x56, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c,
266 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f,
267 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d,
268 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
269 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48,
270 0x00, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f,
271 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
272 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
273 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62,
274 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
275 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52,
276 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
277 0x73, 0x0a, 0x16, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f,
278 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
279 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
280 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d,
281 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
282 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14,
283 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63,
284 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6f, 0x0a, 0x14, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c,
285 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01,
286 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
287 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
288 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
289 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00,
290 0x52, 0x13, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
291 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70, 0x0a, 0x15, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f,
292 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x08,
293 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
294 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
295 0x61, 0x31, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72,
296 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
297 0x48, 0x00, 0x52, 0x13, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54,
298 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x60, 0x0a, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x5f,
299 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
300 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
301 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54,
302 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e,
303 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x45,
304 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5d, 0x0a, 0x0e, 0x74, 0x65, 0x78,
305 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
306 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
307 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
308 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e,
309 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x53,
310 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c,
311 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
312 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
313 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x41, 0x6e, 0x6e,
314 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,
315 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
316 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61,
317 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12,
318 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
319 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
320 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x9b, 0x01, 0x0a,
321 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
322 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
323 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
324 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61,
325 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
326 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f,
327 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d,
328 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
329 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d,
330 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
331 0x6f, 0x33,
332 }
333
334 var (
335 file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescOnce sync.Once
336 file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescData = file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDesc
337 )
338
339 func file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescGZIP() []byte {
340 file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescOnce.Do(func() {
341 file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescData)
342 })
343 return file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDescData
344 }
345
346 var file_google_cloud_automl_v1beta1_annotation_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
347 var file_google_cloud_automl_v1beta1_annotation_payload_proto_goTypes = []any{
348 (*AnnotationPayload)(nil), // 0: google.cloud.automl.v1beta1.AnnotationPayload
349 (*TranslationAnnotation)(nil), // 1: google.cloud.automl.v1beta1.TranslationAnnotation
350 (*ClassificationAnnotation)(nil), // 2: google.cloud.automl.v1beta1.ClassificationAnnotation
351 (*ImageObjectDetectionAnnotation)(nil), // 3: google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation
352 (*VideoClassificationAnnotation)(nil), // 4: google.cloud.automl.v1beta1.VideoClassificationAnnotation
353 (*VideoObjectTrackingAnnotation)(nil), // 5: google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation
354 (*TextExtractionAnnotation)(nil), // 6: google.cloud.automl.v1beta1.TextExtractionAnnotation
355 (*TextSentimentAnnotation)(nil), // 7: google.cloud.automl.v1beta1.TextSentimentAnnotation
356 (*TablesAnnotation)(nil), // 8: google.cloud.automl.v1beta1.TablesAnnotation
357 }
358 var file_google_cloud_automl_v1beta1_annotation_payload_proto_depIdxs = []int32{
359 1, // 0: google.cloud.automl.v1beta1.AnnotationPayload.translation:type_name -> google.cloud.automl.v1beta1.TranslationAnnotation
360 2, // 1: google.cloud.automl.v1beta1.AnnotationPayload.classification:type_name -> google.cloud.automl.v1beta1.ClassificationAnnotation
361 3, // 2: google.cloud.automl.v1beta1.AnnotationPayload.image_object_detection:type_name -> google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation
362 4, // 3: google.cloud.automl.v1beta1.AnnotationPayload.video_classification:type_name -> google.cloud.automl.v1beta1.VideoClassificationAnnotation
363 5, // 4: google.cloud.automl.v1beta1.AnnotationPayload.video_object_tracking:type_name -> google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation
364 6, // 5: google.cloud.automl.v1beta1.AnnotationPayload.text_extraction:type_name -> google.cloud.automl.v1beta1.TextExtractionAnnotation
365 7, // 6: google.cloud.automl.v1beta1.AnnotationPayload.text_sentiment:type_name -> google.cloud.automl.v1beta1.TextSentimentAnnotation
366 8, // 7: google.cloud.automl.v1beta1.AnnotationPayload.tables:type_name -> google.cloud.automl.v1beta1.TablesAnnotation
367 8, // [8:8] is the sub-list for method output_type
368 8, // [8:8] is the sub-list for method input_type
369 8, // [8:8] is the sub-list for extension type_name
370 8, // [8:8] is the sub-list for extension extendee
371 0, // [0:8] is the sub-list for field type_name
372 }
373
374 func init() { file_google_cloud_automl_v1beta1_annotation_payload_proto_init() }
375 func file_google_cloud_automl_v1beta1_annotation_payload_proto_init() {
376 if File_google_cloud_automl_v1beta1_annotation_payload_proto != nil {
377 return
378 }
379 file_google_cloud_automl_v1beta1_classification_proto_init()
380 file_google_cloud_automl_v1beta1_detection_proto_init()
381 file_google_cloud_automl_v1beta1_tables_proto_init()
382 file_google_cloud_automl_v1beta1_text_extraction_proto_init()
383 file_google_cloud_automl_v1beta1_text_sentiment_proto_init()
384 file_google_cloud_automl_v1beta1_translation_proto_init()
385 file_google_cloud_automl_v1beta1_annotation_payload_proto_msgTypes[0].OneofWrappers = []any{
386 (*AnnotationPayload_Translation)(nil),
387 (*AnnotationPayload_Classification)(nil),
388 (*AnnotationPayload_ImageObjectDetection)(nil),
389 (*AnnotationPayload_VideoClassification)(nil),
390 (*AnnotationPayload_VideoObjectTracking)(nil),
391 (*AnnotationPayload_TextExtraction)(nil),
392 (*AnnotationPayload_TextSentiment)(nil),
393 (*AnnotationPayload_Tables)(nil),
394 }
395 type x struct{}
396 out := protoimpl.TypeBuilder{
397 File: protoimpl.DescBuilder{
398 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
399 RawDescriptor: file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDesc,
400 NumEnums: 0,
401 NumMessages: 1,
402 NumExtensions: 0,
403 NumServices: 0,
404 },
405 GoTypes: file_google_cloud_automl_v1beta1_annotation_payload_proto_goTypes,
406 DependencyIndexes: file_google_cloud_automl_v1beta1_annotation_payload_proto_depIdxs,
407 MessageInfos: file_google_cloud_automl_v1beta1_annotation_payload_proto_msgTypes,
408 }.Build()
409 File_google_cloud_automl_v1beta1_annotation_payload_proto = out.File
410 file_google_cloud_automl_v1beta1_annotation_payload_proto_rawDesc = nil
411 file_google_cloud_automl_v1beta1_annotation_payload_proto_goTypes = nil
412 file_google_cloud_automl_v1beta1_annotation_payload_proto_depIdxs = nil
413 }