@gitpod/public-api 0.1.5-vn-jetbrains-backend-plugin-223.6 → 0.1.5-wk-inte-test-20230117000019.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +36 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js +53 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +534 -0
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +874 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js +1235 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +10 -12
- package/pkg-yarn.lock +5 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
- package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
- package/lib/gitpod/v1/pagination_pb.js +0 -206
- package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
- package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
- package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
- package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
- package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
- package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
- package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,874 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
3
|
+
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
+
* See License.AGPL.txt in the project root for license information.
|
5
|
+
*/
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
7
|
+
import { FieldMask, Message, Timestamp } from "@bufbuild/protobuf";
|
8
|
+
import { Pagination } from "./pagination_pb.js";
|
9
|
+
/**
|
10
|
+
* PortPolicy defines the accssbility policy of a workspace port is guarded by an authentication in the proxy
|
11
|
+
*
|
12
|
+
* @generated from enum gitpod.experimental.v1.PortPolicy
|
13
|
+
*/
|
14
|
+
export declare enum PortPolicy {
|
15
|
+
/**
|
16
|
+
* @generated from enum value: PORT_POLICY_UNSPECIFIED = 0;
|
17
|
+
*/
|
18
|
+
UNSPECIFIED = 0,
|
19
|
+
/**
|
20
|
+
* Private means the port is accessible by the workspace owner only using the workspace port URL
|
21
|
+
*
|
22
|
+
* @generated from enum value: PORT_POLICY_PRIVATE = 1;
|
23
|
+
*/
|
24
|
+
PRIVATE = 1,
|
25
|
+
/**
|
26
|
+
* Public means the port is accessible by everybody using the workspace port URL
|
27
|
+
*
|
28
|
+
* @generated from enum value: PORT_POLICY_PUBLIC = 2;
|
29
|
+
*/
|
30
|
+
PUBLIC = 2
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Admission level describes who can access a workspace instance and its ports.
|
34
|
+
*
|
35
|
+
* @generated from enum gitpod.experimental.v1.AdmissionLevel
|
36
|
+
*/
|
37
|
+
export declare enum AdmissionLevel {
|
38
|
+
/**
|
39
|
+
* @generated from enum value: ADMISSION_LEVEL_UNSPECIFIED = 0;
|
40
|
+
*/
|
41
|
+
UNSPECIFIED = 0,
|
42
|
+
/**
|
43
|
+
* ADMISSION_LEVEL_OWNER_ONLY means the workspace can only be accessed using the owner token
|
44
|
+
*
|
45
|
+
* @generated from enum value: ADMISSION_LEVEL_OWNER_ONLY = 1;
|
46
|
+
*/
|
47
|
+
OWNER_ONLY = 1,
|
48
|
+
/**
|
49
|
+
* ADMISSION_LEVEL_EVERYONE means the workspace (including ports) can be accessed by everyone.
|
50
|
+
*
|
51
|
+
* @generated from enum value: ADMISSION_LEVEL_EVERYONE = 2;
|
52
|
+
*/
|
53
|
+
EVERYONE = 2
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesRequest
|
57
|
+
*/
|
58
|
+
export declare class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
|
59
|
+
/**
|
60
|
+
* @generated from field: gitpod.experimental.v1.Pagination pagination = 1;
|
61
|
+
*/
|
62
|
+
pagination?: Pagination;
|
63
|
+
/**
|
64
|
+
* @generated from field: google.protobuf.FieldMask field_mask = 2;
|
65
|
+
*/
|
66
|
+
fieldMask?: FieldMask;
|
67
|
+
constructor(data?: PartialMessage<ListWorkspacesRequest>);
|
68
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
69
|
+
static readonly typeName = "gitpod.experimental.v1.ListWorkspacesRequest";
|
70
|
+
static readonly fields: FieldList;
|
71
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesRequest;
|
72
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesRequest;
|
73
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesRequest;
|
74
|
+
static equals(a: ListWorkspacesRequest | PlainMessage<ListWorkspacesRequest> | undefined, b: ListWorkspacesRequest | PlainMessage<ListWorkspacesRequest> | undefined): boolean;
|
75
|
+
}
|
76
|
+
/**
|
77
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesResponse
|
78
|
+
*/
|
79
|
+
export declare class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
80
|
+
/**
|
81
|
+
* @generated from field: string next_page_token = 1;
|
82
|
+
*/
|
83
|
+
nextPageToken: string;
|
84
|
+
/**
|
85
|
+
* @generated from field: repeated gitpod.experimental.v1.Workspace result = 2;
|
86
|
+
*/
|
87
|
+
result: Workspace[];
|
88
|
+
constructor(data?: PartialMessage<ListWorkspacesResponse>);
|
89
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
90
|
+
static readonly typeName = "gitpod.experimental.v1.ListWorkspacesResponse";
|
91
|
+
static readonly fields: FieldList;
|
92
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse;
|
93
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesResponse;
|
94
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesResponse;
|
95
|
+
static equals(a: ListWorkspacesResponse | PlainMessage<ListWorkspacesResponse> | undefined, b: ListWorkspacesResponse | PlainMessage<ListWorkspacesResponse> | undefined): boolean;
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceRequest
|
99
|
+
*/
|
100
|
+
export declare class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
101
|
+
/**
|
102
|
+
* @generated from field: string workspace_id = 1;
|
103
|
+
*/
|
104
|
+
workspaceId: string;
|
105
|
+
constructor(data?: PartialMessage<GetWorkspaceRequest>);
|
106
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
107
|
+
static readonly typeName = "gitpod.experimental.v1.GetWorkspaceRequest";
|
108
|
+
static readonly fields: FieldList;
|
109
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceRequest;
|
110
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceRequest;
|
111
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceRequest;
|
112
|
+
static equals(a: GetWorkspaceRequest | PlainMessage<GetWorkspaceRequest> | undefined, b: GetWorkspaceRequest | PlainMessage<GetWorkspaceRequest> | undefined): boolean;
|
113
|
+
}
|
114
|
+
/**
|
115
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceResponse
|
116
|
+
*/
|
117
|
+
export declare class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
118
|
+
/**
|
119
|
+
* @generated from field: gitpod.experimental.v1.Workspace result = 1;
|
120
|
+
*/
|
121
|
+
result?: Workspace;
|
122
|
+
constructor(data?: PartialMessage<GetWorkspaceResponse>);
|
123
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
124
|
+
static readonly typeName = "gitpod.experimental.v1.GetWorkspaceResponse";
|
125
|
+
static readonly fields: FieldList;
|
126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceResponse;
|
127
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceResponse;
|
128
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceResponse;
|
129
|
+
static equals(a: GetWorkspaceResponse | PlainMessage<GetWorkspaceResponse> | undefined, b: GetWorkspaceResponse | PlainMessage<GetWorkspaceResponse> | undefined): boolean;
|
130
|
+
}
|
131
|
+
/**
|
132
|
+
* @generated from message gitpod.experimental.v1.StreamWorkspaceStatusRequest
|
133
|
+
*/
|
134
|
+
export declare class StreamWorkspaceStatusRequest extends Message<StreamWorkspaceStatusRequest> {
|
135
|
+
/**
|
136
|
+
* @generated from field: string workspace_id = 1;
|
137
|
+
*/
|
138
|
+
workspaceId: string;
|
139
|
+
constructor(data?: PartialMessage<StreamWorkspaceStatusRequest>);
|
140
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
141
|
+
static readonly typeName = "gitpod.experimental.v1.StreamWorkspaceStatusRequest";
|
142
|
+
static readonly fields: FieldList;
|
143
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWorkspaceStatusRequest;
|
144
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWorkspaceStatusRequest;
|
145
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWorkspaceStatusRequest;
|
146
|
+
static equals(a: StreamWorkspaceStatusRequest | PlainMessage<StreamWorkspaceStatusRequest> | undefined, b: StreamWorkspaceStatusRequest | PlainMessage<StreamWorkspaceStatusRequest> | undefined): boolean;
|
147
|
+
}
|
148
|
+
/**
|
149
|
+
* @generated from message gitpod.experimental.v1.StreamWorkspaceStatusResponse
|
150
|
+
*/
|
151
|
+
export declare class StreamWorkspaceStatusResponse extends Message<StreamWorkspaceStatusResponse> {
|
152
|
+
/**
|
153
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceStatus result = 1;
|
154
|
+
*/
|
155
|
+
result?: WorkspaceStatus;
|
156
|
+
constructor(data?: PartialMessage<StreamWorkspaceStatusResponse>);
|
157
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
158
|
+
static readonly typeName = "gitpod.experimental.v1.StreamWorkspaceStatusResponse";
|
159
|
+
static readonly fields: FieldList;
|
160
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamWorkspaceStatusResponse;
|
161
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamWorkspaceStatusResponse;
|
162
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamWorkspaceStatusResponse;
|
163
|
+
static equals(a: StreamWorkspaceStatusResponse | PlainMessage<StreamWorkspaceStatusResponse> | undefined, b: StreamWorkspaceStatusResponse | PlainMessage<StreamWorkspaceStatusResponse> | undefined): boolean;
|
164
|
+
}
|
165
|
+
/**
|
166
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenRequest
|
167
|
+
*/
|
168
|
+
export declare class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
169
|
+
/**
|
170
|
+
* @generated from field: string workspace_id = 1;
|
171
|
+
*/
|
172
|
+
workspaceId: string;
|
173
|
+
constructor(data?: PartialMessage<GetOwnerTokenRequest>);
|
174
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
175
|
+
static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenRequest";
|
176
|
+
static readonly fields: FieldList;
|
177
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOwnerTokenRequest;
|
178
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOwnerTokenRequest;
|
179
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOwnerTokenRequest;
|
180
|
+
static equals(a: GetOwnerTokenRequest | PlainMessage<GetOwnerTokenRequest> | undefined, b: GetOwnerTokenRequest | PlainMessage<GetOwnerTokenRequest> | undefined): boolean;
|
181
|
+
}
|
182
|
+
/**
|
183
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenResponse
|
184
|
+
*/
|
185
|
+
export declare class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
186
|
+
/**
|
187
|
+
* @generated from field: string token = 1;
|
188
|
+
*/
|
189
|
+
token: string;
|
190
|
+
constructor(data?: PartialMessage<GetOwnerTokenResponse>);
|
191
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
192
|
+
static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenResponse";
|
193
|
+
static readonly fields: FieldList;
|
194
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOwnerTokenResponse;
|
195
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOwnerTokenResponse;
|
196
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOwnerTokenResponse;
|
197
|
+
static equals(a: GetOwnerTokenResponse | PlainMessage<GetOwnerTokenResponse> | undefined, b: GetOwnerTokenResponse | PlainMessage<GetOwnerTokenResponse> | undefined): boolean;
|
198
|
+
}
|
199
|
+
/**
|
200
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceRequest
|
201
|
+
*/
|
202
|
+
export declare class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorkspaceRequest> {
|
203
|
+
/**
|
204
|
+
* @generated from field: string idempotency_token = 1;
|
205
|
+
*/
|
206
|
+
idempotencyToken: string;
|
207
|
+
/**
|
208
|
+
* @generated from oneof gitpod.experimental.v1.CreateAndStartWorkspaceRequest.source
|
209
|
+
*/
|
210
|
+
source: {
|
211
|
+
/**
|
212
|
+
* @generated from field: string context_url = 2;
|
213
|
+
*/
|
214
|
+
value: string;
|
215
|
+
case: "contextUrl";
|
216
|
+
} | {
|
217
|
+
/**
|
218
|
+
* @generated from field: string prebuild_id = 3;
|
219
|
+
*/
|
220
|
+
value: string;
|
221
|
+
case: "prebuildId";
|
222
|
+
} | {
|
223
|
+
case: undefined;
|
224
|
+
value?: undefined;
|
225
|
+
};
|
226
|
+
/**
|
227
|
+
* @generated from field: gitpod.experimental.v1.StartWorkspaceSpec start_spec = 5;
|
228
|
+
*/
|
229
|
+
startSpec?: StartWorkspaceSpec;
|
230
|
+
constructor(data?: PartialMessage<CreateAndStartWorkspaceRequest>);
|
231
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
232
|
+
static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceRequest";
|
233
|
+
static readonly fields: FieldList;
|
234
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceRequest;
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest;
|
236
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest;
|
237
|
+
static equals(a: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined, b: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined): boolean;
|
238
|
+
}
|
239
|
+
/**
|
240
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceResponse
|
241
|
+
*/
|
242
|
+
export declare class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorkspaceResponse> {
|
243
|
+
/**
|
244
|
+
* @generated from field: string workspace_id = 1;
|
245
|
+
*/
|
246
|
+
workspaceId: string;
|
247
|
+
constructor(data?: PartialMessage<CreateAndStartWorkspaceResponse>);
|
248
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
249
|
+
static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceResponse";
|
250
|
+
static readonly fields: FieldList;
|
251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceResponse;
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse;
|
253
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse;
|
254
|
+
static equals(a: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined, b: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined): boolean;
|
255
|
+
}
|
256
|
+
/**
|
257
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceRequest
|
258
|
+
*/
|
259
|
+
export declare class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
260
|
+
/**
|
261
|
+
* @generated from field: string idempotency_token = 1;
|
262
|
+
*/
|
263
|
+
idempotencyToken: string;
|
264
|
+
/**
|
265
|
+
* @generated from field: string workspace_id = 2;
|
266
|
+
*/
|
267
|
+
workspaceId: string;
|
268
|
+
/**
|
269
|
+
* @generated from field: gitpod.experimental.v1.StartWorkspaceSpec spec = 3;
|
270
|
+
*/
|
271
|
+
spec?: StartWorkspaceSpec;
|
272
|
+
constructor(data?: PartialMessage<StartWorkspaceRequest>);
|
273
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
274
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceRequest";
|
275
|
+
static readonly fields: FieldList;
|
276
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceRequest;
|
277
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceRequest;
|
278
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceRequest;
|
279
|
+
static equals(a: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined, b: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined): boolean;
|
280
|
+
}
|
281
|
+
/**
|
282
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceResponse
|
283
|
+
*/
|
284
|
+
export declare class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
|
285
|
+
/**
|
286
|
+
* @generated from field: string instance_id = 1;
|
287
|
+
*/
|
288
|
+
instanceId: string;
|
289
|
+
/**
|
290
|
+
* @generated from field: string workspace_url = 2;
|
291
|
+
*/
|
292
|
+
workspaceUrl: string;
|
293
|
+
constructor(data?: PartialMessage<StartWorkspaceResponse>);
|
294
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
295
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceResponse";
|
296
|
+
static readonly fields: FieldList;
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceResponse;
|
298
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceResponse;
|
299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceResponse;
|
300
|
+
static equals(a: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined, b: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined): boolean;
|
301
|
+
}
|
302
|
+
/**
|
303
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceRequest
|
304
|
+
*/
|
305
|
+
export declare class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
306
|
+
/**
|
307
|
+
* @generated from field: string workspace_id = 1;
|
308
|
+
*/
|
309
|
+
workspaceId: string;
|
310
|
+
constructor(data?: PartialMessage<StopWorkspaceRequest>);
|
311
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
312
|
+
static readonly typeName = "gitpod.experimental.v1.StopWorkspaceRequest";
|
313
|
+
static readonly fields: FieldList;
|
314
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceRequest;
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceRequest;
|
316
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceRequest;
|
317
|
+
static equals(a: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined, b: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined): boolean;
|
318
|
+
}
|
319
|
+
/**
|
320
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceResponse
|
321
|
+
*/
|
322
|
+
export declare class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
|
323
|
+
constructor(data?: PartialMessage<StopWorkspaceResponse>);
|
324
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
325
|
+
static readonly typeName = "gitpod.experimental.v1.StopWorkspaceResponse";
|
326
|
+
static readonly fields: FieldList;
|
327
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceResponse;
|
328
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceResponse;
|
329
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceResponse;
|
330
|
+
static equals(a: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined, b: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined): boolean;
|
331
|
+
}
|
332
|
+
/**
|
333
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceRequest
|
334
|
+
*/
|
335
|
+
export declare class DeleteWorkspaceRequest extends Message<DeleteWorkspaceRequest> {
|
336
|
+
/**
|
337
|
+
* @generated from field: string workspace_id = 1;
|
338
|
+
*/
|
339
|
+
workspaceId: string;
|
340
|
+
constructor(data?: PartialMessage<DeleteWorkspaceRequest>);
|
341
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
342
|
+
static readonly typeName = "gitpod.experimental.v1.DeleteWorkspaceRequest";
|
343
|
+
static readonly fields: FieldList;
|
344
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWorkspaceRequest;
|
345
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWorkspaceRequest;
|
346
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWorkspaceRequest;
|
347
|
+
static equals(a: DeleteWorkspaceRequest | PlainMessage<DeleteWorkspaceRequest> | undefined, b: DeleteWorkspaceRequest | PlainMessage<DeleteWorkspaceRequest> | undefined): boolean;
|
348
|
+
}
|
349
|
+
/**
|
350
|
+
* @generated from message gitpod.experimental.v1.DeleteWorkspaceResponse
|
351
|
+
*/
|
352
|
+
export declare class DeleteWorkspaceResponse extends Message<DeleteWorkspaceResponse> {
|
353
|
+
constructor(data?: PartialMessage<DeleteWorkspaceResponse>);
|
354
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
355
|
+
static readonly typeName = "gitpod.experimental.v1.DeleteWorkspaceResponse";
|
356
|
+
static readonly fields: FieldList;
|
357
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWorkspaceResponse;
|
358
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWorkspaceResponse;
|
359
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWorkspaceResponse;
|
360
|
+
static equals(a: DeleteWorkspaceResponse | PlainMessage<DeleteWorkspaceResponse> | undefined, b: DeleteWorkspaceResponse | PlainMessage<DeleteWorkspaceResponse> | undefined): boolean;
|
361
|
+
}
|
362
|
+
/**
|
363
|
+
* Workspace describes a single workspace
|
364
|
+
*
|
365
|
+
* @generated from message gitpod.experimental.v1.Workspace
|
366
|
+
*/
|
367
|
+
export declare class Workspace extends Message<Workspace> {
|
368
|
+
/**
|
369
|
+
* workspace_id is the ID of the workspace
|
370
|
+
*
|
371
|
+
* @generated from field: string workspace_id = 1;
|
372
|
+
*/
|
373
|
+
workspaceId: string;
|
374
|
+
/**
|
375
|
+
* owner_id is the ID of the user who created this workspace
|
376
|
+
*
|
377
|
+
* @generated from field: string owner_id = 2;
|
378
|
+
*/
|
379
|
+
ownerId: string;
|
380
|
+
/**
|
381
|
+
* project_id is the ID of the project which this workspace belongs to
|
382
|
+
*
|
383
|
+
* @generated from field: string project_id = 3;
|
384
|
+
*/
|
385
|
+
projectId: string;
|
386
|
+
/**
|
387
|
+
* context reports the original context the workspace was created from
|
388
|
+
*
|
389
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext context = 4;
|
390
|
+
*/
|
391
|
+
context?: WorkspaceContext;
|
392
|
+
/**
|
393
|
+
* description is a human readable description of the workspace
|
394
|
+
*
|
395
|
+
* @generated from field: string description = 5;
|
396
|
+
*/
|
397
|
+
description: string;
|
398
|
+
/**
|
399
|
+
* status is the current status of this Workspace.
|
400
|
+
*
|
401
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceStatus status = 6;
|
402
|
+
*/
|
403
|
+
status?: WorkspaceStatus;
|
404
|
+
constructor(data?: PartialMessage<Workspace>);
|
405
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
406
|
+
static readonly typeName = "gitpod.experimental.v1.Workspace";
|
407
|
+
static readonly fields: FieldList;
|
408
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Workspace;
|
409
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Workspace;
|
410
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Workspace;
|
411
|
+
static equals(a: Workspace | PlainMessage<Workspace> | undefined, b: Workspace | PlainMessage<Workspace> | undefined): boolean;
|
412
|
+
}
|
413
|
+
/**
|
414
|
+
* WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
|
415
|
+
*
|
416
|
+
* @generated from message gitpod.experimental.v1.WorkspaceStatus
|
417
|
+
*/
|
418
|
+
export declare class WorkspaceStatus extends Message<WorkspaceStatus> {
|
419
|
+
/**
|
420
|
+
* instance is the currently assigned WorkspaceInstance to this workspace. Empty when there is no WorkspaceInstance assigned.
|
421
|
+
*
|
422
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstance instance = 1;
|
423
|
+
*/
|
424
|
+
instance?: WorkspaceInstance;
|
425
|
+
constructor(data?: PartialMessage<WorkspaceStatus>);
|
426
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
427
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceStatus";
|
428
|
+
static readonly fields: FieldList;
|
429
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceStatus;
|
430
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceStatus;
|
431
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceStatus;
|
432
|
+
static equals(a: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined, b: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined): boolean;
|
433
|
+
}
|
434
|
+
/**
|
435
|
+
* WorkspaceContext describes the context a workspace was created from
|
436
|
+
*
|
437
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext
|
438
|
+
*/
|
439
|
+
export declare class WorkspaceContext extends Message<WorkspaceContext> {
|
440
|
+
/**
|
441
|
+
* All workspace context originates from a URL - this is the context URL
|
442
|
+
* which led to the creation of a workspace.
|
443
|
+
*
|
444
|
+
* @generated from field: string context_url = 1;
|
445
|
+
*/
|
446
|
+
contextUrl: string;
|
447
|
+
/**
|
448
|
+
* @generated from oneof gitpod.experimental.v1.WorkspaceContext.details
|
449
|
+
*/
|
450
|
+
details: {
|
451
|
+
/**
|
452
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Git git = 2;
|
453
|
+
*/
|
454
|
+
value: WorkspaceContext_Git;
|
455
|
+
case: "git";
|
456
|
+
} | {
|
457
|
+
/**
|
458
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Prebuild prebuild = 3;
|
459
|
+
*/
|
460
|
+
value: WorkspaceContext_Prebuild;
|
461
|
+
case: "prebuild";
|
462
|
+
} | {
|
463
|
+
/**
|
464
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Snapshot snapshot = 4;
|
465
|
+
*/
|
466
|
+
value: WorkspaceContext_Snapshot;
|
467
|
+
case: "snapshot";
|
468
|
+
} | {
|
469
|
+
case: undefined;
|
470
|
+
value?: undefined;
|
471
|
+
};
|
472
|
+
constructor(data?: PartialMessage<WorkspaceContext>);
|
473
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
474
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext";
|
475
|
+
static readonly fields: FieldList;
|
476
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext;
|
477
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext;
|
478
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext;
|
479
|
+
static equals(a: WorkspaceContext | PlainMessage<WorkspaceContext> | undefined, b: WorkspaceContext | PlainMessage<WorkspaceContext> | undefined): boolean;
|
480
|
+
}
|
481
|
+
/**
|
482
|
+
* Explicit Git context
|
483
|
+
*
|
484
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Git
|
485
|
+
*/
|
486
|
+
export declare class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
487
|
+
/**
|
488
|
+
* @generated from field: string normalized_context_url = 1;
|
489
|
+
*/
|
490
|
+
normalizedContextUrl: string;
|
491
|
+
/**
|
492
|
+
* @generated from field: string commit = 2;
|
493
|
+
*/
|
494
|
+
commit: string;
|
495
|
+
constructor(data?: PartialMessage<WorkspaceContext_Git>);
|
496
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
497
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Git";
|
498
|
+
static readonly fields: FieldList;
|
499
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Git;
|
500
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Git;
|
501
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Git;
|
502
|
+
static equals(a: WorkspaceContext_Git | PlainMessage<WorkspaceContext_Git> | undefined, b: WorkspaceContext_Git | PlainMessage<WorkspaceContext_Git> | undefined): boolean;
|
503
|
+
}
|
504
|
+
/**
|
505
|
+
* Workspace was created from a prebuild
|
506
|
+
*
|
507
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Prebuild
|
508
|
+
*/
|
509
|
+
export declare class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild> {
|
510
|
+
/**
|
511
|
+
* original_context is the Git context which lead to the selection
|
512
|
+
* of a prebuild.
|
513
|
+
*
|
514
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Git original_context = 1;
|
515
|
+
*/
|
516
|
+
originalContext?: WorkspaceContext_Git;
|
517
|
+
/**
|
518
|
+
* prebuild_id is the ID of the prebuild which was used to create this workspace
|
519
|
+
*
|
520
|
+
* @generated from field: string prebuild_id = 2;
|
521
|
+
*/
|
522
|
+
prebuildId: string;
|
523
|
+
constructor(data?: PartialMessage<WorkspaceContext_Prebuild>);
|
524
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
525
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Prebuild";
|
526
|
+
static readonly fields: FieldList;
|
527
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Prebuild;
|
528
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Prebuild;
|
529
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Prebuild;
|
530
|
+
static equals(a: WorkspaceContext_Prebuild | PlainMessage<WorkspaceContext_Prebuild> | undefined, b: WorkspaceContext_Prebuild | PlainMessage<WorkspaceContext_Prebuild> | undefined): boolean;
|
531
|
+
}
|
532
|
+
/**
|
533
|
+
* Snapshot context points to the snapshot which the workspace was created from
|
534
|
+
*
|
535
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Snapshot
|
536
|
+
*/
|
537
|
+
export declare class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot> {
|
538
|
+
/**
|
539
|
+
* @generated from field: string snapshot_id = 1;
|
540
|
+
*/
|
541
|
+
snapshotId: string;
|
542
|
+
constructor(data?: PartialMessage<WorkspaceContext_Snapshot>);
|
543
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
544
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Snapshot";
|
545
|
+
static readonly fields: FieldList;
|
546
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Snapshot;
|
547
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Snapshot;
|
548
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Snapshot;
|
549
|
+
static equals(a: WorkspaceContext_Snapshot | PlainMessage<WorkspaceContext_Snapshot> | undefined, b: WorkspaceContext_Snapshot | PlainMessage<WorkspaceContext_Snapshot> | undefined): boolean;
|
550
|
+
}
|
551
|
+
/**
|
552
|
+
* WorkspaceInstance describes a single workspace instance
|
553
|
+
*
|
554
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstance
|
555
|
+
*/
|
556
|
+
export declare class WorkspaceInstance extends Message<WorkspaceInstance> {
|
557
|
+
/**
|
558
|
+
* Instance ID is the unique identifier of the workspace instance
|
559
|
+
*
|
560
|
+
* @generated from field: string instance_id = 1;
|
561
|
+
*/
|
562
|
+
instanceId: string;
|
563
|
+
/**
|
564
|
+
* Worksapce ID is the unique identifier of the workspace this instance belongs to
|
565
|
+
*
|
566
|
+
* @generated from field: string workspace_id = 2;
|
567
|
+
*/
|
568
|
+
workspaceId: string;
|
569
|
+
/**
|
570
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
571
|
+
*/
|
572
|
+
createdAt?: Timestamp;
|
573
|
+
/**
|
574
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus status = 4;
|
575
|
+
*/
|
576
|
+
status?: WorkspaceInstanceStatus;
|
577
|
+
constructor(data?: PartialMessage<WorkspaceInstance>);
|
578
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
579
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstance";
|
580
|
+
static readonly fields: FieldList;
|
581
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstance;
|
582
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstance;
|
583
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstance;
|
584
|
+
static equals(a: WorkspaceInstance | PlainMessage<WorkspaceInstance> | undefined, b: WorkspaceInstance | PlainMessage<WorkspaceInstance> | undefined): boolean;
|
585
|
+
}
|
586
|
+
/**
|
587
|
+
* WorkspaceStatus describes a workspace status
|
588
|
+
*
|
589
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus
|
590
|
+
*/
|
591
|
+
export declare class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
592
|
+
/**
|
593
|
+
* version of the status update. Workspace instances themselves are unversioned,
|
594
|
+
* but their statuus has different versions.
|
595
|
+
* The value of this field has no semantic meaning (e.g. don't interpret it as
|
596
|
+
* as a timestemp), but it can be used to impose a partial order.
|
597
|
+
* If a.status_version < b.status_version then a was the status before b.
|
598
|
+
*
|
599
|
+
* @generated from field: uint64 status_version = 1;
|
600
|
+
*/
|
601
|
+
statusVersion: bigint;
|
602
|
+
/**
|
603
|
+
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
604
|
+
*
|
605
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
606
|
+
*/
|
607
|
+
phase: WorkspaceInstanceStatus_Phase;
|
608
|
+
/**
|
609
|
+
* conditions detail the current state of the workspace instance
|
610
|
+
*
|
611
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions conditions = 3;
|
612
|
+
*/
|
613
|
+
conditions?: WorkspaceInstanceStatus_Conditions;
|
614
|
+
/**
|
615
|
+
* message is an optional human-readable message detailing the current phase
|
616
|
+
*
|
617
|
+
* @generated from field: string message = 4;
|
618
|
+
*/
|
619
|
+
message: string;
|
620
|
+
/**
|
621
|
+
* URL contains the endpoint at which the workspace instance is available
|
622
|
+
*
|
623
|
+
* @generated from field: string url = 5;
|
624
|
+
*/
|
625
|
+
url: string;
|
626
|
+
/**
|
627
|
+
* Admission describes who can access a workspace instance and its ports.
|
628
|
+
*
|
629
|
+
* @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
|
630
|
+
*/
|
631
|
+
admission: AdmissionLevel;
|
632
|
+
/**
|
633
|
+
* ports is the list of exposed ports in the workspace.
|
634
|
+
*
|
635
|
+
* @generated from field: repeated gitpod.experimental.v1.Port ports = 7;
|
636
|
+
*/
|
637
|
+
ports: Port[];
|
638
|
+
constructor(data?: PartialMessage<WorkspaceInstanceStatus>);
|
639
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
640
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
|
641
|
+
static readonly fields: FieldList;
|
642
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstanceStatus;
|
643
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus;
|
644
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus;
|
645
|
+
static equals(a: WorkspaceInstanceStatus | PlainMessage<WorkspaceInstanceStatus> | undefined, b: WorkspaceInstanceStatus | PlainMessage<WorkspaceInstanceStatus> | undefined): boolean;
|
646
|
+
}
|
647
|
+
/**
|
648
|
+
* Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
|
649
|
+
* The phase is not intended to be a comprehensive rollup of observations of the workspace state,
|
650
|
+
* nor is it intended to be a comprehensive state machine.
|
651
|
+
* (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
652
|
+
*
|
653
|
+
* @generated from enum gitpod.experimental.v1.WorkspaceInstanceStatus.Phase
|
654
|
+
*/
|
655
|
+
export declare enum WorkspaceInstanceStatus_Phase {
|
656
|
+
/**
|
657
|
+
* Unknown indicates an issue within the workspace manager in that it cannot determine the actual phase of
|
658
|
+
* a workspace. This phase is usually accompanied by an error.
|
659
|
+
*
|
660
|
+
* @generated from enum value: PHASE_UNSPECIFIED = 0;
|
661
|
+
*/
|
662
|
+
UNSPECIFIED = 0,
|
663
|
+
/**
|
664
|
+
* Preparing means that we haven't actually started the workspace instance just yet, but rather
|
665
|
+
* are still preparing for launch.
|
666
|
+
*
|
667
|
+
* @generated from enum value: PHASE_PREPARING = 1;
|
668
|
+
*/
|
669
|
+
PREPARING = 1,
|
670
|
+
/**
|
671
|
+
* ImageBuild indicates that there's an image build running for this workspace.
|
672
|
+
*
|
673
|
+
* @generated from enum value: PHASE_IMAGEBUILD = 2;
|
674
|
+
*/
|
675
|
+
IMAGEBUILD = 2,
|
676
|
+
/**
|
677
|
+
* Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
|
678
|
+
* some space within the cluster. If for example the cluster needs to scale up to accomodate the
|
679
|
+
* workspace, the workspace will be in Pending state until that happened.
|
680
|
+
*
|
681
|
+
* @generated from enum value: PHASE_PENDING = 3;
|
682
|
+
*/
|
683
|
+
PENDING = 3,
|
684
|
+
/**
|
685
|
+
* Creating means the workspace is currently being created. That includes downloading the images required
|
686
|
+
* to run the workspace over the network. The time spent in this phase varies widely and depends on the current
|
687
|
+
* network speed, image size and cache states.
|
688
|
+
*
|
689
|
+
* @generated from enum value: PHASE_CREATING = 4;
|
690
|
+
*/
|
691
|
+
CREATING = 4,
|
692
|
+
/**
|
693
|
+
* Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
|
694
|
+
* clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
|
695
|
+
*
|
696
|
+
* @generated from enum value: PHASE_INITIALIZING = 5;
|
697
|
+
*/
|
698
|
+
INITIALIZING = 5,
|
699
|
+
/**
|
700
|
+
* Running means the workspace is able to actively perform work, either by serving a user through Theia,
|
701
|
+
* or as a headless workspace.
|
702
|
+
*
|
703
|
+
* @generated from enum value: PHASE_RUNNING = 6;
|
704
|
+
*/
|
705
|
+
RUNNING = 6,
|
706
|
+
/**
|
707
|
+
* Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
|
708
|
+
* When in this state, we expect it to become running or stopping anytime soon.
|
709
|
+
*
|
710
|
+
* @generated from enum value: PHASE_INTERRUPTED = 7;
|
711
|
+
*/
|
712
|
+
INTERRUPTED = 7,
|
713
|
+
/**
|
714
|
+
* Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
|
715
|
+
*
|
716
|
+
* @generated from enum value: PHASE_STOPPING = 8;
|
717
|
+
*/
|
718
|
+
STOPPING = 8,
|
719
|
+
/**
|
720
|
+
* Stopped means the workspace ended regularly because it was shut down.
|
721
|
+
*
|
722
|
+
* @generated from enum value: PHASE_STOPPED = 9;
|
723
|
+
*/
|
724
|
+
STOPPED = 9
|
725
|
+
}
|
726
|
+
/**
|
727
|
+
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
728
|
+
* has a value depends on the phase the workspace is in.
|
729
|
+
*
|
730
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions
|
731
|
+
*/
|
732
|
+
export declare class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanceStatus_Conditions> {
|
733
|
+
/**
|
734
|
+
* failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
|
735
|
+
* This field is filled exclusively when caused by system errors.
|
736
|
+
*
|
737
|
+
* @generated from field: string failed = 1;
|
738
|
+
*/
|
739
|
+
failed: string;
|
740
|
+
/**
|
741
|
+
* timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
|
742
|
+
*
|
743
|
+
* @generated from field: string timeout = 2;
|
744
|
+
*/
|
745
|
+
timeout: string;
|
746
|
+
/**
|
747
|
+
* first_user_activity is the time when MarkActive was first called on the workspace
|
748
|
+
*
|
749
|
+
* @generated from field: google.protobuf.Timestamp first_user_activity = 9;
|
750
|
+
*/
|
751
|
+
firstUserActivity?: Timestamp;
|
752
|
+
/**
|
753
|
+
* stopped_by_request is true if the workspace was stopped using a StopWorkspace call
|
754
|
+
*
|
755
|
+
* @generated from field: optional bool stopped_by_request = 11;
|
756
|
+
*/
|
757
|
+
stoppedByRequest?: boolean;
|
758
|
+
constructor(data?: PartialMessage<WorkspaceInstanceStatus_Conditions>);
|
759
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
760
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions";
|
761
|
+
static readonly fields: FieldList;
|
762
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstanceStatus_Conditions;
|
763
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
|
764
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
|
765
|
+
static equals(a: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined, b: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined): boolean;
|
766
|
+
}
|
767
|
+
/**
|
768
|
+
* @generated from message gitpod.experimental.v1.Port
|
769
|
+
*/
|
770
|
+
export declare class Port extends Message<Port> {
|
771
|
+
/**
|
772
|
+
* port number
|
773
|
+
*
|
774
|
+
* @generated from field: uint64 port = 1;
|
775
|
+
*/
|
776
|
+
port: bigint;
|
777
|
+
/**
|
778
|
+
* policy of this port
|
779
|
+
*
|
780
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
781
|
+
*/
|
782
|
+
policy: PortPolicy;
|
783
|
+
/**
|
784
|
+
* url that can be used to access the port
|
785
|
+
*
|
786
|
+
* @generated from field: string url = 3;
|
787
|
+
*/
|
788
|
+
url: string;
|
789
|
+
constructor(data?: PartialMessage<Port>);
|
790
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
791
|
+
static readonly typeName = "gitpod.experimental.v1.Port";
|
792
|
+
static readonly fields: FieldList;
|
793
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Port;
|
794
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Port;
|
795
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Port;
|
796
|
+
static equals(a: Port | PlainMessage<Port> | undefined, b: Port | PlainMessage<Port> | undefined): boolean;
|
797
|
+
}
|
798
|
+
/**
|
799
|
+
* StartWorkspaceSpec influences the workspace start
|
800
|
+
*
|
801
|
+
* future per-workspace-start fields, e.g. region
|
802
|
+
*
|
803
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceSpec
|
804
|
+
*/
|
805
|
+
export declare class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
|
806
|
+
constructor(data?: PartialMessage<StartWorkspaceSpec>);
|
807
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
808
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceSpec";
|
809
|
+
static readonly fields: FieldList;
|
810
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceSpec;
|
811
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
|
812
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
|
813
|
+
static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean;
|
814
|
+
}
|
815
|
+
/**
|
816
|
+
* @generated from message gitpod.experimental.v1.PortSpec
|
817
|
+
*/
|
818
|
+
export declare class PortSpec extends Message<PortSpec> {
|
819
|
+
/**
|
820
|
+
* port number
|
821
|
+
*
|
822
|
+
* @generated from field: uint64 port = 1;
|
823
|
+
*/
|
824
|
+
port: bigint;
|
825
|
+
/**
|
826
|
+
* policy of this port
|
827
|
+
*
|
828
|
+
* @generated from field: gitpod.experimental.v1.PortPolicy policy = 2;
|
829
|
+
*/
|
830
|
+
policy: PortPolicy;
|
831
|
+
constructor(data?: PartialMessage<PortSpec>);
|
832
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
833
|
+
static readonly typeName = "gitpod.experimental.v1.PortSpec";
|
834
|
+
static readonly fields: FieldList;
|
835
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortSpec;
|
836
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortSpec;
|
837
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortSpec;
|
838
|
+
static equals(a: PortSpec | PlainMessage<PortSpec> | undefined, b: PortSpec | PlainMessage<PortSpec> | undefined): boolean;
|
839
|
+
}
|
840
|
+
/**
|
841
|
+
* @generated from message gitpod.experimental.v1.UpdatePortRequest
|
842
|
+
*/
|
843
|
+
export declare class UpdatePortRequest extends Message<UpdatePortRequest> {
|
844
|
+
/**
|
845
|
+
* @generated from field: string workspace_id = 1;
|
846
|
+
*/
|
847
|
+
workspaceId: string;
|
848
|
+
/**
|
849
|
+
* @generated from field: gitpod.experimental.v1.PortSpec port = 2;
|
850
|
+
*/
|
851
|
+
port?: PortSpec;
|
852
|
+
constructor(data?: PartialMessage<UpdatePortRequest>);
|
853
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
854
|
+
static readonly typeName = "gitpod.experimental.v1.UpdatePortRequest";
|
855
|
+
static readonly fields: FieldList;
|
856
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortRequest;
|
857
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortRequest;
|
858
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortRequest;
|
859
|
+
static equals(a: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined, b: UpdatePortRequest | PlainMessage<UpdatePortRequest> | undefined): boolean;
|
860
|
+
}
|
861
|
+
/**
|
862
|
+
* @generated from message gitpod.experimental.v1.UpdatePortResponse
|
863
|
+
*/
|
864
|
+
export declare class UpdatePortResponse extends Message<UpdatePortResponse> {
|
865
|
+
constructor(data?: PartialMessage<UpdatePortResponse>);
|
866
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
867
|
+
static readonly typeName = "gitpod.experimental.v1.UpdatePortResponse";
|
868
|
+
static readonly fields: FieldList;
|
869
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePortResponse;
|
870
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePortResponse;
|
871
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePortResponse;
|
872
|
+
static equals(a: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined, b: UpdatePortResponse | PlainMessage<UpdatePortResponse> | undefined): boolean;
|
873
|
+
}
|
874
|
+
//# sourceMappingURL=workspaces_pb.d.ts.map
|