File: codespace_host_service.v1.proto

package info (click to toggle)
gh 2.46.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,548 kB
  • sloc: sh: 227; makefile: 117
file content (27 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
syntax = "proto3";

option go_package = "./codespace";

package Codespaces.Grpc.CodespaceHostService.v1;

service CodespaceHost {
  rpc NotifyCodespaceOfClientActivity (NotifyCodespaceOfClientActivityRequest) returns (NotifyCodespaceOfClientActivityResponse);
  rpc RebuildContainerAsync (RebuildContainerRequest) returns (RebuildContainerResponse);
}

message NotifyCodespaceOfClientActivityRequest {
  string ClientId = 1;
  repeated string ClientActivities = 2;
}
message NotifyCodespaceOfClientActivityResponse {
  bool Result = 1;
  string Message = 2;
}

message RebuildContainerRequest {
  optional bool Incremental = 1;
}

message RebuildContainerResponse {
  bool RebuildContainer = 1;
}