@gitpod/public-api 0.1.5-sje-no-log-envvars.0 → 0.1.5-sje-licensor-deprecation.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.d.ts +11 -8
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.js +12 -9
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +534 -0
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.d.ts +272 -223
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.js +362 -310
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +4 -3
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/pagination_pb.js.map +0 -1
- package/lib/gitpod/v1/pagination_pb.ts +0 -60
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
- package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -281
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.js +0 -435
- package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
- package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
- package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
- package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.ts +0 -1509
@@ -1,17 +1,47 @@
|
|
1
1
|
"use strict";
|
2
2
|
/**
|
3
|
-
* Copyright (c)
|
3
|
+
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
4
4
|
* Licensed under the GNU Affero General Public License (AGPL).
|
5
|
-
* See License
|
5
|
+
* See License.AGPL.txt in the project root for license information.
|
6
6
|
*/
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8
|
-
exports.
|
8
|
+
exports.UpdatePortResponse = exports.UpdatePortRequest = exports.PortSpec = exports.StartWorkspaceSpec = exports.Port = exports.WorkspaceInstanceStatus_Conditions = exports.WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus = exports.WorkspaceInstance = exports.WorkspaceContext_Snapshot = exports.WorkspaceContext_Prebuild = exports.WorkspaceContext_Git = exports.WorkspaceContext = exports.WorkspaceStatus = exports.Workspace = exports.DeleteWorkspaceResponse = exports.DeleteWorkspaceRequest = exports.StopWorkspaceResponse = exports.StopWorkspaceRequest = exports.StartWorkspaceResponse = exports.StartWorkspaceRequest = exports.CreateAndStartWorkspaceResponse = exports.CreateAndStartWorkspaceRequest = exports.GetOwnerTokenResponse = exports.GetOwnerTokenRequest = exports.StreamWorkspaceStatusResponse = exports.StreamWorkspaceStatusRequest = exports.GetWorkspaceResponse = exports.GetWorkspaceRequest = exports.ListWorkspacesResponse = exports.ListWorkspacesRequest = exports.AdmissionLevel = exports.PortPolicy = void 0;
|
9
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
10
10
|
const pagination_pb_js_1 = require("./pagination_pb.js");
|
11
|
+
/**
|
12
|
+
* PortPolicy defines the accssbility policy of a workspace port is guarded by an authentication in the proxy
|
13
|
+
*
|
14
|
+
* @generated from enum gitpod.experimental.v1.PortPolicy
|
15
|
+
*/
|
16
|
+
var PortPolicy;
|
17
|
+
(function (PortPolicy) {
|
18
|
+
/**
|
19
|
+
* @generated from enum value: PORT_POLICY_UNSPECIFIED = 0;
|
20
|
+
*/
|
21
|
+
PortPolicy[PortPolicy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
22
|
+
/**
|
23
|
+
* Private means the port is accessible by the workspace owner only using the workspace port URL
|
24
|
+
*
|
25
|
+
* @generated from enum value: PORT_POLICY_PRIVATE = 1;
|
26
|
+
*/
|
27
|
+
PortPolicy[PortPolicy["PRIVATE"] = 1] = "PRIVATE";
|
28
|
+
/**
|
29
|
+
* Public means the port is accessible by everybody using the workspace port URL
|
30
|
+
*
|
31
|
+
* @generated from enum value: PORT_POLICY_PUBLIC = 2;
|
32
|
+
*/
|
33
|
+
PortPolicy[PortPolicy["PUBLIC"] = 2] = "PUBLIC";
|
34
|
+
})(PortPolicy = exports.PortPolicy || (exports.PortPolicy = {}));
|
35
|
+
// Retrieve enum metadata with: proto3.getEnumType(PortPolicy)
|
36
|
+
protobuf_1.proto3.util.setEnumType(PortPolicy, "gitpod.experimental.v1.PortPolicy", [
|
37
|
+
{ no: 0, name: "PORT_POLICY_UNSPECIFIED" },
|
38
|
+
{ no: 1, name: "PORT_POLICY_PRIVATE" },
|
39
|
+
{ no: 2, name: "PORT_POLICY_PUBLIC" },
|
40
|
+
]);
|
11
41
|
/**
|
12
42
|
* Admission level describes who can access a workspace instance and its ports.
|
13
43
|
*
|
14
|
-
* @generated from enum gitpod.v1.AdmissionLevel
|
44
|
+
* @generated from enum gitpod.experimental.v1.AdmissionLevel
|
15
45
|
*/
|
16
46
|
var AdmissionLevel;
|
17
47
|
(function (AdmissionLevel) {
|
@@ -33,13 +63,13 @@ var AdmissionLevel;
|
|
33
63
|
AdmissionLevel[AdmissionLevel["EVERYONE"] = 2] = "EVERYONE";
|
34
64
|
})(AdmissionLevel = exports.AdmissionLevel || (exports.AdmissionLevel = {}));
|
35
65
|
// Retrieve enum metadata with: proto3.getEnumType(AdmissionLevel)
|
36
|
-
protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.v1.AdmissionLevel", [
|
66
|
+
protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.experimental.v1.AdmissionLevel", [
|
37
67
|
{ no: 0, name: "ADMISSION_LEVEL_UNSPECIFIED" },
|
38
68
|
{ no: 1, name: "ADMISSION_LEVEL_OWNER_ONLY" },
|
39
69
|
{ no: 2, name: "ADMISSION_LEVEL_EVERYONE" },
|
40
70
|
]);
|
41
71
|
/**
|
42
|
-
* @generated from message gitpod.v1.ListWorkspacesRequest
|
72
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesRequest
|
43
73
|
*/
|
44
74
|
class ListWorkspacesRequest extends protobuf_1.Message {
|
45
75
|
constructor(data) {
|
@@ -61,13 +91,13 @@ class ListWorkspacesRequest extends protobuf_1.Message {
|
|
61
91
|
}
|
62
92
|
exports.ListWorkspacesRequest = ListWorkspacesRequest;
|
63
93
|
ListWorkspacesRequest.runtime = protobuf_1.proto3;
|
64
|
-
ListWorkspacesRequest.typeName = "gitpod.v1.ListWorkspacesRequest";
|
94
|
+
ListWorkspacesRequest.typeName = "gitpod.experimental.v1.ListWorkspacesRequest";
|
65
95
|
ListWorkspacesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
66
96
|
{ no: 1, name: "pagination", kind: "message", T: pagination_pb_js_1.Pagination },
|
67
97
|
{ no: 2, name: "field_mask", kind: "message", T: protobuf_1.FieldMask },
|
68
98
|
]);
|
69
99
|
/**
|
70
|
-
* @generated from message gitpod.v1.ListWorkspacesResponse
|
100
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesResponse
|
71
101
|
*/
|
72
102
|
class ListWorkspacesResponse extends protobuf_1.Message {
|
73
103
|
constructor(data) {
|
@@ -77,7 +107,7 @@ class ListWorkspacesResponse extends protobuf_1.Message {
|
|
77
107
|
*/
|
78
108
|
this.nextPageToken = "";
|
79
109
|
/**
|
80
|
-
* @generated from field: repeated gitpod.v1.
|
110
|
+
* @generated from field: repeated gitpod.experimental.v1.Workspace result = 2;
|
81
111
|
*/
|
82
112
|
this.result = [];
|
83
113
|
protobuf_1.proto3.util.initPartial(data, this);
|
@@ -97,41 +127,13 @@ class ListWorkspacesResponse extends protobuf_1.Message {
|
|
97
127
|
}
|
98
128
|
exports.ListWorkspacesResponse = ListWorkspacesResponse;
|
99
129
|
ListWorkspacesResponse.runtime = protobuf_1.proto3;
|
100
|
-
ListWorkspacesResponse.typeName = "gitpod.v1.ListWorkspacesResponse";
|
130
|
+
ListWorkspacesResponse.typeName = "gitpod.experimental.v1.ListWorkspacesResponse";
|
101
131
|
ListWorkspacesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
102
132
|
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
103
|
-
{ no: 2, name: "result", kind: "message", T:
|
104
|
-
]);
|
105
|
-
/**
|
106
|
-
* @generated from message gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
107
|
-
*/
|
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(() => [
|
130
|
-
{ no: 1, name: "result", kind: "message", T: Workspace },
|
131
|
-
{ no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
|
133
|
+
{ no: 2, name: "result", kind: "message", T: Workspace, repeated: true },
|
132
134
|
]);
|
133
135
|
/**
|
134
|
-
* @generated from message gitpod.v1.GetWorkspaceRequest
|
136
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceRequest
|
135
137
|
*/
|
136
138
|
class GetWorkspaceRequest extends protobuf_1.Message {
|
137
139
|
constructor(data) {
|
@@ -157,12 +159,12 @@ class GetWorkspaceRequest extends protobuf_1.Message {
|
|
157
159
|
}
|
158
160
|
exports.GetWorkspaceRequest = GetWorkspaceRequest;
|
159
161
|
GetWorkspaceRequest.runtime = protobuf_1.proto3;
|
160
|
-
GetWorkspaceRequest.typeName = "gitpod.v1.GetWorkspaceRequest";
|
162
|
+
GetWorkspaceRequest.typeName = "gitpod.experimental.v1.GetWorkspaceRequest";
|
161
163
|
GetWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
162
164
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
163
165
|
]);
|
164
166
|
/**
|
165
|
-
* @generated from message gitpod.v1.GetWorkspaceResponse
|
167
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceResponse
|
166
168
|
*/
|
167
169
|
class GetWorkspaceResponse extends protobuf_1.Message {
|
168
170
|
constructor(data) {
|
@@ -184,12 +186,70 @@ class GetWorkspaceResponse extends protobuf_1.Message {
|
|
184
186
|
}
|
185
187
|
exports.GetWorkspaceResponse = GetWorkspaceResponse;
|
186
188
|
GetWorkspaceResponse.runtime = protobuf_1.proto3;
|
187
|
-
GetWorkspaceResponse.typeName = "gitpod.v1.GetWorkspaceResponse";
|
189
|
+
GetWorkspaceResponse.typeName = "gitpod.experimental.v1.GetWorkspaceResponse";
|
188
190
|
GetWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
189
191
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
190
192
|
]);
|
191
193
|
/**
|
192
|
-
* @generated from message gitpod.v1.
|
194
|
+
* @generated from message gitpod.experimental.v1.StreamWorkspaceStatusRequest
|
195
|
+
*/
|
196
|
+
class StreamWorkspaceStatusRequest extends protobuf_1.Message {
|
197
|
+
constructor(data) {
|
198
|
+
super();
|
199
|
+
/**
|
200
|
+
* @generated from field: string workspace_id = 1;
|
201
|
+
*/
|
202
|
+
this.workspaceId = "";
|
203
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
204
|
+
}
|
205
|
+
static fromBinary(bytes, options) {
|
206
|
+
return new StreamWorkspaceStatusRequest().fromBinary(bytes, options);
|
207
|
+
}
|
208
|
+
static fromJson(jsonValue, options) {
|
209
|
+
return new StreamWorkspaceStatusRequest().fromJson(jsonValue, options);
|
210
|
+
}
|
211
|
+
static fromJsonString(jsonString, options) {
|
212
|
+
return new StreamWorkspaceStatusRequest().fromJsonString(jsonString, options);
|
213
|
+
}
|
214
|
+
static equals(a, b) {
|
215
|
+
return protobuf_1.proto3.util.equals(StreamWorkspaceStatusRequest, a, b);
|
216
|
+
}
|
217
|
+
}
|
218
|
+
exports.StreamWorkspaceStatusRequest = StreamWorkspaceStatusRequest;
|
219
|
+
StreamWorkspaceStatusRequest.runtime = protobuf_1.proto3;
|
220
|
+
StreamWorkspaceStatusRequest.typeName = "gitpod.experimental.v1.StreamWorkspaceStatusRequest";
|
221
|
+
StreamWorkspaceStatusRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
222
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
223
|
+
]);
|
224
|
+
/**
|
225
|
+
* @generated from message gitpod.experimental.v1.StreamWorkspaceStatusResponse
|
226
|
+
*/
|
227
|
+
class StreamWorkspaceStatusResponse extends protobuf_1.Message {
|
228
|
+
constructor(data) {
|
229
|
+
super();
|
230
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
231
|
+
}
|
232
|
+
static fromBinary(bytes, options) {
|
233
|
+
return new StreamWorkspaceStatusResponse().fromBinary(bytes, options);
|
234
|
+
}
|
235
|
+
static fromJson(jsonValue, options) {
|
236
|
+
return new StreamWorkspaceStatusResponse().fromJson(jsonValue, options);
|
237
|
+
}
|
238
|
+
static fromJsonString(jsonString, options) {
|
239
|
+
return new StreamWorkspaceStatusResponse().fromJsonString(jsonString, options);
|
240
|
+
}
|
241
|
+
static equals(a, b) {
|
242
|
+
return protobuf_1.proto3.util.equals(StreamWorkspaceStatusResponse, a, b);
|
243
|
+
}
|
244
|
+
}
|
245
|
+
exports.StreamWorkspaceStatusResponse = StreamWorkspaceStatusResponse;
|
246
|
+
StreamWorkspaceStatusResponse.runtime = protobuf_1.proto3;
|
247
|
+
StreamWorkspaceStatusResponse.typeName = "gitpod.experimental.v1.StreamWorkspaceStatusResponse";
|
248
|
+
StreamWorkspaceStatusResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
249
|
+
{ no: 1, name: "result", kind: "message", T: WorkspaceStatus },
|
250
|
+
]);
|
251
|
+
/**
|
252
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenRequest
|
193
253
|
*/
|
194
254
|
class GetOwnerTokenRequest extends protobuf_1.Message {
|
195
255
|
constructor(data) {
|
@@ -215,12 +275,12 @@ class GetOwnerTokenRequest extends protobuf_1.Message {
|
|
215
275
|
}
|
216
276
|
exports.GetOwnerTokenRequest = GetOwnerTokenRequest;
|
217
277
|
GetOwnerTokenRequest.runtime = protobuf_1.proto3;
|
218
|
-
GetOwnerTokenRequest.typeName = "gitpod.v1.GetOwnerTokenRequest";
|
278
|
+
GetOwnerTokenRequest.typeName = "gitpod.experimental.v1.GetOwnerTokenRequest";
|
219
279
|
GetOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
220
280
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
221
281
|
]);
|
222
282
|
/**
|
223
|
-
* @generated from message gitpod.v1.GetOwnerTokenResponse
|
283
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenResponse
|
224
284
|
*/
|
225
285
|
class GetOwnerTokenResponse extends protobuf_1.Message {
|
226
286
|
constructor(data) {
|
@@ -246,12 +306,12 @@ class GetOwnerTokenResponse extends protobuf_1.Message {
|
|
246
306
|
}
|
247
307
|
exports.GetOwnerTokenResponse = GetOwnerTokenResponse;
|
248
308
|
GetOwnerTokenResponse.runtime = protobuf_1.proto3;
|
249
|
-
GetOwnerTokenResponse.typeName = "gitpod.v1.GetOwnerTokenResponse";
|
309
|
+
GetOwnerTokenResponse.typeName = "gitpod.experimental.v1.GetOwnerTokenResponse";
|
250
310
|
GetOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
251
311
|
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
252
312
|
]);
|
253
313
|
/**
|
254
|
-
* @generated from message gitpod.v1.CreateAndStartWorkspaceRequest
|
314
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceRequest
|
255
315
|
*/
|
256
316
|
class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
|
257
317
|
constructor(data) {
|
@@ -261,7 +321,7 @@ class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
|
|
261
321
|
*/
|
262
322
|
this.idempotencyToken = "";
|
263
323
|
/**
|
264
|
-
* @generated from oneof gitpod.v1.CreateAndStartWorkspaceRequest.source
|
324
|
+
* @generated from oneof gitpod.experimental.v1.CreateAndStartWorkspaceRequest.source
|
265
325
|
*/
|
266
326
|
this.source = { case: undefined };
|
267
327
|
protobuf_1.proto3.util.initPartial(data, this);
|
@@ -281,7 +341,7 @@ class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
|
|
281
341
|
}
|
282
342
|
exports.CreateAndStartWorkspaceRequest = CreateAndStartWorkspaceRequest;
|
283
343
|
CreateAndStartWorkspaceRequest.runtime = protobuf_1.proto3;
|
284
|
-
CreateAndStartWorkspaceRequest.typeName = "gitpod.v1.CreateAndStartWorkspaceRequest";
|
344
|
+
CreateAndStartWorkspaceRequest.typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceRequest";
|
285
345
|
CreateAndStartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
286
346
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
287
347
|
{ no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
@@ -289,7 +349,7 @@ CreateAndStartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
289
349
|
{ no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
|
290
350
|
]);
|
291
351
|
/**
|
292
|
-
* @generated from message gitpod.v1.CreateAndStartWorkspaceResponse
|
352
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceResponse
|
293
353
|
*/
|
294
354
|
class CreateAndStartWorkspaceResponse extends protobuf_1.Message {
|
295
355
|
constructor(data) {
|
@@ -315,12 +375,12 @@ class CreateAndStartWorkspaceResponse extends protobuf_1.Message {
|
|
315
375
|
}
|
316
376
|
exports.CreateAndStartWorkspaceResponse = CreateAndStartWorkspaceResponse;
|
317
377
|
CreateAndStartWorkspaceResponse.runtime = protobuf_1.proto3;
|
318
|
-
CreateAndStartWorkspaceResponse.typeName = "gitpod.v1.CreateAndStartWorkspaceResponse";
|
378
|
+
CreateAndStartWorkspaceResponse.typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceResponse";
|
319
379
|
CreateAndStartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
320
380
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
321
381
|
]);
|
322
382
|
/**
|
323
|
-
* @generated from message gitpod.v1.StartWorkspaceRequest
|
383
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceRequest
|
324
384
|
*/
|
325
385
|
class StartWorkspaceRequest extends protobuf_1.Message {
|
326
386
|
constructor(data) {
|
@@ -350,14 +410,14 @@ class StartWorkspaceRequest extends protobuf_1.Message {
|
|
350
410
|
}
|
351
411
|
exports.StartWorkspaceRequest = StartWorkspaceRequest;
|
352
412
|
StartWorkspaceRequest.runtime = protobuf_1.proto3;
|
353
|
-
StartWorkspaceRequest.typeName = "gitpod.v1.StartWorkspaceRequest";
|
413
|
+
StartWorkspaceRequest.typeName = "gitpod.experimental.v1.StartWorkspaceRequest";
|
354
414
|
StartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
355
415
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
356
416
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
357
417
|
{ no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
|
358
418
|
]);
|
359
419
|
/**
|
360
|
-
* @generated from message gitpod.v1.StartWorkspaceResponse
|
420
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceResponse
|
361
421
|
*/
|
362
422
|
class StartWorkspaceResponse extends protobuf_1.Message {
|
363
423
|
constructor(data) {
|
@@ -387,15 +447,15 @@ class StartWorkspaceResponse extends protobuf_1.Message {
|
|
387
447
|
}
|
388
448
|
exports.StartWorkspaceResponse = StartWorkspaceResponse;
|
389
449
|
StartWorkspaceResponse.runtime = protobuf_1.proto3;
|
390
|
-
StartWorkspaceResponse.typeName = "gitpod.v1.StartWorkspaceResponse";
|
450
|
+
StartWorkspaceResponse.typeName = "gitpod.experimental.v1.StartWorkspaceResponse";
|
391
451
|
StartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
392
452
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
393
453
|
{ no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
394
454
|
]);
|
395
455
|
/**
|
396
|
-
* @generated from message gitpod.v1.
|
456
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceRequest
|
397
457
|
*/
|
398
|
-
class
|
458
|
+
class StopWorkspaceRequest extends protobuf_1.Message {
|
399
459
|
constructor(data) {
|
400
460
|
super();
|
401
461
|
/**
|
@@ -405,298 +465,109 @@ class GetActiveWorkspaceInstanceRequest extends protobuf_1.Message {
|
|
405
465
|
protobuf_1.proto3.util.initPartial(data, this);
|
406
466
|
}
|
407
467
|
static fromBinary(bytes, options) {
|
408
|
-
return new
|
468
|
+
return new StopWorkspaceRequest().fromBinary(bytes, options);
|
409
469
|
}
|
410
470
|
static fromJson(jsonValue, options) {
|
411
|
-
return new
|
471
|
+
return new StopWorkspaceRequest().fromJson(jsonValue, options);
|
412
472
|
}
|
413
473
|
static fromJsonString(jsonString, options) {
|
414
|
-
return new
|
474
|
+
return new StopWorkspaceRequest().fromJsonString(jsonString, options);
|
415
475
|
}
|
416
476
|
static equals(a, b) {
|
417
|
-
return protobuf_1.proto3.util.equals(
|
477
|
+
return protobuf_1.proto3.util.equals(StopWorkspaceRequest, a, b);
|
418
478
|
}
|
419
479
|
}
|
420
|
-
exports.
|
421
|
-
|
422
|
-
|
423
|
-
|
480
|
+
exports.StopWorkspaceRequest = StopWorkspaceRequest;
|
481
|
+
StopWorkspaceRequest.runtime = protobuf_1.proto3;
|
482
|
+
StopWorkspaceRequest.typeName = "gitpod.experimental.v1.StopWorkspaceRequest";
|
483
|
+
StopWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
424
484
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
425
485
|
]);
|
426
486
|
/**
|
427
|
-
* @generated from message gitpod.v1.
|
487
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceResponse
|
428
488
|
*/
|
429
|
-
class
|
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(() => [
|
451
|
-
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
452
|
-
]);
|
453
|
-
/**
|
454
|
-
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
455
|
-
*/
|
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(() => [
|
482
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
483
|
-
]);
|
484
|
-
/**
|
485
|
-
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
486
|
-
*/
|
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(() => [
|
513
|
-
{ no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
514
|
-
]);
|
515
|
-
/**
|
516
|
-
* @generated from message gitpod.v1.ListenToWorkspaceInstanceRequest
|
517
|
-
*/
|
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(() => [
|
544
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
545
|
-
]);
|
546
|
-
/**
|
547
|
-
* @generated from message gitpod.v1.ListenToWorkspaceInstanceResponse
|
548
|
-
*/
|
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(() => [
|
571
|
-
{ no: 1, name: "instance_status", kind: "message", T: WorkspaceInstanceStatus },
|
572
|
-
]);
|
573
|
-
/**
|
574
|
-
* @generated from message gitpod.v1.ListenToImageBuildLogsRequest
|
575
|
-
*/
|
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(() => [
|
602
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
603
|
-
]);
|
604
|
-
/**
|
605
|
-
* @generated from message gitpod.v1.ListenToImageBuildLogsResponse
|
606
|
-
*/
|
607
|
-
class ListenToImageBuildLogsResponse extends protobuf_1.Message {
|
489
|
+
class StopWorkspaceResponse extends protobuf_1.Message {
|
608
490
|
constructor(data) {
|
609
491
|
super();
|
610
|
-
/**
|
611
|
-
* @generated from field: string line = 1;
|
612
|
-
*/
|
613
|
-
this.line = "";
|
614
492
|
protobuf_1.proto3.util.initPartial(data, this);
|
615
493
|
}
|
616
494
|
static fromBinary(bytes, options) {
|
617
|
-
return new
|
495
|
+
return new StopWorkspaceResponse().fromBinary(bytes, options);
|
618
496
|
}
|
619
497
|
static fromJson(jsonValue, options) {
|
620
|
-
return new
|
498
|
+
return new StopWorkspaceResponse().fromJson(jsonValue, options);
|
621
499
|
}
|
622
500
|
static fromJsonString(jsonString, options) {
|
623
|
-
return new
|
501
|
+
return new StopWorkspaceResponse().fromJsonString(jsonString, options);
|
624
502
|
}
|
625
503
|
static equals(a, b) {
|
626
|
-
return protobuf_1.proto3.util.equals(
|
504
|
+
return protobuf_1.proto3.util.equals(StopWorkspaceResponse, a, b);
|
627
505
|
}
|
628
506
|
}
|
629
|
-
exports.
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
{ no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
634
|
-
]);
|
507
|
+
exports.StopWorkspaceResponse = StopWorkspaceResponse;
|
508
|
+
StopWorkspaceResponse.runtime = protobuf_1.proto3;
|
509
|
+
StopWorkspaceResponse.typeName = "gitpod.experimental.v1.StopWorkspaceResponse";
|
510
|
+
StopWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
635
511
|
/**
|
636
|
-
* @generated from message gitpod.v1.
|
512
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceRequest
|
637
513
|
*/
|
638
|
-
class
|
514
|
+
class DeleteWorkspaceRequest extends protobuf_1.Message {
|
639
515
|
constructor(data) {
|
640
516
|
super();
|
641
517
|
/**
|
642
|
-
* @generated from field: string
|
643
|
-
*/
|
644
|
-
this.idempotencyToken = "";
|
645
|
-
/**
|
646
|
-
* @generated from field: string workspace_id = 2;
|
518
|
+
* @generated from field: string workspace_id = 1;
|
647
519
|
*/
|
648
520
|
this.workspaceId = "";
|
649
521
|
protobuf_1.proto3.util.initPartial(data, this);
|
650
522
|
}
|
651
523
|
static fromBinary(bytes, options) {
|
652
|
-
return new
|
524
|
+
return new DeleteWorkspaceRequest().fromBinary(bytes, options);
|
653
525
|
}
|
654
526
|
static fromJson(jsonValue, options) {
|
655
|
-
return new
|
527
|
+
return new DeleteWorkspaceRequest().fromJson(jsonValue, options);
|
656
528
|
}
|
657
529
|
static fromJsonString(jsonString, options) {
|
658
|
-
return new
|
530
|
+
return new DeleteWorkspaceRequest().fromJsonString(jsonString, options);
|
659
531
|
}
|
660
532
|
static equals(a, b) {
|
661
|
-
return protobuf_1.proto3.util.equals(
|
533
|
+
return protobuf_1.proto3.util.equals(DeleteWorkspaceRequest, a, b);
|
662
534
|
}
|
663
535
|
}
|
664
|
-
exports.
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
{ no: 1, name: "
|
669
|
-
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
536
|
+
exports.DeleteWorkspaceRequest = DeleteWorkspaceRequest;
|
537
|
+
DeleteWorkspaceRequest.runtime = protobuf_1.proto3;
|
538
|
+
DeleteWorkspaceRequest.typeName = "gitpod.experimental.v1.DeleteWorkspaceRequest";
|
539
|
+
DeleteWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
540
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
670
541
|
]);
|
671
542
|
/**
|
672
|
-
* @generated from message gitpod.v1.
|
543
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceResponse
|
673
544
|
*/
|
674
|
-
class
|
545
|
+
class DeleteWorkspaceResponse extends protobuf_1.Message {
|
675
546
|
constructor(data) {
|
676
547
|
super();
|
677
548
|
protobuf_1.proto3.util.initPartial(data, this);
|
678
549
|
}
|
679
550
|
static fromBinary(bytes, options) {
|
680
|
-
return new
|
551
|
+
return new DeleteWorkspaceResponse().fromBinary(bytes, options);
|
681
552
|
}
|
682
553
|
static fromJson(jsonValue, options) {
|
683
|
-
return new
|
554
|
+
return new DeleteWorkspaceResponse().fromJson(jsonValue, options);
|
684
555
|
}
|
685
556
|
static fromJsonString(jsonString, options) {
|
686
|
-
return new
|
557
|
+
return new DeleteWorkspaceResponse().fromJsonString(jsonString, options);
|
687
558
|
}
|
688
559
|
static equals(a, b) {
|
689
|
-
return protobuf_1.proto3.util.equals(
|
560
|
+
return protobuf_1.proto3.util.equals(DeleteWorkspaceResponse, a, b);
|
690
561
|
}
|
691
562
|
}
|
692
|
-
exports.
|
693
|
-
|
694
|
-
|
695
|
-
|
563
|
+
exports.DeleteWorkspaceResponse = DeleteWorkspaceResponse;
|
564
|
+
DeleteWorkspaceResponse.runtime = protobuf_1.proto3;
|
565
|
+
DeleteWorkspaceResponse.typeName = "gitpod.experimental.v1.DeleteWorkspaceResponse";
|
566
|
+
DeleteWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
696
567
|
/**
|
697
568
|
* Workspace describes a single workspace
|
698
569
|
*
|
699
|
-
* @generated from message gitpod.v1.Workspace
|
570
|
+
* @generated from message gitpod.experimental.v1.Workspace
|
700
571
|
*/
|
701
572
|
class Workspace extends protobuf_1.Message {
|
702
573
|
constructor(data) {
|
@@ -742,18 +613,48 @@ class Workspace extends protobuf_1.Message {
|
|
742
613
|
}
|
743
614
|
exports.Workspace = Workspace;
|
744
615
|
Workspace.runtime = protobuf_1.proto3;
|
745
|
-
Workspace.typeName = "gitpod.v1.Workspace";
|
616
|
+
Workspace.typeName = "gitpod.experimental.v1.Workspace";
|
746
617
|
Workspace.fields = protobuf_1.proto3.util.newFieldList(() => [
|
747
618
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
748
619
|
{ no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
749
620
|
{ no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
750
621
|
{ no: 4, name: "context", kind: "message", T: WorkspaceContext },
|
751
622
|
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
623
|
+
{ no: 6, name: "status", kind: "message", T: WorkspaceStatus },
|
624
|
+
]);
|
625
|
+
/**
|
626
|
+
* WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
|
627
|
+
*
|
628
|
+
* @generated from message gitpod.experimental.v1.WorkspaceStatus
|
629
|
+
*/
|
630
|
+
class WorkspaceStatus extends protobuf_1.Message {
|
631
|
+
constructor(data) {
|
632
|
+
super();
|
633
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
634
|
+
}
|
635
|
+
static fromBinary(bytes, options) {
|
636
|
+
return new WorkspaceStatus().fromBinary(bytes, options);
|
637
|
+
}
|
638
|
+
static fromJson(jsonValue, options) {
|
639
|
+
return new WorkspaceStatus().fromJson(jsonValue, options);
|
640
|
+
}
|
641
|
+
static fromJsonString(jsonString, options) {
|
642
|
+
return new WorkspaceStatus().fromJsonString(jsonString, options);
|
643
|
+
}
|
644
|
+
static equals(a, b) {
|
645
|
+
return protobuf_1.proto3.util.equals(WorkspaceStatus, a, b);
|
646
|
+
}
|
647
|
+
}
|
648
|
+
exports.WorkspaceStatus = WorkspaceStatus;
|
649
|
+
WorkspaceStatus.runtime = protobuf_1.proto3;
|
650
|
+
WorkspaceStatus.typeName = "gitpod.experimental.v1.WorkspaceStatus";
|
651
|
+
WorkspaceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
652
|
+
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
752
653
|
]);
|
753
654
|
/**
|
754
655
|
* WorkspaceContext describes the context a workspace was created from
|
755
656
|
*
|
756
|
-
* @generated from message gitpod.v1.WorkspaceContext
|
657
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext
|
757
658
|
*/
|
758
659
|
class WorkspaceContext extends protobuf_1.Message {
|
759
660
|
constructor(data) {
|
@@ -766,7 +667,7 @@ class WorkspaceContext extends protobuf_1.Message {
|
|
766
667
|
*/
|
767
668
|
this.contextUrl = "";
|
768
669
|
/**
|
769
|
-
* @generated from oneof gitpod.v1.WorkspaceContext.details
|
670
|
+
* @generated from oneof gitpod.experimental.v1.WorkspaceContext.details
|
770
671
|
*/
|
771
672
|
this.details = { case: undefined };
|
772
673
|
protobuf_1.proto3.util.initPartial(data, this);
|
@@ -786,7 +687,7 @@ class WorkspaceContext extends protobuf_1.Message {
|
|
786
687
|
}
|
787
688
|
exports.WorkspaceContext = WorkspaceContext;
|
788
689
|
WorkspaceContext.runtime = protobuf_1.proto3;
|
789
|
-
WorkspaceContext.typeName = "gitpod.v1.WorkspaceContext";
|
690
|
+
WorkspaceContext.typeName = "gitpod.experimental.v1.WorkspaceContext";
|
790
691
|
WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
|
791
692
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
792
693
|
{ no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
|
@@ -796,7 +697,7 @@ WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
796
697
|
/**
|
797
698
|
* Explicit Git context
|
798
699
|
*
|
799
|
-
* @generated from message gitpod.v1.WorkspaceContext.Git
|
700
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Git
|
800
701
|
*/
|
801
702
|
class WorkspaceContext_Git extends protobuf_1.Message {
|
802
703
|
constructor(data) {
|
@@ -826,7 +727,7 @@ class WorkspaceContext_Git extends protobuf_1.Message {
|
|
826
727
|
}
|
827
728
|
exports.WorkspaceContext_Git = WorkspaceContext_Git;
|
828
729
|
WorkspaceContext_Git.runtime = protobuf_1.proto3;
|
829
|
-
WorkspaceContext_Git.typeName = "gitpod.v1.WorkspaceContext.Git";
|
730
|
+
WorkspaceContext_Git.typeName = "gitpod.experimental.v1.WorkspaceContext.Git";
|
830
731
|
WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
|
831
732
|
{ no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
832
733
|
{ no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -834,7 +735,7 @@ WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
834
735
|
/**
|
835
736
|
* Workspace was created from a prebuild
|
836
737
|
*
|
837
|
-
* @generated from message gitpod.v1.WorkspaceContext.Prebuild
|
738
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Prebuild
|
838
739
|
*/
|
839
740
|
class WorkspaceContext_Prebuild extends protobuf_1.Message {
|
840
741
|
constructor(data) {
|
@@ -862,7 +763,7 @@ class WorkspaceContext_Prebuild extends protobuf_1.Message {
|
|
862
763
|
}
|
863
764
|
exports.WorkspaceContext_Prebuild = WorkspaceContext_Prebuild;
|
864
765
|
WorkspaceContext_Prebuild.runtime = protobuf_1.proto3;
|
865
|
-
WorkspaceContext_Prebuild.typeName = "gitpod.v1.WorkspaceContext.Prebuild";
|
766
|
+
WorkspaceContext_Prebuild.typeName = "gitpod.experimental.v1.WorkspaceContext.Prebuild";
|
866
767
|
WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
867
768
|
{ no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
|
868
769
|
{ no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -870,7 +771,7 @@ WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
870
771
|
/**
|
871
772
|
* Snapshot context points to the snapshot which the workspace was created from
|
872
773
|
*
|
873
|
-
* @generated from message gitpod.v1.WorkspaceContext.Snapshot
|
774
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Snapshot
|
874
775
|
*/
|
875
776
|
class WorkspaceContext_Snapshot extends protobuf_1.Message {
|
876
777
|
constructor(data) {
|
@@ -896,14 +797,14 @@ class WorkspaceContext_Snapshot extends protobuf_1.Message {
|
|
896
797
|
}
|
897
798
|
exports.WorkspaceContext_Snapshot = WorkspaceContext_Snapshot;
|
898
799
|
WorkspaceContext_Snapshot.runtime = protobuf_1.proto3;
|
899
|
-
WorkspaceContext_Snapshot.typeName = "gitpod.v1.WorkspaceContext.Snapshot";
|
800
|
+
WorkspaceContext_Snapshot.typeName = "gitpod.experimental.v1.WorkspaceContext.Snapshot";
|
900
801
|
WorkspaceContext_Snapshot.fields = protobuf_1.proto3.util.newFieldList(() => [
|
901
802
|
{ no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
902
803
|
]);
|
903
804
|
/**
|
904
805
|
* WorkspaceInstance describes a single workspace instance
|
905
806
|
*
|
906
|
-
* @generated from message gitpod.v1.WorkspaceInstance
|
807
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstance
|
907
808
|
*/
|
908
809
|
class WorkspaceInstance extends protobuf_1.Message {
|
909
810
|
constructor(data) {
|
@@ -937,7 +838,7 @@ class WorkspaceInstance extends protobuf_1.Message {
|
|
937
838
|
}
|
938
839
|
exports.WorkspaceInstance = WorkspaceInstance;
|
939
840
|
WorkspaceInstance.runtime = protobuf_1.proto3;
|
940
|
-
WorkspaceInstance.typeName = "gitpod.v1.WorkspaceInstance";
|
841
|
+
WorkspaceInstance.typeName = "gitpod.experimental.v1.WorkspaceInstance";
|
941
842
|
WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
942
843
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
943
844
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -947,7 +848,7 @@ WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
947
848
|
/**
|
948
849
|
* WorkspaceStatus describes a workspace status
|
949
850
|
*
|
950
|
-
* @generated from message gitpod.v1.WorkspaceInstanceStatus
|
851
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus
|
951
852
|
*/
|
952
853
|
class WorkspaceInstanceStatus extends protobuf_1.Message {
|
953
854
|
constructor(data) {
|
@@ -965,7 +866,7 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
965
866
|
/**
|
966
867
|
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
967
868
|
*
|
968
|
-
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
869
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
969
870
|
*/
|
970
871
|
this.phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
|
971
872
|
/**
|
@@ -983,9 +884,15 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
983
884
|
/**
|
984
885
|
* Admission describes who can access a workspace instance and its ports.
|
985
886
|
*
|
986
|
-
* @generated from field: gitpod.v1.AdmissionLevel admission = 6;
|
887
|
+
* @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
|
987
888
|
*/
|
988
889
|
this.admission = AdmissionLevel.UNSPECIFIED;
|
890
|
+
/**
|
891
|
+
* ports is the list of exposed ports in the workspace.
|
892
|
+
*
|
893
|
+
* @generated from field: repeated gitpod.experimental.v1.Port ports = 7;
|
894
|
+
*/
|
895
|
+
this.ports = [];
|
989
896
|
protobuf_1.proto3.util.initPartial(data, this);
|
990
897
|
}
|
991
898
|
static fromBinary(bytes, options) {
|
@@ -1003,7 +910,7 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
1003
910
|
}
|
1004
911
|
exports.WorkspaceInstanceStatus = WorkspaceInstanceStatus;
|
1005
912
|
WorkspaceInstanceStatus.runtime = protobuf_1.proto3;
|
1006
|
-
WorkspaceInstanceStatus.typeName = "gitpod.v1.WorkspaceInstanceStatus";
|
913
|
+
WorkspaceInstanceStatus.typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
|
1007
914
|
WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
1008
915
|
{ no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
1009
916
|
{ no: 2, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
@@ -1011,6 +918,7 @@ WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1011
918
|
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1012
919
|
{ no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1013
920
|
{ no: 6, name: "admission", kind: "enum", T: protobuf_1.proto3.getEnumType(AdmissionLevel) },
|
921
|
+
{ no: 7, name: "ports", kind: "message", T: Port, repeated: true },
|
1014
922
|
]);
|
1015
923
|
/**
|
1016
924
|
* Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
|
@@ -1018,7 +926,7 @@ WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1018
926
|
* nor is it intended to be a comprehensive state machine.
|
1019
927
|
* (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
1020
928
|
*
|
1021
|
-
* @generated from enum gitpod.v1.WorkspaceInstanceStatus.Phase
|
929
|
+
* @generated from enum gitpod.experimental.v1.WorkspaceInstanceStatus.Phase
|
1022
930
|
*/
|
1023
931
|
var WorkspaceInstanceStatus_Phase;
|
1024
932
|
(function (WorkspaceInstanceStatus_Phase) {
|
@@ -1093,7 +1001,7 @@ var WorkspaceInstanceStatus_Phase;
|
|
1093
1001
|
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPED"] = 9] = "STOPPED";
|
1094
1002
|
})(WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus_Phase || (exports.WorkspaceInstanceStatus_Phase = {}));
|
1095
1003
|
// Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
|
1096
|
-
protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInstanceStatus.Phase", [
|
1004
|
+
protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.experimental.v1.WorkspaceInstanceStatus.Phase", [
|
1097
1005
|
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
1098
1006
|
{ no: 1, name: "PHASE_PREPARING" },
|
1099
1007
|
{ no: 2, name: "PHASE_IMAGEBUILD" },
|
@@ -1109,7 +1017,7 @@ protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.Wor
|
|
1109
1017
|
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
1110
1018
|
* has a value depends on the phase the workspace is in.
|
1111
1019
|
*
|
1112
|
-
* @generated from message gitpod.v1.WorkspaceInstanceStatus.Conditions
|
1020
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions
|
1113
1021
|
*/
|
1114
1022
|
class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
|
1115
1023
|
constructor(data) {
|
@@ -1144,19 +1052,66 @@ class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
|
|
1144
1052
|
}
|
1145
1053
|
exports.WorkspaceInstanceStatus_Conditions = WorkspaceInstanceStatus_Conditions;
|
1146
1054
|
WorkspaceInstanceStatus_Conditions.runtime = protobuf_1.proto3;
|
1147
|
-
WorkspaceInstanceStatus_Conditions.typeName = "gitpod.v1.WorkspaceInstanceStatus.Conditions";
|
1055
|
+
WorkspaceInstanceStatus_Conditions.typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions";
|
1148
1056
|
WorkspaceInstanceStatus_Conditions.fields = protobuf_1.proto3.util.newFieldList(() => [
|
1149
1057
|
{ no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1150
1058
|
{ no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1151
1059
|
{ no: 9, name: "first_user_activity", kind: "message", T: protobuf_1.Timestamp },
|
1152
1060
|
{ no: 11, name: "stopped_by_request", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
1153
1061
|
]);
|
1062
|
+
/**
|
1063
|
+
* @generated from message gitpod.experimental.v1.Port
|
1064
|
+
*/
|
1065
|
+
class Port extends protobuf_1.Message {
|
1066
|
+
constructor(data) {
|
1067
|
+
super();
|
1068
|
+
/**
|
1069
|
+
* port number
|
1070
|
+
*
|
1071
|
+
* @generated from field: uint64 port = 1;
|
1072
|
+
*/
|
1073
|
+
this.port = protobuf_1.protoInt64.zero;
|
1074
|
+
/**
|
1075
|
+
* policy of this port
|
1076
|
+
*
|
1077
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
1078
|
+
*/
|
1079
|
+
this.policy = PortPolicy.UNSPECIFIED;
|
1080
|
+
/**
|
1081
|
+
* url that can be used to access the port
|
1082
|
+
*
|
1083
|
+
* @generated from field: string url = 3;
|
1084
|
+
*/
|
1085
|
+
this.url = "";
|
1086
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
1087
|
+
}
|
1088
|
+
static fromBinary(bytes, options) {
|
1089
|
+
return new Port().fromBinary(bytes, options);
|
1090
|
+
}
|
1091
|
+
static fromJson(jsonValue, options) {
|
1092
|
+
return new Port().fromJson(jsonValue, options);
|
1093
|
+
}
|
1094
|
+
static fromJsonString(jsonString, options) {
|
1095
|
+
return new Port().fromJsonString(jsonString, options);
|
1096
|
+
}
|
1097
|
+
static equals(a, b) {
|
1098
|
+
return protobuf_1.proto3.util.equals(Port, a, b);
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
exports.Port = Port;
|
1102
|
+
Port.runtime = protobuf_1.proto3;
|
1103
|
+
Port.typeName = "gitpod.experimental.v1.Port";
|
1104
|
+
Port.fields = protobuf_1.proto3.util.newFieldList(() => [
|
1105
|
+
{ no: 1, name: "port", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
1106
|
+
{ no: 2, name: "policy", kind: "enum", T: protobuf_1.proto3.getEnumType(PortPolicy) },
|
1107
|
+
{ no: 3, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1108
|
+
]);
|
1154
1109
|
/**
|
1155
1110
|
* StartWorkspaceSpec influences the workspace start
|
1156
1111
|
*
|
1157
1112
|
* future per-workspace-start fields, e.g. region
|
1158
1113
|
*
|
1159
|
-
* @generated from message gitpod.v1.StartWorkspaceSpec
|
1114
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceSpec
|
1160
1115
|
*/
|
1161
1116
|
class StartWorkspaceSpec extends protobuf_1.Message {
|
1162
1117
|
constructor(data) {
|
@@ -1178,6 +1133,103 @@ class StartWorkspaceSpec extends protobuf_1.Message {
|
|
1178
1133
|
}
|
1179
1134
|
exports.StartWorkspaceSpec = StartWorkspaceSpec;
|
1180
1135
|
StartWorkspaceSpec.runtime = protobuf_1.proto3;
|
1181
|
-
StartWorkspaceSpec.typeName = "gitpod.v1.StartWorkspaceSpec";
|
1136
|
+
StartWorkspaceSpec.typeName = "gitpod.experimental.v1.StartWorkspaceSpec";
|
1182
1137
|
StartWorkspaceSpec.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
1138
|
+
/**
|
1139
|
+
* @generated from message gitpod.experimental.v1.PortSpec
|
1140
|
+
*/
|
1141
|
+
class PortSpec extends protobuf_1.Message {
|
1142
|
+
constructor(data) {
|
1143
|
+
super();
|
1144
|
+
/**
|
1145
|
+
* port number
|
1146
|
+
*
|
1147
|
+
* @generated from field: uint64 port = 1;
|
1148
|
+
*/
|
1149
|
+
this.port = protobuf_1.protoInt64.zero;
|
1150
|
+
/**
|
1151
|
+
* policy of this port
|
1152
|
+
*
|
1153
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
1154
|
+
*/
|
1155
|
+
this.policy = PortPolicy.UNSPECIFIED;
|
1156
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
1157
|
+
}
|
1158
|
+
static fromBinary(bytes, options) {
|
1159
|
+
return new PortSpec().fromBinary(bytes, options);
|
1160
|
+
}
|
1161
|
+
static fromJson(jsonValue, options) {
|
1162
|
+
return new PortSpec().fromJson(jsonValue, options);
|
1163
|
+
}
|
1164
|
+
static fromJsonString(jsonString, options) {
|
1165
|
+
return new PortSpec().fromJsonString(jsonString, options);
|
1166
|
+
}
|
1167
|
+
static equals(a, b) {
|
1168
|
+
return protobuf_1.proto3.util.equals(PortSpec, a, b);
|
1169
|
+
}
|
1170
|
+
}
|
1171
|
+
exports.PortSpec = PortSpec;
|
1172
|
+
PortSpec.runtime = protobuf_1.proto3;
|
1173
|
+
PortSpec.typeName = "gitpod.experimental.v1.PortSpec";
|
1174
|
+
PortSpec.fields = protobuf_1.proto3.util.newFieldList(() => [
|
1175
|
+
{ no: 1, name: "port", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
1176
|
+
{ no: 2, name: "policy", kind: "enum", T: protobuf_1.proto3.getEnumType(PortPolicy) },
|
1177
|
+
]);
|
1178
|
+
/**
|
1179
|
+
* @generated from message gitpod.experimental.v1.UpdatePortRequest
|
1180
|
+
*/
|
1181
|
+
class UpdatePortRequest extends protobuf_1.Message {
|
1182
|
+
constructor(data) {
|
1183
|
+
super();
|
1184
|
+
/**
|
1185
|
+
* @generated from field: string workspace_id = 1;
|
1186
|
+
*/
|
1187
|
+
this.workspaceId = "";
|
1188
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
1189
|
+
}
|
1190
|
+
static fromBinary(bytes, options) {
|
1191
|
+
return new UpdatePortRequest().fromBinary(bytes, options);
|
1192
|
+
}
|
1193
|
+
static fromJson(jsonValue, options) {
|
1194
|
+
return new UpdatePortRequest().fromJson(jsonValue, options);
|
1195
|
+
}
|
1196
|
+
static fromJsonString(jsonString, options) {
|
1197
|
+
return new UpdatePortRequest().fromJsonString(jsonString, options);
|
1198
|
+
}
|
1199
|
+
static equals(a, b) {
|
1200
|
+
return protobuf_1.proto3.util.equals(UpdatePortRequest, a, b);
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
exports.UpdatePortRequest = UpdatePortRequest;
|
1204
|
+
UpdatePortRequest.runtime = protobuf_1.proto3;
|
1205
|
+
UpdatePortRequest.typeName = "gitpod.experimental.v1.UpdatePortRequest";
|
1206
|
+
UpdatePortRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
1207
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1208
|
+
{ no: 2, name: "port", kind: "message", T: PortSpec },
|
1209
|
+
]);
|
1210
|
+
/**
|
1211
|
+
* @generated from message gitpod.experimental.v1.UpdatePortResponse
|
1212
|
+
*/
|
1213
|
+
class UpdatePortResponse extends protobuf_1.Message {
|
1214
|
+
constructor(data) {
|
1215
|
+
super();
|
1216
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
1217
|
+
}
|
1218
|
+
static fromBinary(bytes, options) {
|
1219
|
+
return new UpdatePortResponse().fromBinary(bytes, options);
|
1220
|
+
}
|
1221
|
+
static fromJson(jsonValue, options) {
|
1222
|
+
return new UpdatePortResponse().fromJson(jsonValue, options);
|
1223
|
+
}
|
1224
|
+
static fromJsonString(jsonString, options) {
|
1225
|
+
return new UpdatePortResponse().fromJsonString(jsonString, options);
|
1226
|
+
}
|
1227
|
+
static equals(a, b) {
|
1228
|
+
return protobuf_1.proto3.util.equals(UpdatePortResponse, a, b);
|
1229
|
+
}
|
1230
|
+
}
|
1231
|
+
exports.UpdatePortResponse = UpdatePortResponse;
|
1232
|
+
UpdatePortResponse.runtime = protobuf_1.proto3;
|
1233
|
+
UpdatePortResponse.typeName = "gitpod.experimental.v1.UpdatePortResponse";
|
1234
|
+
UpdatePortResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
1183
1235
|
//# sourceMappingURL=workspaces_pb.js.map
|