@gitpod/public-api 0.1.5-mp-server-ws-probe-remove.1 → 0.1.5-mp-dashboard-public-api-connect.7

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.
@@ -4,280 +4,374 @@
4
4
  * See License-AGPL.txt in the project root for license information.
5
5
  */
6
6
 
7
- // package: gitpod.v1
8
- // file: gitpod/v1/prebuilds.proto
9
-
10
- /* tslint:disable */
7
+ // @generated by protoc-gen-es v0.1.1
8
+ // @generated from file gitpod/v1/prebuilds.proto (package gitpod.v1, syntax proto3)
11
9
  /* eslint-disable */
10
+ /* @ts-nocheck */
12
11
 
13
- import * as jspb from "google-protobuf";
14
- import * as gitpod_v1_workspaces_pb from "../../gitpod/v1/workspaces_pb";
15
-
16
- export class GetPrebuildRequest extends jspb.Message {
17
- getPrebuildId(): string;
18
- setPrebuildId(value: string): GetPrebuildRequest;
19
-
20
- serializeBinary(): Uint8Array;
21
- toObject(includeInstance?: boolean): GetPrebuildRequest.AsObject;
22
- static toObject(includeInstance: boolean, msg: GetPrebuildRequest): GetPrebuildRequest.AsObject;
23
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
24
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
25
- static serializeBinaryToWriter(message: GetPrebuildRequest, writer: jspb.BinaryWriter): void;
26
- static deserializeBinary(bytes: Uint8Array): GetPrebuildRequest;
27
- static deserializeBinaryFromReader(message: GetPrebuildRequest, reader: jspb.BinaryReader): GetPrebuildRequest;
28
- }
12
+ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
13
+ import {Message, proto3} from "@bufbuild/protobuf";
14
+ import type {WorkspaceContext} from "./workspaces_pb.js";
29
15
 
