@gitpod/public-api 0.1.5-se-flexible-termination-period.7 → 0.1.5-se-flexible-termination-period.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/lib/gitpod/v1/pagination_pb.d.ts +27 -30
  2. package/lib/gitpod/v1/pagination_pb.d.ts.map +1 -0
  3. package/lib/gitpod/v1/pagination_pb.js +43 -199
  4. package/lib/gitpod/v1/pagination_pb.js.map +1 -0
  5. package/lib/gitpod/v1/pagination_pb.ts +60 -0
  6. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +65 -0
  7. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +1 -0
  8. package/lib/gitpod/v1/prebuilds_connectweb.js +72 -0
  9. package/lib/gitpod/v1/prebuilds_connectweb.js.map +1 -0
  10. package/lib/gitpod/v1/prebuilds_connectweb.ts +71 -0
  11. package/lib/gitpod/v1/prebuilds_pb.d.ts +263 -265
  12. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +1 -0
  13. package/lib/gitpod/v1/prebuilds_pb.js +398 -1960
  14. package/lib/gitpod/v1/prebuilds_pb.js.map +1 -0
  15. package/lib/gitpod/v1/prebuilds_pb.ts +540 -0
  16. package/lib/gitpod/v1/workspaces_connectweb.d.ts +134 -0
  17. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +1 -0
  18. package/lib/gitpod/v1/workspaces_connectweb.js +141 -0
  19. package/lib/gitpod/v1/workspaces_connectweb.js.map +1 -0
  20. package/lib/gitpod/v1/workspaces_connectweb.ts +140 -0
  21. package/lib/gitpod/v1/workspaces_pb.d.ts +819 -804
  22. package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -0
  23. package/lib/gitpod/v1/workspaces_pb.js +1148 -5941
  24. package/lib/gitpod/v1/workspaces_pb.js.map +1 -0
  25. package/lib/gitpod/v1/workspaces_pb.ts +1509 -0
  26. package/package.json +7 -10
  27. package/pkg-yarn.lock +5 -5
  28. package/provenance-bundle.jsonl +2 -2
  29. package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
  30. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  31. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  32. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  33. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
