Debian Codegraph @

automl/apiv1/automlpb/io.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/io.proto
20
21 package automlpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Input configuration for
39 // [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action.
40 //
41 // The format of input depends on dataset_metadata the Dataset into which
42 // the import is happening has. As input source the
43 // [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source]
44 // is expected, unless specified otherwise. Additionally any input .CSV file
45 // by itself must be 100MB or smaller, unless specified otherwise.
46 // If an "example" file (that is, image, video etc.) with identical content
47 // (even if it had different `GCS_FILE_PATH`) is mentioned multiple times, then
48 // its label, bounding boxes etc. are appended. The same file should be always
49 // provided with the same `ML_USE` and `GCS_FILE_PATH`, if it is not, then
50 // these values are nondeterministically selected from the given ones.
51 //
52 // The formats are represented in EBNF with commas being literal and with
53 // non-terminal symbols defined near the end of this comment. The formats are:
54 //
55 // #### AutoML Vision
56 //
57 // ##### Classification
58 //
59 // See [Preparing your training
60 // data](https://cloud.google.com/vision/automl/docs/prepare) for more
61 // information.
62 //
63 // CSV file(s) with each line in format:
64 //
65 // ML_USE,GCS_FILE_PATH,LABEL,LABEL,...
66 //
67 // * `ML_USE` - Identifies the data set that the current row (file) applies
68 // to.
69 //
70 // This value can be one of the following:
71 // * `TRAIN` - Rows in this file are used to train the model.
72 // * `TEST` - Rows in this file are used to test the model during training.
73 // * `UNASSIGNED` - Rows in this file are not categorized. They are
74 // Automatically divided into train and test data. 80% for training and
75 // 20% for testing.
76 //
77 // - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to
78 // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP,
79 // .TIFF, .ICO.
80 //
81 // * `LABEL` - A label that identifies the object in the image.
82 //
83 // For the `MULTICLASS` classification type, at most one `LABEL` is allowed
84 // per image. If an image has not yet been labeled, then it should be
85 // mentioned just once with no `LABEL`.
86 //
87 // Some sample rows:
88 //
89 // TRAIN,gs://folder/image1.jpg,daisy
90 // TEST,gs://folder/image2.jpg,dandelion,tulip,rose
91 // UNASSIGNED,gs://folder/image3.jpg,daisy
92 // UNASSIGNED,gs://folder/image4.jpg
93 //
94 // ##### Object Detection
95 // See [Preparing your training
96 // data](https://cloud.google.com/vision/automl/object-detection/docs/prepare)
97 // for more information.
98 //
99 // A CSV file(s) with each line in format:
100 //
101 // ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,)
102 //
103 // * `ML_USE` - Identifies the data set that the current row (file) applies
104 // to.
105 //
106 // This value can be one of the following:
107 // * `TRAIN` - Rows in this file are used to train the model.
108 // * `TEST` - Rows in this file are used to test the model during training.
109 // * `UNASSIGNED` - Rows in this file are not categorized. They are
110 // Automatically divided into train and test data. 80% for training and
111 // 20% for testing.
112 //
113 // - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to
114 // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image
115 // is assumed to be exhaustively labeled.
116 //
117 // - `LABEL` - A label that identifies the object in the image specified by the
118 // `BOUNDING_BOX`.
119 //
120 // - `BOUNDING BOX` - The vertices of an object in the example image.
121 // The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than
122 // 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX`
123 // per line). If an image has no looked for objects then it should be
124 // mentioned just once with no LABEL and the ",,,,,,," in place of the
125 // `BOUNDING_BOX`.
126 //
127 // **Four sample rows:**
128 //
129 // TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,,
130 // TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,,
131 // UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3
132 // TEST,gs://folder/im3.png,,,,,,,,,
133 // </section>
134 //
135 // </div>
136 //
137 // #### AutoML Video Intelligence
138 //
139 // ##### Classification
140 //
141 // See [Preparing your training
142 // data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for
143 // more information.
144 //
145 // CSV file(s) with each line in format:
146 //
147 // ML_USE,GCS_FILE_PATH
148 //
149 // For `ML_USE`, do not use `VALIDATE`.
150 //
151 // `GCS_FILE_PATH` is the path to another .csv file that describes training
152 // example for a given `ML_USE`, using the following row format:
153 //
154 // GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,)
155 //
156 // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
157 // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
158 //
159 // `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
160 // length of the video, and the end time must be after the start time. Any
161 // segment of a video which has one or more labels on it, is considered a
162 // hard negative for all other labels. Any segment with no labels on
163 // it is considered to be unknown. If a whole video is unknown, then
164 // it should be mentioned just once with ",," in place of `LABEL,
165 // TIME_SEGMENT_START,TIME_SEGMENT_END`.
166 //
167 // Sample top level CSV file:
168 //
169 // TRAIN,gs://folder/train_videos.csv
170 // TEST,gs://folder/test_videos.csv
171 // UNASSIGNED,gs://folder/other_videos.csv
172 //
173 // Sample rows of a CSV file for a particular ML_USE:
174 //
175 // gs://folder/video1.avi,car,120,180.000021
176 // gs://folder/video1.avi,bike,150,180.000021
177 // gs://folder/vid2.avi,car,0,60.5
178 // gs://folder/vid3.avi,,,
179 //
180 // ##### Object Tracking
181 //
182 // See [Preparing your training
183 // data](/video-intelligence/automl/object-tracking/docs/prepare) for more
184 // information.
185 //
186 // CSV file(s) with each line in format:
187 //
188 // ML_USE,GCS_FILE_PATH
189 //
190 // For `ML_USE`, do not use `VALIDATE`.
191 //
192 // `GCS_FILE_PATH` is the path to another .csv file that describes training
193 // example for a given `ML_USE`, using the following row format:
194 //
195 // GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX
196 //
197 // or
198 //
199 // GCS_FILE_PATH,,,,,,,,,,
200 //
201 // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
202 // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
203 // Providing `INSTANCE_ID`s can help to obtain a better model. When
204 // a specific labeled entity leaves the video frame, and shows up
205 // afterwards it is not required, albeit preferable, that the same
206 // `INSTANCE_ID` is given to it.
207 //
208 // `TIMESTAMP` must be within the length of the video, the
209 // `BOUNDING_BOX` is assumed to be drawn on the closest video's frame
210 // to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected
211 // to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per
212 // frame are allowed. If a whole video is unknown, then it should be
213 // mentioned just once with ",,,,,,,,,," in place of `LABEL,
214 // [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX`.
215 //
216 // Sample top level CSV file:
217 //
218 // TRAIN,gs://folder/train_videos.csv
219 // TEST,gs://folder/test_videos.csv
220 // UNASSIGNED,gs://folder/other_videos.csv
221 //
222 // Seven sample rows of a CSV file for a particular ML_USE:
223 //
224 // gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9
225 // gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9
226 // gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3
227 // gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,,
228 // gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,,
229 // gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
230 // gs://folder/video2.avi,,,,,,,,,,,
231 //
232 // #### AutoML Natural Language
233 //
234 // ##### Entity Extraction
235 //
236 // See [Preparing your training
237 // data](/natural-language/automl/entity-analysis/docs/prepare) for more
238 // information.
239 //
240 // One or more CSV file(s) with each line in the following format:
241 //
242 // ML_USE,GCS_FILE_PATH
243 //
244 // * `ML_USE` - Identifies the data set that the current row (file) applies
245 // to.
246 //
247 // This value can be one of the following:
248 // * `TRAIN` - Rows in this file are used to train the model.
249 // * `TEST` - Rows in this file are used to test the model during training.
250 // * `UNASSIGNED` - Rows in this file are not categorized. They are
251 // Automatically divided into train and test data. 80% for training and
252 // 20% for testing..
253 //
254 // - `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in
255 // Google Cloud Storage that contains in-line text in-line as documents
256 // for model training.
257 //
258 // After the training data set has been determined from the `TRAIN` and
259 // `UNASSIGNED` CSV files, the training data is divided into train and
260 // validation data sets. 70% for training and 30% for validation.
261 //
262 // For example:
263 //
264 // TRAIN,gs://folder/file1.jsonl
265 // VALIDATE,gs://folder/file2.jsonl
266 // TEST,gs://folder/file3.jsonl
267 //
268 // **In-line JSONL files**
269 //
270 // In-line .JSONL files contain, per line, a JSON document that wraps a
271 // [`text_snippet`][google.cloud.automl.v1.TextSnippet] field followed by
272 // one or more [`annotations`][google.cloud.automl.v1.AnnotationPayload]
273 // fields, which have `display_name` and `text_extraction` fields to describe
274 // the entity from the text snippet. Multiple JSON documents can be separated
275 // using line breaks (\n).
276 //
277 // The supplied text must be annotated exhaustively. For example, if you
278 // include the text "horse", but do not label it as "animal",
279 // then "horse" is assumed to not be an "animal".
280 //
281 // Any given text snippet content must have 30,000 characters or
282 // less, and also be UTF-8 NFC encoded. ASCII is accepted as it is
283 // UTF-8 NFC encoded.
284 //
285 // For example:
286 //
287 // {
288 // "text_snippet": {
289 // "content": "dog car cat"
290 // },
291 // "annotations": [
292 // {
293 // "display_name": "animal",
294 // "text_extraction": {
295 // "text_segment": {"start_offset": 0, "end_offset": 2}
296 // }
297 // },
298 // {
299 // "display_name": "vehicle",
300 // "text_extraction": {
301 // "text_segment": {"start_offset": 4, "end_offset": 6}
302 // }
303 // },
304 // {
305 // "display_name": "animal",
306 // "text_extraction": {
307 // "text_segment": {"start_offset": 8, "end_offset": 10}
308 // }
309 // }
310 // ]
311 // }\n
312 // {
313 // "text_snippet": {
314 // "content": "This dog is good."
315 // },
316 // "annotations": [
317 // {
318 // "display_name": "animal",
319 // "text_extraction": {
320 // "text_segment": {"start_offset": 5, "end_offset": 7}
321 // }
322 // }
323 // ]
324 // }
325 //
326 // **JSONL files that reference documents**
327 //
328 // .JSONL files contain, per line, a JSON document that wraps a
329 // `input_config` that contains the path to a source document.
330 // Multiple JSON documents can be separated using line breaks (\n).
331 //
332 // Supported document extensions: .PDF, .TIF, .TIFF
333 //
334 // For example:
335 //
336 // {
337 // "document": {
338 // "input_config": {
339 // "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ]
340 // }
341 // }
342 // }
343 // }\n
344 // {
345 // "document": {
346 // "input_config": {
347 // "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ]
348 // }
349 // }
350 // }
351 // }
352 //
353 // **In-line JSONL files with document layout information**
354 //
355 // **Note:** You can only annotate documents using the UI. The format described
356 // below applies to annotated documents exported using the UI or `exportData`.
357 //
358 // In-line .JSONL files for documents contain, per line, a JSON document
359 // that wraps a `document` field that provides the textual content of the
360 // document and the layout information.
361 //
362 // For example:
363 //
364 // {
365 // "document": {
366 // "document_text": {
367 // "content": "dog car cat"
368 // }
369 // "layout": [
370 // {
371 // "text_segment": {
372 // "start_offset": 0,
373 // "end_offset": 11,
374 // },
375 // "page_number": 1,
376 // "bounding_poly": {
377 // "normalized_vertices": [
378 // {"x": 0.1, "y": 0.1},
379 // {"x": 0.1, "y": 0.3},
380 // {"x": 0.3, "y": 0.3},
381 // {"x": 0.3, "y": 0.1},
382 // ],
383 // },
384 // "text_segment_type": TOKEN,
385 // }
386 // ],
387 // "document_dimensions": {
388 // "width": 8.27,
389 // "height": 11.69,
390 // "unit": INCH,
391 // }
392 // "page_count": 3,
393 // },
394 // "annotations": [
395 // {
396 // "display_name": "animal",
397 // "text_extraction": {
398 // "text_segment": {"start_offset": 0, "end_offset": 3}
399 // }
400 // },
401 // {
402 // "display_name": "vehicle",
403 // "text_extraction": {
404 // "text_segment": {"start_offset": 4, "end_offset": 7}
405 // }
406 // },
407 // {
408 // "display_name": "animal",
409 // "text_extraction": {
410 // "text_segment": {"start_offset": 8, "end_offset": 11}
411 // }
412 // },
413 // ],
414 //
415 // ##### Classification
416 //
417 // See [Preparing your training
418 // data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
419 // information.
420 //
421 // One or more CSV file(s) with each line in the following format:
422 //
423 // ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,...
424 //
425 // * `ML_USE` - Identifies the data set that the current row (file) applies
426 // to.
427 //
428 // This value can be one of the following:
429 // * `TRAIN` - Rows in this file are used to train the model.
430 // * `TEST` - Rows in this file are used to test the model during training.
431 // * `UNASSIGNED` - Rows in this file are not categorized. They are
432 // Automatically divided into train and test data. 80% for training and
433 // 20% for testing.
434 //
435 // - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If
436 // the column content is a valid Google Cloud Storage file path, that is,
437 // prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if
438 // the content is enclosed in double quotes (""), it is treated as a
439 // `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a
440 // file with supported extension and UTF-8 encoding, for example,
441 // "gs://folder/content.txt" AutoML imports the file content
442 // as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content
443 // excluding quotes. In both cases, size of the content must be 10MB or
444 // less in size. For zip files, the size of each file inside the zip must be
445 // 10MB or less in size.
446 //
447 // For the `MULTICLASS` classification type, at most one `LABEL` is allowed.
448 //
449 // The `ML_USE` and `LABEL` columns are optional.
450 // Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
451 //
452 // A maximum of 100 unique labels are allowed per CSV row.
453 //
454 // Sample rows:
455 //
456 // TRAIN,"They have bad food and very rude",RudeService,BadFood
457 // gs://folder/content.txt,SlowService
458 // TEST,gs://folder/document.pdf
459 // VALIDATE,gs://folder/text_files.zip,BadFood
460 //
461 // ##### Sentiment Analysis
462 //
463 // See [Preparing your training
464 // data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
465 // information.
466 //
467 // CSV file(s) with each line in format:
468 //
469 // ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT
470 //
471 // * `ML_USE` - Identifies the data set that the current row (file) applies
472 // to.
473 //
474 // This value can be one of the following:
475 // * `TRAIN` - Rows in this file are used to train the model.
476 // * `TEST` - Rows in this file are used to test the model during training.
477 // * `UNASSIGNED` - Rows in this file are not categorized. They are
478 // Automatically divided into train and test data. 80% for training and
479 // 20% for testing.
480 //
481 // - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If
482 // the column content is a valid Google Cloud Storage file path, that is,
483 // prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if
484 // the content is enclosed in double quotes (""), it is treated as a
485 // `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a
486 // file with supported extension and UTF-8 encoding, for example,
487 // "gs://folder/content.txt" AutoML imports the file content
488 // as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content
489 // excluding quotes. In both cases, size of the content must be 128kB or
490 // less in size. For zip files, the size of each file inside the zip must be
491 // 128kB or less in size.
492 //
493 // The `ML_USE` and `SENTIMENT` columns are optional.
494 // Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
495 //
496 // - `SENTIMENT` - An integer between 0 and
497 // Dataset.text_sentiment_dataset_metadata.sentiment_max
498 // (inclusive). Describes the ordinal of the sentiment - higher
499 // value means a more positive sentiment. All the values are
500 // completely relative, i.e. neither 0 needs to mean a negative or
501 // neutral sentiment nor sentiment_max needs to mean a positive one -
502 // it is just required that 0 is the least positive sentiment
503 // in the data, and sentiment_max is the most positive one.
504 // The SENTIMENT shouldn't be confused with "score" or "magnitude"
505 // from the previous Natural Language Sentiment Analysis API.
506 // All SENTIMENT values between 0 and sentiment_max must be
507 // represented in the imported data. On prediction the same 0 to
508 // sentiment_max range will be used. The difference between
509 // neighboring sentiment values needs not to be uniform, e.g. 1 and
510 // 2 may be similar whereas the difference between 2 and 3 may be
511 // large.
512 //
513 // Sample rows:
514 //
515 // TRAIN,"@freewrytin this is way too good for your product",2
516 // gs://folder/content.txt,3
517 // TEST,gs://folder/document.pdf
518 // VALIDATE,gs://folder/text_files.zip,2
519 //
520 // #### AutoML Tables
521 //
522 // See [Preparing your training
523 // data](https://cloud.google.com/automl-tables/docs/prepare) for more
524 // information.
525 //
526 // You can use either
527 // [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source] or
528 // [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source].
529 // All input is concatenated into a
530 // single
531 // [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id]
532 //
533 // **For gcs_source:**
534 //
535 // CSV file(s), where the first row of the first file is the header,
536 // containing unique column names. If the first row of a subsequent
537 // file is the same as the header, then it is also treated as a
538 // header. All other rows contain values for the corresponding
539 // columns.
540 //
541 // Each .CSV file by itself must be 10GB or smaller, and their total
542 // size must be 100GB or smaller.
543 //
544 // First three sample rows of a CSV file:
545 // <pre>
546 // "Id","First Name","Last Name","Dob","Addresses"
547 // "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
548 // "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
549 // </pre>
550 // **For bigquery_source:**
551 //
552 // An URI of a BigQuery table. The user data size of the BigQuery
553 // table must be 100GB or smaller.
554 //
555 // An imported table must have between 2 and 1,000 columns, inclusive,
556 // and between 1000 and 100,000,000 rows, inclusive. There are at most 5
557 // import data running in parallel.
558 //
559 // **Input field definitions:**
560 //
561 // `ML_USE`
562 // : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED")
563 //
564 // Describes how the given example (file) should be used for model
565 // training. "UNASSIGNED" can be used when user has no preference.
566 //
567 // `GCS_FILE_PATH`
568 // : The path to a file on Google Cloud Storage. For example,
569 //
570 // "gs://folder/image1.png".
571 //
572 // `LABEL`
573 // : A display name of an object on an image, video etc., e.g. "dog".
574 //
575 // Must be up to 32 characters long and can consist only of ASCII
576 // Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9.
577 // For each label an AnnotationSpec is created which display_name
578 // becomes the label; AnnotationSpecs are given back in predictions.
579 //
580 // `INSTANCE_ID`
581 // : A positive integer that identifies a specific instance of a
582 //
583 // labeled entity on an example. Used e.g. to track two cars on
584 // a video while being able to tell apart which one is which.
585 //
586 // `BOUNDING_BOX`
587 // : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`)
588 //
589 // A rectangle parallel to the frame of the example (image,
590 // video). If 4 vertices are given they are connected by edges
591 // in the order provided, if 2 are given they are recognized
592 // as diagonally opposite vertices of the rectangle.
593 //
594 // `VERTEX`
595 // : (`COORDINATE,COORDINATE`)
596 //
597 // First coordinate is horizontal (x), the second is vertical (y).
598 //
599 // `COORDINATE`
600 // : A float in 0 to 1 range, relative to total length of
601 //
602 // image or video in given dimension. For fractions the
603 // leading non-decimal 0 can be omitted (i.e. 0.3 = .3).
604 // Point 0,0 is in top left.
605 //
606 // `TIME_SEGMENT_START`
607 // : (`TIME_OFFSET`)
608 //
609 // Expresses a beginning, inclusive, of a time segment
610 // within an example that has a time dimension
611 // (e.g. video).
612 //
613 // `TIME_SEGMENT_END`
614 // : (`TIME_OFFSET`)
615 //
616 // Expresses an end, exclusive, of a time segment within
617 // n example that has a time dimension (e.g. video).
618 //
619 // `TIME_OFFSET`
620 // : A number of seconds as measured from the start of an
621 //
622 // example (e.g. video). Fractions are allowed, up to a
623 // microsecond precision. "inf" is allowed, and it means the end
624 // of the example.
625 //
626 // `TEXT_SNIPPET`
627 // : The content of a text snippet, UTF-8 encoded, enclosed within
628 //
629 // double quotes ("").
630 //
631 // `DOCUMENT`
632 // : A field that provides the textual content with document and the layout
633 //
634 // information.
635 //
636 //
637 // **Errors:**
638 //
639 // If any of the provided CSV files can't be parsed or if more than certain
640 // percent of CSV rows cannot be processed then the operation fails and
641 // nothing is imported. Regardless of overall success or failure the per-row
642 // failures, up to a certain count cap, is listed in
643 // Operation.metadata.partial_failures.
644 type InputConfig struct {
645 state protoimpl.MessageState
646 sizeCache protoimpl.SizeCache
647 unknownFields protoimpl.UnknownFields
648
649 // The source of the input.
650 //
651 // Types that are assignable to Source:
652 //
653 // *InputConfig_GcsSource
654 Source isInputConfig_Source `protobuf_oneof:"source"`
655 // Additional domain-specific parameters describing the semantic of the
656 // imported data, any string must be up to 25000
657 // characters long.
658 //
659 // #### AutoML Tables
660 //
661 // `schema_inference_version`
662 // : (integer) This value must be supplied.
663 //
664 // The version of the
665 // algorithm to use for the initial inference of the
666 // column data types of the imported table. Allowed values: "1".
667 Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
668 }
669
670 func (x *InputConfig) Reset() {
671 *x = InputConfig{}
672 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[0]
673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
674 ms.StoreMessageInfo(mi)
675 }
676
677 func (x *InputConfig) String() string {
678 return protoimpl.X.MessageStringOf(x)
679 }
680
681 func (*InputConfig) ProtoMessage() {}
682
683 func (x *InputConfig) ProtoReflect() protoreflect.Message {
684 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[0]
685 if x != nil {
686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
687 if ms.LoadMessageInfo() == nil {
688 ms.StoreMessageInfo(mi)
689 }
690 return ms
691 }
692 return mi.MessageOf(x)
693 }
694
695 // Deprecated: Use InputConfig.ProtoReflect.Descriptor instead.
696 func (*InputConfig) Descriptor() ([]byte, []int) {
697 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{0}
698 }
699
700 func (m *InputConfig) GetSource() isInputConfig_Source {
701 if m != nil {
702 return m.Source
703 }
704 return nil
705 }
706
707 func (x *InputConfig) GetGcsSource() *GcsSource {
708 if x, ok := x.GetSource().(*InputConfig_GcsSource); ok {
709 return x.GcsSource
710 }
711 return nil
712 }
713
714 func (x *InputConfig) GetParams() map[string]string {
715 if x != nil {
716 return x.Params
717 }
718 return nil
719 }
720
721 type isInputConfig_Source interface {
722 isInputConfig_Source()
723 }
724
725 type InputConfig_GcsSource struct {
726 // The Google Cloud Storage location for the input content.
727 // For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
728 // `gcs_source` points to a CSV file with a structure described in
729 // [InputConfig][google.cloud.automl.v1.InputConfig].
730 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
731 }
732
733 func (*InputConfig_GcsSource) isInputConfig_Source() {}
734
735 // Input configuration for BatchPredict Action.
736 //
737 // The format of input depends on the ML problem of the model used for
738 // prediction. As input source the
739 // [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source]
740 // is expected, unless specified otherwise.
741 //
742 // The formats are represented in EBNF with commas being literal and with
743 // non-terminal symbols defined near the end of this comment. The formats
744 // are:
745 //
746 // #### AutoML Vision
747 // ##### Classification
748 //
749 // One or more CSV files where each line is a single column:
750 //
751 // GCS_FILE_PATH
752 //
753 // The Google Cloud Storage location of an image of up to
754 // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG.
755 // This path is treated as the ID in the batch predict output.
756 //
757 // Sample rows:
758 //
759 // gs://folder/image1.jpeg
760 // gs://folder/image2.gif
761 // gs://folder/image3.png
762 //
763 // ##### Object Detection
764 //
765 // One or more CSV files where each line is a single column:
766 //
767 // GCS_FILE_PATH
768 //
769 // The Google Cloud Storage location of an image of up to
770 // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG.
771 // This path is treated as the ID in the batch predict output.
772 //
773 // Sample rows:
774 //
775 // gs://folder/image1.jpeg
776 // gs://folder/image2.gif
777 // gs://folder/image3.png
778 //
779 // #### AutoML Video Intelligence
780 // ##### Classification
781 //
782 // One or more CSV files where each line is a single column:
783 //
784 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END
785 //
786 // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in
787 // size and up to 3h in duration duration.
788 // Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
789 //
790 // `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
791 // length of the video, and the end time must be after the start time.
792 //
793 // Sample rows:
794 //
795 // gs://folder/video1.mp4,10,40
796 // gs://folder/video1.mp4,20,60
797 // gs://folder/vid2.mov,0,inf
798 //
799 // ##### Object Tracking
800 //
801 // One or more CSV files where each line is a single column:
802 //
803 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END
804 //
805 // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in
806 // size and up to 3h in duration duration.
807 // Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
808 //
809 // `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
810 // length of the video, and the end time must be after the start time.
811 //
812 // Sample rows:
813 //
814 // gs://folder/video1.mp4,10,40
815 // gs://folder/video1.mp4,20,60
816 // gs://folder/vid2.mov,0,inf
817 //
818 // #### AutoML Natural Language
819 // ##### Classification
820 //
821 // One or more CSV files where each line is a single column:
822 //
823 // GCS_FILE_PATH
824 //
825 // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file.
826 // Supported file extensions: .TXT, .PDF, .TIF, .TIFF
827 //
828 // Text files can be no larger than 10MB in size.
829 //
830 // Sample rows:
831 //
832 // gs://folder/text1.txt
833 // gs://folder/text2.pdf
834 // gs://folder/text3.tif
835 //
836 // ##### Sentiment Analysis
837 // One or more CSV files where each line is a single column:
838 //
839 // GCS_FILE_PATH
840 //
841 // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file.
842 // Supported file extensions: .TXT, .PDF, .TIF, .TIFF
843 //
844 // Text files can be no larger than 128kB in size.
845 //
846 // Sample rows:
847 //
848 // gs://folder/text1.txt
849 // gs://folder/text2.pdf
850 // gs://folder/text3.tif
851 //
852 // ##### Entity Extraction
853 //
854 // One or more JSONL (JSON Lines) files that either provide inline text or
855 // documents. You can only use one format, either inline text or documents,
856 // for a single call to [AutoMl.BatchPredict].
857 //
858 // Each JSONL file contains a per line a proto that
859 // wraps a temporary user-assigned TextSnippet ID (string up to 2000
860 // characters long) called "id", a TextSnippet proto (in
861 // JSON representation) and zero or more TextFeature protos. Any given
862 // text snippet content must have 30,000 characters or less, and also
863 // be UTF-8 NFC encoded (ASCII already is). The IDs provided should be
864 // unique.
865 //
866 // Each document JSONL file contains, per line, a proto that wraps a Document
867 // proto with `input_config` set. Each document cannot exceed 2MB in size.
868 //
869 // Supported document extensions: .PDF, .TIF, .TIFF
870 //
871 // Each JSONL file must not exceed 100MB in size, and no more than 20
872 // JSONL files may be passed.
873 //
874 // Sample inline JSONL file (Shown with artificial line
875 // breaks. Actual line breaks are denoted by "\n".):
876 //
877 // {
878 // "id": "my_first_id",
879 // "text_snippet": { "content": "dog car cat"},
880 // "text_features": [
881 // {
882 // "text_segment": {"start_offset": 4, "end_offset": 6},
883 // "structural_type": PARAGRAPH,
884 // "bounding_poly": {
885 // "normalized_vertices": [
886 // {"x": 0.1, "y": 0.1},
887 // {"x": 0.1, "y": 0.3},
888 // {"x": 0.3, "y": 0.3},
889 // {"x": 0.3, "y": 0.1},
890 // ]
891 // },
892 // }
893 // ],
894 // }\n
895 // {
896 // "id": "2",
897 // "text_snippet": {
898 // "content": "Extended sample content",
899 // "mime_type": "text/plain"
900 // }
901 // }
902 //
903 // Sample document JSONL file (Shown with artificial line
904 // breaks. Actual line breaks are denoted by "\n".):
905 //
906 // {
907 // "document": {
908 // "input_config": {
909 // "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ]
910 // }
911 // }
912 // }
913 // }\n
914 // {
915 // "document": {
916 // "input_config": {
917 // "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ]
918 // }
919 // }
920 // }
921 // }
922 //
923 // #### AutoML Tables
924 //
925 // See [Preparing your training
926 // data](https://cloud.google.com/automl-tables/docs/predict-batch) for more
927 // information.
928 //
929 // You can use either
930 // [gcs_source][google.cloud.automl.v1.BatchPredictInputConfig.gcs_source]
931 // or
932 // [bigquery_source][BatchPredictInputConfig.bigquery_source].
933 //
934 // **For gcs_source:**
935 //
936 // CSV file(s), each by itself 10GB or smaller and total size must be
937 // 100GB or smaller, where first file must have a header containing
938 // column names. If the first row of a subsequent file is the same as
939 // the header, then it is also treated as a header. All other rows
940 // contain values for the corresponding columns.
941 //
942 // The column names must contain the model's
943 // [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
944 // [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name]
945 // (order doesn't matter). The columns corresponding to the model's
946 // input feature column specs must contain values compatible with the
947 // column spec's data types. Prediction on all the rows, i.e. the CSV
948 // lines, will be attempted.
949 //
950 // Sample rows from a CSV file:
951 // <pre>
952 // "First Name","Last Name","Dob","Addresses"
953 // "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
954 // "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
955 // </pre>
956 // **For bigquery_source:**
957 //
958 // The URI of a BigQuery table. The user data size of the BigQuery
959 // table must be 100GB or smaller.
960 //
961 // The column names must contain the model's
962 // [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
963 // [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name]
964 // (order doesn't matter). The columns corresponding to the model's
965 // input feature column specs must contain values compatible with the
966 // column spec's data types. Prediction on all the rows of the table
967 // will be attempted.
968 //
969 // **Input field definitions:**
970 //
971 // `GCS_FILE_PATH`
972 // : The path to a file on Google Cloud Storage. For example,
973 //
974 // "gs://folder/video.avi".
975 //
976 // `TIME_SEGMENT_START`
977 // : (`TIME_OFFSET`)
978 //
979 // Expresses a beginning, inclusive, of a time segment
980 // within an example that has a time dimension
981 // (e.g. video).
982 //
983 // `TIME_SEGMENT_END`
984 // : (`TIME_OFFSET`)
985 //
986 // Expresses an end, exclusive, of a time segment within
987 // n example that has a time dimension (e.g. video).
988 //
989 // `TIME_OFFSET`
990 // : A number of seconds as measured from the start of an
991 //
992 // example (e.g. video). Fractions are allowed, up to a
993 // microsecond precision. "inf" is allowed, and it means the end
994 // of the example.
995 //
996 // **Errors:**
997 //
998 // If any of the provided CSV files can't be parsed or if more than certain
999 // percent of CSV rows cannot be processed then the operation fails and
1000 // prediction does not happen. Regardless of overall success or failure the
1001 // per-row failures, up to a certain count cap, will be listed in
1002 // Operation.metadata.partial_failures.
1003 type BatchPredictInputConfig struct {
1004 state protoimpl.MessageState
1005 sizeCache protoimpl.SizeCache
1006 unknownFields protoimpl.UnknownFields
1007
1008 // The source of the input.
1009 //
1010 // Types that are assignable to Source:
1011 //
1012 // *BatchPredictInputConfig_GcsSource
1013 Source isBatchPredictInputConfig_Source `protobuf_oneof:"source"`
1014 }
1015
1016 func (x *BatchPredictInputConfig) Reset() {
1017 *x = BatchPredictInputConfig{}
1018 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[1]
1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020 ms.StoreMessageInfo(mi)
1021 }
1022
1023 func (x *BatchPredictInputConfig) String() string {
1024 return protoimpl.X.MessageStringOf(x)
1025 }
1026
1027 func (*BatchPredictInputConfig) ProtoMessage() {}
1028
1029 func (x *BatchPredictInputConfig) ProtoReflect() protoreflect.Message {
1030 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[1]
1031 if x != nil {
1032 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1033 if ms.LoadMessageInfo() == nil {
1034 ms.StoreMessageInfo(mi)
1035 }
1036 return ms
1037 }
1038 return mi.MessageOf(x)
1039 }
1040
1041 // Deprecated: Use BatchPredictInputConfig.ProtoReflect.Descriptor instead.
1042 func (*BatchPredictInputConfig) Descriptor() ([]byte, []int) {
1043 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{1}
1044 }
1045
1046 func (m *BatchPredictInputConfig) GetSource() isBatchPredictInputConfig_Source {
1047 if m != nil {
1048 return m.Source
1049 }
1050 return nil
1051 }
1052
1053 func (x *BatchPredictInputConfig) GetGcsSource() *GcsSource {
1054 if x, ok := x.GetSource().(*BatchPredictInputConfig_GcsSource); ok {
1055 return x.GcsSource
1056 }
1057 return nil
1058 }
1059
1060 type isBatchPredictInputConfig_Source interface {
1061 isBatchPredictInputConfig_Source()
1062 }
1063
1064 type BatchPredictInputConfig_GcsSource struct {
1065 // Required. The Google Cloud Storage location for the input content.
1066 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
1067 }
1068
1069 func (*BatchPredictInputConfig_GcsSource) isBatchPredictInputConfig_Source() {}
1070
1071 // Input configuration of a [Document][google.cloud.automl.v1.Document].
1072 type DocumentInputConfig struct {
1073 state protoimpl.MessageState
1074 sizeCache protoimpl.SizeCache
1075 unknownFields protoimpl.UnknownFields
1076
1077 // The Google Cloud Storage location of the document file. Only a single path
1078 // should be given.
1079 //
1080 // Max supported size: 512MB.
1081 //
1082 // Supported extensions: .PDF.
1083 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"`
1084 }
1085
1086 func (x *DocumentInputConfig) Reset() {
1087 *x = DocumentInputConfig{}
1088 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[2]
1089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1090 ms.StoreMessageInfo(mi)
1091 }
1092
1093 func (x *DocumentInputConfig) String() string {
1094 return protoimpl.X.MessageStringOf(x)
1095 }
1096
1097 func (*DocumentInputConfig) ProtoMessage() {}
1098
1099 func (x *DocumentInputConfig) ProtoReflect() protoreflect.Message {
1100 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[2]
1101 if x != nil {
1102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1103 if ms.LoadMessageInfo() == nil {
1104 ms.StoreMessageInfo(mi)
1105 }
1106 return ms
1107 }
1108 return mi.MessageOf(x)
1109 }
1110
1111 // Deprecated: Use DocumentInputConfig.ProtoReflect.Descriptor instead.
1112 func (*DocumentInputConfig) Descriptor() ([]byte, []int) {
1113 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{2}
1114 }
1115
1116 func (x *DocumentInputConfig) GetGcsSource() *GcsSource {
1117 if x != nil {
1118 return x.GcsSource
1119 }
1120 return nil
1121 }
1122
1123 // - For Translation:
1124 // CSV file `translation.csv`, with each line in format:
1125 // ML_USE,GCS_FILE_PATH
1126 // GCS_FILE_PATH leads to a .TSV file which describes examples that have
1127 // given ML_USE, using the following row format per line:
1128 // TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target
1129 // language)
1130 //
1131 // - For Tables:
1132 // Output depends on whether the dataset was imported from Google Cloud
1133 // Storage or BigQuery.
1134 // Google Cloud Storage case:
1135 // [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination]
1136 // must be set. Exported are CSV file(s) `tables_1.csv`,
1137 // `tables_2.csv`,...,`tables_N.csv` with each having as header line
1138 // the table's column names, and all other lines contain values for
1139 // the header columns.
1140 // BigQuery case:
1141 // [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
1142 // pointing to a BigQuery project must be set. In the given project a
1143 // new dataset will be created with name
1144 // `export_data_<automl-dataset-display-name>_<timestamp-of-export-call>`
1145 // where <automl-dataset-display-name> will be made
1146 // BigQuery-dataset-name compatible (e.g. most special characters will
1147 // become underscores), and timestamp will be in
1148 // YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that
1149 // dataset a new table called `primary_table` will be created, and
1150 // filled with precisely the same data as this obtained on import.
1151 type OutputConfig struct {
1152 state protoimpl.MessageState
1153 sizeCache protoimpl.SizeCache
1154 unknownFields protoimpl.UnknownFields
1155
1156 // The destination of the output.
1157 //
1158 // Types that are assignable to Destination:
1159 //
1160 // *OutputConfig_GcsDestination
1161 Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
1162 }
1163
1164 func (x *OutputConfig) Reset() {
1165 *x = OutputConfig{}
1166 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[3]
1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1168 ms.StoreMessageInfo(mi)
1169 }
1170
1171 func (x *OutputConfig) String() string {
1172 return protoimpl.X.MessageStringOf(x)
1173 }
1174
1175 func (*OutputConfig) ProtoMessage() {}
1176
1177 func (x *OutputConfig) ProtoReflect() protoreflect.Message {
1178 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[3]
1179 if x != nil {
1180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1181 if ms.LoadMessageInfo() == nil {
1182 ms.StoreMessageInfo(mi)
1183 }
1184 return ms
1185 }
1186 return mi.MessageOf(x)
1187 }
1188
1189 // Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.
1190 func (*OutputConfig) Descriptor() ([]byte, []int) {
1191 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{3}
1192 }
1193
1194 func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
1195 if m != nil {
1196 return m.Destination
1197 }
1198 return nil
1199 }
1200
1201 func (x *OutputConfig) GetGcsDestination() *GcsDestination {
1202 if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok {
1203 return x.GcsDestination
1204 }
1205 return nil
1206 }
1207
1208 type isOutputConfig_Destination interface {
1209 isOutputConfig_Destination()
1210 }
1211
1212 type OutputConfig_GcsDestination struct {
1213 // Required. The Google Cloud Storage location where the output is to be
1214 // written to. For Image Object Detection, Text Extraction, Video
1215 // Classification and Tables, in the given directory a new directory will be
1216 // created with name:
1217 // export_data-<dataset-display-name>-<timestamp-of-export-call> where
1218 // timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
1219 // output will be written into that directory.
1220 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
1221 }
1222
1223 func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
1224
1225 // Output configuration for BatchPredict Action.
1226 //
1227 // As destination the
1228 // [gcs_destination][google.cloud.automl.v1.BatchPredictOutputConfig.gcs_destination]
1229 // must be set unless specified otherwise for a domain. If gcs_destination is
1230 // set then in the given directory a new directory is created. Its name
1231 // will be
1232 // "prediction-<model-display-name>-<timestamp-of-prediction-call>",
1233 // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents
1234 // of it depends on the ML problem the predictions are made for.
1235 //
1236 // - For Image Classification:
1237 // In the created directory files `image_classification_1.jsonl`,
1238 // `image_classification_2.jsonl`,...,`image_classification_N.jsonl`
1239 // will be created, where N may be 1, and depends on the
1240 // total number of the successfully predicted images and annotations.
1241 // A single image will be listed only once with all its annotations,
1242 // and its annotations will never be split across files.
1243 // Each .JSONL file will contain, per line, a JSON representation of a
1244 // proto that wraps image's "ID" : "<id_value>" followed by a list of
1245 // zero or more AnnotationPayload protos (called annotations), which
1246 // have classification detail populated.
1247 // If prediction for any image failed (partially or completely), then an
1248 // additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl`
1249 // files will be created (N depends on total number of failed
1250 // predictions). These files will have a JSON representation of a proto
1251 // that wraps the same "ID" : "<id_value>" but here followed by
1252 // exactly one
1253 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1254 // containing only `code` and `message`fields.
1255 //
1256 // - For Image Object Detection:
1257 // In the created directory files `image_object_detection_1.jsonl`,
1258 // `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl`
1259 // will be created, where N may be 1, and depends on the
1260 // total number of the successfully predicted images and annotations.
1261 // Each .JSONL file will contain, per line, a JSON representation of a
1262 // proto that wraps image's "ID" : "<id_value>" followed by a list of
1263 // zero or more AnnotationPayload protos (called annotations), which
1264 // have image_object_detection detail populated. A single image will
1265 // be listed only once with all its annotations, and its annotations
1266 // will never be split across files.
1267 // If prediction for any image failed (partially or completely), then
1268 // additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl`
1269 // files will be created (N depends on total number of failed
1270 // predictions). These files will have a JSON representation of a proto
1271 // that wraps the same "ID" : "<id_value>" but here followed by
1272 // exactly one
1273 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1274 // containing only `code` and `message`fields.
1275 //
1276 // - For Video Classification:
1277 // In the created directory a video_classification.csv file, and a .JSON
1278 // file per each video classification requested in the input (i.e. each
1279 // line in given CSV(s)), will be created.
1280 //
1281 // The format of video_classification.csv is:
1282 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1283 // where:
1284 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1
1285 // the prediction input lines (i.e. video_classification.csv has
1286 // precisely the same number of lines as the prediction input had.)
1287 // JSON_FILE_NAME = Name of .JSON file in the output directory, which
1288 // contains prediction responses for the video time segment.
1289 // STATUS = "OK" if prediction completed successfully, or an error code
1290 // with message otherwise. If STATUS is not "OK" then the .JSON file
1291 // for that line may not exist or be empty.
1292 //
1293 // Each .JSON file, assuming STATUS is "OK", will contain a list of
1294 // AnnotationPayload protos in JSON format, which are the predictions
1295 // for the video time segment the file is assigned to in the
1296 // video_classification.csv. All AnnotationPayload protos will have
1297 // video_classification field set, and will be sorted by
1298 // video_classification.type field (note that the returned types are
1299 // governed by `classifaction_types` parameter in
1300 // [PredictService.BatchPredictRequest.params][]).
1301 //
1302 // - For Video Object Tracking:
1303 // In the created directory a video_object_tracking.csv file will be
1304 // created, and multiple files video_object_trackinng_1.json,
1305 // video_object_trackinng_2.json,..., video_object_trackinng_N.json,
1306 // where N is the number of requests in the input (i.e. the number of
1307 // lines in given CSV(s)).
1308 //
1309 // The format of video_object_tracking.csv is:
1310 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1311 // where:
1312 // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1
1313 // the prediction input lines (i.e. video_object_tracking.csv has
1314 // precisely the same number of lines as the prediction input had.)
1315 // JSON_FILE_NAME = Name of .JSON file in the output directory, which
1316 // contains prediction responses for the video time segment.
1317 // STATUS = "OK" if prediction completed successfully, or an error
1318 // code with message otherwise. If STATUS is not "OK" then the .JSON
1319 // file for that line may not exist or be empty.
1320 //
1321 // Each .JSON file, assuming STATUS is "OK", will contain a list of
1322 // AnnotationPayload protos in JSON format, which are the predictions
1323 // for each frame of the video time segment the file is assigned to in
1324 // video_object_tracking.csv. All AnnotationPayload protos will have
1325 // video_object_tracking field set.
1326 //
1327 // - For Text Classification:
1328 // In the created directory files `text_classification_1.jsonl`,
1329 // `text_classification_2.jsonl`,...,`text_classification_N.jsonl`
1330 // will be created, where N may be 1, and depends on the
1331 // total number of inputs and annotations found.
1332 //
1333 // Each .JSONL file will contain, per line, a JSON representation of a
1334 // proto that wraps input text file (or document) in
1335 // the text snippet (or document) proto and a list of
1336 // zero or more AnnotationPayload protos (called annotations), which
1337 // have classification detail populated. A single text file (or
1338 // document) will be listed only once with all its annotations, and its
1339 // annotations will never be split across files.
1340 //
1341 // If prediction for any input file (or document) failed (partially or
1342 // completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,...,
1343 // `errors_N.jsonl` files will be created (N depends on total number of
1344 // failed predictions). These files will have a JSON representation of a
1345 // proto that wraps input file followed by exactly one
1346 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1347 // containing only `code` and `message`.
1348 //
1349 // - For Text Sentiment:
1350 // In the created directory files `text_sentiment_1.jsonl`,
1351 // `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl`
1352 // will be created, where N may be 1, and depends on the
1353 // total number of inputs and annotations found.
1354 //
1355 // Each .JSONL file will contain, per line, a JSON representation of a
1356 // proto that wraps input text file (or document) in
1357 // the text snippet (or document) proto and a list of
1358 // zero or more AnnotationPayload protos (called annotations), which
1359 // have text_sentiment detail populated. A single text file (or
1360 // document) will be listed only once with all its annotations, and its
1361 // annotations will never be split across files.
1362 //
1363 // If prediction for any input file (or document) failed (partially or
1364 // completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,...,
1365 // `errors_N.jsonl` files will be created (N depends on total number of
1366 // failed predictions). These files will have a JSON representation of a
1367 // proto that wraps input file followed by exactly one
1368 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1369 // containing only `code` and `message`.
1370 //
1371 // - For Text Extraction:
1372 // In the created directory files `text_extraction_1.jsonl`,
1373 // `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl`
1374 // will be created, where N may be 1, and depends on the
1375 // total number of inputs and annotations found.
1376 // The contents of these .JSONL file(s) depend on whether the input
1377 // used inline text, or documents.
1378 // If input was inline, then each .JSONL file will contain, per line,
1379 // a JSON representation of a proto that wraps given in request text
1380 // snippet's "id" (if specified), followed by input text snippet,
1381 // and a list of zero or more
1382 // AnnotationPayload protos (called annotations), which have
1383 // text_extraction detail populated. A single text snippet will be
1384 // listed only once with all its annotations, and its annotations will
1385 // never be split across files.
1386 // If input used documents, then each .JSONL file will contain, per
1387 // line, a JSON representation of a proto that wraps given in request
1388 // document proto, followed by its OCR-ed representation in the form
1389 // of a text snippet, finally followed by a list of zero or more
1390 // AnnotationPayload protos (called annotations), which have
1391 // text_extraction detail populated and refer, via their indices, to
1392 // the OCR-ed text snippet. A single document (and its text snippet)
1393 // will be listed only once with all its annotations, and its
1394 // annotations will never be split across files.
1395 // If prediction for any text snippet failed (partially or completely),
1396 // then additional `errors_1.jsonl`, `errors_2.jsonl`,...,
1397 // `errors_N.jsonl` files will be created (N depends on total number of
1398 // failed predictions). These files will have a JSON representation of a
1399 // proto that wraps either the "id" : "<id_value>" (in case of inline)
1400 // or the document proto (in case of document) but here followed by
1401 // exactly one
1402 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1403 // containing only `code` and `message`.
1404 //
1405 // - For Tables:
1406 // Output depends on whether
1407 // [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination]
1408 // or
1409 // [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination]
1410 // is set (either is allowed).
1411 // Google Cloud Storage case:
1412 // In the created directory files `tables_1.csv`, `tables_2.csv`,...,
1413 // `tables_N.csv` will be created, where N may be 1, and depends on
1414 // the total number of the successfully predicted rows.
1415 // For all CLASSIFICATION
1416 // [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1417 // Each .csv file will contain a header, listing all columns'
1418 // [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1419 // given on input followed by M target column names in the format of
1420 // "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1421 // [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>_<target
1422 // value>_score" where M is the number of distinct target values,
1423 // i.e. number of distinct values in the target column of the table
1424 // used to train the model. Subsequent lines will contain the
1425 // respective values of successfully predicted rows, with the last,
1426 // i.e. the target, columns having the corresponding prediction
1427 // [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score].
1428 // For REGRESSION and FORECASTING
1429 // [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1430 // Each .csv file will contain a header, listing all columns'
1431 // [display_name-s][google.cloud.automl.v1p1beta.display_name]
1432 // given on input followed by the predicted target column with name
1433 // in the format of
1434 // "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1435 // [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1436 // Subsequent lines will contain the respective values of
1437 // successfully predicted rows, with the last, i.e. the target,
1438 // column having the predicted target value.
1439 // If prediction for any rows failed, then an additional
1440 // `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be
1441 // created (N depends on total number of failed rows). These files
1442 // will have analogous format as `tables_*.csv`, but always with a
1443 // single target column having
1444 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1445 // represented as a JSON string, and containing only `code` and
1446 // `message`.
1447 // BigQuery case:
1448 // [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
1449 // pointing to a BigQuery project must be set. In the given project a
1450 // new dataset will be created with name
1451 // `prediction_<model-display-name>_<timestamp-of-prediction-call>`
1452 // where <model-display-name> will be made
1453 // BigQuery-dataset-name compatible (e.g. most special characters will
1454 // become underscores), and timestamp will be in
1455 // YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset
1456 // two tables will be created, `predictions`, and `errors`.
1457 // The `predictions` table's column names will be the input columns'
1458 // [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1459 // followed by the target column with name in the format of
1460 // "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1461 // [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1462 // The input feature columns will contain the respective values of
1463 // successfully predicted rows, with the target column having an
1464 // ARRAY of
1465 // [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload],
1466 // represented as STRUCT-s, containing
1467 // [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation].
1468 // The `errors` table contains rows for which the prediction has
1469 // failed, it has analogous input columns while the target column name
1470 // is in the format of
1471 // "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1472 // [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>",
1473 // and as a value has
1474 // [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1475 // represented as a STRUCT, and containing only `code` and `message`.
1476 type BatchPredictOutputConfig struct {
1477 state protoimpl.MessageState
1478 sizeCache protoimpl.SizeCache
1479 unknownFields protoimpl.UnknownFields
1480
1481 // The destination of the output.
1482 //
1483 // Types that are assignable to Destination:
1484 //
1485 // *BatchPredictOutputConfig_GcsDestination
1486 Destination isBatchPredictOutputConfig_Destination `protobuf_oneof:"destination"`
1487 }
1488
1489 func (x *BatchPredictOutputConfig) Reset() {
1490 *x = BatchPredictOutputConfig{}
1491 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[4]
1492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1493 ms.StoreMessageInfo(mi)
1494 }
1495
1496 func (x *BatchPredictOutputConfig) String() string {
1497 return protoimpl.X.MessageStringOf(x)
1498 }
1499
1500 func (*BatchPredictOutputConfig) ProtoMessage() {}
1501
1502 func (x *BatchPredictOutputConfig) ProtoReflect() protoreflect.Message {
1503 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[4]
1504 if x != nil {
1505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1506 if ms.LoadMessageInfo() == nil {
1507 ms.StoreMessageInfo(mi)
1508 }
1509 return ms
1510 }
1511 return mi.MessageOf(x)
1512 }
1513
1514 // Deprecated: Use BatchPredictOutputConfig.ProtoReflect.Descriptor instead.
1515 func (*BatchPredictOutputConfig) Descriptor() ([]byte, []int) {
1516 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{4}
1517 }
1518
1519 func (m *BatchPredictOutputConfig) GetDestination() isBatchPredictOutputConfig_Destination {
1520 if m != nil {
1521 return m.Destination
1522 }
1523 return nil
1524 }
1525
1526 func (x *BatchPredictOutputConfig) GetGcsDestination() *GcsDestination {
1527 if x, ok := x.GetDestination().(*BatchPredictOutputConfig_GcsDestination); ok {
1528 return x.GcsDestination
1529 }
1530 return nil
1531 }
1532
1533 type isBatchPredictOutputConfig_Destination interface {
1534 isBatchPredictOutputConfig_Destination()
1535 }
1536
1537 type BatchPredictOutputConfig_GcsDestination struct {
1538 // Required. The Google Cloud Storage location of the directory where the
1539 // output is to be written to.
1540 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
1541 }
1542
1543 func (*BatchPredictOutputConfig_GcsDestination) isBatchPredictOutputConfig_Destination() {}
1544
1545 // Output configuration for ModelExport Action.
1546 type ModelExportOutputConfig struct {
1547 state protoimpl.MessageState
1548 sizeCache protoimpl.SizeCache
1549 unknownFields protoimpl.UnknownFields
1550
1551 // The destination of the output.
1552 //
1553 // Types that are assignable to Destination:
1554 //
1555 // *ModelExportOutputConfig_GcsDestination
1556 Destination isModelExportOutputConfig_Destination `protobuf_oneof:"destination"`
1557 // The format in which the model must be exported. The available, and default,
1558 // formats depend on the problem and model type (if given problem and type
1559 // combination doesn't have a format listed, it means its models are not
1560 // exportable):
1561 //
1562 // - For Image Classification mobile-low-latency-1, mobile-versatile-1,
1563 // mobile-high-accuracy-1:
1564 // "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
1565 // "docker".
1566 //
1567 // - For Image Classification mobile-core-ml-low-latency-1,
1568 // mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
1569 // "core_ml" (default).
1570 //
1571 // - For Image Object Detection mobile-low-latency-1, mobile-versatile-1,
1572 // mobile-high-accuracy-1:
1573 // "tflite", "tf_saved_model", "tf_js".
1574 //
1575 // Formats description:
1576 //
1577 // - tflite - Used for Android mobile devices.
1578 // - edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/)
1579 // devices.
1580 // - tf_saved_model - A tensorflow model in SavedModel format.
1581 // - tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
1582 // be used in the browser and in Node.js using JavaScript.
1583 // - docker - Used for Docker containers. Use the params field to customize
1584 // the container. The container is verified to work correctly on
1585 // ubuntu 16.04 operating system. See more at
1586 // [containers
1587 // quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
1588 // - core_ml - Used for iOS mobile devices.
1589 ModelFormat string `protobuf:"bytes,4,opt,name=model_format,json=modelFormat,proto3" json:"model_format,omitempty"`
1590 // Additional model-type and format specific parameters describing the
1591 // requirements for the to be exported model files, any string must be up to
1592 // 25000 characters long.
1593 //
1594 // - For `docker` format:
1595 // `cpu_architecture` - (string) "x86_64" (default).
1596 // `gpu_architecture` - (string) "none" (default), "nvidia".
1597 Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1598 }
1599
1600 func (x *ModelExportOutputConfig) Reset() {
1601 *x = ModelExportOutputConfig{}
1602 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[5]
1603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1604 ms.StoreMessageInfo(mi)
1605 }
1606
1607 func (x *ModelExportOutputConfig) String() string {
1608 return protoimpl.X.MessageStringOf(x)
1609 }
1610
1611 func (*ModelExportOutputConfig) ProtoMessage() {}
1612
1613 func (x *ModelExportOutputConfig) ProtoReflect() protoreflect.Message {
1614 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[5]
1615 if x != nil {
1616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1617 if ms.LoadMessageInfo() == nil {
1618 ms.StoreMessageInfo(mi)
1619 }
1620 return ms
1621 }
1622 return mi.MessageOf(x)
1623 }
1624
1625 // Deprecated: Use ModelExportOutputConfig.ProtoReflect.Descriptor instead.
1626 func (*ModelExportOutputConfig) Descriptor() ([]byte, []int) {
1627 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{5}
1628 }
1629
1630 func (m *ModelExportOutputConfig) GetDestination() isModelExportOutputConfig_Destination {
1631 if m != nil {
1632 return m.Destination
1633 }
1634 return nil
1635 }
1636
1637 func (x *ModelExportOutputConfig) GetGcsDestination() *GcsDestination {
1638 if x, ok := x.GetDestination().(*ModelExportOutputConfig_GcsDestination); ok {
1639 return x.GcsDestination
1640 }
1641 return nil
1642 }
1643
1644 func (x *ModelExportOutputConfig) GetModelFormat() string {
1645 if x != nil {
1646 return x.ModelFormat
1647 }
1648 return ""
1649 }
1650
1651 func (x *ModelExportOutputConfig) GetParams() map[string]string {
1652 if x != nil {
1653 return x.Params
1654 }
1655 return nil
1656 }
1657
1658 type isModelExportOutputConfig_Destination interface {
1659 isModelExportOutputConfig_Destination()
1660 }
1661
1662 type ModelExportOutputConfig_GcsDestination struct {
1663 // Required. The Google Cloud Storage location where the model is to be
1664 // written to. This location may only be set for the following model
1665 // formats:
1666 //
1667 // "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
1668 //
1669 // Under the directory given as the destination a new one with name
1670 // "model-export-<model-display-name>-<timestamp-of-export-call>",
1671 // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
1672 // will be created. Inside the model and any of its supporting files
1673 // will be written.
1674 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
1675 }
1676
1677 func (*ModelExportOutputConfig_GcsDestination) isModelExportOutputConfig_Destination() {}
1678
1679 // The Google Cloud Storage location for the input content.
1680 type GcsSource struct {
1681 state protoimpl.MessageState
1682 sizeCache protoimpl.SizeCache
1683 unknownFields protoimpl.UnknownFields
1684
1685 // Required. Google Cloud Storage URIs to input files, up to 2000
1686 // characters long. Accepted forms:
1687 // * Full object path, e.g. gs://bucket/directory/object.csv
1688 InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"`
1689 }
1690
1691 func (x *GcsSource) Reset() {
1692 *x = GcsSource{}
1693 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[6]
1694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1695 ms.StoreMessageInfo(mi)
1696 }
1697
1698 func (x *GcsSource) String() string {
1699 return protoimpl.X.MessageStringOf(x)
1700 }
1701
1702 func (*GcsSource) ProtoMessage() {}
1703
1704 func (x *GcsSource) ProtoReflect() protoreflect.Message {
1705 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[6]
1706 if x != nil {
1707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1708 if ms.LoadMessageInfo() == nil {
1709 ms.StoreMessageInfo(mi)
1710 }
1711 return ms
1712 }
1713 return mi.MessageOf(x)
1714 }
1715
1716 // Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
1717 func (*GcsSource) Descriptor() ([]byte, []int) {
1718 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{6}
1719 }
1720
1721 func (x *GcsSource) GetInputUris() []string {
1722 if x != nil {
1723 return x.InputUris
1724 }
1725 return nil
1726 }
1727
1728 // The Google Cloud Storage location where the output is to be written to.
1729 type GcsDestination struct {
1730 state protoimpl.MessageState
1731 sizeCache protoimpl.SizeCache
1732 unknownFields protoimpl.UnknownFields
1733
1734 // Required. Google Cloud Storage URI to output directory, up to 2000
1735 // characters long.
1736 // Accepted forms:
1737 // * Prefix path: gs://bucket/directory
1738 // The requesting user must have write permission to the bucket.
1739 // The directory is created if it doesn't exist.
1740 OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
1741 }
1742
1743 func (x *GcsDestination) Reset() {
1744 *x = GcsDestination{}
1745 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[7]
1746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1747 ms.StoreMessageInfo(mi)
1748 }
1749
1750 func (x *GcsDestination) String() string {
1751 return protoimpl.X.MessageStringOf(x)
1752 }
1753
1754 func (*GcsDestination) ProtoMessage() {}
1755
1756 func (x *GcsDestination) ProtoReflect() protoreflect.Message {
1757 mi := &file_google_cloud_automl_v1_io_proto_msgTypes[7]
1758 if x != nil {
1759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1760 if ms.LoadMessageInfo() == nil {
1761 ms.StoreMessageInfo(mi)
1762 }
1763 return ms
1764 }
1765 return mi.MessageOf(x)
1766 }
1767
1768 // Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
1769 func (*GcsDestination) Descriptor() ([]byte, []int) {
1770 return file_google_cloud_automl_v1_io_proto_rawDescGZIP(), []int{7}
1771 }
1772
1773 func (x *GcsDestination) GetOutputUriPrefix() string {
1774 if x != nil {
1775 return x.OutputUriPrefix
1776 }
1777 return ""
1778 }
1779
1780 var File_google_cloud_automl_v1_io_proto protoreflect.FileDescriptor
1781
1782 var file_google_cloud_automl_v1_io_proto_rawDesc = []byte{
1783 0x0a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
1784 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1785 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1786 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1787 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
1788 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x01, 0x0a, 0x0b, 0x49,
1789 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x42, 0x0a, 0x0a, 0x67, 0x63,
1790 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
1791 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
1792 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63,
1793 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47,
1794 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f,
1795 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
1796 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e,
1797 0x66, 0x69, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
1798 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d,
1799 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
1800 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
1801 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
1802 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x6c, 0x0a, 0x17,
1803 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x49, 0x6e, 0x70, 0x75,
1804 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73,
1805 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f,
1806 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d,
1807 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03,
1808 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
1809 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x57, 0x0a, 0x13, 0x44, 0x6f,
1810 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1811 0x67, 0x12, 0x40, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
1812 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1813 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47,
1814 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75,
1815 0x72, 0x63, 0x65, 0x22, 0x75, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e,
1816 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69,
1817 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67,
1818 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f,
1819 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
1820 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73,
1821 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x64,
1822 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x42,
1823 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75,
1824 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64,
1825 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1826 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1827 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73,
1828 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52,
1829 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
1830 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb3,
1831 0x02, 0x0a, 0x17, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x75,
1832 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0f, 0x67, 0x63,
1833 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
1834 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1835 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73,
1836 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02,
1837 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
1838 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
1839 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46,
1840 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x53, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18,
1841 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1842 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
1843 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74,
1844 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
1845 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61,
1846 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
1847 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
1848 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1849 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
1850 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2f, 0x0a, 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63,
1851 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18,
1852 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75,
1853 0x74, 0x55, 0x72, 0x69, 0x73, 0x22, 0x41, 0x0a, 0x0e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74,
1854 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75,
1855 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01,
1856 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55,
1857 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0xa0, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d,
1858 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
1859 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1860 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61,
1861 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f,
1862 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa, 0x02, 0x16,
1863 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, 0x74,
1864 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
1865 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0xea,
1866 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
1867 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
1868 0x74, 0x6f, 0x33,
1869 }
1870
1871 var (
1872 file_google_cloud_automl_v1_io_proto_rawDescOnce sync.Once
1873 file_google_cloud_automl_v1_io_proto_rawDescData = file_google_cloud_automl_v1_io_proto_rawDesc
1874 )
1875
1876 func file_google_cloud_automl_v1_io_proto_rawDescGZIP() []byte {
1877 file_google_cloud_automl_v1_io_proto_rawDescOnce.Do(func() {
1878 file_google_cloud_automl_v1_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_io_proto_rawDescData)
1879 })
1880 return file_google_cloud_automl_v1_io_proto_rawDescData
1881 }
1882
1883 var file_google_cloud_automl_v1_io_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
1884 var file_google_cloud_automl_v1_io_proto_goTypes = []any{
1885 (*InputConfig)(nil), // 0: google.cloud.automl.v1.InputConfig
1886 (*BatchPredictInputConfig)(nil), // 1: google.cloud.automl.v1.BatchPredictInputConfig
1887 (*DocumentInputConfig)(nil), // 2: google.cloud.automl.v1.DocumentInputConfig
1888 (*OutputConfig)(nil), // 3: google.cloud.automl.v1.OutputConfig
1889 (*BatchPredictOutputConfig)(nil), // 4: google.cloud.automl.v1.BatchPredictOutputConfig
1890 (*ModelExportOutputConfig)(nil), // 5: google.cloud.automl.v1.ModelExportOutputConfig
1891 (*GcsSource)(nil), // 6: google.cloud.automl.v1.GcsSource
1892 (*GcsDestination)(nil), // 7: google.cloud.automl.v1.GcsDestination
1893 nil, // 8: google.cloud.automl.v1.InputConfig.ParamsEntry
1894 nil, // 9: google.cloud.automl.v1.ModelExportOutputConfig.ParamsEntry
1895 }
1896 var file_google_cloud_automl_v1_io_proto_depIdxs = []int32{
1897 6, // 0: google.cloud.automl.v1.InputConfig.gcs_source:type_name -> google.cloud.automl.v1.GcsSource
1898 8, // 1: google.cloud.automl.v1.InputConfig.params:type_name -> google.cloud.automl.v1.InputConfig.ParamsEntry
1899 6, // 2: google.cloud.automl.v1.BatchPredictInputConfig.gcs_source:type_name -> google.cloud.automl.v1.GcsSource
1900 6, // 3: google.cloud.automl.v1.DocumentInputConfig.gcs_source:type_name -> google.cloud.automl.v1.GcsSource
1901 7, // 4: google.cloud.automl.v1.OutputConfig.gcs_destination:type_name -> google.cloud.automl.v1.GcsDestination
1902 7, // 5: google.cloud.automl.v1.BatchPredictOutputConfig.gcs_destination:type_name -> google.cloud.automl.v1.GcsDestination
1903 7, // 6: google.cloud.automl.v1.ModelExportOutputConfig.gcs_destination:type_name -> google.cloud.automl.v1.GcsDestination
1904 9, // 7: google.cloud.automl.v1.ModelExportOutputConfig.params:type_name -> google.cloud.automl.v1.ModelExportOutputConfig.ParamsEntry
1905 8, // [8:8] is the sub-list for method output_type
1906 8, // [8:8] is the sub-list for method input_type
1907 8, // [8:8] is the sub-list for extension type_name
1908 8, // [8:8] is the sub-list for extension extendee
1909 0, // [0:8] is the sub-list for field type_name
1910 }
1911
1912 func init() { file_google_cloud_automl_v1_io_proto_init() }
1913 func file_google_cloud_automl_v1_io_proto_init() {
1914 if File_google_cloud_automl_v1_io_proto != nil {
1915 return
1916 }
1917 file_google_cloud_automl_v1_io_proto_msgTypes[0].OneofWrappers = []any{
1918 (*InputConfig_GcsSource)(nil),
1919 }
1920 file_google_cloud_automl_v1_io_proto_msgTypes[1].OneofWrappers = []any{
1921 (*BatchPredictInputConfig_GcsSource)(nil),
1922 }
1923 file_google_cloud_automl_v1_io_proto_msgTypes[3].OneofWrappers = []any{
1924 (*OutputConfig_GcsDestination)(nil),
1925 }
1926 file_google_cloud_automl_v1_io_proto_msgTypes[4].OneofWrappers = []any{
1927 (*BatchPredictOutputConfig_GcsDestination)(nil),
1928 }
1929 file_google_cloud_automl_v1_io_proto_msgTypes[5].OneofWrappers = []any{
1930 (*ModelExportOutputConfig_GcsDestination)(nil),
1931 }
1932 type x struct{}
1933 out := protoimpl.TypeBuilder{
1934 File: protoimpl.DescBuilder{
1935 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1936 RawDescriptor: file_google_cloud_automl_v1_io_proto_rawDesc,
1937 NumEnums: 0,
1938 NumMessages: 10,
1939 NumExtensions: 0,
1940 NumServices: 0,
1941 },
1942 GoTypes: file_google_cloud_automl_v1_io_proto_goTypes,
1943 DependencyIndexes: file_google_cloud_automl_v1_io_proto_depIdxs,
1944 MessageInfos: file_google_cloud_automl_v1_io_proto_msgTypes,
1945 }.Build()
1946 File_google_cloud_automl_v1_io_proto = out.File
1947 file_google_cloud_automl_v1_io_proto_rawDesc = nil
1948 file_google_cloud_automl_v1_io_proto_goTypes = nil
1949 file_google_cloud_automl_v1_io_proto_depIdxs = nil
1950 }