30
- export namespace GetPrebuildRequest {
31
- export type AsObject = {
32
- prebuildId: string,
33
- }
34
- }
16
+ /**
17
+ * @generated from message gitpod.v1.GetPrebuildRequest
18
+ */
19
+ export declare class GetPrebuildRequest extends Message<GetPrebuildRequest> {
20
+ /**
21
+ * @generated from field: string prebuild_id = 1;
22
+ */
23
+ prebuildId: string;
35
24
 
36
- export class GetPrebuildResponse extends jspb.Message {
37
-
38
- hasPrebuild(): boolean;
39
- clearPrebuild(): void;
40
- getPrebuild(): Prebuild | undefined;
41
- setPrebuild(value?: Prebuild): GetPrebuildResponse;
42
-
43
- serializeBinary(): Uint8Array;
44
- toObject(includeInstance?: boolean): GetPrebuildResponse.AsObject;
45
- static toObject(includeInstance: boolean, msg: GetPrebuildResponse): GetPrebuildResponse.AsObject;
46
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
47
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
48
- static serializeBinaryToWriter(message: GetPrebuildResponse, writer: jspb.BinaryWriter): void;
49
- static deserializeBinary(bytes: Uint8Array): GetPrebuildResponse;
50
- static deserializeBinaryFromReader(message: GetPrebuildResponse, reader: jspb.BinaryReader): GetPrebuildResponse;
51
- }
25
+ constructor(data?: PartialMessage<GetPrebuildRequest>);
52
26
 
53
- export namespace GetPrebuildResponse {
54
- export type AsObject = {
55
- prebuild?: Prebuild.AsObject,
56
- }
57
- }
27
+ static readonly runtime: typeof proto3;
28
+ static readonly typeName = "gitpod.v1.GetPrebuildRequest";
29
+ static readonly fields: FieldList;
58
30
 
59
- export class GetRunningPrebuildRequest extends jspb.Message {
60
- getContextUrl(): string;
61
- setContextUrl(value: string): GetRunningPrebuildRequest;
62
-
63
- serializeBinary(): Uint8Array;
64
- toObject(includeInstance?: boolean): GetRunningPrebuildRequest.AsObject;
65
- static toObject(includeInstance: boolean, msg: GetRunningPrebuildRequest): GetRunningPrebuildRequest.AsObject;
66
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
67
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
68
- static serializeBinaryToWriter(message: GetRunningPrebuildRequest, writer: jspb.BinaryWriter): void;
69
- static deserializeBinary(bytes: Uint8Array): GetRunningPrebuildRequest;
70
- static deserializeBinaryFromReader(message: GetRunningPrebuildRequest, reader: jspb.BinaryReader): GetRunningPrebuildRequest;
71
- }
31
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildRequest;
72
32
 
73
- export namespace GetRunningPrebuildRequest {
74
- export type AsObject = {
75
- contextUrl: string,
76
- }
77
- }
33
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildRequest;
78
34
 
79
- export class GetRunningPrebuildResponse extends jspb.Message {
80
-
81
- hasPrebuild(): boolean;
82
- clearPrebuild(): void;
83
- getPrebuild(): Prebuild | undefined;
84
- setPrebuild(value?: Prebuild): GetRunningPrebuildResponse;
85
-
86
- serializeBinary(): Uint8Array;
87
- toObject(includeInstance?: boolean): GetRunningPrebuildResponse.AsObject;
88
- static toObject(includeInstance: boolean, msg: GetRunningPrebuildResponse): GetRunningPrebuildResponse.AsObject;
89
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
90
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
91
- static serializeBinaryToWriter(message: GetRunningPrebuildResponse, writer: jspb.BinaryWriter): void;
92
- static deserializeBinary(bytes: Uint8Array): GetRunningPrebuildResponse;
93
- static deserializeBinaryFromReader(message: GetRunningPrebuildResponse, reader: jspb.BinaryReader): GetRunningPrebuildResponse;
94
- }
35
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildRequest;
95
36
 
96
- export namespace GetRunningPrebuildResponse {
97
- export type AsObject = {
98
- prebuild?: Prebuild.AsObject,
99
- }
37
+ static equals(a: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined, b: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined): boolean;
100
38
  }
101
39
 
102
- export class ListenToPrebuildStatusRequest extends jspb.Message {
103
- getPrebuildId(): string;
104
- setPrebuildId(value: string): ListenToPrebuildStatusRequest;
105
-
106
- serializeBinary(): Uint8Array;
107
- toObject(includeInstance?: boolean): ListenToPrebuildStatusRequest.AsObject;
108
- static toObject(includeInstance: boolean, msg: ListenToPrebuildStatusRequest): ListenToPrebuildStatusRequest.AsObject;
109
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
110
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
111
- static serializeBinaryToWriter(message: ListenToPrebuildStatusRequest, writer: jspb.BinaryWriter): void;
112
- static deserializeBinary(bytes: Uint8Array): ListenToPrebuildStatusRequest;
113
- static deserializeBinaryFromReader(message: ListenToPrebuildStatusRequest, reader: jspb.BinaryReader): ListenToPrebuildStatusRequest;
114
- }
40
+ /**
41
+ * @generated from message gitpod.v1.GetPrebuildResponse
42
+ */
43
+ export declare class GetPrebuildResponse extends Message<GetPrebuildResponse> {
44
+ /**
45
+ * @generated from field: gitpod.v1.Prebuild prebuild = 1;
46
+ */
47
+ prebuild?: Prebuild;
115
48
 
116
- export namespace ListenToPrebuildStatusRequest {
117
- export type AsObject = {
118
- prebuildId: string,
119
- }
120
- }
49
+ constructor(data?: PartialMessage<GetPrebuildResponse>);
121
50
 
122
- export class ListenToPrebuildStatusResponse extends jspb.Message {
123
-
124
- hasStatus(): boolean;
125
- clearStatus(): void;
126
- getStatus(): PrebuildStatus | undefined;
127
- setStatus(value?: PrebuildStatus): ListenToPrebuildStatusResponse;
128
-
129
- serializeBinary(): Uint8Array;
130
- toObject(includeInstance?: boolean): ListenToPrebuildStatusResponse.AsObject;
131
- static toObject(includeInstance: boolean, msg: ListenToPrebuildStatusResponse): ListenToPrebuildStatusResponse.AsObject;
132
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
133
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
134
- static serializeBinaryToWriter(message: ListenToPrebuildStatusResponse, writer: jspb.BinaryWriter): void;
135
- static deserializeBinary(bytes: Uint8Array): ListenToPrebuildStatusResponse;
136
- static deserializeBinaryFromReader(message: ListenToPrebuildStatusResponse, reader: jspb.BinaryReader): ListenToPrebuildStatusResponse;
137
- }
51
+ static readonly runtime: typeof proto3;
52
+ static readonly typeName = "gitpod.v1.GetPrebuildResponse";
53
+ static readonly fields: FieldList;
54
+
55
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildResponse;
56
+
57
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildResponse;
58
+
59
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildResponse;
138
60
 
139
- export namespace ListenToPrebuildStatusResponse {
140
- export type AsObject = {
141
- status?: PrebuildStatus.AsObject,
142
- }
61
+ static equals(a: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined, b: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined): boolean;
143
62
  }
144
63
 
145
- export class ListenToPrebuildLogsRequest extends jspb.Message {
146
- getPrebuildId(): string;
147
- setPrebuildId(value: string): ListenToPrebuildLogsRequest;
148
-
149
- serializeBinary(): Uint8Array;
150
- toObject(includeInstance?: boolean): ListenToPrebuildLogsRequest.AsObject;
151
- static toObject(includeInstance: boolean, msg: ListenToPrebuildLogsRequest): ListenToPrebuildLogsRequest.AsObject;
152
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
153
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
154
- static serializeBinaryToWriter(message: ListenToPrebuildLogsRequest, writer: jspb.BinaryWriter): void;
155
- static deserializeBinary(bytes: Uint8Array): ListenToPrebuildLogsRequest;
156
- static deserializeBinaryFromReader(message: ListenToPrebuildLogsRequest, reader: jspb.BinaryReader): ListenToPrebuildLogsRequest;
64
+ /**
65
+ * @generated from message gitpod.v1.GetRunningPrebuildRequest
66
+ */
67
+ export declare class GetRunningPrebuildRequest extends Message<GetRunningPrebuildRequest> {
68
+ /**
69
+ * @generated from field: string context_url = 1;
70
+ */
71
+ contextUrl: string;
72
+
73
+ constructor(data?: PartialMessage<GetRunningPrebuildRequest>);
74
+
75
+ static readonly runtime: typeof proto3;
76
+ static readonly typeName = "gitpod.v1.GetRunningPrebuildRequest";
77
+ static readonly fields: FieldList;
78
+
79
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildRequest;
80
+
81
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest;
82
+
83
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest;
84
+
85
+ static equals(a: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined, b: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined): boolean;
157
86
  }
158
87
 
159
- export namespace ListenToPrebuildLogsRequest {
160
- export type AsObject = {
161
- prebuildId: string,
162
- }
88
+ /**
89
+ * @generated from message gitpod.v1.GetRunningPrebuildResponse
90
+ */
91
+ export declare class GetRunningPrebuildResponse extends Message<GetRunningPrebuildResponse> {
92
+ /**
93
+ * @generated from field: gitpod.v1.Prebuild prebuild = 1;
94
+ */
95
+ prebuild?: Prebuild;
96
+
97
+ constructor(data?: PartialMessage<GetRunningPrebuildResponse>);
98
+
99
+ static readonly runtime: typeof proto3;
100
+ static readonly typeName = "gitpod.v1.GetRunningPrebuildResponse";
101
+ static readonly fields: FieldList;
102
+
103
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildResponse;
104
+
105
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse;
106
+
107
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse;
108
+
109
+ static equals(a: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined, b: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined): boolean;
163
110
  }
164
111
 
165
- export class ListenToPrebuildLogsResponse extends jspb.Message {
166
- getLine(): string;
167
- setLine(value: string): ListenToPrebuildLogsResponse;
168
-
169
- serializeBinary(): Uint8Array;
170
- toObject(includeInstance?: boolean): ListenToPrebuildLogsResponse.AsObject;
171
- static toObject(includeInstance: boolean, msg: ListenToPrebuildLogsResponse): ListenToPrebuildLogsResponse.AsObject;
172
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
173
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
174
- static serializeBinaryToWriter(message: ListenToPrebuildLogsResponse, writer: jspb.BinaryWriter): void;
175
- static deserializeBinary(bytes: Uint8Array): ListenToPrebuildLogsResponse;
176
- static deserializeBinaryFromReader(message: ListenToPrebuildLogsResponse, reader: jspb.BinaryReader): ListenToPrebuildLogsResponse;
112
+ /**
113
+ * @generated from message gitpod.v1.ListenToPrebuildStatusRequest
114
+ */
115
+ export declare class ListenToPrebuildStatusRequest extends Message<ListenToPrebuildStatusRequest> {
116
+ /**
117
+ * @generated from field: string prebuild_id = 1;
118
+ */
119
+ prebuildId: string;
120
+
121
+ constructor(data?: PartialMessage<ListenToPrebuildStatusRequest>);
122
+
123
+ static readonly runtime: typeof proto3;
124
+ static readonly typeName = "gitpod.v1.ListenToPrebuildStatusRequest";
125
+ static readonly fields: FieldList;
126
+
127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusRequest;
128
+
129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest;
130
+
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest;
132
+
133
+ static equals(a: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined, b: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined): boolean;
177
134
  }
178
135
 
179
- export namespace ListenToPrebuildLogsResponse {
180
- export type AsObject = {
181
- line: string,
182
- }
136
+ /**
137
+ * @generated from message gitpod.v1.ListenToPrebuildStatusResponse
138
+ */
139
+ export declare class ListenToPrebuildStatusResponse extends Message<ListenToPrebuildStatusResponse> {
140
+ /**
141
+ * @generated from field: gitpod.v1.PrebuildStatus status = 1;
142
+ */
143
+ status?: PrebuildStatus;
144
+
145
+ constructor(data?: PartialMessage<ListenToPrebuildStatusResponse>);
146
+
147
+ static readonly runtime: typeof proto3;
148
+ static readonly typeName = "gitpod.v1.ListenToPrebuildStatusResponse";
149
+ static readonly fields: FieldList;
150
+
151
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusResponse;
152
+
153
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse;
154
+
155
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse;
156
+
157
+ static equals(a: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined, b: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined): boolean;
183
158
  }
184
159
 
185
- export class Prebuild extends jspb.Message {
186
- getPrebuildId(): string;
187
- setPrebuildId(value: string): Prebuild;
188
-
189
- hasSpec(): boolean;
190
- clearSpec(): void;
191
- getSpec(): PrebuildSpec | undefined;
192
- setSpec(value?: PrebuildSpec): Prebuild;
193
-
194
- hasStatus(): boolean;
195
- clearStatus(): void;
196
- getStatus(): PrebuildStatus | undefined;
197
- setStatus(value?: PrebuildStatus): Prebuild;
198
-
199
- serializeBinary(): Uint8Array;
200
- toObject(includeInstance?: boolean): Prebuild.AsObject;
201
- static toObject(includeInstance: boolean, msg: Prebuild): Prebuild.AsObject;
202
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
203
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
204
- static serializeBinaryToWriter(message: Prebuild, writer: jspb.BinaryWriter): void;
205
- static deserializeBinary(bytes: Uint8Array): Prebuild;
206
- static deserializeBinaryFromReader(message: Prebuild, reader: jspb.BinaryReader): Prebuild;
160
+ /**
161
+ * @generated from message gitpod.v1.ListenToPrebuildLogsRequest
162
+ */
163
+ export declare class ListenToPrebuildLogsRequest extends Message<ListenToPrebuildLogsRequest> {
164
+ /**
165
+ * @generated from field: string prebuild_id = 1;
166
+ */
167
+ prebuildId: string;
168
+
169
+ constructor(data?: PartialMessage<ListenToPrebuildLogsRequest>);
170
+
171
+ static readonly runtime: typeof proto3;
172
+ static readonly typeName = "gitpod.v1.ListenToPrebuildLogsRequest";
173
+ static readonly fields: FieldList;
174
+
175
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsRequest;
176
+
177
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest;
178
+
179
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest;
180
+
181
+ static equals(a: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined, b: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined): boolean;
207
182
  }
208
183
 
209
- export namespace Prebuild {
210
- export type AsObject = {
211
- prebuildId: string,
212
- spec?: PrebuildSpec.AsObject,
213
- status?: PrebuildStatus.AsObject,
214
- }
184
+ /**
185
+ * @generated from message gitpod.v1.ListenToPrebuildLogsResponse
186
+ */
187
+ export declare class ListenToPrebuildLogsResponse extends Message<ListenToPrebuildLogsResponse> {
188
+ /**
189
+ * @generated from field: string line = 1;
190
+ */
191
+ line: string;
192
+
193
+ constructor(data?: PartialMessage<ListenToPrebuildLogsResponse>);
194
+
195
+ static readonly runtime: typeof proto3;
196
+ static readonly typeName = "gitpod.v1.ListenToPrebuildLogsResponse";
197
+ static readonly fields: FieldList;
198
+
199
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsResponse;
200
+
201
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse;
202
+
203
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse;
204
+
205
+ static equals(a: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined, b: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined): boolean;
215
206
  }
216
207
 
217
- export class PrebuildSpec extends jspb.Message {
218
-
219
- hasContext(): boolean;
220
- clearContext(): void;
221
- getContext(): gitpod_v1_workspaces_pb.WorkspaceContext | undefined;
222
- setContext(value?: gitpod_v1_workspaces_pb.WorkspaceContext): PrebuildSpec;
223
- getIncremental(): boolean;
224
- setIncremental(value: boolean): PrebuildSpec;
225
-
226
- serializeBinary(): Uint8Array;
227
- toObject(includeInstance?: boolean): PrebuildSpec.AsObject;
228
- static toObject(includeInstance: boolean, msg: PrebuildSpec): PrebuildSpec.AsObject;
229
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
230
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
231
- static serializeBinaryToWriter(message: PrebuildSpec, writer: jspb.BinaryWriter): void;
232
- static deserializeBinary(bytes: Uint8Array): PrebuildSpec;
233
- static deserializeBinaryFromReader(message: PrebuildSpec, reader: jspb.BinaryReader): PrebuildSpec;
208
+ /**
209
+ * Prebuild describes a prebuild
210
+ *
211
+ * @generated from message gitpod.v1.Prebuild
212
+ */
213
+ export declare class Prebuild extends Message<Prebuild> {
214
+ /**
215
+ * @generated from field: string prebuild_id = 1;
216
+ */
217
+ prebuildId: string;
218
+
219
+ /**
220
+ * @generated from field: gitpod.v1.PrebuildSpec spec = 2;
221
+ */
222
+ spec?: PrebuildSpec;
223
+
224
+ /**
225
+ * @generated from field: gitpod.v1.PrebuildStatus status = 3;
226
+ */
227
+ status?: PrebuildStatus;
228
+
229
+ constructor(data?: PartialMessage<Prebuild>);
230
+
231
+ static readonly runtime: typeof proto3;
232
+ static readonly typeName = "gitpod.v1.Prebuild";
233
+ static readonly fields: FieldList;
234
+
235
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Prebuild;
236
+
237
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Prebuild;
238
+
239
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Prebuild;
240
+
241
+ static equals(a: Prebuild | PlainMessage<Prebuild> | undefined, b: Prebuild | PlainMessage<Prebuild> | undefined): boolean;
234
242
  }
235
243
 
236
- export namespace PrebuildSpec {
237
- export type AsObject = {
238
- context?: gitpod_v1_workspaces_pb.WorkspaceContext.AsObject,
239
- incremental: boolean,
240
- }
244
+ /**
245
+ * PrebuildSpec specifies the prebuild input.
246
+ *
247
+ * @generated from message gitpod.v1.PrebuildSpec
248
+ */
249
+ export declare class PrebuildSpec extends Message<PrebuildSpec> {
250
+ /**
251
+ * @generated from field: gitpod.v1.WorkspaceContext context = 1;
252
+ */
253
+ context?: WorkspaceContext;
254
+
255
+ /**
256
+ * Incremental prebuilds are based on other prebuilds. If this field is true,
257
+ * expect the context detail to point to another prebuild.
258
+ *
259
+ * @generated from field: bool incremental = 2;
260
+ */
261
+ incremental: boolean;
262
+
263
+ constructor(data?: PartialMessage<PrebuildSpec>);
264
+
265
+ static readonly runtime: typeof proto3;
266
+ static readonly typeName = "gitpod.v1.PrebuildSpec";
267
+ static readonly fields: FieldList;
268
+
269
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildSpec;
270
+
271
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildSpec;
272
+
273
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildSpec;
274
+
275
+ static equals(a: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined, b: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined): boolean;
241
276
  }
242
277
 
243
- export class PrebuildStatus extends jspb.Message {
244
- getPhase(): PrebuildStatus.Phase;
245
- setPhase(value: PrebuildStatus.Phase): PrebuildStatus;
246
- getResult(): PrebuildStatus.Result;
247
- setResult(value: PrebuildStatus.Result): PrebuildStatus;
248
- getResultMessage(): string;
249
- setResultMessage(value: string): PrebuildStatus;
250
-
251
- serializeBinary(): Uint8Array;
252
- toObject(includeInstance?: boolean): PrebuildStatus.AsObject;
253
- static toObject(includeInstance: boolean, msg: PrebuildStatus): PrebuildStatus.AsObject;
254
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
255
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
256
- static serializeBinaryToWriter(message: PrebuildStatus, writer: jspb.BinaryWriter): void;
257
- static deserializeBinary(bytes: Uint8Array): PrebuildStatus;
258
- static deserializeBinaryFromReader(message: PrebuildStatus, reader: jspb.BinaryReader): PrebuildStatus;
278
+ /**
279
+ * PrebuildStatus describes the prebuild status.
280
+ *
281
+ * @generated from message gitpod.v1.PrebuildStatus
282
+ */
283
+ export declare class PrebuildStatus extends Message<PrebuildStatus> {
284
+ /**
285
+ * Phase is the prebuild phase we're in
286
+ *
287
+ * @generated from field: gitpod.v1.PrebuildStatus.Phase phase = 1;
288
+ */
289
+ phase: PrebuildStatus_Phase;
290
+
291
+ /**
292
+ * Result indicates what result the prebuild produced, i.e. if it ran
293
+ * successfully or failed for some reason. If phase != done, this field
294
+ * will have RESULT_UNSPECIFIED as value.
295
+ *
296
+ * @generated from field: gitpod.v1.PrebuildStatus.Result result = 2;
297
+ */
298
+ result: PrebuildStatus_Result;
299
+
300
+ /**
301
+ * result_message contains a human readable message describing the prebuild
302
+ * result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
303
+ * that failure was.
304
+ *
305
+ * @generated from field: string result_message = 3;
306
+ */
307
+ resultMessage: string;
308
+
309
+ constructor(data?: PartialMessage<PrebuildStatus>);
310
+
311
+ static readonly runtime: typeof proto3;
312
+ static readonly typeName = "gitpod.v1.PrebuildStatus";
313
+ static readonly fields: FieldList;
314
+
315
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildStatus;
316
+
317
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildStatus;
318
+
319
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildStatus;
320
+
321
+ static equals(a: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined, b: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined): boolean;
259
322
  }
260
323
 
261
- export namespace PrebuildStatus {
262
- export type AsObject = {
263
- phase: PrebuildStatus.Phase,
264
- result: PrebuildStatus.Result,
265
- resultMessage: string,
266
- }
267
-
268
- export enum Phase {
269
- PHASE_UNSPECIFIED = 0,
270
- PHASE_PENDING = 1,
271
- PHASE_RUNNING = 2,
272
- PHASE_DONE = 3,
273
- }
274
-
275
- export enum Result {
276
- RESULT_UNSPECIFIED = 0,
277
- RESULT_SUCCESS = 1,
278
- RESULT_USER_CANCELED = 2,
279
- RESULT_SYSTEM_FAILURE = 3,
280
- RESULT_TASK_FAILURE = 4,
281
- }
324
+ /**
325
+ * @generated from enum gitpod.v1.PrebuildStatus.Phase
326
+ */
327
+ export declare enum PrebuildStatus_Phase {
328
+ /**
329
+ * @generated from enum value: PHASE_UNSPECIFIED = 0;
330
+ */
331
+ UNSPECIFIED = 0,
332
+
333
+ /**
334
+ * @generated from enum value: PHASE_PENDING = 1;
335
+ */
336
+ PENDING = 1,
337
+
338
+ /**
339
+ * @generated from enum value: PHASE_RUNNING = 2;
340
+ */
341
+ RUNNING = 2,
342
+
343
+ /**
344
+ * @generated from enum value: PHASE_DONE = 3;
345
+ */
346
+ DONE = 3,
347
+ }
282
348
 
349
+ /**
350
+ * @generated from enum gitpod.v1.PrebuildStatus.Result
351
+ */
352
+ export declare enum PrebuildStatus_Result {
353
+ /**
354
+ * @generated from enum value: RESULT_UNSPECIFIED = 0;
355
+ */
356
+ UNSPECIFIED = 0,
357
+
358
+ /**
359
+ * @generated from enum value: RESULT_SUCCESS = 1;
360
+ */
361
+ SUCCESS = 1,
362
+
363
+ /**
364
+ * @generated from enum value: RESULT_USER_CANCELED = 2;
365
+ */
366
+ USER_CANCELED = 2,
367
+
368
+ /**
369
+ * @generated from enum value: RESULT_SYSTEM_FAILURE = 3;
370
+ */
371
+ SYSTEM_FAILURE = 3,
372
+
373
+ /**
374
+ * @generated from enum value: RESULT_TASK_FAILURE = 4;
375
+ */
376
+ TASK_FAILURE = 4,
283
377
  }