@gitpod/public-api 0.1.5-tar-sh-active-users.37 → 0.1.5-tar-sh-active-users-new.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/lib/gitpod/v1/pagination_pb.d.ts +27 -30
  2. package/lib/gitpod/v1/pagination_pb.d.ts.map +1 -0
  3. package/lib/gitpod/v1/pagination_pb.js +43 -199
  4. package/lib/gitpod/v1/pagination_pb.js.map +1 -0
  5. package/lib/gitpod/v1/pagination_pb.ts +60 -0
  6. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +65 -0
  7. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +1 -0
  8. package/lib/gitpod/v1/prebuilds_connectweb.js +72 -0
  9. package/lib/gitpod/v1/prebuilds_connectweb.js.map +1 -0
  10. package/lib/gitpod/v1/prebuilds_connectweb.ts +71 -0
  11. package/lib/gitpod/v1/prebuilds_pb.d.ts +263 -265
  12. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +1 -0
  13. package/lib/gitpod/v1/prebuilds_pb.js +398 -1960
  14. package/lib/gitpod/v1/prebuilds_pb.js.map +1 -0
  15. package/lib/gitpod/v1/prebuilds_pb.ts +540 -0
  16. package/lib/gitpod/v1/workspaces_connectweb.d.ts +134 -0
  17. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +1 -0
  18. package/lib/gitpod/v1/workspaces_connectweb.js +141 -0
  19. package/lib/gitpod/v1/workspaces_connectweb.js.map +1 -0
  20. package/lib/gitpod/v1/workspaces_connectweb.ts +140 -0
  21. package/lib/gitpod/v1/workspaces_pb.d.ts +819 -804
  22. package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -0
  23. package/lib/gitpod/v1/workspaces_pb.js +1148 -5941
  24. package/lib/gitpod/v1/workspaces_pb.js.map +1 -0
  25. package/lib/gitpod/v1/workspaces_pb.ts +1509 -0
  26. package/package.json +7 -10
  27. package/pkg-yarn.lock +5 -5
  28. package/provenance-bundle.jsonl +2 -2
  29. package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
  30. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  31. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  32. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  33. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
