@gitpod/public-api 0.1.5-mp-public-api-codegen-buf.3 → 0.1.5-mp-caddy-route-http-1-to-api.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/lib/gitpod/v1/pagination_grpc_pb.js +7 -0
  2. package/lib/gitpod/v1/pagination_pb.d.ts +30 -27
  3. package/lib/gitpod/v1/pagination_pb.js +199 -43
  4. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +95 -0
  5. package/lib/gitpod/v1/prebuilds_grpc_pb.js +161 -0
  6. package/lib/gitpod/v1/prebuilds_pb.d.ts +265 -263
  7. package/lib/gitpod/v1/prebuilds_pb.js +1960 -398
  8. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +197 -0
  9. package/lib/gitpod/v1/workspaces_grpc_pb.js +368 -0
  10. package/lib/gitpod/v1/workspaces_pb.d.ts +804 -819
  11. package/lib/gitpod/v1/workspaces_pb.js +5941 -1148
  12. package/package.json +10 -7
  13. package/pkg-yarn.lock +4 -5
  14. package/provenance-bundle.jsonl +2 -2
  15. package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
  16. package/lib/gitpod/v1/pagination_pb.js.map +0 -1
  17. package/lib/gitpod/v1/pagination_pb.ts +0 -60
  18. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
  19. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
  20. package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
  21. package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
  22. package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
  23. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
  24. package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
  25. package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
  26. package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
  27. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
  28. package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
  29. package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
  30. package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
  31. package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
  32. package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
  33. package/lib/gitpod/v1/workspaces_pb.ts +0 -1509
  34. package/lib/google/rpc/code_pb.d.ts +0 -219
  35. package/lib/google/rpc/code_pb.d.ts.map +0 -1
  36. package/lib/google/rpc/code_pb.js +0 -261
  37. package/lib/google/rpc/code_pb.js.map +0 -1
  38. package/lib/google/rpc/code_pb.ts +0 -275
  39. package/lib/google/rpc/error_details_pb.d.ts +0 -478
  40. package/lib/google/rpc/error_details_pb.d.ts.map +0 -1
  41. package/lib/google/rpc/error_details_pb.js +0 -694
  42. package/lib/google/rpc/error_details_pb.js.map +0 -1
  43. package/lib/google/rpc/error_details_pb.ts +0 -800
  44. package/lib/google/rpc/status_pb.d.ts +0 -45
  45. package/lib/google/rpc/status_pb.d.ts.map +0 -1
  46. package/lib/google/rpc/status_pb.js +0 -76
  47. package/lib/google/rpc/status_pb.js.map +0 -1
  48. package/lib/google/rpc/status_pb.ts +0 -87
@@ -3,279 +3,281 @@
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 type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message } from "@bufbuild/protobuf";
8
- import { WorkspaceContext } from "./workspaces_pb.js";
9
- /**
10
- * @generated from message gitpod.v1.GetPrebuildRequest
11
- */
12
- export declare class GetPrebuildRequest extends Message<GetPrebuildRequest> {
13
- /**
14
- * @generated from field: string prebuild_id = 1;
15
- */
16
- prebuildId: string;
17
- constructor(data?: PartialMessage<GetPrebuildRequest>);
18
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
19
- static readonly typeName = "gitpod.v1.GetPrebuildRequest";
20
- static readonly fields: FieldList;
21
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildRequest;
22
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildRequest;
23
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildRequest;
24
- static equals(a: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined, b: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined): boolean;
6
+
7
+ // package: gitpod.v1
8
+ // file: gitpod/v1/prebuilds.proto
9
+
10
+ /* tslint:disable */
11
+ /* eslint-disable */
12
+
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;
25
28
  }
