Skip to content

Commit c3985f6

Browse files
authored
Add protos as an artifact to library (#7205)
1 parent b0c8353 commit c3985f6

File tree

12 files changed

+4576
-6
lines changed

12 files changed

+4576
-6
lines changed

packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters.proto

Lines changed: 731 additions & 0 deletions
Large diffs are not rendered by default.

packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/jobs.proto

Lines changed: 777 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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+
29+
// The status of the operation.
30+
message ClusterOperationStatus {
31+
// The operation state.
32+
enum State {
33+
// Unused.
34+
UNKNOWN = 0;
35+
36+
// The operation has been created.
37+
PENDING = 1;
38+
39+
// The operation is running.
40+
RUNNING = 2;
41+
42+
// The operation is done; either cancelled or completed.
43+
DONE = 3;
44+
}
45+
46+
// Output only. A message containing the operation state.
47+
State state = 1;
48+
49+
// Output only. A message containing the detailed operation state.
50+
string inner_state = 2;
51+
52+
// Output only. A message containing any operation metadata details.
53+
string details = 3;
54+
55+
// Output only. The time this state was entered.
56+
google.protobuf.Timestamp state_start_time = 4;
57+
}
58+
59+
// Metadata describing the operation.
60+
message ClusterOperationMetadata {
61+
// Output only. Name of the cluster for the operation.
62+
string cluster_name = 7;
63+
64+
// Output only. Cluster UUID for the operation.
65+
string cluster_uuid = 8;
66+
67+
// Output only. Current operation status.
68+
ClusterOperationStatus status = 9;
69+
70+
// Output only. The previous operation status.
71+
repeated ClusterOperationStatus status_history = 10;
72+
73+
// Output only. The operation type.
74+
string operation_type = 11;
75+
76+
// Output only. Short description of operation.
77+
string description = 12;
78+
79+
// Output only. Labels associated with the operation
80+
map<string, string> labels = 13;
81+
82+
// Output only. Errors encountered during operation execution.
83+
repeated string warnings = 14;
84+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
22+
option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc";
23+
option java_multiple_files = true;
24+
option java_outer_classname = "SharedProto";
25+
option java_package = "com.google.cloud.dataproc.v1beta2";
26+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy