@gitpod/public-api 0.1.5-mp-dashboard-public-api-connect.7 → 0.1.5-mp-public-api-codegen-buf.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gitpod/v1/pagination_pb.d.ts +23 -36
- package/lib/gitpod/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/pagination_pb.js +40 -13
- package/lib/gitpod/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/v1/pagination_pb.ts +60 -0
- package/lib/gitpod/v1/prebuilds_pb.d.ts +205 -301
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/prebuilds_pb.js +372 -98
- package/lib/gitpod/v1/prebuilds_pb.js.map +1 -0
- package/lib/gitpod/v1/prebuilds_pb.ts +540 -0
- package/lib/gitpod/v1/workspaces_pb.d.ts +633 -880
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/workspaces_pb.js +1002 -222
- package/lib/gitpod/v1/workspaces_pb.js.map +1 -0
- package/lib/gitpod/v1/workspaces_pb.ts +1509 -0
- package/lib/google/rpc/code_pb.d.ts +219 -0
- package/lib/google/rpc/code_pb.d.ts.map +1 -0
- package/lib/google/rpc/code_pb.js +261 -0
- package/lib/google/rpc/code_pb.js.map +1 -0
- package/lib/google/rpc/code_pb.ts +275 -0
- package/lib/google/rpc/error_details_pb.d.ts +478 -0
- package/lib/google/rpc/error_details_pb.d.ts.map +1 -0
- package/lib/google/rpc/error_details_pb.js +694 -0
- package/lib/google/rpc/error_details_pb.js.map +1 -0
- package/lib/google/rpc/error_details_pb.ts +800 -0
- package/lib/google/rpc/status_pb.d.ts +45 -0
- package/lib/google/rpc/status_pb.d.ts.map +1 -0
- package/lib/google/rpc/status_pb.js +76 -0
- package/lib/google/rpc/status_pb.js.map +1 -0
- package/lib/google/rpc/status_pb.ts +87 -0
- package/package.json +5 -12
- package/pkg-yarn.lock +5 -4
- package/provenance-bundle.jsonl +2 -2
|
@@ -1,354 +1,1017 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
|
3
4
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
4
5
|
* See License-AGPL.txt in the project root for license information.
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* @ts-nocheck */
|
|
11
|
-
|
|
12
|
-
import {FieldMask, proto3, Timestamp} from "@bufbuild/protobuf";
|
|
13
|
-
import {Pagination} from "./pagination_pb.js";
|
|
14
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.StartWorkspaceSpec = exports.WorkspaceInstanceStatus_Conditions = exports.WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus = exports.WorkspaceInstance = exports.WorkspaceContext_Snapshot = exports.WorkspaceContext_Prebuild = exports.WorkspaceContext_Git = exports.WorkspaceContext = exports.Workspace = exports.StopWorkspaceResponse = exports.StopWorkspaceRequest = exports.ListenToImageBuildLogsResponse = exports.ListenToImageBuildLogsRequest = exports.ListenToWorkspaceInstanceResponse = exports.ListenToWorkspaceInstanceRequest = exports.GetWorkspaceInstanceOwnerTokenResponse = exports.GetWorkspaceInstanceOwnerTokenRequest = exports.GetActiveWorkspaceInstanceResponse = exports.GetActiveWorkspaceInstanceRequest = exports.StartWorkspaceResponse = exports.StartWorkspaceRequest = exports.CreateAndStartWorkspaceResponse = exports.CreateAndStartWorkspaceRequest = exports.GetOwnerTokenResponse = exports.GetOwnerTokenRequest = exports.GetWorkspaceResponse = exports.GetWorkspaceRequest = exports.ListWorkspacesResponse_WorkspaceAndInstance = exports.ListWorkspacesResponse = exports.ListWorkspacesRequest = exports.AdmissionLevel = void 0;
|
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
const pagination_pb_js_1 = require("./pagination_pb.js");
|
|
15
11
|
/**
|
|
16
12
|
* Admission level describes who can access a workspace instance and its ports.
|
|
17
13
|
*
|
|
18
14
|
* @generated from enum gitpod.v1.AdmissionLevel
|
|
19
15
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
var AdmissionLevel;
|
|
17
|
+
(function (AdmissionLevel) {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: ADMISSION_LEVEL_UNSPECIFIED = 0;
|
|
20
|
+
*/
|
|
21
|
+
AdmissionLevel[AdmissionLevel["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
22
|
+
/**
|
|
23
|
+
* ADMISSION_LEVEL_OWNER_ONLY means the workspace can only be accessed using the owner token
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: ADMISSION_LEVEL_OWNER_ONLY = 1;
|
|
26
|
+
*/
|
|
27
|
+
AdmissionLevel[AdmissionLevel["OWNER_ONLY"] = 1] = "OWNER_ONLY";
|
|
28
|
+
/**
|
|
29
|
+
* ADMISSION_LEVEL_EVERYONE means the workspace (including ports) can be accessed by everyone.
|
|
30
|
+
*
|
|
31
|
+
* @generated from enum value: ADMISSION_LEVEL_EVERYONE = 2;
|
|
32
|
+
*/
|
|
33
|
+
AdmissionLevel[AdmissionLevel["EVERYONE"] = 2] = "EVERYONE";
|
|
34
|
+
})(AdmissionLevel = exports.AdmissionLevel || (exports.AdmissionLevel = {}));
|
|
35
|
+
// Retrieve enum metadata with: proto3.getEnumType(AdmissionLevel)
|
|
36
|
+
protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.v1.AdmissionLevel", [
|
|
37
|
+
{ no: 0, name: "ADMISSION_LEVEL_UNSPECIFIED" },
|
|
38
|
+
{ no: 1, name: "ADMISSION_LEVEL_OWNER_ONLY" },
|
|
39
|
+
{ no: 2, name: "ADMISSION_LEVEL_EVERYONE" },
|
|
40
|
+
]);
|
|
29
41
|
/**
|
|
30
42
|
* @generated from message gitpod.v1.ListWorkspacesRequest
|
|
31
43
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
);
|
|
39
|
-
|
|
44
|
+
class ListWorkspacesRequest extends protobuf_1.Message {
|
|
45
|
+
constructor(data) {
|
|
46
|
+
super();
|
|
47
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
48
|
+
}
|
|
49
|
+
static fromBinary(bytes, options) {
|
|
50
|
+
return new ListWorkspacesRequest().fromBinary(bytes, options);
|
|
51
|
+
}
|
|
52
|
+
static fromJson(jsonValue, options) {
|
|
53
|
+
return new ListWorkspacesRequest().fromJson(jsonValue, options);
|
|
54
|
+
}
|
|
55
|
+
static fromJsonString(jsonString, options) {
|
|
56
|
+
return new ListWorkspacesRequest().fromJsonString(jsonString, options);
|
|
57
|
+
}
|
|
58
|
+
static equals(a, b) {
|
|
59
|
+
return protobuf_1.proto3.util.equals(ListWorkspacesRequest, a, b);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.ListWorkspacesRequest = ListWorkspacesRequest;
|
|
63
|
+
ListWorkspacesRequest.runtime = protobuf_1.proto3;
|
|
64
|
+
ListWorkspacesRequest.typeName = "gitpod.v1.ListWorkspacesRequest";
|
|
65
|
+
ListWorkspacesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
66
|
+
{ no: 1, name: "pagination", kind: "message", T: pagination_pb_js_1.Pagination },
|
|
67
|
+
{ no: 2, name: "field_mask", kind: "message", T: protobuf_1.FieldMask },
|
|
68
|
+
]);
|
|
40
69
|
/**
|
|
41
70
|
* @generated from message gitpod.v1.ListWorkspacesResponse
|
|
42
71
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
72
|
+
class ListWorkspacesResponse extends protobuf_1.Message {
|
|
73
|
+
constructor(data) {
|
|
74
|
+
super();
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: string next_page_token = 1;
|
|
77
|
+
*/
|
|
78
|
+
this.nextPageToken = "";
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance result = 2;
|
|
81
|
+
*/
|
|
82
|
+
this.result = [];
|
|
83
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
84
|
+
}
|
|
85
|
+
static fromBinary(bytes, options) {
|
|
86
|
+
return new ListWorkspacesResponse().fromBinary(bytes, options);
|
|
87
|
+
}
|
|
88
|
+
static fromJson(jsonValue, options) {
|
|
89
|
+
return new ListWorkspacesResponse().fromJson(jsonValue, options);
|
|
90
|
+
}
|
|
91
|
+
static fromJsonString(jsonString, options) {
|
|
92
|
+
return new ListWorkspacesResponse().fromJsonString(jsonString, options);
|
|
93
|
+
}
|
|
94
|
+
static equals(a, b) {
|
|
95
|
+
return protobuf_1.proto3.util.equals(ListWorkspacesResponse, a, b);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ListWorkspacesResponse = ListWorkspacesResponse;
|
|
99
|
+
ListWorkspacesResponse.runtime = protobuf_1.proto3;
|
|
100
|
+
ListWorkspacesResponse.typeName = "gitpod.v1.ListWorkspacesResponse";
|
|
101
|
+
ListWorkspacesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
46
102
|
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
47
103
|
{ no: 2, name: "result", kind: "message", T: ListWorkspacesResponse_WorkspaceAndInstance, repeated: true },
|
|
48
|
-
|
|
49
|
-
);
|
|
50
|
-
|
|
104
|
+
]);
|
|
51
105
|
/**
|
|
52
106
|
* @generated from message gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
|
53
107
|
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
108
|
+
class ListWorkspacesResponse_WorkspaceAndInstance extends protobuf_1.Message {
|
|
109
|
+
constructor(data) {
|
|
110
|
+
super();
|
|
111
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
112
|
+
}
|
|
113
|
+
static fromBinary(bytes, options) {
|
|
114
|
+
return new ListWorkspacesResponse_WorkspaceAndInstance().fromBinary(bytes, options);
|
|
115
|
+
}
|
|
116
|
+
static fromJson(jsonValue, options) {
|
|
117
|
+
return new ListWorkspacesResponse_WorkspaceAndInstance().fromJson(jsonValue, options);
|
|
118
|
+
}
|
|
119
|
+
static fromJsonString(jsonString, options) {
|
|
120
|
+
return new ListWorkspacesResponse_WorkspaceAndInstance().fromJsonString(jsonString, options);
|
|
121
|
+
}
|
|
122
|
+
static equals(a, b) {
|
|
123
|
+
return protobuf_1.proto3.util.equals(ListWorkspacesResponse_WorkspaceAndInstance, a, b);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ListWorkspacesResponse_WorkspaceAndInstance = ListWorkspacesResponse_WorkspaceAndInstance;
|
|
127
|
+
ListWorkspacesResponse_WorkspaceAndInstance.runtime = protobuf_1.proto3;
|
|
128
|
+
ListWorkspacesResponse_WorkspaceAndInstance.typeName = "gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance";
|
|
129
|
+
ListWorkspacesResponse_WorkspaceAndInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
57
130
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
58
131
|
{ no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
|
|
59
|
-
|
|
60
|
-
{localName: "ListWorkspacesResponse_WorkspaceAndInstance"},
|
|
61
|
-
);
|
|
62
|
-
|
|
132
|
+
]);
|
|
63
133
|
/**
|
|
64
134
|
* @generated from message gitpod.v1.GetWorkspaceRequest
|
|
65
135
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
136
|
+
class GetWorkspaceRequest extends protobuf_1.Message {
|
|
137
|
+
constructor(data) {
|
|
138
|
+
super();
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string workspace_id = 1;
|
|
141
|
+
*/
|
|
142
|
+
this.workspaceId = "";
|
|
143
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
144
|
+
}
|
|
145
|
+
static fromBinary(bytes, options) {
|
|
146
|
+
return new GetWorkspaceRequest().fromBinary(bytes, options);
|
|
147
|
+
}
|
|
148
|
+
static fromJson(jsonValue, options) {
|
|
149
|
+
return new GetWorkspaceRequest().fromJson(jsonValue, options);
|
|
150
|
+
}
|
|
151
|
+
static fromJsonString(jsonString, options) {
|
|
152
|
+
return new GetWorkspaceRequest().fromJsonString(jsonString, options);
|
|
153
|
+
}
|
|
154
|
+
static equals(a, b) {
|
|
155
|
+
return protobuf_1.proto3.util.equals(GetWorkspaceRequest, a, b);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.GetWorkspaceRequest = GetWorkspaceRequest;
|
|
159
|
+
GetWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
160
|
+
GetWorkspaceRequest.typeName = "gitpod.v1.GetWorkspaceRequest";
|
|
161
|
+
GetWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
69
162
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
70
|
-
|
|
71
|
-
);
|
|
72
|
-
|
|
163
|
+
]);
|
|
73
164
|
/**
|
|
74
165
|
* @generated from message gitpod.v1.GetWorkspaceResponse
|
|
75
166
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
167
|
+
class GetWorkspaceResponse extends protobuf_1.Message {
|
|
168
|
+
constructor(data) {
|
|
169
|
+
super();
|
|
170
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
171
|
+
}
|
|
172
|
+
static fromBinary(bytes, options) {
|
|
173
|
+
return new GetWorkspaceResponse().fromBinary(bytes, options);
|
|
174
|
+
}
|
|
175
|
+
static fromJson(jsonValue, options) {
|
|
176
|
+
return new GetWorkspaceResponse().fromJson(jsonValue, options);
|
|
177
|
+
}
|
|
178
|
+
static fromJsonString(jsonString, options) {
|
|
179
|
+
return new GetWorkspaceResponse().fromJsonString(jsonString, options);
|
|
180
|
+
}
|
|
181
|
+
static equals(a, b) {
|
|
182
|
+
return protobuf_1.proto3.util.equals(GetWorkspaceResponse, a, b);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
exports.GetWorkspaceResponse = GetWorkspaceResponse;
|
|
186
|
+
GetWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
187
|
+
GetWorkspaceResponse.typeName = "gitpod.v1.GetWorkspaceResponse";
|
|
188
|
+
GetWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
79
189
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
80
|
-
|
|
81
|
-
);
|
|
82
|
-
|
|
190
|
+
]);
|
|
83
191
|
/**
|
|
84
192
|
* @generated from message gitpod.v1.GetOwnerTokenRequest
|
|
85
193
|
*/
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
194
|
+
class GetOwnerTokenRequest extends protobuf_1.Message {
|
|
195
|
+
constructor(data) {
|
|
196
|
+
super();
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string workspace_id = 1;
|
|
199
|
+
*/
|
|
200
|
+
this.workspaceId = "";
|
|
201
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
202
|
+
}
|
|
203
|
+
static fromBinary(bytes, options) {
|
|
204
|
+
return new GetOwnerTokenRequest().fromBinary(bytes, options);
|
|
205
|
+
}
|
|
206
|
+
static fromJson(jsonValue, options) {
|
|
207
|
+
return new GetOwnerTokenRequest().fromJson(jsonValue, options);
|
|
208
|
+
}
|
|
209
|
+
static fromJsonString(jsonString, options) {
|
|
210
|
+
return new GetOwnerTokenRequest().fromJsonString(jsonString, options);
|
|
211
|
+
}
|
|
212
|
+
static equals(a, b) {
|
|
213
|
+
return protobuf_1.proto3.util.equals(GetOwnerTokenRequest, a, b);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
exports.GetOwnerTokenRequest = GetOwnerTokenRequest;
|
|
217
|
+
GetOwnerTokenRequest.runtime = protobuf_1.proto3;
|
|
218
|
+
GetOwnerTokenRequest.typeName = "gitpod.v1.GetOwnerTokenRequest";
|
|
219
|
+
GetOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
89
220
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
90
|
-
|
|
91
|
-
);
|
|
92
|
-
|
|
221
|
+
]);
|
|
93
222
|
/**
|
|
94
223
|
* @generated from message gitpod.v1.GetOwnerTokenResponse
|
|
95
224
|
*/
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
225
|
+
class GetOwnerTokenResponse extends protobuf_1.Message {
|
|
226
|
+
constructor(data) {
|
|
227
|
+
super();
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string token = 1;
|
|
230
|
+
*/
|
|
231
|
+
this.token = "";
|
|
232
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
233
|
+
}
|
|
234
|
+
static fromBinary(bytes, options) {
|
|
235
|
+
return new GetOwnerTokenResponse().fromBinary(bytes, options);
|
|
236
|
+
}
|
|
237
|
+
static fromJson(jsonValue, options) {
|
|
238
|
+
return new GetOwnerTokenResponse().fromJson(jsonValue, options);
|
|
239
|
+
}
|
|
240
|
+
static fromJsonString(jsonString, options) {
|
|
241
|
+
return new GetOwnerTokenResponse().fromJsonString(jsonString, options);
|
|
242
|
+
}
|
|
243
|
+
static equals(a, b) {
|
|
244
|
+
return protobuf_1.proto3.util.equals(GetOwnerTokenResponse, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
exports.GetOwnerTokenResponse = GetOwnerTokenResponse;
|
|
248
|
+
GetOwnerTokenResponse.runtime = protobuf_1.proto3;
|
|
249
|
+
GetOwnerTokenResponse.typeName = "gitpod.v1.GetOwnerTokenResponse";
|
|
250
|
+
GetOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
99
251
|
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
100
|
-
|
|
101
|
-
);
|
|
102
|
-
|
|
252
|
+
]);
|
|
103
253
|
/**
|
|
104
254
|
* @generated from message gitpod.v1.CreateAndStartWorkspaceRequest
|
|
105
255
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
256
|
+
class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
|
|
257
|
+
constructor(data) {
|
|
258
|
+
super();
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: string idempotency_token = 1;
|
|
261
|
+
*/
|
|
262
|
+
this.idempotencyToken = "";
|
|
263
|
+
/**
|
|
264
|
+
* @generated from oneof gitpod.v1.CreateAndStartWorkspaceRequest.source
|
|
265
|
+
*/
|
|
266
|
+
this.source = { case: undefined };
|
|
267
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
268
|
+
}
|
|
269
|
+
static fromBinary(bytes, options) {
|
|
270
|
+
return new CreateAndStartWorkspaceRequest().fromBinary(bytes, options);
|
|
271
|
+
}
|
|
272
|
+
static fromJson(jsonValue, options) {
|
|
273
|
+
return new CreateAndStartWorkspaceRequest().fromJson(jsonValue, options);
|
|
274
|
+
}
|
|
275
|
+
static fromJsonString(jsonString, options) {
|
|
276
|
+
return new CreateAndStartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
277
|
+
}
|
|
278
|
+
static equals(a, b) {
|
|
279
|
+
return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceRequest, a, b);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
exports.CreateAndStartWorkspaceRequest = CreateAndStartWorkspaceRequest;
|
|
283
|
+
CreateAndStartWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
284
|
+
CreateAndStartWorkspaceRequest.typeName = "gitpod.v1.CreateAndStartWorkspaceRequest";
|
|
285
|
+
CreateAndStartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
109
286
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
110
287
|
{ no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
111
288
|
{ no: 3, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
112
289
|
{ no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
|
|
113
|
-
|
|
114
|
-
);
|
|
115
|
-
|
|
290
|
+
]);
|
|
116
291
|
/**
|
|
117
292
|
* @generated from message gitpod.v1.CreateAndStartWorkspaceResponse
|
|
118
293
|
*/
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
294
|
+
class CreateAndStartWorkspaceResponse extends protobuf_1.Message {
|
|
295
|
+
constructor(data) {
|
|
296
|
+
super();
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string workspace_id = 1;
|
|
299
|
+
*/
|
|
300
|
+
this.workspaceId = "";
|
|
301
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
302
|
+
}
|
|
303
|
+
static fromBinary(bytes, options) {
|
|
304
|
+
return new CreateAndStartWorkspaceResponse().fromBinary(bytes, options);
|
|
305
|
+
}
|
|
306
|
+
static fromJson(jsonValue, options) {
|
|
307
|
+
return new CreateAndStartWorkspaceResponse().fromJson(jsonValue, options);
|
|
308
|
+
}
|
|
309
|
+
static fromJsonString(jsonString, options) {
|
|
310
|
+
return new CreateAndStartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
311
|
+
}
|
|
312
|
+
static equals(a, b) {
|
|
313
|
+
return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceResponse, a, b);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
exports.CreateAndStartWorkspaceResponse = CreateAndStartWorkspaceResponse;
|
|
317
|
+
CreateAndStartWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
318
|
+
CreateAndStartWorkspaceResponse.typeName = "gitpod.v1.CreateAndStartWorkspaceResponse";
|
|
319
|
+
CreateAndStartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
122
320
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
123
|
-
|
|
124
|
-
);
|
|
125
|
-
|
|
321
|
+
]);
|
|
126
322
|
/**
|
|
127
323
|
* @generated from message gitpod.v1.StartWorkspaceRequest
|
|
128
324
|
*/
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
325
|
+
class StartWorkspaceRequest extends protobuf_1.Message {
|
|
326
|
+
constructor(data) {
|
|
327
|
+
super();
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: string idempotency_token = 1;
|
|
330
|
+
*/
|
|
331
|
+
this.idempotencyToken = "";
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string workspace_id = 2;
|
|
334
|
+
*/
|
|
335
|
+
this.workspaceId = "";
|
|
336
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
337
|
+
}
|
|
338
|
+
static fromBinary(bytes, options) {
|
|
339
|
+
return new StartWorkspaceRequest().fromBinary(bytes, options);
|
|
340
|
+
}
|
|
341
|
+
static fromJson(jsonValue, options) {
|
|
342
|
+
return new StartWorkspaceRequest().fromJson(jsonValue, options);
|
|
343
|
+
}
|
|
344
|
+
static fromJsonString(jsonString, options) {
|
|
345
|
+
return new StartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
346
|
+
}
|
|
347
|
+
static equals(a, b) {
|
|
348
|
+
return protobuf_1.proto3.util.equals(StartWorkspaceRequest, a, b);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
exports.StartWorkspaceRequest = StartWorkspaceRequest;
|
|
352
|
+
StartWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
353
|
+
StartWorkspaceRequest.typeName = "gitpod.v1.StartWorkspaceRequest";
|
|
354
|
+
StartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
132
355
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
356
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
357
|
{ no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
|
|
135
|
-
|
|
136
|
-
);
|
|
137
|
-
|
|
358
|
+
]);
|
|
138
359
|
/**
|
|
139
360
|
* @generated from message gitpod.v1.StartWorkspaceResponse
|
|
140
361
|
*/
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
362
|
+
class StartWorkspaceResponse extends protobuf_1.Message {
|
|
363
|
+
constructor(data) {
|
|
364
|
+
super();
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string instance_id = 1;
|
|
367
|
+
*/
|
|
368
|
+
this.instanceId = "";
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: string workspace_url = 2;
|
|
371
|
+
*/
|
|
372
|
+
this.workspaceUrl = "";
|
|
373
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
374
|
+
}
|
|
375
|
+
static fromBinary(bytes, options) {
|
|
376
|
+
return new StartWorkspaceResponse().fromBinary(bytes, options);
|
|
377
|
+
}
|
|
378
|
+
static fromJson(jsonValue, options) {
|
|
379
|
+
return new StartWorkspaceResponse().fromJson(jsonValue, options);
|
|
380
|
+
}
|
|
381
|
+
static fromJsonString(jsonString, options) {
|
|
382
|
+
return new StartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
383
|
+
}
|
|
384
|
+
static equals(a, b) {
|
|
385
|
+
return protobuf_1.proto3.util.equals(StartWorkspaceResponse, a, b);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
exports.StartWorkspaceResponse = StartWorkspaceResponse;
|
|
389
|
+
StartWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
390
|
+
StartWorkspaceResponse.typeName = "gitpod.v1.StartWorkspaceResponse";
|
|
391
|
+
StartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
144
392
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
393
|
{ no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
-
|
|
147
|
-
);
|
|
148
|
-
|
|
394
|
+
]);
|
|
149
395
|
/**
|
|
150
396
|
* @generated from message gitpod.v1.GetActiveWorkspaceInstanceRequest
|
|
151
397
|
*/
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
398
|
+
class GetActiveWorkspaceInstanceRequest extends protobuf_1.Message {
|
|
399
|
+
constructor(data) {
|
|
400
|
+
super();
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: string workspace_id = 1;
|
|
403
|
+
*/
|
|
404
|
+
this.workspaceId = "";
|
|
405
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
406
|
+
}
|
|
407
|
+
static fromBinary(bytes, options) {
|
|
408
|
+
return new GetActiveWorkspaceInstanceRequest().fromBinary(bytes, options);
|
|
409
|
+
}
|
|
410
|
+
static fromJson(jsonValue, options) {
|
|
411
|
+
return new GetActiveWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
|
412
|
+
}
|
|
413
|
+
static fromJsonString(jsonString, options) {
|
|
414
|
+
return new GetActiveWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
|
415
|
+
}
|
|
416
|
+
static equals(a, b) {
|
|
417
|
+
return protobuf_1.proto3.util.equals(GetActiveWorkspaceInstanceRequest, a, b);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
exports.GetActiveWorkspaceInstanceRequest = GetActiveWorkspaceInstanceRequest;
|
|
421
|
+
GetActiveWorkspaceInstanceRequest.runtime = protobuf_1.proto3;
|
|
422
|
+
GetActiveWorkspaceInstanceRequest.typeName = "gitpod.v1.GetActiveWorkspaceInstanceRequest";
|
|
423
|
+
GetActiveWorkspaceInstanceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
155
424
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
-
|
|
157
|
-
);
|
|
158
|
-
|
|
425
|
+
]);
|
|
159
426
|
/**
|
|
160
427
|
* @generated from message gitpod.v1.GetActiveWorkspaceInstanceResponse
|
|
161
428
|
*/
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
429
|
+
class GetActiveWorkspaceInstanceResponse extends protobuf_1.Message {
|
|
430
|
+
constructor(data) {
|
|
431
|
+
super();
|
|
432
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
433
|
+
}
|
|
434
|
+
static fromBinary(bytes, options) {
|
|
435
|
+
return new GetActiveWorkspaceInstanceResponse().fromBinary(bytes, options);
|
|
436
|
+
}
|
|
437
|
+
static fromJson(jsonValue, options) {
|
|
438
|
+
return new GetActiveWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
|
439
|
+
}
|
|
440
|
+
static fromJsonString(jsonString, options) {
|
|
441
|
+
return new GetActiveWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
|
442
|
+
}
|
|
443
|
+
static equals(a, b) {
|
|
444
|
+
return protobuf_1.proto3.util.equals(GetActiveWorkspaceInstanceResponse, a, b);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
exports.GetActiveWorkspaceInstanceResponse = GetActiveWorkspaceInstanceResponse;
|
|
448
|
+
GetActiveWorkspaceInstanceResponse.runtime = protobuf_1.proto3;
|
|
449
|
+
GetActiveWorkspaceInstanceResponse.typeName = "gitpod.v1.GetActiveWorkspaceInstanceResponse";
|
|
450
|
+
GetActiveWorkspaceInstanceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
165
451
|
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
|
166
|
-
|
|
167
|
-
);
|
|
168
|
-
|
|
452
|
+
]);
|
|
169
453
|
/**
|
|
170
454
|
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
171
455
|
*/
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
456
|
+
class GetWorkspaceInstanceOwnerTokenRequest extends protobuf_1.Message {
|
|
457
|
+
constructor(data) {
|
|
458
|
+
super();
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: string instance_id = 1;
|
|
461
|
+
*/
|
|
462
|
+
this.instanceId = "";
|
|
463
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
464
|
+
}
|
|
465
|
+
static fromBinary(bytes, options) {
|
|
466
|
+
return new GetWorkspaceInstanceOwnerTokenRequest().fromBinary(bytes, options);
|
|
467
|
+
}
|
|
468
|
+
static fromJson(jsonValue, options) {
|
|
469
|
+
return new GetWorkspaceInstanceOwnerTokenRequest().fromJson(jsonValue, options);
|
|
470
|
+
}
|
|
471
|
+
static fromJsonString(jsonString, options) {
|
|
472
|
+
return new GetWorkspaceInstanceOwnerTokenRequest().fromJsonString(jsonString, options);
|
|
473
|
+
}
|
|
474
|
+
static equals(a, b) {
|
|
475
|
+
return protobuf_1.proto3.util.equals(GetWorkspaceInstanceOwnerTokenRequest, a, b);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
exports.GetWorkspaceInstanceOwnerTokenRequest = GetWorkspaceInstanceOwnerTokenRequest;
|
|
479
|
+
GetWorkspaceInstanceOwnerTokenRequest.runtime = protobuf_1.proto3;
|
|
480
|
+
GetWorkspaceInstanceOwnerTokenRequest.typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest";
|
|
481
|
+
GetWorkspaceInstanceOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
175
482
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
-
|
|
177
|
-
);
|
|
178
|
-
|
|
483
|
+
]);
|
|
179
484
|
/**
|
|
180
485
|
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
|
181
486
|
*/
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
487
|
+
class GetWorkspaceInstanceOwnerTokenResponse extends protobuf_1.Message {
|
|
488
|
+
constructor(data) {
|
|
489
|
+
super();
|
|
490
|
+
/**
|
|
491
|
+
* @generated from field: string owner_token = 1;
|
|
492
|
+
*/
|
|
493
|
+
this.ownerToken = "";
|
|
494
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
495
|
+
}
|
|
496
|
+
static fromBinary(bytes, options) {
|
|
497
|
+
return new GetWorkspaceInstanceOwnerTokenResponse().fromBinary(bytes, options);
|
|
498
|
+
}
|
|
499
|
+
static fromJson(jsonValue, options) {
|
|
500
|
+
return new GetWorkspaceInstanceOwnerTokenResponse().fromJson(jsonValue, options);
|
|
501
|
+
}
|
|
502
|
+
static fromJsonString(jsonString, options) {
|
|
503
|
+
return new GetWorkspaceInstanceOwnerTokenResponse().fromJsonString(jsonString, options);
|
|
504
|
+
}
|
|
505
|
+
static equals(a, b) {
|
|
506
|
+
return protobuf_1.proto3.util.equals(GetWorkspaceInstanceOwnerTokenResponse, a, b);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
exports.GetWorkspaceInstanceOwnerTokenResponse = GetWorkspaceInstanceOwnerTokenResponse;
|
|
510
|
+
GetWorkspaceInstanceOwnerTokenResponse.runtime = protobuf_1.proto3;
|
|
511
|
+
GetWorkspaceInstanceOwnerTokenResponse.typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse";
|
|
512
|
+
GetWorkspaceInstanceOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
185
513
|
{ no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
-
|
|
187
|
-
);
|
|
188
|
-
|
|
514
|
+
]);
|
|
189
515
|
/**
|
|
190
516
|
* @generated from message gitpod.v1.ListenToWorkspaceInstanceRequest
|
|
191
517
|
*/
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
518
|
+
class ListenToWorkspaceInstanceRequest extends protobuf_1.Message {
|
|
519
|
+
constructor(data) {
|
|
520
|
+
super();
|
|
521
|
+
/**
|
|
522
|
+
* @generated from field: string instance_id = 1;
|
|
523
|
+
*/
|
|
524
|
+
this.instanceId = "";
|
|
525
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
526
|
+
}
|
|
527
|
+
static fromBinary(bytes, options) {
|
|
528
|
+
return new ListenToWorkspaceInstanceRequest().fromBinary(bytes, options);
|
|
529
|
+
}
|
|
530
|
+
static fromJson(jsonValue, options) {
|
|
531
|
+
return new ListenToWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
|
532
|
+
}
|
|
533
|
+
static fromJsonString(jsonString, options) {
|
|
534
|
+
return new ListenToWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
|
535
|
+
}
|
|
536
|
+
static equals(a, b) {
|
|
537
|
+
return protobuf_1.proto3.util.equals(ListenToWorkspaceInstanceRequest, a, b);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
exports.ListenToWorkspaceInstanceRequest = ListenToWorkspaceInstanceRequest;
|
|
541
|
+
ListenToWorkspaceInstanceRequest.runtime = protobuf_1.proto3;
|
|
542
|
+
ListenToWorkspaceInstanceRequest.typeName = "gitpod.v1.ListenToWorkspaceInstanceRequest";
|
|
543
|
+
ListenToWorkspaceInstanceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
195
544
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
196
|
-
|
|
197
|
-
);
|
|
198
|
-
|
|
545
|
+
]);
|
|
199
546
|
/**
|
|
200
547
|
* @generated from message gitpod.v1.ListenToWorkspaceInstanceResponse
|
|
201
548
|
*/
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
549
|
+
class ListenToWorkspaceInstanceResponse extends protobuf_1.Message {
|
|
550
|
+
constructor(data) {
|
|
551
|
+
super();
|
|
552
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
553
|
+
}
|
|
554
|
+
static fromBinary(bytes, options) {
|
|
555
|
+
return new ListenToWorkspaceInstanceResponse().fromBinary(bytes, options);
|
|
556
|
+
}
|
|
557
|
+
static fromJson(jsonValue, options) {
|
|
558
|
+
return new ListenToWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
|
559
|
+
}
|
|
560
|
+
static fromJsonString(jsonString, options) {
|
|
561
|
+
return new ListenToWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
|
562
|
+
}
|
|
563
|
+
static equals(a, b) {
|
|
564
|
+
return protobuf_1.proto3.util.equals(ListenToWorkspaceInstanceResponse, a, b);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
exports.ListenToWorkspaceInstanceResponse = ListenToWorkspaceInstanceResponse;
|
|
568
|
+
ListenToWorkspaceInstanceResponse.runtime = protobuf_1.proto3;
|
|
569
|
+
ListenToWorkspaceInstanceResponse.typeName = "gitpod.v1.ListenToWorkspaceInstanceResponse";
|
|
570
|
+
ListenToWorkspaceInstanceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
205
571
|
{ no: 1, name: "instance_status", kind: "message", T: WorkspaceInstanceStatus },
|
|
206
|
-
|
|
207
|
-
);
|
|
208
|
-
|
|
572
|
+
]);
|
|
209
573
|
/**
|
|
210
574
|
* @generated from message gitpod.v1.ListenToImageBuildLogsRequest
|
|
211
575
|
*/
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
576
|
+
class ListenToImageBuildLogsRequest extends protobuf_1.Message {
|
|
577
|
+
constructor(data) {
|
|
578
|
+
super();
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: string instance_id = 1;
|
|
581
|
+
*/
|
|
582
|
+
this.instanceId = "";
|
|
583
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
584
|
+
}
|
|
585
|
+
static fromBinary(bytes, options) {
|
|
586
|
+
return new ListenToImageBuildLogsRequest().fromBinary(bytes, options);
|
|
587
|
+
}
|
|
588
|
+
static fromJson(jsonValue, options) {
|
|
589
|
+
return new ListenToImageBuildLogsRequest().fromJson(jsonValue, options);
|
|
590
|
+
}
|
|
591
|
+
static fromJsonString(jsonString, options) {
|
|
592
|
+
return new ListenToImageBuildLogsRequest().fromJsonString(jsonString, options);
|
|
593
|
+
}
|
|
594
|
+
static equals(a, b) {
|
|
595
|
+
return protobuf_1.proto3.util.equals(ListenToImageBuildLogsRequest, a, b);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
exports.ListenToImageBuildLogsRequest = ListenToImageBuildLogsRequest;
|
|
599
|
+
ListenToImageBuildLogsRequest.runtime = protobuf_1.proto3;
|
|
600
|
+
ListenToImageBuildLogsRequest.typeName = "gitpod.v1.ListenToImageBuildLogsRequest";
|
|
601
|
+
ListenToImageBuildLogsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
215
602
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
-
|
|
217
|
-
);
|
|
218
|
-
|
|
603
|
+
]);
|
|
219
604
|
/**
|
|
220
605
|
* @generated from message gitpod.v1.ListenToImageBuildLogsResponse
|
|
221
606
|
*/
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
607
|
+
class ListenToImageBuildLogsResponse extends protobuf_1.Message {
|
|
608
|
+
constructor(data) {
|
|
609
|
+
super();
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: string line = 1;
|
|
612
|
+
*/
|
|
613
|
+
this.line = "";
|
|
614
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
615
|
+
}
|
|
616
|
+
static fromBinary(bytes, options) {
|
|
617
|
+
return new ListenToImageBuildLogsResponse().fromBinary(bytes, options);
|
|
618
|
+
}
|
|
619
|
+
static fromJson(jsonValue, options) {
|
|
620
|
+
return new ListenToImageBuildLogsResponse().fromJson(jsonValue, options);
|
|
621
|
+
}
|
|
622
|
+
static fromJsonString(jsonString, options) {
|
|
623
|
+
return new ListenToImageBuildLogsResponse().fromJsonString(jsonString, options);
|
|
624
|
+
}
|
|
625
|
+
static equals(a, b) {
|
|
626
|
+
return protobuf_1.proto3.util.equals(ListenToImageBuildLogsResponse, a, b);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
exports.ListenToImageBuildLogsResponse = ListenToImageBuildLogsResponse;
|
|
630
|
+
ListenToImageBuildLogsResponse.runtime = protobuf_1.proto3;
|
|
631
|
+
ListenToImageBuildLogsResponse.typeName = "gitpod.v1.ListenToImageBuildLogsResponse";
|
|
632
|
+
ListenToImageBuildLogsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
225
633
|
{ no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
226
|
-
|
|
227
|
-
);
|
|
228
|
-
|
|
634
|
+
]);
|
|
229
635
|
/**
|
|
230
636
|
* @generated from message gitpod.v1.StopWorkspaceRequest
|
|
231
637
|
*/
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
638
|
+
class StopWorkspaceRequest extends protobuf_1.Message {
|
|
639
|
+
constructor(data) {
|
|
640
|
+
super();
|
|
641
|
+
/**
|
|
642
|
+
* @generated from field: string idempotency_token = 1;
|
|
643
|
+
*/
|
|
644
|
+
this.idempotencyToken = "";
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: string workspace_id = 2;
|
|
647
|
+
*/
|
|
648
|
+
this.workspaceId = "";
|
|
649
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
650
|
+
}
|
|
651
|
+
static fromBinary(bytes, options) {
|
|
652
|
+
return new StopWorkspaceRequest().fromBinary(bytes, options);
|
|
653
|
+
}
|
|
654
|
+
static fromJson(jsonValue, options) {
|
|
655
|
+
return new StopWorkspaceRequest().fromJson(jsonValue, options);
|
|
656
|
+
}
|
|
657
|
+
static fromJsonString(jsonString, options) {
|
|
658
|
+
return new StopWorkspaceRequest().fromJsonString(jsonString, options);
|
|
659
|
+
}
|
|
660
|
+
static equals(a, b) {
|
|
661
|
+
return protobuf_1.proto3.util.equals(StopWorkspaceRequest, a, b);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
exports.StopWorkspaceRequest = StopWorkspaceRequest;
|
|
665
|
+
StopWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
666
|
+
StopWorkspaceRequest.typeName = "gitpod.v1.StopWorkspaceRequest";
|
|
667
|
+
StopWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
235
668
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
236
669
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
237
|
-
|
|
238
|
-
);
|
|
239
|
-
|
|
670
|
+
]);
|
|
240
671
|
/**
|
|
241
672
|
* @generated from message gitpod.v1.StopWorkspaceResponse
|
|
242
673
|
*/
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
);
|
|
247
|
-
|
|
674
|
+
class StopWorkspaceResponse extends protobuf_1.Message {
|
|
675
|
+
constructor(data) {
|
|
676
|
+
super();
|
|
677
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
678
|
+
}
|
|
679
|
+
static fromBinary(bytes, options) {
|
|
680
|
+
return new StopWorkspaceResponse().fromBinary(bytes, options);
|
|
681
|
+
}
|
|
682
|
+
static fromJson(jsonValue, options) {
|
|
683
|
+
return new StopWorkspaceResponse().fromJson(jsonValue, options);
|
|
684
|
+
}
|
|
685
|
+
static fromJsonString(jsonString, options) {
|
|
686
|
+
return new StopWorkspaceResponse().fromJsonString(jsonString, options);
|
|
687
|
+
}
|
|
688
|
+
static equals(a, b) {
|
|
689
|
+
return protobuf_1.proto3.util.equals(StopWorkspaceResponse, a, b);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
exports.StopWorkspaceResponse = StopWorkspaceResponse;
|
|
693
|
+
StopWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
694
|
+
StopWorkspaceResponse.typeName = "gitpod.v1.StopWorkspaceResponse";
|
|
695
|
+
StopWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
248
696
|
/**
|
|
249
697
|
* Workspace describes a single workspace
|
|
250
698
|
*
|
|
251
699
|
* @generated from message gitpod.v1.Workspace
|
|
252
700
|
*/
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
701
|
+
class Workspace extends protobuf_1.Message {
|
|
702
|
+
constructor(data) {
|
|
703
|
+
super();
|
|
704
|
+
/**
|
|
705
|
+
* workspace_id is the ID of the workspace
|
|
706
|
+
*
|
|
707
|
+
* @generated from field: string workspace_id = 1;
|
|
708
|
+
*/
|
|
709
|
+
this.workspaceId = "";
|
|
710
|
+
/**
|
|
711
|
+
* owner_id is the ID of the user who created this workspace
|
|
712
|
+
*
|
|
713
|
+
* @generated from field: string owner_id = 2;
|
|
714
|
+
*/
|
|
715
|
+
this.ownerId = "";
|
|
716
|
+
/**
|
|
717
|
+
* project_id is the ID of the project which this workspace belongs to
|
|
718
|
+
*
|
|
719
|
+
* @generated from field: string project_id = 3;
|
|
720
|
+
*/
|
|
721
|
+
this.projectId = "";
|
|
722
|
+
/**
|
|
723
|
+
* description is a human readable description of the workspace
|
|
724
|
+
*
|
|
725
|
+
* @generated from field: string description = 5;
|
|
726
|
+
*/
|
|
727
|
+
this.description = "";
|
|
728
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
729
|
+
}
|
|
730
|
+
static fromBinary(bytes, options) {
|
|
731
|
+
return new Workspace().fromBinary(bytes, options);
|
|
732
|
+
}
|
|
733
|
+
static fromJson(jsonValue, options) {
|
|
734
|
+
return new Workspace().fromJson(jsonValue, options);
|
|
735
|
+
}
|
|
736
|
+
static fromJsonString(jsonString, options) {
|
|
737
|
+
return new Workspace().fromJsonString(jsonString, options);
|
|
738
|
+
}
|
|
739
|
+
static equals(a, b) {
|
|
740
|
+
return protobuf_1.proto3.util.equals(Workspace, a, b);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
exports.Workspace = Workspace;
|
|
744
|
+
Workspace.runtime = protobuf_1.proto3;
|
|
745
|
+
Workspace.typeName = "gitpod.v1.Workspace";
|
|
746
|
+
Workspace.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
256
747
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
748
|
{ no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
258
749
|
{ no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
259
750
|
{ no: 4, name: "context", kind: "message", T: WorkspaceContext },
|
|
260
751
|
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
261
|
-
|
|
262
|
-
);
|
|
263
|
-
|
|
752
|
+
]);
|
|
264
753
|
/**
|
|
265
754
|
* WorkspaceContext describes the context a workspace was created from
|
|
266
755
|
*
|
|
267
756
|
* @generated from message gitpod.v1.WorkspaceContext
|
|
268
757
|
*/
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
758
|
+
class WorkspaceContext extends protobuf_1.Message {
|
|
759
|
+
constructor(data) {
|
|
760
|
+
super();
|
|
761
|
+
/**
|
|
762
|
+
* All workspace context originates from a URL - this is the context URL
|
|
763
|
+
* which led to the creation of a workspace.
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: string context_url = 1;
|
|
766
|
+
*/
|
|
767
|
+
this.contextUrl = "";
|
|
768
|
+
/**
|
|
769
|
+
* @generated from oneof gitpod.v1.WorkspaceContext.details
|
|
770
|
+
*/
|
|
771
|
+
this.details = { case: undefined };
|
|
772
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
773
|
+
}
|
|
774
|
+
static fromBinary(bytes, options) {
|
|
775
|
+
return new WorkspaceContext().fromBinary(bytes, options);
|
|
776
|
+
}
|
|
777
|
+
static fromJson(jsonValue, options) {
|
|
778
|
+
return new WorkspaceContext().fromJson(jsonValue, options);
|
|
779
|
+
}
|
|
780
|
+
static fromJsonString(jsonString, options) {
|
|
781
|
+
return new WorkspaceContext().fromJsonString(jsonString, options);
|
|
782
|
+
}
|
|
783
|
+
static equals(a, b) {
|
|
784
|
+
return protobuf_1.proto3.util.equals(WorkspaceContext, a, b);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
exports.WorkspaceContext = WorkspaceContext;
|
|
788
|
+
WorkspaceContext.runtime = protobuf_1.proto3;
|
|
789
|
+
WorkspaceContext.typeName = "gitpod.v1.WorkspaceContext";
|
|
790
|
+
WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
272
791
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
792
|
{ no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
|
|
274
793
|
{ no: 3, name: "prebuild", kind: "message", T: WorkspaceContext_Prebuild, oneof: "details" },
|
|
275
794
|
{ no: 4, name: "snapshot", kind: "message", T: WorkspaceContext_Snapshot, oneof: "details" },
|
|
276
|
-
|
|
277
|
-
);
|
|
278
|
-
|
|
795
|
+
]);
|
|
279
796
|
/**
|
|
280
797
|
* Explicit Git context
|
|
281
798
|
*
|
|
282
799
|
* @generated from message gitpod.v1.WorkspaceContext.Git
|
|
283
800
|
*/
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
801
|
+
class WorkspaceContext_Git extends protobuf_1.Message {
|
|
802
|
+
constructor(data) {
|
|
803
|
+
super();
|
|
804
|
+
/**
|
|
805
|
+
* @generated from field: string normalized_context_url = 1;
|
|
806
|
+
*/
|
|
807
|
+
this.normalizedContextUrl = "";
|
|
808
|
+
/**
|
|
809
|
+
* @generated from field: string commit = 2;
|
|
810
|
+
*/
|
|
811
|
+
this.commit = "";
|
|
812
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
813
|
+
}
|
|
814
|
+
static fromBinary(bytes, options) {
|
|
815
|
+
return new WorkspaceContext_Git().fromBinary(bytes, options);
|
|
816
|
+
}
|
|
817
|
+
static fromJson(jsonValue, options) {
|
|
818
|
+
return new WorkspaceContext_Git().fromJson(jsonValue, options);
|
|
819
|
+
}
|
|
820
|
+
static fromJsonString(jsonString, options) {
|
|
821
|
+
return new WorkspaceContext_Git().fromJsonString(jsonString, options);
|
|
822
|
+
}
|
|
823
|
+
static equals(a, b) {
|
|
824
|
+
return protobuf_1.proto3.util.equals(WorkspaceContext_Git, a, b);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
exports.WorkspaceContext_Git = WorkspaceContext_Git;
|
|
828
|
+
WorkspaceContext_Git.runtime = protobuf_1.proto3;
|
|
829
|
+
WorkspaceContext_Git.typeName = "gitpod.v1.WorkspaceContext.Git";
|
|
830
|
+
WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
287
831
|
{ no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
832
|
{ no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
289
|
-
|
|
290
|
-
{localName: "WorkspaceContext_Git"},
|
|
291
|
-
);
|
|
292
|
-
|
|
833
|
+
]);
|
|
293
834
|
/**
|
|
294
835
|
* Workspace was created from a prebuild
|
|
295
836
|
*
|
|
296
837
|
* @generated from message gitpod.v1.WorkspaceContext.Prebuild
|
|
297
838
|
*/
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
839
|
+
class WorkspaceContext_Prebuild extends protobuf_1.Message {
|
|
840
|
+
constructor(data) {
|
|
841
|
+
super();
|
|
842
|
+
/**
|
|
843
|
+
* prebuild_id is the ID of the prebuild which was used to create this workspace
|
|
844
|
+
*
|
|
845
|
+
* @generated from field: string prebuild_id = 2;
|
|
846
|
+
*/
|
|
847
|
+
this.prebuildId = "";
|
|
848
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
849
|
+
}
|
|
850
|
+
static fromBinary(bytes, options) {
|
|
851
|
+
return new WorkspaceContext_Prebuild().fromBinary(bytes, options);
|
|
852
|
+
}
|
|
853
|
+
static fromJson(jsonValue, options) {
|
|
854
|
+
return new WorkspaceContext_Prebuild().fromJson(jsonValue, options);
|
|
855
|
+
}
|
|
856
|
+
static fromJsonString(jsonString, options) {
|
|
857
|
+
return new WorkspaceContext_Prebuild().fromJsonString(jsonString, options);
|
|
858
|
+
}
|
|
859
|
+
static equals(a, b) {
|
|
860
|
+
return protobuf_1.proto3.util.equals(WorkspaceContext_Prebuild, a, b);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
exports.WorkspaceContext_Prebuild = WorkspaceContext_Prebuild;
|
|
864
|
+
WorkspaceContext_Prebuild.runtime = protobuf_1.proto3;
|
|
865
|
+
WorkspaceContext_Prebuild.typeName = "gitpod.v1.WorkspaceContext.Prebuild";
|
|
866
|
+
WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
301
867
|
{ no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
|
|
302
868
|
{ no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
303
|
-
|
|
304
|
-
{localName: "WorkspaceContext_Prebuild"},
|
|
305
|
-
);
|
|
306
|
-
|
|
869
|
+
]);
|
|
307
870
|
/**
|
|
308
871
|
* Snapshot context points to the snapshot which the workspace was created from
|
|
309
872
|
*
|
|
310
873
|
* @generated from message gitpod.v1.WorkspaceContext.Snapshot
|
|
311
874
|
*/
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
875
|
+
class WorkspaceContext_Snapshot extends protobuf_1.Message {
|
|
876
|
+
constructor(data) {
|
|
877
|
+
super();
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: string snapshot_id = 1;
|
|
880
|
+
*/
|
|
881
|
+
this.snapshotId = "";
|
|
882
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
883
|
+
}
|
|
884
|
+
static fromBinary(bytes, options) {
|
|
885
|
+
return new WorkspaceContext_Snapshot().fromBinary(bytes, options);
|
|
886
|
+
}
|
|
887
|
+
static fromJson(jsonValue, options) {
|
|
888
|
+
return new WorkspaceContext_Snapshot().fromJson(jsonValue, options);
|
|
889
|
+
}
|
|
890
|
+
static fromJsonString(jsonString, options) {
|
|
891
|
+
return new WorkspaceContext_Snapshot().fromJsonString(jsonString, options);
|
|
892
|
+
}
|
|
893
|
+
static equals(a, b) {
|
|
894
|
+
return protobuf_1.proto3.util.equals(WorkspaceContext_Snapshot, a, b);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
exports.WorkspaceContext_Snapshot = WorkspaceContext_Snapshot;
|
|
898
|
+
WorkspaceContext_Snapshot.runtime = protobuf_1.proto3;
|
|
899
|
+
WorkspaceContext_Snapshot.typeName = "gitpod.v1.WorkspaceContext.Snapshot";
|
|
900
|
+
WorkspaceContext_Snapshot.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
315
901
|
{ no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
|
-
|
|
317
|
-
{localName: "WorkspaceContext_Snapshot"},
|
|
318
|
-
);
|
|
319
|
-
|
|
902
|
+
]);
|
|
320
903
|
/**
|
|
321
904
|
* WorkspaceInstance describes a single workspace instance
|
|
322
905
|
*
|
|
323
906
|
* @generated from message gitpod.v1.WorkspaceInstance
|
|
324
907
|
*/
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
908
|
+
class WorkspaceInstance extends protobuf_1.Message {
|
|
909
|
+
constructor(data) {
|
|
910
|
+
super();
|
|
911
|
+
/**
|
|
912
|
+
* Instance ID is the unique identifier of the workspace instance
|
|
913
|
+
*
|
|
914
|
+
* @generated from field: string instance_id = 1;
|
|
915
|
+
*/
|
|
916
|
+
this.instanceId = "";
|
|
917
|
+
/**
|
|
918
|
+
* Worksapce ID is the unique identifier of the workspace this instance belongs to
|
|
919
|
+
*
|
|
920
|
+
* @generated from field: string workspace_id = 2;
|
|
921
|
+
*/
|
|
922
|
+
this.workspaceId = "";
|
|
923
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
924
|
+
}
|
|
925
|
+
static fromBinary(bytes, options) {
|
|
926
|
+
return new WorkspaceInstance().fromBinary(bytes, options);
|
|
927
|
+
}
|
|
928
|
+
static fromJson(jsonValue, options) {
|
|
929
|
+
return new WorkspaceInstance().fromJson(jsonValue, options);
|
|
930
|
+
}
|
|
931
|
+
static fromJsonString(jsonString, options) {
|
|
932
|
+
return new WorkspaceInstance().fromJsonString(jsonString, options);
|
|
933
|
+
}
|
|
934
|
+
static equals(a, b) {
|
|
935
|
+
return protobuf_1.proto3.util.equals(WorkspaceInstance, a, b);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
exports.WorkspaceInstance = WorkspaceInstance;
|
|
939
|
+
WorkspaceInstance.runtime = protobuf_1.proto3;
|
|
940
|
+
WorkspaceInstance.typeName = "gitpod.v1.WorkspaceInstance";
|
|
941
|
+
WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
328
942
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
329
943
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
330
|
-
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
944
|
+
{ no: 3, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
|
|
331
945
|
{ no: 4, name: "status", kind: "message", T: WorkspaceInstanceStatus },
|
|
332
|
-
|
|
333
|
-
);
|
|
334
|
-
|
|
946
|
+
]);
|
|
335
947
|
/**
|
|
336
948
|
* WorkspaceStatus describes a workspace status
|
|
337
949
|
*
|
|
338
950
|
* @generated from message gitpod.v1.WorkspaceInstanceStatus
|
|
339
951
|
*/
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
952
|
+
class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
953
|
+
constructor(data) {
|
|
954
|
+
super();
|
|
955
|
+
/**
|
|
956
|
+
* version of the status update. Workspace instances themselves are unversioned,
|
|
957
|
+
* but their statuus has different versions.
|
|
958
|
+
* The value of this field has no semantic meaning (e.g. don't interpret it as
|
|
959
|
+
* as a timestemp), but it can be used to impose a partial order.
|
|
960
|
+
* If a.status_version < b.status_version then a was the status before b.
|
|
961
|
+
*
|
|
962
|
+
* @generated from field: uint64 status_version = 1;
|
|
963
|
+
*/
|
|
964
|
+
this.statusVersion = protobuf_1.protoInt64.zero;
|
|
965
|
+
/**
|
|
966
|
+
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
|
967
|
+
*
|
|
968
|
+
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
|
969
|
+
*/
|
|
970
|
+
this.phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
|
|
971
|
+
/**
|
|
972
|
+
* message is an optional human-readable message detailing the current phase
|
|
973
|
+
*
|
|
974
|
+
* @generated from field: string message = 4;
|
|
975
|
+
*/
|
|
976
|
+
this.message = "";
|
|
977
|
+
/**
|
|
978
|
+
* URL contains the endpoint at which the workspace instance is available
|
|
979
|
+
*
|
|
980
|
+
* @generated from field: string url = 5;
|
|
981
|
+
*/
|
|
982
|
+
this.url = "";
|
|
983
|
+
/**
|
|
984
|
+
* Admission describes who can access a workspace instance and its ports.
|
|
985
|
+
*
|
|
986
|
+
* @generated from field: gitpod.v1.AdmissionLevel admission = 6;
|
|
987
|
+
*/
|
|
988
|
+
this.admission = AdmissionLevel.UNSPECIFIED;
|
|
989
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
990
|
+
}
|
|
991
|
+
static fromBinary(bytes, options) {
|
|
992
|
+
return new WorkspaceInstanceStatus().fromBinary(bytes, options);
|
|
993
|
+
}
|
|
994
|
+
static fromJson(jsonValue, options) {
|
|
995
|
+
return new WorkspaceInstanceStatus().fromJson(jsonValue, options);
|
|
996
|
+
}
|
|
997
|
+
static fromJsonString(jsonString, options) {
|
|
998
|
+
return new WorkspaceInstanceStatus().fromJsonString(jsonString, options);
|
|
999
|
+
}
|
|
1000
|
+
static equals(a, b) {
|
|
1001
|
+
return protobuf_1.proto3.util.equals(WorkspaceInstanceStatus, a, b);
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
exports.WorkspaceInstanceStatus = WorkspaceInstanceStatus;
|
|
1005
|
+
WorkspaceInstanceStatus.runtime = protobuf_1.proto3;
|
|
1006
|
+
WorkspaceInstanceStatus.typeName = "gitpod.v1.WorkspaceInstanceStatus";
|
|
1007
|
+
WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
343
1008
|
{ no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
344
|
-
{ no: 2, name: "phase", kind: "enum", T: proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
|
1009
|
+
{ no: 2, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
|
345
1010
|
{ no: 3, name: "conditions", kind: "message", T: WorkspaceInstanceStatus_Conditions },
|
|
346
1011
|
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
347
1012
|
{ no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
348
|
-
{ no: 6, name: "admission", kind: "enum", T: proto3.getEnumType(AdmissionLevel) },
|
|
349
|
-
|
|
350
|
-
);
|
|
351
|
-
|
|
1013
|
+
{ no: 6, name: "admission", kind: "enum", T: protobuf_1.proto3.getEnumType(AdmissionLevel) },
|
|
1014
|
+
]);
|
|
352
1015
|
/**
|
|
353
1016
|
* Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
|
|
354
1017
|
* The phase is not intended to be a comprehensive rollup of observations of the workspace state,
|
|
@@ -357,39 +1020,137 @@ export const WorkspaceInstanceStatus = proto3.makeMessageType(
|
|
|
357
1020
|
*
|
|
358
1021
|
* @generated from enum gitpod.v1.WorkspaceInstanceStatus.Phase
|
|
359
1022
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
1023
|
+
var WorkspaceInstanceStatus_Phase;
|
|
1024
|
+
(function (WorkspaceInstanceStatus_Phase) {
|
|
1025
|
+
/**
|
|
1026
|
+
* Unknown indicates an issue within the workspace manager in that it cannot determine the actual phase of
|
|
1027
|
+
* a workspace. This phase is usually accompanied by an error.
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from enum value: PHASE_UNSPECIFIED = 0;
|
|
1030
|
+
*/
|
|
1031
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
1032
|
+
/**
|
|
1033
|
+
* Preparing means that we haven't actually started the workspace instance just yet, but rather
|
|
1034
|
+
* are still preparing for launch.
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from enum value: PHASE_PREPARING = 1;
|
|
1037
|
+
*/
|
|
1038
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["PREPARING"] = 1] = "PREPARING";
|
|
1039
|
+
/**
|
|
1040
|
+
* ImageBuild indicates that there's an image build running for this workspace.
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from enum value: PHASE_IMAGEBUILD = 2;
|
|
1043
|
+
*/
|
|
1044
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["IMAGEBUILD"] = 2] = "IMAGEBUILD";
|
|
1045
|
+
/**
|
|
1046
|
+
* Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
|
|
1047
|
+
* some space within the cluster. If for example the cluster needs to scale up to accomodate the
|
|
1048
|
+
* workspace, the workspace will be in Pending state until that happened.
|
|
1049
|
+
*
|
|
1050
|
+
* @generated from enum value: PHASE_PENDING = 3;
|
|
1051
|
+
*/
|
|
1052
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["PENDING"] = 3] = "PENDING";
|
|
1053
|
+
/**
|
|
1054
|
+
* Creating means the workspace is currently being created. That includes downloading the images required
|
|
1055
|
+
* to run the workspace over the network. The time spent in this phase varies widely and depends on the current
|
|
1056
|
+
* network speed, image size and cache states.
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from enum value: PHASE_CREATING = 4;
|
|
1059
|
+
*/
|
|
1060
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["CREATING"] = 4] = "CREATING";
|
|
1061
|
+
/**
|
|
1062
|
+
* Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
|
|
1063
|
+
* clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
|
|
1064
|
+
*
|
|
1065
|
+
* @generated from enum value: PHASE_INITIALIZING = 5;
|
|
1066
|
+
*/
|
|
1067
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["INITIALIZING"] = 5] = "INITIALIZING";
|
|
1068
|
+
/**
|
|
1069
|
+
* Running means the workspace is able to actively perform work, either by serving a user through Theia,
|
|
1070
|
+
* or as a headless workspace.
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from enum value: PHASE_RUNNING = 6;
|
|
1073
|
+
*/
|
|
1074
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["RUNNING"] = 6] = "RUNNING";
|
|
1075
|
+
/**
|
|
1076
|
+
* Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
|
|
1077
|
+
* When in this state, we expect it to become running or stopping anytime soon.
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from enum value: PHASE_INTERRUPTED = 7;
|
|
1080
|
+
*/
|
|
1081
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["INTERRUPTED"] = 7] = "INTERRUPTED";
|
|
1082
|
+
/**
|
|
1083
|
+
* Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
|
|
1084
|
+
*
|
|
1085
|
+
* @generated from enum value: PHASE_STOPPING = 8;
|
|
1086
|
+
*/
|
|
1087
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPING"] = 8] = "STOPPING";
|
|
1088
|
+
/**
|
|
1089
|
+
* Stopped means the workspace ended regularly because it was shut down.
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from enum value: PHASE_STOPPED = 9;
|
|
1092
|
+
*/
|
|
1093
|
+
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPED"] = 9] = "STOPPED";
|
|
1094
|
+
})(WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus_Phase || (exports.WorkspaceInstanceStatus_Phase = {}));
|
|
1095
|
+
// Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
|
|
1096
|
+
protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInstanceStatus.Phase", [
|
|
1097
|
+
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
|
1098
|
+
{ no: 1, name: "PHASE_PREPARING" },
|
|
1099
|
+
{ no: 2, name: "PHASE_IMAGEBUILD" },
|
|
1100
|
+
{ no: 3, name: "PHASE_PENDING" },
|
|
1101
|
+
{ no: 4, name: "PHASE_CREATING" },
|
|
1102
|
+
{ no: 5, name: "PHASE_INITIALIZING" },
|
|
1103
|
+
{ no: 6, name: "PHASE_RUNNING" },
|
|
1104
|
+
{ no: 7, name: "PHASE_INTERRUPTED" },
|
|
1105
|
+
{ no: 8, name: "PHASE_STOPPING" },
|
|
1106
|
+
{ no: 9, name: "PHASE_STOPPED" },
|
|
1107
|
+
]);
|
|
376
1108
|
/**
|
|
377
1109
|
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
|
378
1110
|
* has a value depends on the phase the workspace is in.
|
|
379
1111
|
*
|
|
380
1112
|
* @generated from message gitpod.v1.WorkspaceInstanceStatus.Conditions
|
|
381
1113
|
*/
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
1114
|
+
class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
|
|
1115
|
+
constructor(data) {
|
|
1116
|
+
super();
|
|
1117
|
+
/**
|
|
1118
|
+
* failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
|
|
1119
|
+
* This field is filled exclusively when caused by system errors.
|
|
1120
|
+
*
|
|
1121
|
+
* @generated from field: string failed = 1;
|
|
1122
|
+
*/
|
|
1123
|
+
this.failed = "";
|
|
1124
|
+
/**
|
|
1125
|
+
* timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
|
|
1126
|
+
*
|
|
1127
|
+
* @generated from field: string timeout = 2;
|
|
1128
|
+
*/
|
|
1129
|
+
this.timeout = "";
|
|
1130
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1131
|
+
}
|
|
1132
|
+
static fromBinary(bytes, options) {
|
|
1133
|
+
return new WorkspaceInstanceStatus_Conditions().fromBinary(bytes, options);
|
|
1134
|
+
}
|
|
1135
|
+
static fromJson(jsonValue, options) {
|
|
1136
|
+
return new WorkspaceInstanceStatus_Conditions().fromJson(jsonValue, options);
|
|
1137
|
+
}
|
|
1138
|
+
static fromJsonString(jsonString, options) {
|
|
1139
|
+
return new WorkspaceInstanceStatus_Conditions().fromJsonString(jsonString, options);
|
|
1140
|
+
}
|
|
1141
|
+
static equals(a, b) {
|
|
1142
|
+
return protobuf_1.proto3.util.equals(WorkspaceInstanceStatus_Conditions, a, b);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
exports.WorkspaceInstanceStatus_Conditions = WorkspaceInstanceStatus_Conditions;
|
|
1146
|
+
WorkspaceInstanceStatus_Conditions.runtime = protobuf_1.proto3;
|
|
1147
|
+
WorkspaceInstanceStatus_Conditions.typeName = "gitpod.v1.WorkspaceInstanceStatus.Conditions";
|
|
1148
|
+
WorkspaceInstanceStatus_Conditions.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
385
1149
|
{ no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
386
1150
|
{ no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
387
|
-
{ no: 9, name: "first_user_activity", kind: "message", T: Timestamp },
|
|
1151
|
+
{ no: 9, name: "first_user_activity", kind: "message", T: protobuf_1.Timestamp },
|
|
388
1152
|
{ no: 11, name: "stopped_by_request", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
389
|
-
|
|
390
|
-
{localName: "WorkspaceInstanceStatus_Conditions"},
|
|
391
|
-
);
|
|
392
|
-
|
|
1153
|
+
]);
|
|
393
1154
|
/**
|
|
394
1155
|
* StartWorkspaceSpec influences the workspace start
|
|
395
1156
|
*
|
|
@@ -397,7 +1158,26 @@ export const WorkspaceInstanceStatus_Conditions = proto3.makeMessageType(
|
|
|
397
1158
|
*
|
|
398
1159
|
* @generated from message gitpod.v1.StartWorkspaceSpec
|
|
399
1160
|
*/
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
);
|
|
1161
|
+
class StartWorkspaceSpec extends protobuf_1.Message {
|
|
1162
|
+
constructor(data) {
|
|
1163
|
+
super();
|
|
1164
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1165
|
+
}
|
|
1166
|
+
static fromBinary(bytes, options) {
|
|
1167
|
+
return new StartWorkspaceSpec().fromBinary(bytes, options);
|
|
1168
|
+
}
|
|
1169
|
+
static fromJson(jsonValue, options) {
|
|
1170
|
+
return new StartWorkspaceSpec().fromJson(jsonValue, options);
|
|
1171
|
+
}
|
|
1172
|
+
static fromJsonString(jsonString, options) {
|
|
1173
|
+
return new StartWorkspaceSpec().fromJsonString(jsonString, options);
|
|
1174
|
+
}
|
|
1175
|
+
static equals(a, b) {
|
|
1176
|
+
return protobuf_1.proto3.util.equals(StartWorkspaceSpec, a, b);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
exports.StartWorkspaceSpec = StartWorkspaceSpec;
|
|
1180
|
+
StartWorkspaceSpec.runtime = protobuf_1.proto3;
|
|
1181
|
+
StartWorkspaceSpec.typeName = "gitpod.v1.StartWorkspaceSpec";
|
|
1182
|
+
StartWorkspaceSpec.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
1183
|
+
//# sourceMappingURL=workspaces_pb.js.map
|