26
- /**
27
- * @generated from message gitpod.v1.GetPrebuildResponse
28
- */
29
- export declare class GetPrebuildResponse extends Message<GetPrebuildResponse> {
30
- /**
31
- * @generated from field: gitpod.v1.Prebuild prebuild = 1;
32
- */
33
- prebuild?: Prebuild;
34
- constructor(data?: PartialMessage<GetPrebuildResponse>);
35
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
36
- static readonly typeName = "gitpod.v1.GetPrebuildResponse";
37
- static readonly fields: FieldList;
38
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildResponse;
39
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildResponse;
40
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildResponse;
41
- static equals(a: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined, b: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined): boolean;
29
+
30
+ export namespace GetPrebuildRequest {
31
+ export type AsObject = {
32
+ prebuildId: string,
33
+ }
42
34
  }
43
- /**
44
- * @generated from message gitpod.v1.GetRunningPrebuildRequest
45
- */
46
- export declare class GetRunningPrebuildRequest extends Message<GetRunningPrebuildRequest> {
47
- /**
48
- * @generated from field: string context_url = 1;
49
- */
50
- contextUrl: string;
51
- constructor(data?: PartialMessage<GetRunningPrebuildRequest>);
52
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
53
- static readonly typeName = "gitpod.v1.GetRunningPrebuildRequest";
54
- static readonly fields: FieldList;
55
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildRequest;
56
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest;
57
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest;
58
- static equals(a: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined, b: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined): boolean;
35
+
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;
59
51
  }
60
- /**
61
- * @generated from message gitpod.v1.GetRunningPrebuildResponse
62
- */
63
- export declare class GetRunningPrebuildResponse extends Message<GetRunningPrebuildResponse> {
64
- /**
65
- * @generated from field: gitpod.v1.Prebuild prebuild = 1;
66
- */
67
- prebuild?: Prebuild;
68
- constructor(data?: PartialMessage<GetRunningPrebuildResponse>);
69
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
70
- static readonly typeName = "gitpod.v1.GetRunningPrebuildResponse";
71
- static readonly fields: FieldList;
72
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildResponse;
73
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse;
74
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse;
75
- static equals(a: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined, b: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined): boolean;
52
+
53
+ export namespace GetPrebuildResponse {
54
+ export type AsObject = {
55
+ prebuild?: Prebuild.AsObject,
56
+ }
76
57
  }
77
- /**
78
- * @generated from message gitpod.v1.ListenToPrebuildStatusRequest
79
- */
80
- export declare class ListenToPrebuildStatusRequest extends Message<ListenToPrebuildStatusRequest> {
81
- /**
82
- * @generated from field: string prebuild_id = 1;
83
- */
84
- prebuildId: string;
85
- constructor(data?: PartialMessage<ListenToPrebuildStatusRequest>);
86
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
87
- static readonly typeName = "gitpod.v1.ListenToPrebuildStatusRequest";
88
- static readonly fields: FieldList;
89
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusRequest;
90
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest;
91
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest;
92
- static equals(a: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined, b: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined): boolean;
58
+
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;
93
71
  }
94
- /**
95
- * @generated from message gitpod.v1.ListenToPrebuildStatusResponse
96
- */
97
- export declare class ListenToPrebuildStatusResponse extends Message<ListenToPrebuildStatusResponse> {
98
- /**
99
- * @generated from field: gitpod.v1.PrebuildStatus status = 1;
100
- */
101
- status?: PrebuildStatus;
102
- constructor(data?: PartialMessage<ListenToPrebuildStatusResponse>);
103
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
104
- static readonly typeName = "gitpod.v1.ListenToPrebuildStatusResponse";
105
- static readonly fields: FieldList;
106
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusResponse;
107
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse;
108
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse;
109
- static equals(a: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined, b: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined): boolean;
72
+
73
+ export namespace GetRunningPrebuildRequest {
74
+ export type AsObject = {
75
+ contextUrl: string,
76
+ }
110
77
  }
111
- /**
112
- * @generated from message gitpod.v1.ListenToPrebuildLogsRequest
113
- */
114
- export declare class ListenToPrebuildLogsRequest extends Message<ListenToPrebuildLogsRequest> {
115
- /**
116
- * @generated from field: string prebuild_id = 1;
117
- */
118
- prebuildId: string;
119
- constructor(data?: PartialMessage<ListenToPrebuildLogsRequest>);
120
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
121
- static readonly typeName = "gitpod.v1.ListenToPrebuildLogsRequest";
122
- static readonly fields: FieldList;
123
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsRequest;
124
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest;
125
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest;
126
- static equals(a: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined, b: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined): boolean;
78
+
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;
127
94
  }
128
- /**
129
- * @generated from message gitpod.v1.ListenToPrebuildLogsResponse
130
- */
131
- export declare class ListenToPrebuildLogsResponse extends Message<ListenToPrebuildLogsResponse> {
132
- /**
133
- * @generated from field: string line = 1;
134
- */
135
- line: string;
136
- constructor(data?: PartialMessage<ListenToPrebuildLogsResponse>);
137
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
138
- static readonly typeName = "gitpod.v1.ListenToPrebuildLogsResponse";
139
- static readonly fields: FieldList;
140
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsResponse;
141
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse;
142
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse;
143
- static equals(a: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined, b: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined): boolean;
95
+
96
+ export namespace GetRunningPrebuildResponse {
97
+ export type AsObject = {
98
+ prebuild?: Prebuild.AsObject,
99
+ }
144
100
  }
145
- /**
146
- * Prebuild describes a prebuild
147
- *
148
- * @generated from message gitpod.v1.Prebuild
149
- */
150
- export declare class Prebuild extends Message<Prebuild> {
151
- /**
152
- * @generated from field: string prebuild_id = 1;
153
- */
154
- prebuildId: string;
155
- /**
156
- * @generated from field: gitpod.v1.PrebuildSpec spec = 2;
157
- */
158
- spec?: PrebuildSpec;
159
- /**
160
- * @generated from field: gitpod.v1.PrebuildStatus status = 3;
161
- */
162
- status?: PrebuildStatus;
163
- constructor(data?: PartialMessage<Prebuild>);
164
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
165
- static readonly typeName = "gitpod.v1.Prebuild";
166
- static readonly fields: FieldList;
167
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Prebuild;
168
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Prebuild;
169
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Prebuild;
170
- static equals(a: Prebuild | PlainMessage<Prebuild> | undefined, b: Prebuild | PlainMessage<Prebuild> | undefined): boolean;
101
+
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;
171
114
  }
172
- /**
173
- * PrebuildSpec specifies the prebuild input.
174
- *
175
- * @generated from message gitpod.v1.PrebuildSpec
176
- */
177
- export declare class PrebuildSpec extends Message<PrebuildSpec> {
178
- /**
179
- * @generated from field: gitpod.v1.WorkspaceContext context = 1;
180
- */
181
- context?: WorkspaceContext;
182
- /**
183
- * Incremental prebuilds are based on other prebuilds. If this field is true,
184
- * expect the context detail to point to another prebuild.
185
- *
186
- * @generated from field: bool incremental = 2;
187
- */
188
- incremental: boolean;
189
- constructor(data?: PartialMessage<PrebuildSpec>);
190
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
191
- static readonly typeName = "gitpod.v1.PrebuildSpec";
192
- static readonly fields: FieldList;
193
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildSpec;
194
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildSpec;
195
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildSpec;
196
- static equals(a: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined, b: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined): boolean;
115
+
116
+ export namespace ListenToPrebuildStatusRequest {
117
+ export type AsObject = {
118
+ prebuildId: string,
119
+ }
197
120
  }
198
- /**
199
- * PrebuildStatus describes the prebuild status.
200
- *
201
- * @generated from message gitpod.v1.PrebuildStatus
202
- */
203
- export declare class PrebuildStatus extends Message<PrebuildStatus> {
204
- /**
205
- * Phase is the prebuild phase we're in
206
- *
207
- * @generated from field: gitpod.v1.PrebuildStatus.Phase phase = 1;
208
- */
209
- phase: PrebuildStatus_Phase;
210
- /**
211
- * Result indicates what result the prebuild produced, i.e. if it ran
212
- * successfully or failed for some reason. If phase != done, this field
213
- * will have RESULT_UNSPECIFIED as value.
214
- *
215
- * @generated from field: gitpod.v1.PrebuildStatus.Result result = 2;
216
- */
217
- result: PrebuildStatus_Result;
218
- /**
219
- * result_message contains a human readable message describing the prebuild
220
- * result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
221
- * that failure was.
222
- *
223
- * @generated from field: string result_message = 3;
224
- */
225
- resultMessage: string;
226
- constructor(data?: PartialMessage<PrebuildStatus>);
227
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
228
- static readonly typeName = "gitpod.v1.PrebuildStatus";
229
- static readonly fields: FieldList;
230
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildStatus;
231
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildStatus;
232
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildStatus;
233
- static equals(a: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined, b: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined): boolean;
121
+
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;
234
137
  }
235
- /**
236
- * @generated from enum gitpod.v1.PrebuildStatus.Phase
237
- */
238
- export declare enum PrebuildStatus_Phase {
239
- /**
240
- * @generated from enum value: PHASE_UNSPECIFIED = 0;
241
- */
242
- UNSPECIFIED = 0,
243
- /**
244
- * @generated from enum value: PHASE_PENDING = 1;
245
- */
246
- PENDING = 1,
247
- /**
248
- * @generated from enum value: PHASE_RUNNING = 2;
249
- */
250
- RUNNING = 2,
251
- /**
252
- * @generated from enum value: PHASE_DONE = 3;
253
- */
254
- DONE = 3
138
+
139
+ export namespace ListenToPrebuildStatusResponse {
140
+ export type AsObject = {
141
+ status?: PrebuildStatus.AsObject,
142
+ }
255
143
  }
256
- /**
257
- * @generated from enum gitpod.v1.PrebuildStatus.Result
258
- */
259
- export declare enum PrebuildStatus_Result {
260
- /**
261
- * @generated from enum value: RESULT_UNSPECIFIED = 0;
262
- */
263
- UNSPECIFIED = 0,
264
- /**
265
- * @generated from enum value: RESULT_SUCCESS = 1;
266
- */
267
- SUCCESS = 1,
268
- /**
269
- * @generated from enum value: RESULT_USER_CANCELED = 2;
270
- */
271
- USER_CANCELED = 2,
272
- /**
273
- * @generated from enum value: RESULT_SYSTEM_FAILURE = 3;
274
- */
275
- SYSTEM_FAILURE = 3,
276
- /**
277
- * @generated from enum value: RESULT_TASK_FAILURE = 4;
278
- */
279
- TASK_FAILURE = 4
144
+
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;
157
+ }
158
+
159
+ export namespace ListenToPrebuildLogsRequest {
160
+ export type AsObject = {
161
+ prebuildId: string,
162
+ }
163
+ }
164
+
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;
177
+ }
178
+
179
+ export namespace ListenToPrebuildLogsResponse {
180
+ export type AsObject = {
181
+ line: string,
182
+ }
183
+ }
184
+
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;
207
+ }
208
+
209
+ export namespace Prebuild {
210
+ export type AsObject = {
211
+ prebuildId: string,
212
+ spec?: PrebuildSpec.AsObject,
213
+ status?: PrebuildStatus.AsObject,
214
+ }
215
+ }
216
+
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;
234
+ }
235
+
236
+ export namespace PrebuildSpec {
237
+ export type AsObject = {
238
+ context?: gitpod_v1_workspaces_pb.WorkspaceContext.AsObject,
239
+ incremental: boolean,
240
+ }
241
+ }
242
+
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;
259
+ }
260
+
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
+ }
282
+
280
283
  }
281
- //# sourceMappingURL=prebuilds_pb.d.ts.map