-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generating classes for protobuf file
- Loading branch information
mingshi
committed
May 26, 2022
1 parent
c9ec0ee
commit 3f8894b
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
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
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 @@ | ||
protobuf_sources(grpc=True) |
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,32 @@ | ||
syntax = "proto3"; | ||
|
||
option java_multiple_files = true; | ||
option java_package = "org.pantsbuild.example"; | ||
option java_outer_classname = "DatabricksAPIProto"; | ||
|
||
package org.pantsbuild.example; | ||
|
||
|
||
message SubmitPynestJobRequest { | ||
// To deduplicate retried job submits. This will be a UUID token generated by the requester | ||
string idempotency_token = 1; | ||
|
||
// The git SHA commit id of the job you want to run | ||
string git_sha = 2; | ||
|
||
// The preregisterd job name to run | ||
string job_name = 3; | ||
|
||
// The service role to run the job with: e.g. etl, secure_etl, etc. | ||
// If the caller does not have access to the role the request will be rejected | ||
string requested_role = 4; | ||
|
||
// A list of arguments to pass to the job | ||
repeated string task_args = 5; | ||
|
||
// Config service scope | ||
string config_scope = 6; | ||
|
||
// The jar version for a data/jms-package-manager project that you want to run | ||
string jmspm_jar_version = 100; | ||
} |