@@ -3,34 +3,31 @@
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
-
7
- // package: gitpod.v1
8
- // file: gitpod/v1/pagination.proto
9
-
10
- /* tslint:disable */
11
- /* eslint-disable */
12
-
13
- import * as jspb from "google-protobuf";
14
-
15
- export class Pagination extends jspb.Message {
16
- getPageSize(): number;
17
- setPageSize(value: number): Pagination;
18
- getPageToken(): string;
19
- setPageToken(value: string): Pagination;
20
-
21
- serializeBinary(): Uint8Array;
22
- toObject(includeInstance?: boolean): Pagination.AsObject;
23
- static toObject(includeInstance: boolean, msg: Pagination): Pagination.AsObject;
24
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
25
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
26
- static serializeBinaryToWriter(message: Pagination, writer: jspb.BinaryWriter): void;
27
- static deserializeBinary(bytes: Uint8Array): Pagination;
28
- static deserializeBinaryFromReader(message: Pagination, reader: jspb.BinaryReader): Pagination;
29
- }
30
-
31
- export namespace Pagination {
32
- export type AsObject = {
33
- pageSize: number,
34
- pageToken: string,
35
- }
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from message gitpod.v1.Pagination
10
+ */
11
+ export declare class Pagination extends Message<Pagination> {
12
+ /**
13
+ * page_size is the maximum number of results we expect
14
+ *
15
+ * @generated from field: int32 page_size = 1;
16
+ */
17
+ pageSize: number;
18
+ /**
19
+ * page_token points to a specific page of the results
20
+ *
21
+ * @generated from field: string page_token = 2;
22
+ */
23
+ pageToken: string;
24
+ constructor(data?: PartialMessage<Pagination>);
25
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
26
+ static readonly typeName = "gitpod.v1.Pagination";
27
+ static readonly fields: FieldList;
28
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
29
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
30
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
31
+ static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
36
32
  }
33
+ //# sourceMappingURL=pagination_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/pagination_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;AAEnD;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,UAAU,CAAC;IACjD;;;;OAIG;IACH,QAAQ,SAAK;IAEb;;;;OAIG;IACH,SAAS,SAAM;gBAEH,IAAI,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC;IAK7C,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,0BAA0B;IAClD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,UAAU;IAItF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIrF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIzF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnI"}
@@ -1,206 +1,50 @@
1
+ "use strict";
1
2
  /**
2
3
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
4
  * Licensed under the GNU Affero General Public License (AGPL).
4
5
  * See License-AGPL.txt in the project root for license information.
5
6
  */
6
-
7
- // source: gitpod/v1/pagination.proto
8
- /**
9
- * @fileoverview
10
- * @enhanceable
11
- * @suppress {missingRequire} reports error on implicit type usages.
12
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
13
- * field starts with 'MSG_' and isn't a translatable message.
14
- * @public
15
- */
16
- // GENERATED CODE -- DO NOT EDIT!
17
- /* eslint-disable */
18
- // @ts-nocheck
19
-
20
- var jspb = require('google-protobuf');
21
- var goog = jspb;
22
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
23
-
24
- goog.exportSymbol('proto.gitpod.v1.Pagination', null, global);
25
- /**
26
- * Generated by JsPbCodeGenerator.
27
- * @param {Array=} opt_data Optional initial data array, typically from a
28
- * server response, or constructed directly in Javascript. The array is used
29
- * in place and becomes part of the constructed object. It is not cloned.
30
- * If no data is provided, the constructed object will be empty, but still
31
- * valid.
32
- * @extends {jspb.Message}
33
- * @constructor
34
- */
35
- proto.gitpod.v1.Pagination = function(opt_data) {
36
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
37
- };
38
- goog.inherits(proto.gitpod.v1.Pagination, jspb.Message);
39
- if (goog.DEBUG && !COMPILED) {
40
- /**
41
- * @public
42
- * @override
43
- */
44
- proto.gitpod.v1.Pagination.displayName = 'proto.gitpod.v1.Pagination';
45
- }
46
-
47
-
48
-
49
- if (jspb.Message.GENERATE_TO_OBJECT) {
50
- /**
51
- * Creates an object representation of this proto.
52
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
- * Optional fields that are not set will be set to undefined.
54
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
- * For the list of reserved names please see:
56
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
- * JSPB instance for transitional soy proto support:
59
- * http://goto/soy-param-migration
60
- * @return {!Object}
61
- */
62
- proto.gitpod.v1.Pagination.prototype.toObject = function(opt_includeInstance) {
63
- return proto.gitpod.v1.Pagination.toObject(opt_includeInstance, this);
64
- };
65
-
66
-
67
- /**
68
- * Static version of the {@see toObject} method.
69
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
- * the JSPB instance for transitional soy proto support:
71
- * http://goto/soy-param-migration
72
- * @param {!proto.gitpod.v1.Pagination} msg The msg instance to transform.
73
- * @return {!Object}
74
- * @suppress {unusedLocalVariables} f is only used for nested messages
75
- */
76
- proto.gitpod.v1.Pagination.toObject = function(includeInstance, msg) {
77
- var f, obj = {
78
- pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0),
79
- pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
80
- };
81
-
82
- if (includeInstance) {
83
- obj.$jspbMessageInstance = msg;
84
- }
85
- return obj;
86
- };
87
- }
88
-
89
-
90
- /**
91
- * Deserializes binary data (in protobuf wire format).
92
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
93
- * @return {!proto.gitpod.v1.Pagination}
94
- */
95
- proto.gitpod.v1.Pagination.deserializeBinary = function(bytes) {
96
- var reader = new jspb.BinaryReader(bytes);
97
- var msg = new proto.gitpod.v1.Pagination;
98
- return proto.gitpod.v1.Pagination.deserializeBinaryFromReader(msg, reader);
99
- };
100
-
101
-
102
- /**
103
- * Deserializes binary data (in protobuf wire format) from the
104
- * given reader into the given message object.
105
- * @param {!proto.gitpod.v1.Pagination} msg The message object to deserialize into.
106
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
107
- * @return {!proto.gitpod.v1.Pagination}
108
- */
109
- proto.gitpod.v1.Pagination.deserializeBinaryFromReader = function(msg, reader) {
110
- while (reader.nextField()) {
111
- if (reader.isEndGroup()) {
112
- break;
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Pagination = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from message gitpod.v1.Pagination
12
+ */
13
+ class Pagination extends protobuf_1.Message {
14
+ constructor(data) {
15
+ super();
16
+ /**
17
+ * page_size is the maximum number of results we expect
18
+ *
19
+ * @generated from field: int32 page_size = 1;
20
+ */
21
+ this.pageSize = 0;
22
+ /**
23
+ * page_token points to a specific page of the results
24
+ *
25
+ * @generated from field: string page_token = 2;
26
+ */
27
+ this.pageToken = "";
28
+ protobuf_1.proto3.util.initPartial(data, this);
113
29
  }
114
- var field = reader.getFieldNumber();
115
- switch (field) {
116
- case 1:
117
- var value = /** @type {number} */ (reader.readInt32());
118
- msg.setPageSize(value);
119
- break;
120
- case 2:
121
- var value = /** @type {string} */ (reader.readString());
122
- msg.setPageToken(value);
123
- break;
124
- default:
125
- reader.skipField();
126
- break;
30
+ static fromBinary(bytes, options) {
31
+ return new Pagination().fromBinary(bytes, options);
127
32
  }
128
- }
129
- return msg;
130
- };
131
-
132
-
133
- /**
134
- * Serializes the message to binary data (in protobuf wire format).
135
- * @return {!Uint8Array}
136
- */
137
- proto.gitpod.v1.Pagination.prototype.serializeBinary = function() {
138
- var writer = new jspb.BinaryWriter();
139
- proto.gitpod.v1.Pagination.serializeBinaryToWriter(this, writer);
140
- return writer.getResultBuffer();
141
- };
142
-
143
-
144
- /**
145
- * Serializes the given message to binary data (in protobuf wire
146
- * format), writing to the given BinaryWriter.
147
- * @param {!proto.gitpod.v1.Pagination} message
148
- * @param {!jspb.BinaryWriter} writer
149
- * @suppress {unusedLocalVariables} f is only used for nested messages
150
- */
151
- proto.gitpod.v1.Pagination.serializeBinaryToWriter = function(message, writer) {
152
- var f = undefined;
153
- f = message.getPageSize();
154
- if (f !== 0) {
155
- writer.writeInt32(
156
- 1,
157
- f
158
- );
159
- }
160
- f = message.getPageToken();
161
- if (f.length > 0) {
162
- writer.writeString(
163
- 2,
164
- f
165
- );
166
- }
167
- };
168
-
169
-
170
- /**
171
- * optional int32 page_size = 1;
172
- * @return {number}
173
- */
174
- proto.gitpod.v1.Pagination.prototype.getPageSize = function() {
175
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
176
- };
177
-
178
-
179
- /**
180
- * @param {number} value
181
- * @return {!proto.gitpod.v1.Pagination} returns this
182
- */
183
- proto.gitpod.v1.Pagination.prototype.setPageSize = function(value) {
184
- return jspb.Message.setProto3IntField(this, 1, value);
185
- };
186
-
187
-
188
- /**
189
- * optional string page_token = 2;
190
- * @return {string}
191
- */
192
- proto.gitpod.v1.Pagination.prototype.getPageToken = function() {
193
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
194
- };
195
-
196
-
197
- /**
198
- * @param {string} value
199
- * @return {!proto.gitpod.v1.Pagination} returns this
200
- */
201
- proto.gitpod.v1.Pagination.prototype.setPageToken = function(value) {
202
- return jspb.Message.setProto3StringField(this, 2, value);
203
- };
204
-
205
-
206
- goog.object.extend(exports, proto.gitpod.v1);
33
+ static fromJson(jsonValue, options) {
34
+ return new Pagination().fromJson(jsonValue, options);
35
+ }
36
+ static fromJsonString(jsonString, options) {
37
+ return new Pagination().fromJsonString(jsonString, options);
38
+ }
39
+ static equals(a, b) {
40
+ return protobuf_1.proto3.util.equals(Pagination, a, b);
41
+ }
42
+ }
43
+ exports.Pagination = Pagination;
44
+ Pagination.runtime = protobuf_1.proto3;
45
+ Pagination.typeName = "gitpod.v1.Pagination";
46
+ Pagination.fields = protobuf_1.proto3.util.newFieldList(() => [
47
+ { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
48
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ ]);
50
+ //# sourceMappingURL=pagination_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.js","sourceRoot":"","sources":["../../../src/gitpod/v1/pagination_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,UAAW,SAAQ,kBAAmB;IAejD,YAAY,IAAiC;QAC3C,KAAK,EAAE,CAAC;QAfV;;;;WAIG;QACH,aAAQ,GAAG,CAAC,CAAC;QAEb;;;;WAIG;QACH,cAAS,GAAG,EAAE,CAAC;QAIb,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,UAAU,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,UAAU,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,UAAU,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAoD,EAAE,CAAoD;QACtH,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;;AAzCH,gCA0CC;AAtBiB,kBAAO,GAAG,iBAAM,CAAC;AACjB,mBAAQ,GAAG,sBAAsB,CAAC;AAClC,iBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,sBAAsB,EAAE;IACzE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;CAC5E,CAAC,CAAC"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+ // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
8
+ // @generated from file gitpod/v1/pagination.proto (package gitpod.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
13
+ import {Message, proto3} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from message gitpod.v1.Pagination
17
+ */
18
+ export class Pagination extends Message<Pagination> {
19
+ /**
20
+ * page_size is the maximum number of results we expect
21
+ *
22
+ * @generated from field: int32 page_size = 1;
23
+ */
24
+ pageSize = 0;
25
+
26
+ /**
27
+ * page_token points to a specific page of the results
28
+ *
29
+ * @generated from field: string page_token = 2;
30
+ */
31
+ pageToken = "";
32
+
33
+ constructor(data?: PartialMessage<Pagination>) {
34
+ super();
35
+ proto3.util.initPartial(data, this);
36
+ }
37
+
38
+ static readonly runtime = proto3;
39
+ static readonly typeName = "gitpod.v1.Pagination";
40
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
41
+ { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
42
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
+ ]);
44
+
45
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination {
46
+ return new Pagination().fromBinary(bytes, options);
47
+ }
48
+
49
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination {
50
+ return new Pagination().fromJson(jsonValue, options);
51
+ }
52
+
53
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination {
54
+ return new Pagination().fromJsonString(jsonString, options);
55
+ }
56
+
57
+ static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean {
58
+ return proto3.util.equals(Pagination, a, b);
59
+ }
60
+ }
@@ -0,0 +1,65 @@
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 { GetPrebuildRequest, GetPrebuildResponse, GetRunningPrebuildRequest, GetRunningPrebuildResponse, ListenToPrebuildLogsRequest, ListenToPrebuildLogsResponse, ListenToPrebuildStatusRequest, ListenToPrebuildStatusResponse } from "./prebuilds_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from service gitpod.v1.PrebuildsService
10
+ */
11
+ export declare const PrebuildsService: {
12
+ readonly typeName: "gitpod.v1.PrebuildsService";
13
+ readonly methods: {
14
+ /**
15
+ * GetPrebuild retrieves a single rebuild.
16
+ * Errors:
17
+ * NOT_FOUND if the prebuild_id does not exist
18
+ *
19
+ * @generated from rpc gitpod.v1.PrebuildsService.GetPrebuild
20
+ */
21
+ readonly getPrebuild: {
22
+ readonly name: "GetPrebuild";
23
+ readonly I: typeof GetPrebuildRequest;
24
+ readonly O: typeof GetPrebuildResponse;
25
+ readonly kind: MethodKind.Unary;
26
+ };
27
+ /**
28
+ * GetRunningPrebuild returns the prebuild ID of a running prebuild,
29
+ * or NOT_FOUND if there is no prebuild running for the content_url.
30
+ *
31
+ * @generated from rpc gitpod.v1.PrebuildsService.GetRunningPrebuild
32
+ */
33
+ readonly getRunningPrebuild: {
34
+ readonly name: "GetRunningPrebuild";
35
+ readonly I: typeof GetRunningPrebuildRequest;
36
+ readonly O: typeof GetRunningPrebuildResponse;
37
+ readonly kind: MethodKind.Unary;
38
+ };
39
+ /**
40
+ * ListenToPrebuildStatus streams status updates for a prebuild. If the prebuild is already
41
+ * in the Done phase, only that single status is streamed.
42
+ *
43
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildStatus
44
+ */
45
+ readonly listenToPrebuildStatus: {
46
+ readonly name: "ListenToPrebuildStatus";
47
+ readonly I: typeof ListenToPrebuildStatusRequest;
48
+ readonly O: typeof ListenToPrebuildStatusResponse;
49
+ readonly kind: MethodKind.ServerStreaming;
50
+ };
51
+ /**
52
+ * ListenToPrebuildLogs returns the log output of a prebuild.
53
+ * This does NOT include an image build if one happened.
54
+ *
55
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildLogs
56
+ */
57
+ readonly listenToPrebuildLogs: {
58
+ readonly name: "ListenToPrebuildLogs";
59
+ readonly I: typeof ListenToPrebuildLogsRequest;
60
+ readonly O: typeof ListenToPrebuildLogsResponse;
61
+ readonly kind: MethodKind.ServerStreaming;
62
+ };
63
+ };
64
+ };
65
+ //# sourceMappingURL=prebuilds_connectweb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prebuilds_connectweb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/prebuilds_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,8BAA8B,EAAC,MAAM,mBAAmB,CAAC;AAC3P,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;QAGzB;;;;;;WAMG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;;WAKG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
@@ -0,0 +1,72 @@
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.PrebuildsService = void 0;
9
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
10
+ // @generated from file gitpod/v1/prebuilds.proto (package gitpod.v1, syntax proto3)
11
+ /* eslint-disable */
12
+ /* @ts-nocheck */
13
+ const prebuilds_pb_js_1 = require("./prebuilds_pb.js");
14
+ const protobuf_1 = require("@bufbuild/protobuf");
15
+ /**
16
+ * @generated from service gitpod.v1.PrebuildsService
17
+ */
18
+ exports.PrebuildsService = {
19
+ typeName: "gitpod.v1.PrebuildsService",
20
+ methods: {
21
+ /**
22
+ * GetPrebuild retrieves a single rebuild.
23
+ * Errors:
24
+ * NOT_FOUND if the prebuild_id does not exist
25
+ *
26
+ * @generated from rpc gitpod.v1.PrebuildsService.GetPrebuild
27
+ */
28
+ getPrebuild: {
29
+ name: "GetPrebuild",
30
+ I: prebuilds_pb_js_1.GetPrebuildRequest,
31
+ O: prebuilds_pb_js_1.GetPrebuildResponse,
32
+ kind: protobuf_1.MethodKind.Unary,
33
+ },
34
+ /**
35
+ * GetRunningPrebuild returns the prebuild ID of a running prebuild,
36
+ * or NOT_FOUND if there is no prebuild running for the content_url.
37
+ *
38
+ * @generated from rpc gitpod.v1.PrebuildsService.GetRunningPrebuild
39
+ */
40
+ getRunningPrebuild: {
41
+ name: "GetRunningPrebuild",
42
+ I: prebuilds_pb_js_1.GetRunningPrebuildRequest,
43
+ O: prebuilds_pb_js_1.GetRunningPrebuildResponse,
44
+ kind: protobuf_1.MethodKind.Unary,
45
+ },
46
+ /**
47
+ * ListenToPrebuildStatus streams status updates for a prebuild. If the prebuild is already
48
+ * in the Done phase, only that single status is streamed.
49
+ *
50
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildStatus
51
+ */
52
+ listenToPrebuildStatus: {
53
+ name: "ListenToPrebuildStatus",
54
+ I: prebuilds_pb_js_1.ListenToPrebuildStatusRequest,
55
+ O: prebuilds_pb_js_1.ListenToPrebuildStatusResponse,
56
+ kind: protobuf_1.MethodKind.ServerStreaming,
57
+ },
58
+ /**
59
+ * ListenToPrebuildLogs returns the log output of a prebuild.
60
+ * This does NOT include an image build if one happened.
61
+ *
62
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildLogs
63
+ */
64
+ listenToPrebuildLogs: {
65
+ name: "ListenToPrebuildLogs",
66
+ I: prebuilds_pb_js_1.ListenToPrebuildLogsRequest,
67
+ O: prebuilds_pb_js_1.ListenToPrebuildLogsResponse,
68
+ kind: protobuf_1.MethodKind.ServerStreaming,
69
+ },
70
+ }
71
+ };
72
+ //# sourceMappingURL=prebuilds_connectweb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prebuilds_connectweb.js","sourceRoot":"","sources":["../../../src/gitpod/v1/prebuilds_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,oFAAoF;AACpF,oBAAoB;AACpB,iBAAiB;AAEjB,uDAA2P;AAC3P,iDAA8C;AAE9C;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,4BAA4B;IACtC,OAAO,EAAE;QACP;;;;;;WAMG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,oCAAkB;YACrB,CAAC,EAAE,qCAAmB;YACtB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,2CAAyB;YAC5B,CAAC,EAAE,4CAA0B;YAC7B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,sBAAsB,EAAE;YACtB,IAAI,EAAE,wBAAwB;YAC9B,CAAC,EAAE,+CAA6B;YAChC,CAAC,EAAE,gDAA8B;YACjC,IAAI,EAAE,qBAAU,CAAC,eAAe;SACjC;QACD;;;;;WAKG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,6CAA2B;YAC9B,CAAC,EAAE,8CAA4B;YAC/B,IAAI,EAAE,qBAAU,CAAC,eAAe;SACjC;KACF;CACO,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
8
+ // @generated from file gitpod/v1/prebuilds.proto (package gitpod.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import {GetPrebuildRequest, GetPrebuildResponse, GetRunningPrebuildRequest, GetRunningPrebuildResponse, ListenToPrebuildLogsRequest, ListenToPrebuildLogsResponse, ListenToPrebuildStatusRequest, ListenToPrebuildStatusResponse} from "./prebuilds_pb.js";
13
+ import {MethodKind} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from service gitpod.v1.PrebuildsService
17
+ */
18
+ export const PrebuildsService = {
19
+ typeName: "gitpod.v1.PrebuildsService",
20
+ methods: {
21
+ /**
22
+ * GetPrebuild retrieves a single rebuild.
23
+ * Errors:
24
+ * NOT_FOUND if the prebuild_id does not exist
25
+ *
26
+ * @generated from rpc gitpod.v1.PrebuildsService.GetPrebuild
27
+ */
28
+ getPrebuild: {
29
+ name: "GetPrebuild",
30
+ I: GetPrebuildRequest,
31
+ O: GetPrebuildResponse,
32
+ kind: MethodKind.Unary,
33
+ },
34
+ /**
35
+ * GetRunningPrebuild returns the prebuild ID of a running prebuild,
36
+ * or NOT_FOUND if there is no prebuild running for the content_url.
37
+ *
38
+ * @generated from rpc gitpod.v1.PrebuildsService.GetRunningPrebuild
39
+ */
40
+ getRunningPrebuild: {
41
+ name: "GetRunningPrebuild",
42
+ I: GetRunningPrebuildRequest,
43
+ O: GetRunningPrebuildResponse,
44
+ kind: MethodKind.Unary,
45
+ },
46
+ /**
47
+ * ListenToPrebuildStatus streams status updates for a prebuild. If the prebuild is already
48
+ * in the Done phase, only that single status is streamed.
49
+ *
50
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildStatus
51
+ */
52
+ listenToPrebuildStatus: {
53
+ name: "ListenToPrebuildStatus",
54
+ I: ListenToPrebuildStatusRequest,
55
+ O: ListenToPrebuildStatusResponse,
56
+ kind: MethodKind.ServerStreaming,
57
+ },
58
+ /**
59
+ * ListenToPrebuildLogs returns the log output of a prebuild.
60
+ * This does NOT include an image build if one happened.
61
+ *
62
+ * @generated from rpc gitpod.v1.PrebuildsService.ListenToPrebuildLogs
63
+ */
64
+ listenToPrebuildLogs: {
65
+ name: "ListenToPrebuildLogs",
66
+ I: ListenToPrebuildLogsRequest,
67
+ O: ListenToPrebuildLogsResponse,
68
+ kind: MethodKind.ServerStreaming,
69
+ },
70
+ }
71
+ } as const;