Skip to content

Commit

Permalink
adjust proto
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Jan 11, 2016
1 parent f07aaaa commit 17699c4
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 4 deletions.
160 changes: 158 additions & 2 deletions driver/cmd/control_message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 29 additions & 2 deletions driver/cmd/control_message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ message ControlMessage {

optional StartRequest startRequest = 2;
optional StartResponse startResponse = 3;
optional DeleteDatasetShardRequest deleteDatasetShardRequest = 4;
optional DeleteDatasetShardResponse deleteDatasetShardResponse = 5;
optional StopRequest stopRequest = 4;
optional StopResponse stopResponse = 5;
optional GetStatusRequest getStatusRequest = 6;
optional GetStatusResponse getStatusResponse = 7;
optional DeleteDatasetShardRequest deleteDatasetShardRequest = 8;
optional DeleteDatasetShardResponse deleteDatasetShardResponse = 9;
}

message NetChan {
Expand Down Expand Up @@ -51,6 +55,29 @@ message StartResponse {
repeated NetChan outputs = 4;
}

message StopRequest {
required string startRequestHash = 1;
}

message StopResponse {
required string startRequestHash = 1;
optional string error = 2;
}

message GetStatusRequest {
required string startRequestHash = 1;
}

message GetStatusResponse {
required string startRequestHash = 1;
optional string error = 2;
optional int64 inputLength = 3;
optional int64 outputLength = 4;
optional int64 readyTime = 5;
optional int64 startTime = 6;
optional int64 stopTime = 7;
}

message DeleteDatasetShardRequest {
required string name = 1;
}
Expand Down

0 comments on commit 17699c4

Please sign in to comment.