@gitpod/public-api 0.1.5-mp-public-api-codegen-buf.3 → 0.1.5-mp-dashboard-public-api-connect.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gitpod/v1/pagination_pb.d.ts +36 -23
- package/lib/gitpod/v1/pagination_pb.js +13 -40
- package/lib/gitpod/v1/prebuilds_pb.d.ts +301 -205
- package/lib/gitpod/v1/prebuilds_pb.js +98 -372
- package/lib/gitpod/v1/workspaces_pb.d.ts +880 -633
- package/lib/gitpod/v1/workspaces_pb.js +222 -1002
- package/package.json +12 -5
- package/pkg-yarn.lock +4 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/pagination_pb.js.map +0 -1
- package/lib/gitpod/v1/pagination_pb.ts +0 -60
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.ts +0 -1509
- package/lib/google/rpc/code_pb.d.ts +0 -219
- package/lib/google/rpc/code_pb.d.ts.map +0 -1
- package/lib/google/rpc/code_pb.js +0 -261
- package/lib/google/rpc/code_pb.js.map +0 -1
- package/lib/google/rpc/code_pb.ts +0 -275
- package/lib/google/rpc/error_details_pb.d.ts +0 -478
- package/lib/google/rpc/error_details_pb.d.ts.map +0 -1
- package/lib/google/rpc/error_details_pb.js +0 -694
- package/lib/google/rpc/error_details_pb.js.map +0 -1
- package/lib/google/rpc/error_details_pb.ts +0 -800
- package/lib/google/rpc/status_pb.d.ts +0 -45
- package/lib/google/rpc/status_pb.d.ts.map +0 -1
- package/lib/google/rpc/status_pb.js +0 -76
- package/lib/google/rpc/status_pb.js.map +0 -1
- package/lib/google/rpc/status_pb.ts +0 -87
|
@@ -1,435 +1,161 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
|
4
3
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
5
4
|
* See License-AGPL.txt in the project root for license information.
|
|
6
5
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
|
|
7
|
+
// @generated by protoc-gen-es v0.1.1
|
|
8
|
+
// @generated from file gitpod/v1/prebuilds.proto (package gitpod.v1, syntax proto3)
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
/* @ts-nocheck */
|
|
11
|
+
|
|
12
|
+
import {proto3} from "@bufbuild/protobuf";
|
|
13
|
+
import {WorkspaceContext} from "./workspaces_pb.js";
|
|
14
|
+
|
|
11
15
|
/**
|
|
12
16
|
* @generated from message gitpod.v1.GetPrebuildRequest
|
|
13
17
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @generated from field: string prebuild_id = 1;
|
|
19
|
-
*/
|
|
20
|
-
this.prebuildId = "";
|
|
21
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
22
|
-
}
|
|
23
|
-
static fromBinary(bytes, options) {
|
|
24
|
-
return new GetPrebuildRequest().fromBinary(bytes, options);
|
|
25
|
-
}
|
|
26
|
-
static fromJson(jsonValue, options) {
|
|
27
|
-
return new GetPrebuildRequest().fromJson(jsonValue, options);
|
|
28
|
-
}
|
|
29
|
-
static fromJsonString(jsonString, options) {
|
|
30
|
-
return new GetPrebuildRequest().fromJsonString(jsonString, options);
|
|
31
|
-
}
|
|
32
|
-
static equals(a, b) {
|
|
33
|
-
return protobuf_1.proto3.util.equals(GetPrebuildRequest, a, b);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.GetPrebuildRequest = GetPrebuildRequest;
|
|
37
|
-
GetPrebuildRequest.runtime = protobuf_1.proto3;
|
|
38
|
-
GetPrebuildRequest.typeName = "gitpod.v1.GetPrebuildRequest";
|
|
39
|
-
GetPrebuildRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
18
|
+
export const GetPrebuildRequest = proto3.makeMessageType(
|
|
19
|
+
"gitpod.v1.GetPrebuildRequest",
|
|
20
|
+
() => [
|
|
40
21
|
{ no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
41
|
-
]
|
|
22
|
+
],
|
|
23
|
+
);
|
|
24
|
+
|
|
42
25
|
/**
|
|
43
26
|
* @generated from message gitpod.v1.GetPrebuildResponse
|
|
44
27
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
49
|
-
}
|
|
50
|
-
static fromBinary(bytes, options) {
|
|
51
|
-
return new GetPrebuildResponse().fromBinary(bytes, options);
|
|
52
|
-
}
|
|
53
|
-
static fromJson(jsonValue, options) {
|
|
54
|
-
return new GetPrebuildResponse().fromJson(jsonValue, options);
|
|
55
|
-
}
|
|
56
|
-
static fromJsonString(jsonString, options) {
|
|
57
|
-
return new GetPrebuildResponse().fromJsonString(jsonString, options);
|
|
58
|
-
}
|
|
59
|
-
static equals(a, b) {
|
|
60
|
-
return protobuf_1.proto3.util.equals(GetPrebuildResponse, a, b);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.GetPrebuildResponse = GetPrebuildResponse;
|
|
64
|
-
GetPrebuildResponse.runtime = protobuf_1.proto3;
|
|
65
|
-
GetPrebuildResponse.typeName = "gitpod.v1.GetPrebuildResponse";
|
|
66
|
-
GetPrebuildResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
28
|
+
export const GetPrebuildResponse = proto3.makeMessageType(
|
|
29
|
+
"gitpod.v1.GetPrebuildResponse",
|
|
30
|
+
() => [
|
|
67
31
|
{ no: 1, name: "prebuild", kind: "message", T: Prebuild },
|
|
68
|
-
]
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
69
35
|
/**
|
|
70
36
|
* @generated from message gitpod.v1.GetRunningPrebuildRequest
|
|
71
37
|
*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @generated from field: string context_url = 1;
|
|
77
|
-
*/
|
|
78
|
-
this.contextUrl = "";
|
|
79
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
80
|
-
}
|
|
81
|
-
static fromBinary(bytes, options) {
|
|
82
|
-
return new GetRunningPrebuildRequest().fromBinary(bytes, options);
|
|
83
|
-
}
|
|
84
|
-
static fromJson(jsonValue, options) {
|
|
85
|
-
return new GetRunningPrebuildRequest().fromJson(jsonValue, options);
|
|
86
|
-
}
|
|
87
|
-
static fromJsonString(jsonString, options) {
|
|
88
|
-
return new GetRunningPrebuildRequest().fromJsonString(jsonString, options);
|
|
89
|
-
}
|
|
90
|
-
static equals(a, b) {
|
|
91
|
-
return protobuf_1.proto3.util.equals(GetRunningPrebuildRequest, a, b);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
exports.GetRunningPrebuildRequest = GetRunningPrebuildRequest;
|
|
95
|
-
GetRunningPrebuildRequest.runtime = protobuf_1.proto3;
|
|
96
|
-
GetRunningPrebuildRequest.typeName = "gitpod.v1.GetRunningPrebuildRequest";
|
|
97
|
-
GetRunningPrebuildRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
38
|
+
export const GetRunningPrebuildRequest = proto3.makeMessageType(
|
|
39
|
+
"gitpod.v1.GetRunningPrebuildRequest",
|
|
40
|
+
() => [
|
|
98
41
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
99
|
-
]
|
|
42
|
+
],
|
|
43
|
+
);
|
|
44
|
+
|
|
100
45
|
/**
|
|
101
46
|
* @generated from message gitpod.v1.GetRunningPrebuildResponse
|
|
102
47
|
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
107
|
-
}
|
|
108
|
-
static fromBinary(bytes, options) {
|
|
109
|
-
return new GetRunningPrebuildResponse().fromBinary(bytes, options);
|
|
110
|
-
}
|
|
111
|
-
static fromJson(jsonValue, options) {
|
|
112
|
-
return new GetRunningPrebuildResponse().fromJson(jsonValue, options);
|
|
113
|
-
}
|
|
114
|
-
static fromJsonString(jsonString, options) {
|
|
115
|
-
return new GetRunningPrebuildResponse().fromJsonString(jsonString, options);
|
|
116
|
-
}
|
|
117
|
-
static equals(a, b) {
|
|
118
|
-
return protobuf_1.proto3.util.equals(GetRunningPrebuildResponse, a, b);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
exports.GetRunningPrebuildResponse = GetRunningPrebuildResponse;
|
|
122
|
-
GetRunningPrebuildResponse.runtime = protobuf_1.proto3;
|
|
123
|
-
GetRunningPrebuildResponse.typeName = "gitpod.v1.GetRunningPrebuildResponse";
|
|
124
|
-
GetRunningPrebuildResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
48
|
+
export const GetRunningPrebuildResponse = proto3.makeMessageType(
|
|
49
|
+
"gitpod.v1.GetRunningPrebuildResponse",
|
|
50
|
+
() => [
|
|
125
51
|
{ no: 1, name: "prebuild", kind: "message", T: Prebuild },
|
|
126
|
-
]
|
|
52
|
+
],
|
|
53
|
+
);
|
|
54
|
+
|
|
127
55
|
/**
|
|
128
56
|
* @generated from message gitpod.v1.ListenToPrebuildStatusRequest
|
|
129
57
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @generated from field: string prebuild_id = 1;
|
|
135
|
-
*/
|
|
136
|
-
this.prebuildId = "";
|
|
137
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
138
|
-
}
|
|
139
|
-
static fromBinary(bytes, options) {
|
|
140
|
-
return new ListenToPrebuildStatusRequest().fromBinary(bytes, options);
|
|
141
|
-
}
|
|
142
|
-
static fromJson(jsonValue, options) {
|
|
143
|
-
return new ListenToPrebuildStatusRequest().fromJson(jsonValue, options);
|
|
144
|
-
}
|
|
145
|
-
static fromJsonString(jsonString, options) {
|
|
146
|
-
return new ListenToPrebuildStatusRequest().fromJsonString(jsonString, options);
|
|
147
|
-
}
|
|
148
|
-
static equals(a, b) {
|
|
149
|
-
return protobuf_1.proto3.util.equals(ListenToPrebuildStatusRequest, a, b);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
exports.ListenToPrebuildStatusRequest = ListenToPrebuildStatusRequest;
|
|
153
|
-
ListenToPrebuildStatusRequest.runtime = protobuf_1.proto3;
|
|
154
|
-
ListenToPrebuildStatusRequest.typeName = "gitpod.v1.ListenToPrebuildStatusRequest";
|
|
155
|
-
ListenToPrebuildStatusRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
58
|
+
export const ListenToPrebuildStatusRequest = proto3.makeMessageType(
|
|
59
|
+
"gitpod.v1.ListenToPrebuildStatusRequest",
|
|
60
|
+
() => [
|
|
156
61
|
{ no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
157
|
-
]
|
|
62
|
+
],
|
|
63
|
+
);
|
|
64
|
+
|
|
158
65
|
/**
|
|
159
66
|
* @generated from message gitpod.v1.ListenToPrebuildStatusResponse
|
|
160
67
|
*/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
165
|
-
}
|
|
166
|
-
static fromBinary(bytes, options) {
|
|
167
|
-
return new ListenToPrebuildStatusResponse().fromBinary(bytes, options);
|
|
168
|
-
}
|
|
169
|
-
static fromJson(jsonValue, options) {
|
|
170
|
-
return new ListenToPrebuildStatusResponse().fromJson(jsonValue, options);
|
|
171
|
-
}
|
|
172
|
-
static fromJsonString(jsonString, options) {
|
|
173
|
-
return new ListenToPrebuildStatusResponse().fromJsonString(jsonString, options);
|
|
174
|
-
}
|
|
175
|
-
static equals(a, b) {
|
|
176
|
-
return protobuf_1.proto3.util.equals(ListenToPrebuildStatusResponse, a, b);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
exports.ListenToPrebuildStatusResponse = ListenToPrebuildStatusResponse;
|
|
180
|
-
ListenToPrebuildStatusResponse.runtime = protobuf_1.proto3;
|
|
181
|
-
ListenToPrebuildStatusResponse.typeName = "gitpod.v1.ListenToPrebuildStatusResponse";
|
|
182
|
-
ListenToPrebuildStatusResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
68
|
+
export const ListenToPrebuildStatusResponse = proto3.makeMessageType(
|
|
69
|
+
"gitpod.v1.ListenToPrebuildStatusResponse",
|
|
70
|
+
() => [
|
|
183
71
|
{ no: 1, name: "status", kind: "message", T: PrebuildStatus },
|
|
184
|
-
]
|
|
72
|
+
],
|
|
73
|
+
);
|
|
74
|
+
|
|
185
75
|
/**
|
|
186
76
|
* @generated from message gitpod.v1.ListenToPrebuildLogsRequest
|
|
187
77
|
*/
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* @generated from field: string prebuild_id = 1;
|
|
193
|
-
*/
|
|
194
|
-
this.prebuildId = "";
|
|
195
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
196
|
-
}
|
|
197
|
-
static fromBinary(bytes, options) {
|
|
198
|
-
return new ListenToPrebuildLogsRequest().fromBinary(bytes, options);
|
|
199
|
-
}
|
|
200
|
-
static fromJson(jsonValue, options) {
|
|
201
|
-
return new ListenToPrebuildLogsRequest().fromJson(jsonValue, options);
|
|
202
|
-
}
|
|
203
|
-
static fromJsonString(jsonString, options) {
|
|
204
|
-
return new ListenToPrebuildLogsRequest().fromJsonString(jsonString, options);
|
|
205
|
-
}
|
|
206
|
-
static equals(a, b) {
|
|
207
|
-
return protobuf_1.proto3.util.equals(ListenToPrebuildLogsRequest, a, b);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
exports.ListenToPrebuildLogsRequest = ListenToPrebuildLogsRequest;
|
|
211
|
-
ListenToPrebuildLogsRequest.runtime = protobuf_1.proto3;
|
|
212
|
-
ListenToPrebuildLogsRequest.typeName = "gitpod.v1.ListenToPrebuildLogsRequest";
|
|
213
|
-
ListenToPrebuildLogsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
78
|
+
export const ListenToPrebuildLogsRequest = proto3.makeMessageType(
|
|
79
|
+
"gitpod.v1.ListenToPrebuildLogsRequest",
|
|
80
|
+
() => [
|
|
214
81
|
{ no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
-
]
|
|
82
|
+
],
|
|
83
|
+
);
|
|
84
|
+
|
|
216
85
|
/**
|
|
217
86
|
* @generated from message gitpod.v1.ListenToPrebuildLogsResponse
|
|
218
87
|
*/
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @generated from field: string line = 1;
|
|
224
|
-
*/
|
|
225
|
-
this.line = "";
|
|
226
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
227
|
-
}
|
|
228
|
-
static fromBinary(bytes, options) {
|
|
229
|
-
return new ListenToPrebuildLogsResponse().fromBinary(bytes, options);
|
|
230
|
-
}
|
|
231
|
-
static fromJson(jsonValue, options) {
|
|
232
|
-
return new ListenToPrebuildLogsResponse().fromJson(jsonValue, options);
|
|
233
|
-
}
|
|
234
|
-
static fromJsonString(jsonString, options) {
|
|
235
|
-
return new ListenToPrebuildLogsResponse().fromJsonString(jsonString, options);
|
|
236
|
-
}
|
|
237
|
-
static equals(a, b) {
|
|
238
|
-
return protobuf_1.proto3.util.equals(ListenToPrebuildLogsResponse, a, b);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
exports.ListenToPrebuildLogsResponse = ListenToPrebuildLogsResponse;
|
|
242
|
-
ListenToPrebuildLogsResponse.runtime = protobuf_1.proto3;
|
|
243
|
-
ListenToPrebuildLogsResponse.typeName = "gitpod.v1.ListenToPrebuildLogsResponse";
|
|
244
|
-
ListenToPrebuildLogsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
88
|
+
export const ListenToPrebuildLogsResponse = proto3.makeMessageType(
|
|
89
|
+
"gitpod.v1.ListenToPrebuildLogsResponse",
|
|
90
|
+
() => [
|
|
245
91
|
{ no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
246
|
-
]
|
|
92
|
+
],
|
|
93
|
+
);
|
|
94
|
+
|
|
247
95
|
/**
|
|
248
96
|
* Prebuild describes a prebuild
|
|
249
97
|
*
|
|
250
98
|
* @generated from message gitpod.v1.Prebuild
|
|
251
99
|
*/
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* @generated from field: string prebuild_id = 1;
|
|
257
|
-
*/
|
|
258
|
-
this.prebuildId = "";
|
|
259
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
260
|
-
}
|
|
261
|
-
static fromBinary(bytes, options) {
|
|
262
|
-
return new Prebuild().fromBinary(bytes, options);
|
|
263
|
-
}
|
|
264
|
-
static fromJson(jsonValue, options) {
|
|
265
|
-
return new Prebuild().fromJson(jsonValue, options);
|
|
266
|
-
}
|
|
267
|
-
static fromJsonString(jsonString, options) {
|
|
268
|
-
return new Prebuild().fromJsonString(jsonString, options);
|
|
269
|
-
}
|
|
270
|
-
static equals(a, b) {
|
|
271
|
-
return protobuf_1.proto3.util.equals(Prebuild, a, b);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
exports.Prebuild = Prebuild;
|
|
275
|
-
Prebuild.runtime = protobuf_1.proto3;
|
|
276
|
-
Prebuild.typeName = "gitpod.v1.Prebuild";
|
|
277
|
-
Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
100
|
+
export const Prebuild = proto3.makeMessageType(
|
|
101
|
+
"gitpod.v1.Prebuild",
|
|
102
|
+
() => [
|
|
278
103
|
{ no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
279
104
|
{ no: 2, name: "spec", kind: "message", T: PrebuildSpec },
|
|
280
105
|
{ no: 3, name: "status", kind: "message", T: PrebuildStatus },
|
|
281
|
-
]
|
|
106
|
+
],
|
|
107
|
+
);
|
|
108
|
+
|
|
282
109
|
/**
|
|
283
110
|
* PrebuildSpec specifies the prebuild input.
|
|
284
111
|
*
|
|
285
112
|
* @generated from message gitpod.v1.PrebuildSpec
|
|
286
113
|
*/
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
* Incremental prebuilds are based on other prebuilds. If this field is true,
|
|
292
|
-
* expect the context detail to point to another prebuild.
|
|
293
|
-
*
|
|
294
|
-
* @generated from field: bool incremental = 2;
|
|
295
|
-
*/
|
|
296
|
-
this.incremental = false;
|
|
297
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
298
|
-
}
|
|
299
|
-
static fromBinary(bytes, options) {
|
|
300
|
-
return new PrebuildSpec().fromBinary(bytes, options);
|
|
301
|
-
}
|
|
302
|
-
static fromJson(jsonValue, options) {
|
|
303
|
-
return new PrebuildSpec().fromJson(jsonValue, options);
|
|
304
|
-
}
|
|
305
|
-
static fromJsonString(jsonString, options) {
|
|
306
|
-
return new PrebuildSpec().fromJsonString(jsonString, options);
|
|
307
|
-
}
|
|
308
|
-
static equals(a, b) {
|
|
309
|
-
return protobuf_1.proto3.util.equals(PrebuildSpec, a, b);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
exports.PrebuildSpec = PrebuildSpec;
|
|
313
|
-
PrebuildSpec.runtime = protobuf_1.proto3;
|
|
314
|
-
PrebuildSpec.typeName = "gitpod.v1.PrebuildSpec";
|
|
315
|
-
PrebuildSpec.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
316
|
-
{ no: 1, name: "context", kind: "message", T: workspaces_pb_js_1.WorkspaceContext },
|
|
114
|
+
export const PrebuildSpec = proto3.makeMessageType(
|
|
115
|
+
"gitpod.v1.PrebuildSpec",
|
|
116
|
+
() => [
|
|
117
|
+
{ no: 1, name: "context", kind: "message", T: WorkspaceContext },
|
|
317
118
|
{ no: 2, name: "incremental", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
318
|
-
]
|
|
119
|
+
],
|
|
120
|
+
);
|
|
121
|
+
|
|
319
122
|
/**
|
|
320
123
|
* PrebuildStatus describes the prebuild status.
|
|
321
124
|
*
|
|
322
125
|
* @generated from message gitpod.v1.PrebuildStatus
|
|
323
126
|
*/
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
*
|
|
330
|
-
* @generated from field: gitpod.v1.PrebuildStatus.Phase phase = 1;
|
|
331
|
-
*/
|
|
332
|
-
this.phase = PrebuildStatus_Phase.UNSPECIFIED;
|
|
333
|
-
/**
|
|
334
|
-
* Result indicates what result the prebuild produced, i.e. if it ran
|
|
335
|
-
* successfully or failed for some reason. If phase != done, this field
|
|
336
|
-
* will have RESULT_UNSPECIFIED as value.
|
|
337
|
-
*
|
|
338
|
-
* @generated from field: gitpod.v1.PrebuildStatus.Result result = 2;
|
|
339
|
-
*/
|
|
340
|
-
this.result = PrebuildStatus_Result.UNSPECIFIED;
|
|
341
|
-
/**
|
|
342
|
-
* result_message contains a human readable message describing the prebuild
|
|
343
|
-
* result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
|
|
344
|
-
* that failure was.
|
|
345
|
-
*
|
|
346
|
-
* @generated from field: string result_message = 3;
|
|
347
|
-
*/
|
|
348
|
-
this.resultMessage = "";
|
|
349
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
350
|
-
}
|
|
351
|
-
static fromBinary(bytes, options) {
|
|
352
|
-
return new PrebuildStatus().fromBinary(bytes, options);
|
|
353
|
-
}
|
|
354
|
-
static fromJson(jsonValue, options) {
|
|
355
|
-
return new PrebuildStatus().fromJson(jsonValue, options);
|
|
356
|
-
}
|
|
357
|
-
static fromJsonString(jsonString, options) {
|
|
358
|
-
return new PrebuildStatus().fromJsonString(jsonString, options);
|
|
359
|
-
}
|
|
360
|
-
static equals(a, b) {
|
|
361
|
-
return protobuf_1.proto3.util.equals(PrebuildStatus, a, b);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
exports.PrebuildStatus = PrebuildStatus;
|
|
365
|
-
PrebuildStatus.runtime = protobuf_1.proto3;
|
|
366
|
-
PrebuildStatus.typeName = "gitpod.v1.PrebuildStatus";
|
|
367
|
-
PrebuildStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
368
|
-
{ no: 1, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(PrebuildStatus_Phase) },
|
|
369
|
-
{ no: 2, name: "result", kind: "enum", T: protobuf_1.proto3.getEnumType(PrebuildStatus_Result) },
|
|
127
|
+
export const PrebuildStatus = proto3.makeMessageType(
|
|
128
|
+
"gitpod.v1.PrebuildStatus",
|
|
129
|
+
() => [
|
|
130
|
+
{ no: 1, name: "phase", kind: "enum", T: proto3.getEnumType(PrebuildStatus_Phase) },
|
|
131
|
+
{ no: 2, name: "result", kind: "enum", T: proto3.getEnumType(PrebuildStatus_Result) },
|
|
370
132
|
{ no: 3, name: "result_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
371
|
-
]
|
|
133
|
+
],
|
|
134
|
+
);
|
|
135
|
+
|
|
372
136
|
/**
|
|
373
137
|
* @generated from enum gitpod.v1.PrebuildStatus.Phase
|
|
374
138
|
*/
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* @generated from enum value: PHASE_RUNNING = 2;
|
|
387
|
-
*/
|
|
388
|
-
PrebuildStatus_Phase[PrebuildStatus_Phase["RUNNING"] = 2] = "RUNNING";
|
|
389
|
-
/**
|
|
390
|
-
* @generated from enum value: PHASE_DONE = 3;
|
|
391
|
-
*/
|
|
392
|
-
PrebuildStatus_Phase[PrebuildStatus_Phase["DONE"] = 3] = "DONE";
|
|
393
|
-
})(PrebuildStatus_Phase = exports.PrebuildStatus_Phase || (exports.PrebuildStatus_Phase = {}));
|
|
394
|
-
// Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Phase)
|
|
395
|
-
protobuf_1.proto3.util.setEnumType(PrebuildStatus_Phase, "gitpod.v1.PrebuildStatus.Phase", [
|
|
396
|
-
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
|
397
|
-
{ no: 1, name: "PHASE_PENDING" },
|
|
398
|
-
{ no: 2, name: "PHASE_RUNNING" },
|
|
399
|
-
{ no: 3, name: "PHASE_DONE" },
|
|
400
|
-
]);
|
|
139
|
+
export const PrebuildStatus_Phase = proto3.makeEnum(
|
|
140
|
+
"gitpod.v1.PrebuildStatus.Phase",
|
|
141
|
+
[
|
|
142
|
+
{no: 0, name: "PHASE_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
143
|
+
{no: 1, name: "PHASE_PENDING", localName: "PENDING"},
|
|
144
|
+
{no: 2, name: "PHASE_RUNNING", localName: "RUNNING"},
|
|
145
|
+
{no: 3, name: "PHASE_DONE", localName: "DONE"},
|
|
146
|
+
],
|
|
147
|
+
);
|
|
148
|
+
|
|
401
149
|
/**
|
|
402
150
|
* @generated from enum gitpod.v1.PrebuildStatus.Result
|
|
403
151
|
*/
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* @generated from enum value: RESULT_USER_CANCELED = 2;
|
|
416
|
-
*/
|
|
417
|
-
PrebuildStatus_Result[PrebuildStatus_Result["USER_CANCELED"] = 2] = "USER_CANCELED";
|
|
418
|
-
/**
|
|
419
|
-
* @generated from enum value: RESULT_SYSTEM_FAILURE = 3;
|
|
420
|
-
*/
|
|
421
|
-
PrebuildStatus_Result[PrebuildStatus_Result["SYSTEM_FAILURE"] = 3] = "SYSTEM_FAILURE";
|
|
422
|
-
/**
|
|
423
|
-
* @generated from enum value: RESULT_TASK_FAILURE = 4;
|
|
424
|
-
*/
|
|
425
|
-
PrebuildStatus_Result[PrebuildStatus_Result["TASK_FAILURE"] = 4] = "TASK_FAILURE";
|
|
426
|
-
})(PrebuildStatus_Result = exports.PrebuildStatus_Result || (exports.PrebuildStatus_Result = {}));
|
|
427
|
-
// Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Result)
|
|
428
|
-
protobuf_1.proto3.util.setEnumType(PrebuildStatus_Result, "gitpod.v1.PrebuildStatus.Result", [
|
|
429
|
-
{ no: 0, name: "RESULT_UNSPECIFIED" },
|
|
430
|
-
{ no: 1, name: "RESULT_SUCCESS" },
|
|
431
|
-
{ no: 2, name: "RESULT_USER_CANCELED" },
|
|
432
|
-
{ no: 3, name: "RESULT_SYSTEM_FAILURE" },
|
|
433
|
-
{ no: 4, name: "RESULT_TASK_FAILURE" },
|
|
434
|
-
]);
|
|
435
|
-
//# sourceMappingURL=prebuilds_pb.js.map
|
|
152
|
+
export const PrebuildStatus_Result = proto3.makeEnum(
|
|
153
|
+
"gitpod.v1.PrebuildStatus.Result",
|
|
154
|
+
[
|
|
155
|
+
{no: 0, name: "RESULT_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
156
|
+
{no: 1, name: "RESULT_SUCCESS", localName: "SUCCESS"},
|
|
157
|
+
{no: 2, name: "RESULT_USER_CANCELED", localName: "USER_CANCELED"},
|
|
158
|
+
{no: 3, name: "RESULT_SYSTEM_FAILURE", localName: "SYSTEM_FAILURE"},
|
|
159
|
+
{no: 4, name: "RESULT_TASK_FAILURE", localName: "TASK_FAILURE"},
|
|
160
|
+
],
|
|
161
|
+
);
|