Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / cloud / automl / v1beta1 / dataset.proto
1 // Copyright 2018 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 syntax = "proto3";
16
17 package google.cloud.automl.v1beta1;
18
19 import "google/api/annotations.proto";
20 import "google/cloud/automl/v1beta1/annotation_payload.proto";
21 import "google/cloud/automl/v1beta1/data_items.proto";
22 import "google/cloud/automl/v1beta1/image.proto";
23 import "google/cloud/automl/v1beta1/text.proto";
24 import "google/cloud/automl/v1beta1/translation.proto";
25 import "google/protobuf/timestamp.proto";
26
27 option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl";
28 option java_multiple_files = true;
29 option java_package = "com.google.cloud.automl.v1beta1";
30 option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1";
31
32 // A workspace for solving a single, particular machine learning (ML) problem.
33 // A workspace contains examples that may be annotated.
34 message Dataset {
35   // Required.
36   // The dataset metadata that is specific to the problem type.
37   oneof dataset_metadata {
38     // Metadata for a dataset used for translation.
39     TranslationDatasetMetadata translation_dataset_metadata = 23;
40
41     // Metadata for a dataset used for image classification.
42     ImageClassificationDatasetMetadata image_classification_dataset_metadata =
43         24;
44
45     // Metadata for a dataset used for text classification.
46     TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
47   }
48
49   // Output only. The resource name of the dataset.
50   // Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
51   string name = 1;
52
53   // Required. The name of the dataset to show in the interface. The name can be
54   // up to 32 characters
55   // long and can consist only of ASCII Latin letters A-Z and a-z, underscores
56   // (_), and ASCII digits 0-9.
57   string display_name = 2;
58
59   // Output only. The number of examples in the dataset.
60   int32 example_count = 21;
61
62   // Output only. Timestamp when this dataset was created.
63   google.protobuf.Timestamp create_time = 14;
64 }