-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add protos as an artifact to library (#7205)
- Loading branch information
Showing
12 changed files
with
4,576 additions
and
6 deletions.
There are no files selected for viewing
731 changes: 731 additions & 0 deletions
731
packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters.proto
Large diffs are not rendered by default.
Oops, something went wrong.
777 changes: 777 additions & 0 deletions
777
packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/jobs.proto
Large diffs are not rendered by default.
Oops, something went wrong.
84 changes: 84 additions & 0 deletions
84
packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/operations.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Copyright 2018 Google LLC. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.dataproc.v1beta2; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "OperationsProto"; | ||
option java_package = "com.google.cloud.dataproc.v1beta2"; | ||
|
||
|
||
// The status of the operation. | ||
message ClusterOperationStatus { | ||
// The operation state. | ||
enum State { | ||
// Unused. | ||
UNKNOWN = 0; | ||
|
||
// The operation has been created. | ||
PENDING = 1; | ||
|
||
// The operation is running. | ||
RUNNING = 2; | ||
|
||
// The operation is done; either cancelled or completed. | ||
DONE = 3; | ||
} | ||
|
||
// Output only. A message containing the operation state. | ||
State state = 1; | ||
|
||
// Output only. A message containing the detailed operation state. | ||
string inner_state = 2; | ||
|
||
// Output only. A message containing any operation metadata details. | ||
string details = 3; | ||
|
||
// Output only. The time this state was entered. | ||
google.protobuf.Timestamp state_start_time = 4; | ||
} | ||
|
||
// Metadata describing the operation. | ||
message ClusterOperationMetadata { | ||
// Output only. Name of the cluster for the operation. | ||
string cluster_name = 7; | ||
|
||
// Output only. Cluster UUID for the operation. | ||
string cluster_uuid = 8; | ||
|
||
// Output only. Current operation status. | ||
ClusterOperationStatus status = 9; | ||
|
||
// Output only. The previous operation status. | ||
repeated ClusterOperationStatus status_history = 10; | ||
|
||
// Output only. The operation type. | ||
string operation_type = 11; | ||
|
||
// Output only. Short description of operation. | ||
string description = 12; | ||
|
||
// Output only. Labels associated with the operation | ||
map<string, string> labels = 13; | ||
|
||
// Output only. Errors encountered during operation execution. | ||
repeated string warnings = 14; | ||
} |
26 changes: 26 additions & 0 deletions
26
packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/shared.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright 2018 Google LLC. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.dataproc.v1beta2; | ||
|
||
import "google/api/annotations.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "SharedProto"; | ||
option java_package = "com.google.cloud.dataproc.v1beta2"; | ||
|
Oops, something went wrong.