1 // Copyright 2018 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.cloud.dataproc.v1beta2;
20 import "google/api/annotations.proto";
21 import "google/protobuf/timestamp.proto";
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";
28 // The status of the operation.
29 message ClusterOperationStatus {
30 // The operation state.
35 // The operation has been created.
38 // The operation is running.
41 // The operation is done; either cancelled or completed.
45 // Output only. A message containing the operation state.
48 // Output only. A message containing the detailed operation state.
49 string inner_state = 2;
51 // Output only. A message containing any operation metadata details.
54 // Output only. The time this state was entered.
55 google.protobuf.Timestamp state_start_time = 4;
58 // Metadata describing the operation.
59 message ClusterOperationMetadata {
60 // Output only. Name of the cluster for the operation.
61 string cluster_name = 7;
63 // Output only. Cluster UUID for the operation.
64 string cluster_uuid = 8;
66 // Output only. Current operation status.
67 ClusterOperationStatus status = 9;
69 // Output only. The previous operation status.
70 repeated ClusterOperationStatus status_history = 10;
72 // Output only. The operation type.
73 string operation_type = 11;
75 // Output only. Short description of operation.
76 string description = 12;
78 // Output only. Labels associated with the operation
79 map<string, string> labels = 13;
81 // Output only. Errors encountered during operation execution.
82 repeated string warnings = 14;