Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / cloud / dataproc / v1beta2 / 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
16 syntax = "proto3";
17
18 package google.cloud.dataproc.v1beta2;
19
20 import "google/api/annotations.proto";
21 import "google/protobuf/timestamp.proto";
22
23 option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc";
24 option java_multiple_files = true;
25 option java_outer_classname = "OperationsProto";
26 option java_package = "com.google.cloud.dataproc.v1beta2";
27
28 // The status of the operation.
29 message ClusterOperationStatus {
30   // The operation state.
31   enum State {
32     // Unused.
33     UNKNOWN = 0;
34
35     // The operation has been created.
36     PENDING = 1;
37
38     // The operation is running.
39     RUNNING = 2;
40
41     // The operation is done; either cancelled or completed.
42     DONE = 3;
43   }
44
45   // Output only. A message containing the operation state.
46   State state = 1;
47
48   // Output only. A message containing the detailed operation state.
49   string inner_state = 2;
50
51   // Output only. A message containing any operation metadata details.
52   string details = 3;
53
54   // Output only. The time this state was entered.
55   google.protobuf.Timestamp state_start_time = 4;
56 }
57
58 // Metadata describing the operation.
59 message ClusterOperationMetadata {
60   // Output only. Name of the cluster for the operation.
61   string cluster_name = 7;
62
63   // Output only. Cluster UUID for the operation.
64   string cluster_uuid = 8;
65
66   // Output only. Current operation status.
67   ClusterOperationStatus status = 9;
68
69   // Output only. The previous operation status.
70   repeated ClusterOperationStatus status_history = 10;
71
72   // Output only. The operation type.
73   string operation_type = 11;
74
75   // Output only. Short description of operation.
76   string description = 12;
77
78   // Output only. Labels associated with the operation
79   map<string, string> labels = 13;
80
81   // Output only. Errors encountered during operation execution.
82   repeated string warnings = 14;
83 }