@@ -1,161 +0,0 @@
1
- /**
2
- * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
-
7
- // GENERATED CODE -- DO NOT EDIT!
8
-
9
- 'use strict';
10
- var grpc = require('@grpc/grpc-js');
11
- var gitpod_v1_prebuilds_pb = require('../../gitpod/v1/prebuilds_pb.js');
12
- var gitpod_v1_workspaces_pb = require('../../gitpod/v1/workspaces_pb.js');
13
-
14
- function serialize_gitpod_v1_GetPrebuildRequest(arg) {
15
- if (!(arg instanceof gitpod_v1_prebuilds_pb.GetPrebuildRequest)) {
16
- throw new Error('Expected argument of type gitpod.v1.GetPrebuildRequest');
17
- }
18
- return Buffer.from(arg.serializeBinary());
19
- }
20
-
21
- function deserialize_gitpod_v1_GetPrebuildRequest(buffer_arg) {
22
- return gitpod_v1_prebuilds_pb.GetPrebuildRequest.deserializeBinary(new Uint8Array(buffer_arg));
23
- }
24
-
25
- function serialize_gitpod_v1_GetPrebuildResponse(arg) {
26
- if (!(arg instanceof gitpod_v1_prebuilds_pb.GetPrebuildResponse)) {
27
- throw new Error('Expected argument of type gitpod.v1.GetPrebuildResponse');
28
- }
29
- return Buffer.from(arg.serializeBinary());
30
- }
31
-
32
- function deserialize_gitpod_v1_GetPrebuildResponse(buffer_arg) {
33
- return gitpod_v1_prebuilds_pb.GetPrebuildResponse.deserializeBinary(new Uint8Array(buffer_arg));
34
- }
35
-
36
- function serialize_gitpod_v1_GetRunningPrebuildRequest(arg) {
37
- if (!(arg instanceof gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest)) {
38
- throw new Error('Expected argument of type gitpod.v1.GetRunningPrebuildRequest');
39
- }
40
- return Buffer.from(arg.serializeBinary());
41
- }
42
-
43
- function deserialize_gitpod_v1_GetRunningPrebuildRequest(buffer_arg) {
44
- return gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest.deserializeBinary(new Uint8Array(buffer_arg));
45
- }
46
-
47
- function serialize_gitpod_v1_GetRunningPrebuildResponse(arg) {
48
- if (!(arg instanceof gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse)) {
49
- throw new Error('Expected argument of type gitpod.v1.GetRunningPrebuildResponse');
50
- }
51
- return Buffer.from(arg.serializeBinary());
52
- }
53
-
54
- function deserialize_gitpod_v1_GetRunningPrebuildResponse(buffer_arg) {
55
- return gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse.deserializeBinary(new Uint8Array(buffer_arg));
56
- }
57
-
58
- function serialize_gitpod_v1_ListenToPrebuildLogsRequest(arg) {
59
- if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest)) {
60
- throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildLogsRequest');
61
- }
62
- return Buffer.from(arg.serializeBinary());
63
- }
64
-
65
- function deserialize_gitpod_v1_ListenToPrebuildLogsRequest(buffer_arg) {
66
- return gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest.deserializeBinary(new Uint8Array(buffer_arg));
67
- }
68
-
69
- function serialize_gitpod_v1_ListenToPrebuildLogsResponse(arg) {
70
- if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse)) {
71
- throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildLogsResponse');
72
- }
73
- return Buffer.from(arg.serializeBinary());
74
- }
75
-
76
- function deserialize_gitpod_v1_ListenToPrebuildLogsResponse(buffer_arg) {
77
- return gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse.deserializeBinary(new Uint8Array(buffer_arg));
78
- }
79
-
80
- function serialize_gitpod_v1_ListenToPrebuildStatusRequest(arg) {
81
- if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest)) {
82
- throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildStatusRequest');
83
- }
84
- return Buffer.from(arg.serializeBinary());
85
- }
86
-
87
- function deserialize_gitpod_v1_ListenToPrebuildStatusRequest(buffer_arg) {
88
- return gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
89
- }
90
-
91
- function serialize_gitpod_v1_ListenToPrebuildStatusResponse(arg) {
92
- if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse)) {
93
- throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildStatusResponse');
94
- }
95
- return Buffer.from(arg.serializeBinary());
96
- }
97
-
98
- function deserialize_gitpod_v1_ListenToPrebuildStatusResponse(buffer_arg) {
99
- return gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
100
- }
101
-
102
-
103
- // import "gitpod/v1/pagination.proto";
104
- //
105
- var PrebuildsServiceService = exports.PrebuildsServiceService = {
106
- // GetPrebuild retrieves a single rebuild.
107
- // Errors:
108
- // NOT_FOUND if the prebuild_id does not exist
109
- getPrebuild: {
110
- path: '/gitpod.v1.PrebuildsService/GetPrebuild',
111
- requestStream: false,
112
- responseStream: false,
113
- requestType: gitpod_v1_prebuilds_pb.GetPrebuildRequest,
114
- responseType: gitpod_v1_prebuilds_pb.GetPrebuildResponse,
115
- requestSerialize: serialize_gitpod_v1_GetPrebuildRequest,
116
- requestDeserialize: deserialize_gitpod_v1_GetPrebuildRequest,
117
- responseSerialize: serialize_gitpod_v1_GetPrebuildResponse,
118
- responseDeserialize: deserialize_gitpod_v1_GetPrebuildResponse,
119
- },
120
- // GetRunningPrebuild returns the prebuild ID of a running prebuild,
121
- // or NOT_FOUND if there is no prebuild running for the content_url.
122
- getRunningPrebuild: {
123
- path: '/gitpod.v1.PrebuildsService/GetRunningPrebuild',
124
- requestStream: false,
125
- responseStream: false,
126
- requestType: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest,
127
- responseType: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse,
128
- requestSerialize: serialize_gitpod_v1_GetRunningPrebuildRequest,
129
- requestDeserialize: deserialize_gitpod_v1_GetRunningPrebuildRequest,
130
- responseSerialize: serialize_gitpod_v1_GetRunningPrebuildResponse,
131
- responseDeserialize: deserialize_gitpod_v1_GetRunningPrebuildResponse,
132
- },
133
- // ListenToPrebuildStatus streams status updates for a prebuild. If the prebuild is already
134
- // in the Done phase, only that single status is streamed.
135
- listenToPrebuildStatus: {
136
- path: '/gitpod.v1.PrebuildsService/ListenToPrebuildStatus',
137
- requestStream: false,
138
- responseStream: true,
139
- requestType: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest,
140
- responseType: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse,
141
- requestSerialize: serialize_gitpod_v1_ListenToPrebuildStatusRequest,
142
- requestDeserialize: deserialize_gitpod_v1_ListenToPrebuildStatusRequest,
143
- responseSerialize: serialize_gitpod_v1_ListenToPrebuildStatusResponse,
144
- responseDeserialize: deserialize_gitpod_v1_ListenToPrebuildStatusResponse,
145
- },
146
- // ListenToPrebuildLogs returns the log output of a prebuild.
147
- // This does NOT include an image build if one happened.
148
- listenToPrebuildLogs: {
149
- path: '/gitpod.v1.PrebuildsService/ListenToPrebuildLogs',
150
- requestStream: false,
151
- responseStream: true,
152
- requestType: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest,
153
- responseType: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse,
154
- requestSerialize: serialize_gitpod_v1_ListenToPrebuildLogsRequest,
155
- requestDeserialize: deserialize_gitpod_v1_ListenToPrebuildLogsRequest,
156
- responseSerialize: serialize_gitpod_v1_ListenToPrebuildLogsResponse,
157
- responseDeserialize: deserialize_gitpod_v1_ListenToPrebuildLogsResponse,
158
- },
159
- };
160
-
161
- exports.PrebuildsServiceClient = grpc.makeGenericClientConstructor(PrebuildsServiceService);
@@ -1,197 +0,0 @@
1
- /**
2
- * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
-
7
- // package: gitpod.v1
8
- // file: gitpod/v1/workspaces.proto
9
-
10
- /* tslint:disable */
11
- /* eslint-disable */
12
-
13
- import * as grpc from "@grpc/grpc-js";
14
- import * as gitpod_v1_workspaces_pb from "../../gitpod/v1/workspaces_pb";
15
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
16
- import * as google_protobuf_field_mask_pb from "google-protobuf/google/protobuf/field_mask_pb";
17
- import * as gitpod_v1_pagination_pb from "../../gitpod/v1/pagination_pb";
18
-
19
- interface IWorkspacesServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
20
- listWorkspaces: IWorkspacesServiceService_IListWorkspaces;
21
- getWorkspace: IWorkspacesServiceService_IGetWorkspace;
22
- getOwnerToken: IWorkspacesServiceService_IGetOwnerToken;
23
- createAndStartWorkspace: IWorkspacesServiceService_ICreateAndStartWorkspace;
24
- startWorkspace: IWorkspacesServiceService_IStartWorkspace;
25
- getActiveWorkspaceInstance: IWorkspacesServiceService_IGetActiveWorkspaceInstance;
26
- getWorkspaceInstanceOwnerToken: IWorkspacesServiceService_IGetWorkspaceInstanceOwnerToken;
27
- listenToWorkspaceInstance: IWorkspacesServiceService_IListenToWorkspaceInstance;
28
- listenToImageBuildLogs: IWorkspacesServiceService_IListenToImageBuildLogs;
29
- stopWorkspace: IWorkspacesServiceService_IStopWorkspace;
30
- }
31
-
32
- interface IWorkspacesServiceService_IListWorkspaces extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.ListWorkspacesRequest, gitpod_v1_workspaces_pb.ListWorkspacesResponse> {
33
- path: "/gitpod.v1.WorkspacesService/ListWorkspaces";
34
- requestStream: false;
35
- responseStream: false;
36
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListWorkspacesRequest>;
37
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListWorkspacesRequest>;
38
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListWorkspacesResponse>;
39
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListWorkspacesResponse>;
40
- }
41
- interface IWorkspacesServiceService_IGetWorkspace extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.GetWorkspaceRequest, gitpod_v1_workspaces_pb.GetWorkspaceResponse> {
42
- path: "/gitpod.v1.WorkspacesService/GetWorkspace";
43
- requestStream: false;
44
- responseStream: false;
45
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetWorkspaceRequest>;
46
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetWorkspaceRequest>;
47
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetWorkspaceResponse>;
48
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetWorkspaceResponse>;
49
- }
50
- interface IWorkspacesServiceService_IGetOwnerToken extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.GetOwnerTokenRequest, gitpod_v1_workspaces_pb.GetOwnerTokenResponse> {
51
- path: "/gitpod.v1.WorkspacesService/GetOwnerToken";
52
- requestStream: false;
53
- responseStream: false;
54
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetOwnerTokenRequest>;
55
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetOwnerTokenRequest>;
56
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetOwnerTokenResponse>;
57
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetOwnerTokenResponse>;
58
- }
59
- interface IWorkspacesServiceService_ICreateAndStartWorkspace extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse> {
60
- path: "/gitpod.v1.WorkspacesService/CreateAndStartWorkspace";
61
- requestStream: false;
62
- responseStream: false;
63
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest>;
64
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest>;
65
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse>;
66
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse>;
67
- }
68
- interface IWorkspacesServiceService_IStartWorkspace extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.StartWorkspaceRequest, gitpod_v1_workspaces_pb.StartWorkspaceResponse> {
69
- path: "/gitpod.v1.WorkspacesService/StartWorkspace";
70
- requestStream: false;
71
- responseStream: false;
72
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.StartWorkspaceRequest>;
73
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.StartWorkspaceRequest>;
74
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.StartWorkspaceResponse>;
75
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.StartWorkspaceResponse>;
76
- }
77
- interface IWorkspacesServiceService_IGetActiveWorkspaceInstance extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse> {
78
- path: "/gitpod.v1.WorkspacesService/GetActiveWorkspaceInstance";
79
- requestStream: false;
80
- responseStream: false;
81
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest>;
82
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest>;
83
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse>;
84
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse>;
85
- }
86
- interface IWorkspacesServiceService_IGetWorkspaceInstanceOwnerToken extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse> {
87
- path: "/gitpod.v1.WorkspacesService/GetWorkspaceInstanceOwnerToken";
88
- requestStream: false;
89
- responseStream: false;
90
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest>;
91
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest>;
92
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse>;
93
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse>;
94
- }
95
- interface IWorkspacesServiceService_IListenToWorkspaceInstance extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse> {
96
- path: "/gitpod.v1.WorkspacesService/ListenToWorkspaceInstance";
97
- requestStream: false;
98
- responseStream: true;
99
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest>;
100
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest>;
101
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
102
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
103
- }
104
- interface IWorkspacesServiceService_IListenToImageBuildLogs extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse> {
105
- path: "/gitpod.v1.WorkspacesService/ListenToImageBuildLogs";
106
- requestStream: false;
107
- responseStream: true;
108
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest>;
109
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest>;
110
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
111
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
112
- }
113
- interface IWorkspacesServiceService_IStopWorkspace extends grpc.MethodDefinition<gitpod_v1_workspaces_pb.StopWorkspaceRequest, gitpod_v1_workspaces_pb.StopWorkspaceResponse> {
114
- path: "/gitpod.v1.WorkspacesService/StopWorkspace";
115
- requestStream: false;
116
- responseStream: true;
117
- requestSerialize: grpc.serialize<gitpod_v1_workspaces_pb.StopWorkspaceRequest>;
118
- requestDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.StopWorkspaceRequest>;
119
- responseSerialize: grpc.serialize<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
120
- responseDeserialize: grpc.deserialize<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
121
- }
122
-
123
- export const WorkspacesServiceService: IWorkspacesServiceService;
124
-
125
- export interface IWorkspacesServiceServer extends grpc.UntypedServiceImplementation {
126
- listWorkspaces: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.ListWorkspacesRequest, gitpod_v1_workspaces_pb.ListWorkspacesResponse>;
127
- getWorkspace: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.GetWorkspaceRequest, gitpod_v1_workspaces_pb.GetWorkspaceResponse>;
128
- getOwnerToken: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.GetOwnerTokenRequest, gitpod_v1_workspaces_pb.GetOwnerTokenResponse>;
129
- createAndStartWorkspace: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse>;
130
- startWorkspace: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.StartWorkspaceRequest, gitpod_v1_workspaces_pb.StartWorkspaceResponse>;
131
- getActiveWorkspaceInstance: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse>;
132
- getWorkspaceInstanceOwnerToken: grpc.handleUnaryCall<gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse>;
133
- listenToWorkspaceInstance: grpc.handleServerStreamingCall<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
134
- listenToImageBuildLogs: grpc.handleServerStreamingCall<gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
135
- stopWorkspace: grpc.handleServerStreamingCall<gitpod_v1_workspaces_pb.StopWorkspaceRequest, gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
136
- }
137
-
138
- export interface IWorkspacesServiceClient {
139
- listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
140
- listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
141
- listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
142
- getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
143
- getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
144
- getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
145
- getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
146
- getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
147
- getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
148
- createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
149
- createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
150
- createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
151
- startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
152
- startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
153
- startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
154
- getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
155
- getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
156
- getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
157
- getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
158
- getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
159
- getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
160
- listenToWorkspaceInstance(request: gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
161
- listenToWorkspaceInstance(request: gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
162
- listenToImageBuildLogs(request: gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
163
- listenToImageBuildLogs(request: gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
164
- stopWorkspace(request: gitpod_v1_workspaces_pb.StopWorkspaceRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
165
- stopWorkspace(request: gitpod_v1_workspaces_pb.StopWorkspaceRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
166
- }
167
-
168
- export class WorkspacesServiceClient extends grpc.Client implements IWorkspacesServiceClient {
169
- constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
170
- public listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
171
- public listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
172
- public listWorkspaces(request: gitpod_v1_workspaces_pb.ListWorkspacesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.ListWorkspacesResponse) => void): grpc.ClientUnaryCall;
173
- public getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
174
- public getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
175
- public getWorkspace(request: gitpod_v1_workspaces_pb.GetWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceResponse) => void): grpc.ClientUnaryCall;
176
- public getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
177
- public getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
178
- public getOwnerToken(request: gitpod_v1_workspaces_pb.GetOwnerTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetOwnerTokenResponse) => void): grpc.ClientUnaryCall;
179
- public createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
180
- public createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
181
- public createAndStartWorkspace(request: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.CreateAndStartWorkspaceResponse) => void): grpc.ClientUnaryCall;
182
- public startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
183
- public startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
184
- public startWorkspace(request: gitpod_v1_workspaces_pb.StartWorkspaceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.StartWorkspaceResponse) => void): grpc.ClientUnaryCall;
185
- public getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
186
- public getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
187
- public getActiveWorkspaceInstance(request: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetActiveWorkspaceInstanceResponse) => void): grpc.ClientUnaryCall;
188
- public getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
189
- public getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
190
- public getWorkspaceInstanceOwnerToken(request: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_workspaces_pb.GetWorkspaceInstanceOwnerTokenResponse) => void): grpc.ClientUnaryCall;
191
- public listenToWorkspaceInstance(request: gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
192
- public listenToWorkspaceInstance(request: gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToWorkspaceInstanceResponse>;
193
- public listenToImageBuildLogs(request: gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
194
- public listenToImageBuildLogs(request: gitpod_v1_workspaces_pb.ListenToImageBuildLogsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.ListenToImageBuildLogsResponse>;
195
- public stopWorkspace(request: gitpod_v1_workspaces_pb.StopWorkspaceRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
196
- public stopWorkspace(request: gitpod_v1_workspaces_pb.StopWorkspaceRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_workspaces_pb.StopWorkspaceResponse>;
197
- }