@gitpod/public-api 0.1.5-main.5890 → 0.1.5-main.5892

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.
Files changed (27) hide show
  1. package/lib/gitpod/experimental/v1/user_connectweb.d.ts +10 -1
  2. package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -1
  3. package/lib/gitpod/experimental/v1/user_connectweb.js +9 -0
  4. package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -1
  5. package/lib/gitpod/experimental/v1/user_pb.d.ts +89 -0
  6. package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -1
  7. package/lib/gitpod/experimental/v1/user_pb.js +134 -1
  8. package/lib/gitpod/experimental/v1/user_pb.js.map +1 -1
  9. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
  10. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
  12. package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
  14. package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
  16. package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +10 -1
  18. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -1
  19. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +9 -0
  20. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -1
  21. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +119 -0
  22. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -1
  23. package/lib/gitpod/experimental/v1/workspaces_pb.js +182 -1
  24. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -1
  25. package/package.json +1 -1
  26. package/pkg-yarn.lock +1 -1
  27. package/provenance-bundle.jsonl +1 -1
@@ -0,0 +1,153 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message } from "@bufbuild/protobuf";
8
+ import { WorkspaceInstance } from "./workspaces_pb.js";
9
+ /**
10
+ * @generated from enum gitpod.experimental.v1.PortVisibility
11
+ */
12
+ export declare enum PortVisibility {
13
+ /**
14
+ * @generated from enum value: PORT_VISIBILITY_UNSPECIFIED = 0;
15
+ */
16
+ UNSPECIFIED = 0,
17
+ /**
18
+ * @generated from enum value: PORT_VISIBILITY_PUBLIC = 1;
19
+ */
20
+ PUBLIC = 1,
21
+ /**
22
+ * @generated from enum value: PORT_VISIBILITY_PRIVATE = 2;
23
+ */
24
+ PRIVATE = 2
25
+ }
26
+ /**
27
+ * @generated from message gitpod.experimental.v1.OpenPortRequest
28
+ */
29
+ export declare class OpenPortRequest extends Message<OpenPortRequest> {
30
+ /**
31
+ * @generated from field: string workspace_id = 1;
32
+ */
33
+ workspaceId: string;
34
+ constructor(data?: PartialMessage<OpenPortRequest>);
35
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
36
+ static readonly typeName = "gitpod.experimental.v1.OpenPortRequest";
37
+ static readonly fields: FieldList;
38
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpenPortRequest;
39
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpenPortRequest;
40
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpenPortRequest;
41
+ static equals(a: OpenPortRequest | PlainMessage<OpenPortRequest> | undefined, b: OpenPortRequest | PlainMessage<OpenPortRequest> | undefined): boolean;
42
+ }
43
+ /**
44
+ * @generated from message gitpod.experimental.v1.OpenPortResponse
45
+ */
46
+ export declare class OpenPortResponse extends Message<OpenPortResponse> {
47
+ /**
48
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstancePort port = 1;
49
+ */
50
+ port?: WorkspaceInstancePort;
51
+ constructor(data?: PartialMessage<OpenPortResponse>);
52
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
53
+ static readonly typeName = "gitpod.experimental.v1.OpenPortResponse";
54
+ static readonly fields: FieldList;
55
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpenPortResponse;
56
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpenPortResponse;
57
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpenPortResponse;
58
+ static equals(a: OpenPortResponse | PlainMessage<OpenPortResponse> | undefined, b: OpenPortResponse | PlainMessage<OpenPortResponse> | undefined): boolean;
59
+ }
60
+ /**
61
+ * @generated from message gitpod.experimental.v1.WorkspaceInstancePort
62
+ */
63
+ export declare class WorkspaceInstancePort extends Message<WorkspaceInstancePort> {
64
+ /**
65
+ * @generated from field: int32 port = 1;
66
+ */
67
+ port: number;
68
+ /**
69
+ * @generated from field: string url = 2;
70
+ */
71
+ url: string;
72
+ /**
73
+ * @generated from field: gitpod.experimental.v1.PortVisibility visibility = 3;
74
+ */
75
+ visibility: PortVisibility;
76
+ constructor(data?: PartialMessage<WorkspaceInstancePort>);
77
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
78
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceInstancePort";
79
+ static readonly fields: FieldList;
80
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstancePort;
81
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstancePort;
82
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstancePort;
83
+ static equals(a: WorkspaceInstancePort | PlainMessage<WorkspaceInstancePort> | undefined, b: WorkspaceInstancePort | PlainMessage<WorkspaceInstancePort> | undefined): boolean;
84
+ }
85
+ /**
86
+ * @generated from message gitpod.experimental.v1.GetOpenPortsRequest
87
+ */
88
+ export declare class GetOpenPortsRequest extends Message<GetOpenPortsRequest> {
89
+ /**
90
+ * @generated from field: string workspace_id = 1;
91
+ */
92
+ workspaceId: string;
93
+ constructor(data?: PartialMessage<GetOpenPortsRequest>);
94
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
95
+ static readonly typeName = "gitpod.experimental.v1.GetOpenPortsRequest";
96
+ static readonly fields: FieldList;
97
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOpenPortsRequest;
98
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOpenPortsRequest;
99
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOpenPortsRequest;
100
+ static equals(a: GetOpenPortsRequest | PlainMessage<GetOpenPortsRequest> | undefined, b: GetOpenPortsRequest | PlainMessage<GetOpenPortsRequest> | undefined): boolean;
101
+ }
102
+ /**
103
+ * @generated from message gitpod.experimental.v1.GetOpenPortsResponse
104
+ */
105
+ export declare class GetOpenPortsResponse extends Message<GetOpenPortsResponse> {
106
+ /**
107
+ * @generated from field: repeated gitpod.experimental.v1.WorkspaceInstancePort ports = 1;
108
+ */
109
+ ports: WorkspaceInstancePort[];
110
+ constructor(data?: PartialMessage<GetOpenPortsResponse>);
111
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
112
+ static readonly typeName = "gitpod.experimental.v1.GetOpenPortsResponse";
113
+ static readonly fields: FieldList;
114
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOpenPortsResponse;
115
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOpenPortsResponse;
116
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOpenPortsResponse;
117
+ static equals(a: GetOpenPortsResponse | PlainMessage<GetOpenPortsResponse> | undefined, b: GetOpenPortsResponse | PlainMessage<GetOpenPortsResponse> | undefined): boolean;
118
+ }
119
+ /**
120
+ * @generated from message gitpod.experimental.v1.InstanceUpdatesRequest
121
+ */
122
+ export declare class InstanceUpdatesRequest extends Message<InstanceUpdatesRequest> {
123
+ /**
124
+ * @generated from field: string instance_id = 1;
125
+ */
126
+ instanceId: string;
127
+ constructor(data?: PartialMessage<InstanceUpdatesRequest>);
128
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
129
+ static readonly typeName = "gitpod.experimental.v1.InstanceUpdatesRequest";
130
+ static readonly fields: FieldList;
131
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceUpdatesRequest;
132
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceUpdatesRequest;
133
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceUpdatesRequest;
134
+ static equals(a: InstanceUpdatesRequest | PlainMessage<InstanceUpdatesRequest> | undefined, b: InstanceUpdatesRequest | PlainMessage<InstanceUpdatesRequest> | undefined): boolean;
135
+ }
136
+ /**
137
+ * @generated from message gitpod.experimental.v1.InstanceUpdatesResponse
138
+ */
139
+ export declare class InstanceUpdatesResponse extends Message<InstanceUpdatesResponse> {
140
+ /**
141
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstance instance = 1;
142
+ */
143
+ instance?: WorkspaceInstance;
144
+ constructor(data?: PartialMessage<InstanceUpdatesResponse>);
145
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
146
+ static readonly typeName = "gitpod.experimental.v1.InstanceUpdatesResponse";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceUpdatesResponse;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceUpdatesResponse;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceUpdatesResponse;
151
+ static equals(a: InstanceUpdatesResponse | PlainMessage<InstanceUpdatesResponse> | undefined, b: InstanceUpdatesResponse | PlainMessage<InstanceUpdatesResponse> | undefined): boolean;
152
+ }
153
+ //# sourceMappingURL=workspace_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC/H,OAAO,EAAC,OAAO,EAAS,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AACH,oBAAY,cAAc;IACxB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,OAAO,IAAI;CACZ;AAQD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAC3D;;OAEG;IACH,WAAW,SAAM;gBAEL,IAAI,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC;IAKlD,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,4CAA4C;IACpE,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,E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AAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,uBAAuB;IAInG,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,uBAAuB;IAIlG,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,uBAAuB;IAItG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,uBAAuB,GAAG,YAAY,CAAC,uBAAuB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,uBAAuB,GAAG,YAAY,CAAC,uBAAuB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvL"}
@@ -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;;;AAQH,iDAAmD;AACnD,yDAAqD;AAErD;;GAEG;AACH,IAAY,cAeX;AAfD,WAAY,cAAc;IACxB;;OAEG;IACH,iEAAe,CAAA;IAEf;;OAEG;IACH,uDAAU,CAAA;IAEV;;OAEG;IACH,yDAAW,CAAA;AACb,CAAC,EAfW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAezB;AACD,kEAAkE;AAClE,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,uCAAuC,EAAE;IAC/E,EAAE,EAAE,EAAE,CAAC,EAAE,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IAAI,uBAAuB,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,uBAAuB,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,uBAAuB,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAA8E,EAAE,CAA8E;QAC1K,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,CAAC;;AA/BH,0DAgCC;AArBiB,+BAAO,GAAG,iBAAM,CAAC;AACjB,gCAAQ,GAAG,gDAAgD,CAAC;AAC5D,8BAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,oCAAiB,EAAE;CACnE,CAAC,CAAC"}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
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, 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
@@ -69,6 +69,15 @@ export declare const WorkspacesService: {
69
69
  readonly O: typeof StopWorkspaceResponse;
70
70
  readonly kind: MethodKind.ServerStreaming;
71
71
  };
