@gitpod/public-api 0.1.5-mp-server-move-admin-endpoints-to-admin-srv.0 → 0.1.5-mp-papi-delete-workspace-impl.0
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/experimental/v1/ide_client_connectweb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +2 -2
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/ide_client_pb.js +2 -2
- package/lib/gitpod/experimental/v1/index.d.ts +1 -1
- package/lib/gitpod/experimental/v1/index.js +1 -1
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +2 -2
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/oidc_pb.js +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.js +2 -2
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/projects_connectweb.js +2 -2
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/projects_pb.js +2 -2
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/teams_connectweb.js +2 -2
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/teams_pb.js +2 -2
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +2 -2
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/tokens_pb.js +2 -2
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +12 -3
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/user_connectweb.js +11 -2
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -1
- package/lib/gitpod/experimental/v1/user_pb.d.ts +91 -2
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/user_pb.js +136 -3
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -1
- 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 +26 -4
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +25 -3
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +152 -7
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.js +242 -10
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
|
4
|
+
* Licensed under the GNU Affero General Public License (AGPL).
|
|
5
|
+
* See License.AGPL.txt in the project root for license information.
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.InstanceUpdatesResponse = exports.InstanceUpdatesRequest = exports.GetOpenPortsResponse = exports.GetOpenPortsRequest = exports.WorkspaceInstancePort = exports.OpenPortResponse = exports.OpenPortRequest = exports.PortVisibility = void 0;
|
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
const workspaces_pb_js_1 = require("./workspaces_pb.js");
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum gitpod.experimental.v1.PortVisibility
|
|
13
|
+
*/
|
|
14
|
+
var PortVisibility;
|
|
15
|
+
(function (PortVisibility) {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from enum value: PORT_VISIBILITY_UNSPECIFIED = 0;
|
|
18
|
+
*/
|
|
19
|
+
PortVisibility[PortVisibility["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum value: PORT_VISIBILITY_PUBLIC = 1;
|
|
22
|
+
*/
|
|
23
|
+
PortVisibility[PortVisibility["PUBLIC"] = 1] = "PUBLIC";
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: PORT_VISIBILITY_PRIVATE = 2;
|
|
26
|
+
*/
|
|
27
|
+
PortVisibility[PortVisibility["PRIVATE"] = 2] = "PRIVATE";
|
|
28
|
+
})(PortVisibility = exports.PortVisibility || (exports.PortVisibility = {}));
|
|
29
|
+
// Retrieve enum metadata with: proto3.getEnumType(PortVisibility)
|
|
30
|
+
protobuf_1.proto3.util.setEnumType(PortVisibility, "gitpod.experimental.v1.PortVisibility", [
|
|
31
|
+
{ no: 0, name: "PORT_VISIBILITY_UNSPECIFIED" },
|
|
32
|
+
{ no: 1, name: "PORT_VISIBILITY_PUBLIC" },
|
|
33
|
+
{ no: 2, name: "PORT_VISIBILITY_PRIVATE" },
|
|
34
|
+
]);
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message gitpod.experimental.v1.OpenPortRequest
|
|
37
|
+
*/
|
|
38
|
+
class OpenPortRequest extends protobuf_1.Message {
|
|
39
|
+
constructor(data) {
|
|
40
|
+
super();
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string workspace_id = 1;
|
|
43
|
+
*/
|
|
44
|
+
this.workspaceId = "";
|
|
45
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
46
|
+
}
|
|
47
|
+
static fromBinary(bytes, options) {
|
|
48
|
+
return new OpenPortRequest().fromBinary(bytes, options);
|
|
49
|
+
}
|
|
50
|
+
static fromJson(jsonValue, options) {
|
|
51
|
+
return new OpenPortRequest().fromJson(jsonValue, options);
|
|
52
|
+
}
|
|
53
|
+
static fromJsonString(jsonString, options) {
|
|
54
|
+
return new OpenPortRequest().fromJsonString(jsonString, options);
|
|
55
|
+
}
|
|
56
|
+
static equals(a, b) {
|
|
57
|
+
return protobuf_1.proto3.util.equals(OpenPortRequest, a, b);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.OpenPortRequest = OpenPortRequest;
|
|
61
|
+
OpenPortRequest.runtime = protobuf_1.proto3;
|
|
62
|
+
OpenPortRequest.typeName = "gitpod.experimental.v1.OpenPortRequest";
|
|
63
|
+
OpenPortRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
64
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
65
|
+
]);
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message gitpod.experimental.v1.OpenPortResponse
|
|
68
|
+
*/
|
|
69
|
+
class OpenPortResponse extends protobuf_1.Message {
|
|
70
|
+
constructor(data) {
|
|
71
|
+
super();
|
|
72
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
73
|
+
}
|
|
74
|
+
static fromBinary(bytes, options) {
|
|
75
|
+
return new OpenPortResponse().fromBinary(bytes, options);
|
|
76
|
+
}
|
|
77
|
+
static fromJson(jsonValue, options) {
|
|
78
|
+
return new OpenPortResponse().fromJson(jsonValue, options);
|
|
79
|
+
}
|
|
80
|
+
static fromJsonString(jsonString, options) {
|
|
81
|
+
return new OpenPortResponse().fromJsonString(jsonString, options);
|
|
82
|
+
}
|
|
83
|
+
static equals(a, b) {
|
|
84
|
+
return protobuf_1.proto3.util.equals(OpenPortResponse, a, b);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.OpenPortResponse = OpenPortResponse;
|
|
88
|
+
OpenPortResponse.runtime = protobuf_1.proto3;
|
|
89
|
+
OpenPortResponse.typeName = "gitpod.experimental.v1.OpenPortResponse";
|
|
90
|
+
OpenPortResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
91
|
+
{ no: 1, name: "port", kind: "message", T: WorkspaceInstancePort },
|
|
92
|
+
]);
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstancePort
|
|
95
|
+
*/
|
|
96
|
+
class WorkspaceInstancePort extends protobuf_1.Message {
|
|
97
|
+
constructor(data) {
|
|
98
|
+
super();
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: int32 port = 1;
|
|
101
|
+
*/
|
|
102
|
+
this.port = 0;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string url = 2;
|
|
105
|
+
*/
|
|
106
|
+
this.url = "";
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: gitpod.experimental.v1.PortVisibility visibility = 3;
|
|
109
|
+
*/
|
|
110
|
+
this.visibility = PortVisibility.UNSPECIFIED;
|
|
111
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
112
|
+
}
|
|
113
|
+
static fromBinary(bytes, options) {
|
|
114
|
+
return new WorkspaceInstancePort().fromBinary(bytes, options);
|
|
115
|
+
}
|
|
116
|
+
static fromJson(jsonValue, options) {
|
|
117
|
+
return new WorkspaceInstancePort().fromJson(jsonValue, options);
|
|
118
|
+
}
|
|
119
|
+
static fromJsonString(jsonString, options) {
|
|
120
|
+
return new WorkspaceInstancePort().fromJsonString(jsonString, options);
|
|
121
|
+
}
|
|
122
|
+
static equals(a, b) {
|
|
123
|
+
return protobuf_1.proto3.util.equals(WorkspaceInstancePort, a, b);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.WorkspaceInstancePort = WorkspaceInstancePort;
|
|
127
|
+
WorkspaceInstancePort.runtime = protobuf_1.proto3;
|
|
128
|
+
WorkspaceInstancePort.typeName = "gitpod.experimental.v1.WorkspaceInstancePort";
|
|
129
|
+
WorkspaceInstancePort.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
130
|
+
{ no: 1, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
131
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
+
{ no: 3, name: "visibility", kind: "enum", T: protobuf_1.proto3.getEnumType(PortVisibility) },
|
|
133
|
+
]);
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsRequest
|
|
136
|
+
*/
|
|
137
|
+
class GetOpenPortsRequest extends protobuf_1.Message {
|
|
138
|
+
constructor(data) {
|
|
139
|
+
super();
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string workspace_id = 1;
|
|
142
|
+
*/
|
|
143
|
+
this.workspaceId = "";
|
|
144
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
145
|
+
}
|
|
146
|
+
static fromBinary(bytes, options) {
|
|
147
|
+
return new GetOpenPortsRequest().fromBinary(bytes, options);
|
|
148
|
+
}
|
|
149
|
+
static fromJson(jsonValue, options) {
|
|
150
|
+
return new GetOpenPortsRequest().fromJson(jsonValue, options);
|
|
151
|
+
}
|
|
152
|
+
static fromJsonString(jsonString, options) {
|
|
153
|
+
return new GetOpenPortsRequest().fromJsonString(jsonString, options);
|
|
154
|
+
}
|
|
155
|
+
static equals(a, b) {
|
|
156
|
+
return protobuf_1.proto3.util.equals(GetOpenPortsRequest, a, b);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.GetOpenPortsRequest = GetOpenPortsRequest;
|
|
160
|
+
GetOpenPortsRequest.runtime = protobuf_1.proto3;
|
|
161
|
+
GetOpenPortsRequest.typeName = "gitpod.experimental.v1.GetOpenPortsRequest";
|
|
162
|
+
GetOpenPortsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
163
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
]);
|
|
165
|
+
/**
|
|
166
|
+
* @generated from message gitpod.experimental.v1.GetOpenPortsResponse
|
|
167
|
+
*/
|
|
168
|
+
class GetOpenPortsResponse extends protobuf_1.Message {
|
|
169
|
+
constructor(data) {
|
|
170
|
+
super();
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: repeated gitpod.experimental.v1.WorkspaceInstancePort ports = 1;
|
|
173
|
+
*/
|
|
174
|
+
this.ports = [];
|
|
175
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
176
|
+
}
|
|
177
|
+
static fromBinary(bytes, options) {
|
|
178
|
+
return new GetOpenPortsResponse().fromBinary(bytes, options);
|
|
179
|
+
}
|
|
180
|
+
static fromJson(jsonValue, options) {
|
|
181
|
+
return new GetOpenPortsResponse().fromJson(jsonValue, options);
|
|
182
|
+
}
|
|
183
|
+
static fromJsonString(jsonString, options) {
|
|
184
|
+
return new GetOpenPortsResponse().fromJsonString(jsonString, options);
|
|
185
|
+
}
|
|
186
|
+
static equals(a, b) {
|
|
187
|
+
return protobuf_1.proto3.util.equals(GetOpenPortsResponse, a, b);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.GetOpenPortsResponse = GetOpenPortsResponse;
|
|
191
|
+
GetOpenPortsResponse.runtime = protobuf_1.proto3;
|
|
192
|
+
GetOpenPortsResponse.typeName = "gitpod.experimental.v1.GetOpenPortsResponse";
|
|
193
|
+
GetOpenPortsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
194
|
+
{ no: 1, name: "ports", kind: "message", T: WorkspaceInstancePort, repeated: true },
|
|
195
|
+
]);
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesRequest
|
|
198
|
+
*/
|
|
199
|
+
class InstanceUpdatesRequest extends protobuf_1.Message {
|
|
200
|
+
constructor(data) {
|
|
201
|
+
super();
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string instance_id = 1;
|
|
204
|
+
*/
|
|
205
|
+
this.instanceId = "";
|
|
206
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
207
|
+
}
|
|
208
|
+
static fromBinary(bytes, options) {
|
|
209
|
+
return new InstanceUpdatesRequest().fromBinary(bytes, options);
|
|
210
|
+
}
|
|
211
|
+
static fromJson(jsonValue, options) {
|
|
212
|
+
return new InstanceUpdatesRequest().fromJson(jsonValue, options);
|
|
213
|
+
}
|
|
214
|
+
static fromJsonString(jsonString, options) {
|
|
215
|
+
return new InstanceUpdatesRequest().fromJsonString(jsonString, options);
|
|
216
|
+
}
|
|
217
|
+
static equals(a, b) {
|
|
218
|
+
return protobuf_1.proto3.util.equals(InstanceUpdatesRequest, a, b);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
exports.InstanceUpdatesRequest = InstanceUpdatesRequest;
|
|
222
|
+
InstanceUpdatesRequest.runtime = protobuf_1.proto3;
|
|
223
|
+
InstanceUpdatesRequest.typeName = "gitpod.experimental.v1.InstanceUpdatesRequest";
|
|
224
|
+
InstanceUpdatesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
225
|
+
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
226
|
+
]);
|
|
227
|
+
/**
|
|
228
|
+
* @generated from message gitpod.experimental.v1.InstanceUpdatesResponse
|
|
229
|
+
*/
|
|
230
|
+
class InstanceUpdatesResponse extends protobuf_1.Message {
|
|
231
|
+
constructor(data) {
|
|
232
|
+
super();
|
|
233
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
234
|
+
}
|
|
235
|
+
static fromBinary(bytes, options) {
|
|
236
|
+
return new InstanceUpdatesResponse().fromBinary(bytes, options);
|
|
237
|
+
}
|
|
238
|
+
static fromJson(jsonValue, options) {
|
|
239
|
+
return new InstanceUpdatesResponse().fromJson(jsonValue, options);
|
|
240
|
+
}
|
|
241
|
+
static fromJsonString(jsonString, options) {
|
|
242
|
+
return new InstanceUpdatesResponse().fromJsonString(jsonString, options);
|
|
243
|
+
}
|
|
244
|
+
static equals(a, b) {
|
|
245
|
+
return protobuf_1.proto3.util.equals(InstanceUpdatesResponse, a, b);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
exports.InstanceUpdatesResponse = InstanceUpdatesResponse;
|
|
249
|
+
InstanceUpdatesResponse.runtime = protobuf_1.proto3;
|
|
250
|
+
InstanceUpdatesResponse.typeName = "gitpod.experimental.v1.InstanceUpdatesResponse";
|
|
251
|
+
InstanceUpdatesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
252
|
+
{ no: 1, name: "instance", kind: "message", T: workspaces_pb_js_1.WorkspaceInstance },
|
|
253
|
+
]);
|
|
254
|
+
//# sourceMappingURL=workspace_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAeH,iDAAqD;AACrD,yDAAuD;AAEvD;;GAEG;AACH,IAAY,cAeX;AAfD,WAAY,cAAc;IACtB;;OAEG;IACH,iEAAe,CAAA;IAEf;;OAEG;IACH,uDAAU,CAAA;IAEV;;OAEG;IACH,yDAAW,CAAA;AACf,CAAC,EAfW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAezB;AACD,kEAAkE;AAClE,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,uCAAuC,EAAE;IAC7E,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,6BAA6B,E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uBAAuB,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACpE,OAAO,IAAI,uBAAuB,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QACxE,OAAO,IAAI,uBAAuB,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,CAAC,MAAM,CACT,CAA8E,EAC9E,CAA8E;QAE9E,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7D,CAAC;;AAlCL,0DAmCC;AAxBmB,+BAAO,GAAG,iBAAM,CAAC;AACjB,gCAAQ,GAAG,gDAAgD,CAAC;AAC5D,8BAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/D,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,oCAAiB,EAAE;CACrE,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
|
3
3
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
4
|
-
* See License
|
|
4
|
+
* See License.AGPL.txt in the project root for license information.
|
|
5
5
|
*/
|
|
6
|
-
import { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse } from "./workspaces_pb.js";
|
|
6
|
+
import { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, DeleteWorkspaceRequest, DeleteWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse, UpdatePortRequest, UpdatePortResponse } from "./workspaces_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
/**
|
|
9
9
|
* @generated from service gitpod.experimental.v1.WorkspacesService
|
|
@@ -67,7 +67,29 @@ export declare const WorkspacesService: {
|
|
|
67
67
|
readonly name: "StopWorkspace";
|
|
68
68
|
readonly I: typeof StopWorkspaceRequest;
|
|
69
69
|
readonly O: typeof StopWorkspaceResponse;
|
|
70
|
-
readonly kind: MethodKind.
|
|
70
|
+
readonly kind: MethodKind.Unary;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* DeleteWorkspace deletes a workspace.
|
|
74
|
+
* When the workspace is running, it will be stopped as well.
|
|
75
|
+
* Deleted workspaces cannot be started again.
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.DeleteWorkspace
|
|
78
|
+
*/
|
|
79
|
+
readonly deleteWorkspace: {
|
|
80
|
+
readonly name: "DeleteWorkspace";
|
|
81
|
+
readonly I: typeof DeleteWorkspaceRequest;
|
|
82
|
+
readonly O: typeof DeleteWorkspaceResponse;
|
|
83
|
+
readonly kind: MethodKind.Unary;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
|
|
87
|
+
*/
|
|
88
|
+
readonly updatePort: {
|
|
89
|
+
readonly name: "UpdatePort";
|
|
90
|
+
readonly I: typeof UpdatePortRequest;
|
|
91
|
+
readonly O: typeof UpdatePortResponse;
|
|
92
|
+
readonly kind: MethodKind.Unary;
|
|
71
93
|
};
|
|
72
94
|
};
|
|
73
95
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC/W,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;WAEG;;;;;;;;CAQG,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
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
8
|
exports.WorkspacesService = void 0;
|
|
@@ -74,7 +74,29 @@ exports.WorkspacesService = {
|
|
|
74
74
|
name: "StopWorkspace",
|
|
75
75
|
I: workspaces_pb_js_1.StopWorkspaceRequest,
|
|
76
76
|
O: workspaces_pb_js_1.StopWorkspaceResponse,
|
|
77
|
-
kind: protobuf_1.MethodKind.
|
|
77
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* DeleteWorkspace deletes a workspace.
|
|
81
|
+
* When the workspace is running, it will be stopped as well.
|
|
82
|
+
* Deleted workspaces cannot be started again.
|
|
83
|
+
*
|
|
84
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.DeleteWorkspace
|
|
85
|
+
*/
|
|
86
|
+
deleteWorkspace: {
|
|
87
|
+
name: "DeleteWorkspace",
|
|
88
|
+
I: workspaces_pb_js_1.DeleteWorkspaceRequest,
|
|
89
|
+
O: workspaces_pb_js_1.DeleteWorkspaceResponse,
|
|
90
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
|
|
94
|
+
*/
|
|
95
|
+
updatePort: {
|
|
96
|
+
name: "UpdatePort",
|
|
97
|
+
I: workspaces_pb_js_1.UpdatePortRequest,
|
|
98
|
+
O: workspaces_pb_js_1.UpdatePortResponse,
|
|
99
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
78
100
|
},
|
|
79
101
|
}
|
|
80
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,+GAA+G;AAC/G,oBAAoB;AACpB,iBAAiB;AAEjB,
|
|
1
|
+
{"version":3,"file":"workspaces_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,+GAA+G;AAC/G,oBAAoB;AACpB,iBAAiB;AAEjB,yDAA+W;AAC/W,iDAA8C;AAE9C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,0CAA0C;IACpD,OAAO,EAAE;QACP;;;;WAIG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,wCAAqB;YACxB,CAAC,EAAE,yCAAsB;YACzB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,sCAAmB;YACtB,CAAC,EAAE,uCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,iDAA8B;YACjC,CAAC,EAAE,kDAA+B;YAClC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;;WAMG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,yCAAsB;YACzB,CAAC,EAAE,0CAAuB;YAC1B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;WAEG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,oCAAiB;YACpB,CAAC,EAAE,qCAAkB;YACrB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
|
3
3
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
4
|
-
* See License
|
|
4
|
+
* See License.AGPL.txt in the project root for license information.
|
|
5
5
|
*/
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { FieldMask, Message, Timestamp } from "@bufbuild/protobuf";
|
|
8
8
|
import { Pagination } from "./pagination_pb.js";
|
|
9
|
+
/**
|
|
10
|
+
* PortPolicy defines the accssbility policy of a workspace port is guarded by an authentication in the proxy
|
|
11
|
+
*
|
|
12
|
+
* @generated from enum gitpod.experimental.v1.PortPolicy
|
|
13
|
+
*/
|
|
14
|
+
export declare enum PortPolicy {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: PORT_POLICY_UNSPECIFIED = 0;
|
|
17
|
+
*/
|
|
18
|
+
UNSPECIFIED = 0,
|
|
19
|
+
/**
|
|
20
|
+
* Private means the port is accessible by the workspace owner only using the workspace port URL
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: PORT_POLICY_PRIVATE = 1;
|
|
23
|
+
*/
|
|
24
|
+
PRIVATE = 1,
|
|
25
|
+
/**
|
|
26
|
+
* Public means the port is accessible by everybody using the workspace port URL
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: PORT_POLICY_PUBLIC = 2;
|
|
29
|
+
*/
|
|
30
|
+
PUBLIC = 2
|
|
31
|
+
}
|
|
9
32
|
/**
|
|
10
33
|
* Admission level describes who can access a workspace instance and its ports.
|
|
11
34
|
*
|
|
@@ -247,11 +270,7 @@ export declare class StartWorkspaceResponse extends Message<StartWorkspaceRespon
|
|
|
247
270
|
*/
|
|
248
271
|
export declare class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
|
249
272
|
/**
|
|
250
|
-
* @generated from field: string
|
|
251
|
-
*/
|
|
252
|
-
idempotencyToken: string;
|
|
253
|
-
/**
|
|
254
|
-
* @generated from field: string workspace_id = 2;
|
|
273
|
+
* @generated from field: string workspace_id = 1;
|
|
255
274
|
*/
|
|
256
275
|
workspaceId: string;
|
|
257
276
|
constructor(data?: PartialMessage<StopWorkspaceRequest>);
|
|
@@ -276,6 +295,36 @@ export declare class StopWorkspaceResponse extends Message<StopWorkspaceResponse
|
|
|
276
295
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceResponse;
|
|
277
296
|
static equals(a: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined, b: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined): boolean;
|
|
278
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceRequest
|
|
300
|
+
*/
|
|
301
|
+
export declare class DeleteWorkspaceRequest extends Message<DeleteWorkspaceRequest> {
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: string workspace_id = 1;
|
|
304
|
+
*/
|
|
305
|
+
workspaceId: string;
|
|
306
|
+
constructor(data?: PartialMessage<DeleteWorkspaceRequest>);
|
|
307
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
308
|
+
static readonly typeName = "gitpod.experimental.v1.DeleteWorkspaceRequest";
|
|
309
|
+
static readonly fields: FieldList;
|
|
310
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWorkspaceRequest;
|
|
311
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWorkspaceRequest;
|
|
312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWorkspaceRequest;
|
|
313
|
+
static equals(a: DeleteWorkspaceRequest | PlainMessage<DeleteWorkspaceRequest> | undefined, b: DeleteWorkspaceRequest | PlainMessage<DeleteWorkspaceRequest> | undefined): boolean;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceResponse
|
|
317
|
+
*/
|
|
318
|
+
export declare class DeleteWorkspaceResponse extends Message<DeleteWorkspaceResponse> {
|
|
319
|
+
constructor(data?: PartialMessage<DeleteWorkspaceResponse>);
|
|
320
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
321
|
+
static readonly typeName = "gitpod.experimental.v1.DeleteWorkspaceResponse";
|
|
322
|
+
static readonly fields: FieldList;
|
|
323
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWorkspaceResponse;
|
|
324
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWorkspaceResponse;
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWorkspaceResponse;
|
|
326
|
+
static equals(a: DeleteWorkspaceResponse | PlainMessage<DeleteWorkspaceResponse> | undefined, b: DeleteWorkspaceResponse | PlainMessage<DeleteWorkspaceResponse> | undefined): boolean;
|
|
327
|
+
}
|
|
279
328
|
/**
|
|
280
329
|
* Workspace describes a single workspace
|
|
281
330
|
*
|
|
@@ -546,6 +595,12 @@ export declare class WorkspaceInstanceStatus extends Message<WorkspaceInstanceSt
|
|
|
546
595
|
* @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
|
|
547
596
|
*/
|
|
548
597
|
admission: AdmissionLevel;
|
|
598
|
+
/**
|
|
599
|
+
* ports is the list of exposed ports in the workspace.
|
|
600
|
+
*
|
|
601
|
+
* @generated from field: repeated gitpod.experimental.v1.Port ports = 7;
|
|
602
|
+
*/
|
|
603
|
+
ports: Port[];
|
|
549
604
|
constructor(data?: PartialMessage<WorkspaceInstanceStatus>);
|
|
550
605
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
551
606
|
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
|
|
@@ -675,6 +730,37 @@ export declare class WorkspaceInstanceStatus_Conditions extends Message<Workspac
|
|
|
675
730
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
|
|
676
731
|
static equals(a: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined, b: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined): boolean;
|
|
677
732
|
}
|
|
733
|
+
/**
|
|
734
|
+
* @generated from message gitpod.experimental.v1.Port
|
|
735
|
+
*/
|
|
736
|
+
export declare class Port extends Message<Port> {
|
|
737
|
+
/**
|
|
738
|
+
* port number
|
|
739
|
+
*
|
|
740
|
+
* @generated from field: uint64 port = 1;
|
|
741
|
+
*/
|
|
742
|
+
port: bigint;
|
|
743
|
+
/**
|
|
744
|
+
* policy of this port
|
|
745
|
+
*
|
|
746
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
|
747
|
+
*/
|
|
748
|
+
policy: PortPolicy;
|
|
749
|
+
/**
|
|
750
|
+
* url that can be used to access the port
|
|
751
|
+
*
|
|
752
|
+
* @generated from field: string url = 3;
|
|
753
|
+
*/
|
|
754
|
+
url: string;
|
|
755
|
+
constructor(data?: PartialMessage<Port>);
|
|
756
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
757
|
+
static readonly typeName = "gitpod.experimental.v1.Port";
|
|
758
|
+
static readonly fields: FieldList;
|
|
759
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Port;
|
|
760
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Port;
|
|
761
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Port;
|
|
762
|
+
static equals(a: Port | PlainMessage<Port> | undefined, b: Port | PlainMessage<Port> | undefined): boolean;
|
|
763
|
+
}
|
|
678
764
|
/**
|
|
679
765
|
* StartWorkspaceSpec influences the workspace start
|
|
680
766
|
*
|
|
@@ -692,4 +778,63 @@ export declare class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
|
|
|
692
778
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
|
|
693
779
|
static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean;
|
|
694
780
|
}
|
|
781
|
+
/**
|
|
782
|
+
* @generated from message gitpod.experimental.v1.PortSpec
|
|
783
|
+
*/
|
|
784
|
+
export declare class PortSpec extends Message<PortSpec> {
|
|
785
|
+
/**
|
|
786
|
+
* port number
|
|
787
|
+
*
|
|
788
|
+
* @generated from field: uint64 port = 1;
|
|
789
|
+
*/
|
|
790
|
+
port: bigint;
|
|
791
|
+
/**
|
|
792
|
+
* policy of this port
|
|
793
|
+
*
|
|
794
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
|
795
|
+
*/
|
|
796
|
+
policy: PortPolicy;
|
|
797
|
+
constructor(data?: PartialMessage<PortSpec>);
|
|
798
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
799
|
+
static readonly typeName = "gitpod.experimental.v1.PortSpec";
|
|
800
|
+
static readonly fields: FieldList;
|
|
801
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortSpec;
|
|
802
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortSpec;
|
|
803
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortSpec;
|
|
804
|
+
static equals(a: PortSpec | PlainMessage<PortSpec> | undefined, b: PortSpec | PlainMessage<PortSpec> | undefined): boolean;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* @generated from message gitpod.experimental.v1.UpdatePortRequest
|
|
808
|
+
*/
|
|
809
|
+
export declare class UpdatePortRequest extends Message<UpdatePortRequest> {
|
|
810
|
+
/**
|
|
811
|
+
* @generated from field: string workspace_id = 1;
|
|
812
|
+
*/
|
|
813
|
+
workspaceId: string;
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: gitpod.experimental.v1.PortSpec port = 2;
|
|
816
|
+
*/
|
|
817
|
+
port?: PortSpec;
|
|
818
|
+
constructor(data?: PartialMessage<UpdatePortRequest>);
|
|
819
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
820
|
+
static readonly typeName = "gitpod.experimental.v1.UpdatePortRequest";
|
|
821
|
+
static readonly fields: FieldList;
|
|
822
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortRequest;
|
|
823
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortRequest;
|
|
824
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortRequest;
|
|
825
|
+
static equals(a: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined, b: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined): boolean;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* @generated from message gitpod.experimental.v1.UpdatePortResponse
|
|
829
|
+
*/
|
|
830
|
+
export declare class UpdatePortResponse extends Message<UpdatePortResponse> {
|
|
831
|
+
constructor(data?: PartialMessage<UpdatePortResponse>);
|
|
832
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
833
|
+
static readonly typeName = "gitpod.experimental.v1.UpdatePortResponse";
|
|
834
|
+
static readonly fields: FieldList;
|
|
835
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortResponse;
|
|
836
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortResponse;
|
|
837
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortResponse;
|
|
838
|
+
static equals(a: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined, b: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined): boolean;
|
|
839
|
+
}
|
|
695
840
|
//# sourceMappingURL=workspaces_pb.d.ts.map
|