Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / cloud / automl / v1beta1 / operations.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/model.proto";
21 import "google/cloud/automl/v1beta1/model_evaluation.proto";
22 import "google/protobuf/empty.proto";
23 import "google/protobuf/timestamp.proto";
24 import "google/rpc/status.proto";
25
26 option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl";
27 option java_multiple_files = true;
28 option java_package = "com.google.cloud.automl.v1beta1";
29 option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1";
30
31 // Metadata used across all long running operations returned by AutoML API.
32 message OperationMetadata {
33   // Ouptut only. Details of specific operation. Even if this field is empty,
34   // the presence allows to distinguish different types of operations.
35   oneof details {
36     // Details of CreateModel operation.
37     CreateModelOperationMetadata create_model_details = 10;
38   }
39
40   // Output only. Progress of operation. Range: [0, 100].
41   int32 progress_percent = 13;
42
43   // Output only. Partial failures encountered.
44   // E.g. single files that couldn't be read.
45   // This field should never exceed 20 entries.
46   // Status details field will contain standard GCP error details.
47   repeated google.rpc.Status partial_failures = 2;
48
49   // Output only. Time when the operation was created.
50   google.protobuf.Timestamp create_time = 3;
51
52   // Output only. Time when the operation was updated for the last time.
53   google.protobuf.Timestamp update_time = 4;
54 }
55
56 // Details of CreateModel operation.
57 message CreateModelOperationMetadata {}