72
+ /**
73
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
74
+ */
75
+ readonly updatePort: {
76
+ readonly name: "UpdatePort";
77
+ readonly I: typeof UpdatePortRequest;
78
+ readonly O: typeof UpdatePortResponse;
79
+ readonly kind: MethodKind.Unary;
80
+ };
72
81
  };
73
82
  };
74
83
  //# sourceMappingURL=workspaces_connectweb.d.ts.map
@@ -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;AACvR,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;;CAQG,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,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC9T,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;WAEG;;;;;;;;CAQG,CAAC"}
@@ -76,6 +76,15 @@ exports.WorkspacesService = {
76
76
  O: workspaces_pb_js_1.StopWorkspaceResponse,
77
77
  kind: protobuf_1.MethodKind.ServerStreaming,
78
78
  },
79
+ /**
80
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.UpdatePort
81
+ */
82
+ updatePort: {
83
+ name: "UpdatePort",
84
+ I: workspaces_pb_js_1.UpdatePortRequest,
85
+ O: workspaces_pb_js_1.UpdatePortResponse,
86
+ kind: protobuf_1.MethodKind.Unary,
87
+ },
79
88
  }
80
89
  };
81
90
  //# sourceMappingURL=workspaces_connectweb.js.map
@@ -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,yDAAuR;AACvR,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,eAAe;SACjC;KACF;CACO,CAAC"}
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,yDAA8T;AAC9T,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,eAAe;SACjC;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"}
@@ -6,6 +6,29 @@
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
  *
