Debian Codegraph @

automl/apiv1/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/v1/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_TextExtraction
52 // *AnnotationPayload_TextSentiment
53 Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"`
54 // Output only . The resource ID of the annotation spec that
55 // this annotation pertains to. The annotation spec comes from either an
56 // ancestor dataset, or the dataset that was used to train the model in use.
57 AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
58 // Output only. The value of
59 // [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
60 // when the model was trained. Because this field returns a value at model
61 // training time, for different models trained using the same dataset, the
62 // returned value could be different as model owner could update the
63 // `display_name` between any two model training.
64 DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
65 }
66
67 func (x *AnnotationPayload) Reset() {
68 *x = AnnotationPayload{}
69 mi := &file_google_cloud_automl_v1_annotation_payload_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73
74 func (x *AnnotationPayload) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*AnnotationPayload) ProtoMessage() {}
79
80 func (x *AnnotationPayload) ProtoReflect() protoreflect.Message {
81 mi := &file_google_cloud_automl_v1_annotation_payload_proto_msgTypes[0]
82 if x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92 // Deprecated: Use AnnotationPayload.ProtoReflect.Descriptor instead.
93 func (*AnnotationPayload) Descriptor() ([]byte, []int) {
94 return file_google_cloud_automl_v1_annotation_payload_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail {
98 if m != nil {
99 return m.Detail
100 }
101 return nil
102 }
103
104 func (x *AnnotationPayload) GetTranslation() *TranslationAnnotation {
105 if x, ok := x.GetDetail().(*AnnotationPayload_Translation); ok {
106 return x.Translation
107 }
108 return nil
109 }
110
111 func (x *AnnotationPayload) GetClassification() *ClassificationAnnotation {
112 if x, ok := x.GetDetail().(*AnnotationPayload_Classification); ok {
113 return x.Classification
114 }
115 return nil
116 }
117
118 func (x *AnnotationPayload) GetImageObjectDetection() *ImageObjectDetectionAnnotation {
119 if x, ok := x.GetDetail().(*AnnotationPayload_ImageObjectDetection); ok {
120 return x.ImageObjectDetection
121 }
122 return nil
123 }
124
125 func (x *AnnotationPayload) GetTextExtraction() *TextExtractionAnnotation {
126 if x, ok := x.GetDetail().(*AnnotationPayload_TextExtraction); ok {
127 return x.TextExtraction
128 }
129 return nil
130 }
131
132 func (x *AnnotationPayload) GetTextSentiment() *TextSentimentAnnotation {
133 if x, ok := x.GetDetail().(*AnnotationPayload_TextSentiment); ok {
134 return x.TextSentiment
135 }
136 return nil
137 }
138
139 func (x *AnnotationPayload) GetAnnotationSpecId() string {
140 if x != nil {
141 return x.AnnotationSpecId
142 }
143 return ""
144 }
145
146 func (x *AnnotationPayload) GetDisplayName() string {
147 if x != nil {
148 return x.DisplayName
149 }
150 return ""
151 }
152
153 type isAnnotationPayload_Detail interface {
154 isAnnotationPayload_Detail()
155 }
156
157 type AnnotationPayload_Translation struct {
158 // Annotation details for translation.
159 Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"`
160 }
161
162 type AnnotationPayload_Classification struct {
163 // Annotation details for content or image classification.
164 Classification *ClassificationAnnotation `protobuf:"bytes,3,opt,name=classification,proto3,oneof"`
165 }
166
167 type AnnotationPayload_ImageObjectDetection struct {
168 // Annotation details for image object detection.
169 ImageObjectDetection *ImageObjectDetectionAnnotation `protobuf:"bytes,4,opt,name=image_object_detection,json=imageObjectDetection,proto3,oneof"`
170 }
171
172 type AnnotationPayload_TextExtraction struct {
173 // Annotation details for text extraction.
174 TextExtraction *TextExtractionAnnotation `protobuf:"bytes,6,opt,name=text_extraction,json=textExtraction,proto3,oneof"`
175 }
176
177 type AnnotationPayload_TextSentiment struct {
178 // Annotation details for text sentiment.
179 TextSentiment *TextSentimentAnnotation `protobuf:"bytes,7,opt,name=text_sentiment,json=textSentiment,proto3,oneof"`
180 }
181
182 func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {}
183
184 func (*AnnotationPayload_Classification) isAnnotationPayload_Detail() {}
185
186 func (*AnnotationPayload_ImageObjectDetection) isAnnotationPayload_Detail() {}
187
188 func (*AnnotationPayload_TextExtraction) isAnnotationPayload_Detail() {}
189
190 func (*AnnotationPayload_TextSentiment) isAnnotationPayload_Detail() {}
191
192 var File_google_cloud_automl_v1_annotation_payload_proto protoreflect.FileDescriptor
193
194 var file_google_cloud_automl_v1_annotation_payload_proto_rawDesc = []byte{
195 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
196 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
197 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
198 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
199 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
200 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76,
201 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
202 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
203 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x64,
204 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c,
205 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74,
206 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72,
207 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f,
208 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d,
209 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d,
210 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
211 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76,
212 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
213 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x04, 0x0a, 0x11, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
214 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x51, 0x0a, 0x0b, 0x74, 0x72, 0x61,
215 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d,
216 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
217 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
218 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52,
219 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0e,
220 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
221 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
222 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c,
223 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f,
224 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,
225 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x16, 0x69, 0x6d, 0x61, 0x67,
226 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
227 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
228 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
229 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74,
230 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
231 0x48, 0x00, 0x52, 0x14, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44,
232 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x0f, 0x74, 0x65, 0x78, 0x74,
233 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
234 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
235 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x45,
236 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
237 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61,
238 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65,
239 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
240 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
241 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69,
242 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00,
243 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12,
244 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70,
245 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e,
246 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a,
247 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
248 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
249 0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0xa0, 0x01, 0x0a, 0x1a, 0x63,
250 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
251 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f,
252 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
253 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x75,
254 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa,
255 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41,
256 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
257 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56,
258 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
259 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
260 0x72, 0x6f, 0x74, 0x6f, 0x33,
261 }
262
263 var (
264 file_google_cloud_automl_v1_annotation_payload_proto_rawDescOnce sync.Once
265 file_google_cloud_automl_v1_annotation_payload_proto_rawDescData = file_google_cloud_automl_v1_annotation_payload_proto_rawDesc
266 )
267
268 func file_google_cloud_automl_v1_annotation_payload_proto_rawDescGZIP() []byte {
269 file_google_cloud_automl_v1_annotation_payload_proto_rawDescOnce.Do(func() {
270 file_google_cloud_automl_v1_annotation_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_annotation_payload_proto_rawDescData)
271 })
272 return file_google_cloud_automl_v1_annotation_payload_proto_rawDescData
273 }
274
275 var file_google_cloud_automl_v1_annotation_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
276 var file_google_cloud_automl_v1_annotation_payload_proto_goTypes = []any{
277 (*AnnotationPayload)(nil), // 0: google.cloud.automl.v1.AnnotationPayload
278 (*TranslationAnnotation)(nil), // 1: google.cloud.automl.v1.TranslationAnnotation
279 (*ClassificationAnnotation)(nil), // 2: google.cloud.automl.v1.ClassificationAnnotation
280 (*ImageObjectDetectionAnnotation)(nil), // 3: google.cloud.automl.v1.ImageObjectDetectionAnnotation
281 (*TextExtractionAnnotation)(nil), // 4: google.cloud.automl.v1.TextExtractionAnnotation
282 (*TextSentimentAnnotation)(nil), // 5: google.cloud.automl.v1.TextSentimentAnnotation
283 }
284 var file_google_cloud_automl_v1_annotation_payload_proto_depIdxs = []int32{
285 1, // 0: google.cloud.automl.v1.AnnotationPayload.translation:type_name -> google.cloud.automl.v1.TranslationAnnotation
286 2, // 1: google.cloud.automl.v1.AnnotationPayload.classification:type_name -> google.cloud.automl.v1.ClassificationAnnotation
287 3, // 2: google.cloud.automl.v1.AnnotationPayload.image_object_detection:type_name -> google.cloud.automl.v1.ImageObjectDetectionAnnotation
288 4, // 3: google.cloud.automl.v1.AnnotationPayload.text_extraction:type_name -> google.cloud.automl.v1.TextExtractionAnnotation
289 5, // 4: google.cloud.automl.v1.AnnotationPayload.text_sentiment:type_name -> google.cloud.automl.v1.TextSentimentAnnotation
290 5, // [5:5] is the sub-list for method output_type
291 5, // [5:5] is the sub-list for method input_type
292 5, // [5:5] is the sub-list for extension type_name
293 5, // [5:5] is the sub-list for extension extendee
294 0, // [0:5] is the sub-list for field type_name
295 }
296
297 func init() { file_google_cloud_automl_v1_annotation_payload_proto_init() }
298 func file_google_cloud_automl_v1_annotation_payload_proto_init() {
299 if File_google_cloud_automl_v1_annotation_payload_proto != nil {
300 return
301 }
302 file_google_cloud_automl_v1_classification_proto_init()
303 file_google_cloud_automl_v1_detection_proto_init()
304 file_google_cloud_automl_v1_text_extraction_proto_init()
305 file_google_cloud_automl_v1_text_sentiment_proto_init()
306 file_google_cloud_automl_v1_translation_proto_init()
307 file_google_cloud_automl_v1_annotation_payload_proto_msgTypes[0].OneofWrappers = []any{
308 (*AnnotationPayload_Translation)(nil),
309 (*AnnotationPayload_Classification)(nil),
310 (*AnnotationPayload_ImageObjectDetection)(nil),
311 (*AnnotationPayload_TextExtraction)(nil),
312 (*AnnotationPayload_TextSentiment)(nil),
313 }
314 type x struct{}
315 out := protoimpl.TypeBuilder{
316 File: protoimpl.DescBuilder{
317 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
318 RawDescriptor: file_google_cloud_automl_v1_annotation_payload_proto_rawDesc,
319 NumEnums: 0,
320 NumMessages: 1,
321 NumExtensions: 0,
322 NumServices: 0,
323 },
324 GoTypes: file_google_cloud_automl_v1_annotation_payload_proto_goTypes,
325 DependencyIndexes: file_google_cloud_automl_v1_annotation_payload_proto_depIdxs,
326 MessageInfos: file_google_cloud_automl_v1_annotation_payload_proto_msgTypes,
327 }.Build()
328 File_google_cloud_automl_v1_annotation_payload_proto = out.File
329 file_google_cloud_automl_v1_annotation_payload_proto_rawDesc = nil
330 file_google_cloud_automl_v1_annotation_payload_proto_goTypes = nil
331 file_google_cloud_automl_v1_annotation_payload_proto_depIdxs = nil
332 }