@@ -546,6 +569,12 @@ export declare class WorkspaceInstanceStatus extends Message<WorkspaceInstanceSt
546
569
  * @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
547
570
  */
548
571
  admission: AdmissionLevel;
572
+ /**
573
+ * ports is the list of exposed ports in the workspace.
574
+ *
575
+ * @generated from field: repeated gitpod.experimental.v1.Port ports = 7;
576
+ */
577
+ ports: Port[];
549
578
  constructor(data?: PartialMessage<WorkspaceInstanceStatus>);
550
579
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
551
580
  static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
@@ -675,6 +704,37 @@ export declare class WorkspaceInstanceStatus_Conditions extends Message<Workspac
675
704
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
676
705
  static equals(a: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined, b: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined): boolean;
677
706
  }
707
+ /**
708
+ * @generated from message gitpod.experimental.v1.Port
709
+ */
710
+ export declare class Port extends Message<Port> {
711
+ /**
712
+ * port number
713
+ *
714
+ * @generated from field: uint64 port = 1;
715
+ */
716
+ port: bigint;
717
+ /**
718
+ * policy of this port
719
+ *
720
+ * @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
721
+ */
722
+ policy: PortPolicy;
723
+ /**
724
+ * url that can be used to access the port
725
+ *
726
+ * @generated from field: string url = 3;
727
+ */
728
+ url: string;
729
+ constructor(data?: PartialMessage<Port>);
730
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
731
+ static readonly typeName = "gitpod.experimental.v1.Port";
732
+ static readonly fields: FieldList;
733
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Port;
734
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Port;
735
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Port;
736
+ static equals(a: Port | PlainMessage<Port> | undefined, b: Port | PlainMessage<Port> | undefined): boolean;
737
+ }
678
738
  /**
679
739
  * StartWorkspaceSpec influences the workspace start
680
740
  *
@@ -692,4 +752,63 @@ export declare class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
692
752
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
693
753
  static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean;
694
754
  }
755
+ /**
756
+ * @generated from message gitpod.experimental.v1.PortSpec
757
+ */
758
+ export declare class PortSpec extends Message<PortSpec> {
759
+ /**
760
+ * port number
761
+ *
762
+ * @generated from field: uint64 port = 1;
763
+ */
764
+ port: bigint;
765
+ /**
766
+ * policy of this port
767
+ *
768
+ * @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
769
+ */
770
+ policy: PortPolicy;
771
+ constructor(data?: PartialMessage<PortSpec>);
772
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
773
+ static readonly typeName = "gitpod.experimental.v1.PortSpec";
774
+ static readonly fields: FieldList;
775
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortSpec;
776
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortSpec;
777
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortSpec;
778
+ static equals(a: PortSpec | PlainMessage<PortSpec> | undefined, b: PortSpec | PlainMessage<PortSpec> | undefined): boolean;
779
+ }
780
+ /**
781
+ * @generated from message gitpod.experimental.v1.UpdatePortRequest
782
+ */
783
+ export declare class UpdatePortRequest extends Message<UpdatePortRequest> {
784
+ /**
785
+ * @generated from field: string workspace_id = 1;
786
+ */
787
+ workspaceId: string;
788
+ /**
789
+ * @generated from field: gitpod.experimental.v1.PortSpec port = 2;
790
+ */
791
+ port?: PortSpec;
792
+ constructor(data?: PartialMessage<UpdatePortRequest>);
793
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
794
+ static readonly typeName = "gitpod.experimental.v1.UpdatePortRequest";
795
+ static readonly fields: FieldList;
796
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortRequest;
797
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortRequest;
798
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortRequest;
799
+ static equals(a: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined, b: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined): boolean;
800
+ }
801
+ /**
802
+ * @generated from message gitpod.experimental.v1.UpdatePortResponse
803
+ */
804
+ export declare class UpdatePortResponse extends Message<UpdatePortResponse> {
805
+ constructor(data?: PartialMessage<UpdatePortResponse>);
806
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
807
+ static readonly typeName = "gitpod.experimental.v1.UpdatePortResponse";
808
+ static readonly fields: FieldList;
809
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortResponse;
810
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortResponse;
811
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortResponse;
812
+ static equals(a: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined, b: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined): boolean;
813
+ }
695
814
  //# sourceMappingURL=workspaces_pb.d.ts.map