@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
@@ -1,800 +0,0 @@
1
- // Copyright 2020 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
16
- // @generated from file google/rpc/error_details.proto (package google.rpc, syntax proto3)
17
- /* eslint-disable */
18
- /* @ts-nocheck */
19
-
20
- import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
21
- import {Duration, Message, proto3} from "@bufbuild/protobuf";
22
-
23
- /**
24
- * Describes when the clients can retry a failed request. Clients could ignore
25
- * the recommendation here or retry when this information is missing from error
26
- * responses.
27
- *
28
- * It's always recommended that clients should use exponential backoff when
29
- * retrying.
30
- *
31
- * Clients should wait until `retry_delay` amount of time has passed since
32
- * receiving the error response before retrying. If retrying requests also
33
- * fail, clients should use an exponential backoff scheme to gradually increase
34
- * the delay between retries based on `retry_delay`, until either a maximum
35
- * number of retries have been reached or a maximum retry delay cap has been
36
- * reached.
37
- *
38
- * @generated from message google.rpc.RetryInfo
39
- */
40
- export class RetryInfo extends Message<RetryInfo> {
41
- /**
42
- * Clients should wait at least this long between retrying the same request.
43
- *
44
- * @generated from field: google.protobuf.Duration retry_delay = 1;
45
- */
46
- retryDelay?: Duration;
47
-
48
- constructor(data?: PartialMessage<RetryInfo>) {
49
- super();
50
- proto3.util.initPartial(data, this);
51
- }
52
-
53
- static readonly runtime = proto3;
54
- static readonly typeName = "google.rpc.RetryInfo";
55
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
56
- { no: 1, name: "retry_delay", kind: "message", T: Duration },
57
- ]);
58
-
59
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryInfo {
60
- return new RetryInfo().fromBinary(bytes, options);
61
- }
62
-
63
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryInfo {
64
- return new RetryInfo().fromJson(jsonValue, options);
65
- }
66
-
67
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryInfo {
68
- return new RetryInfo().fromJsonString(jsonString, options);
69
- }
70
-
71
- static equals(a: RetryInfo | PlainMessage<RetryInfo> | undefined, b: RetryInfo | PlainMessage<RetryInfo> | undefined): boolean {
72
- return proto3.util.equals(RetryInfo, a, b);
73
- }
74
- }
75
-
76
- /**
77
- * Describes additional debugging info.
78
- *
79
- * @generated from message google.rpc.DebugInfo
80
- */
81
- export class DebugInfo extends Message<DebugInfo> {
82
- /**
83
- * The stack trace entries indicating where the error occurred.
84
- *
85
- * @generated from field: repeated string stack_entries = 1;
86
- */
87
- stackEntries: string[] = [];
88
-
89
- /**
90
- * Additional debugging information provided by the server.
91
- *
92
- * @generated from field: string detail = 2;
93
- */
94
- detail = "";
95
-
96
- constructor(data?: PartialMessage<DebugInfo>) {
97
- super();
98
- proto3.util.initPartial(data, this);
99
- }
100
-
101
- static readonly runtime = proto3;
102
- static readonly typeName = "google.rpc.DebugInfo";
103
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
104
- { no: 1, name: "stack_entries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
105
- { no: 2, name: "detail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
106
- ]);
107
-
108
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugInfo {
109
- return new DebugInfo().fromBinary(bytes, options);
110
- }
111
-
112
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugInfo {
113
- return new DebugInfo().fromJson(jsonValue, options);
114
- }
115
-
116
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugInfo {
117
- return new DebugInfo().fromJsonString(jsonString, options);
118
- }
119
-
120
- static equals(a: DebugInfo | PlainMessage<DebugInfo> | undefined, b: DebugInfo | PlainMessage<DebugInfo> | undefined): boolean {
121
- return proto3.util.equals(DebugInfo, a, b);
122
- }
123
- }
124
-
125
- /**
126
- * Describes how a quota check failed.
127
- *
128
- * For example if a daily limit was exceeded for the calling project,
129
- * a service could respond with a QuotaFailure detail containing the project
130
- * id and the description of the quota limit that was exceeded. If the
131
- * calling project hasn't enabled the service in the developer console, then
132
- * a service could respond with the project id and set `service_disabled`
133
- * to true.
134
- *
135
- * Also see RetryInfo and Help types for other details about handling a
136
- * quota failure.
137
- *
138
- * @generated from message google.rpc.QuotaFailure
139
- */
140
- export class QuotaFailure extends Message<QuotaFailure> {
141
- /**
142
- * Describes all quota violations.
143
- *
144
- * @generated from field: repeated google.rpc.QuotaFailure.Violation violations = 1;
145
- */
146
- violations: QuotaFailure_Violation[] = [];
147
-
148
- constructor(data?: PartialMessage<QuotaFailure>) {
149
- super();
150
- proto3.util.initPartial(data, this);
151
- }
152
-
153
- static readonly runtime = proto3;
154
- static readonly typeName = "google.rpc.QuotaFailure";
155
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
156
- { no: 1, name: "violations", kind: "message", T: QuotaFailure_Violation, repeated: true },
157
- ]);
158
-
159
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuotaFailure {
160
- return new QuotaFailure().fromBinary(bytes, options);
161
- }
162
-
163
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuotaFailure {
164
- return new QuotaFailure().fromJson(jsonValue, options);
165
- }
166
-
167
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuotaFailure {
168
- return new QuotaFailure().fromJsonString(jsonString, options);
169
- }
170
-
171
- static equals(a: QuotaFailure | PlainMessage<QuotaFailure> | undefined, b: QuotaFailure | PlainMessage<QuotaFailure> | undefined): boolean {
172
- return proto3.util.equals(QuotaFailure, a, b);
173
- }
174
- }
175
-
176
- /**
177
- * A message type used to describe a single quota violation. For example, a
178
- * daily quota or a custom quota that was exceeded.
179
- *
180
- * @generated from message google.rpc.QuotaFailure.Violation
181
- */
182
- export class QuotaFailure_Violation extends Message<QuotaFailure_Violation> {
183
- /**
184
- * The subject on which the quota check failed.
185
- * For example, "clientip:<ip address of client>" or "project:<Google
186
- * developer project id>".
187
- *
188
- * @generated from field: string subject = 1;
189
- */
190
- subject = "";
191
-
192
- /**
193
- * A description of how the quota check failed. Clients can use this
194
- * description to find more about the quota configuration in the service's
195
- * public documentation, or find the relevant quota limit to adjust through
196
- * developer console.
197
- *
198
- * For example: "Service disabled" or "Daily Limit for read operations
199
- * exceeded".
200
- *
201
- * @generated from field: string description = 2;
202
- */
203
- description = "";
204
-
205
- constructor(data?: PartialMessage<QuotaFailure_Violation>) {
206
- super();
207
- proto3.util.initPartial(data, this);
208
- }
209
-
210
- static readonly runtime = proto3;
211
- static readonly typeName = "google.rpc.QuotaFailure.Violation";
212
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
213
- { no: 1, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
215
- ]);
216
-
217
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuotaFailure_Violation {
218
- return new QuotaFailure_Violation().fromBinary(bytes, options);
219
- }
220
-
221
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuotaFailure_Violation {
222
- return new QuotaFailure_Violation().fromJson(jsonValue, options);
223
- }
224
-
225
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuotaFailure_Violation {
226
- return new QuotaFailure_Violation().fromJsonString(jsonString, options);
227
- }
228
-
229
- static equals(a: QuotaFailure_Violation | PlainMessage<QuotaFailure_Violation> | undefined, b: QuotaFailure_Violation | PlainMessage<QuotaFailure_Violation> | undefined): boolean {
230
- return proto3.util.equals(QuotaFailure_Violation, a, b);
231
- }
232
- }
233
-
234
- /**
235
- * Describes the cause of the error with structured details.
236
- *
237
- * Example of an error when contacting the "pubsub.googleapis.com" API when it
238
- * is not enabled:
239
- *
240
- * { "reason": "API_DISABLED"
241
- * "domain": "googleapis.com"
242
- * "metadata": {
243
- * "resource": "projects/123",
244
- * "service": "pubsub.googleapis.com"
245
- * }
246
- * }
247
- *
248
- * This response indicates that the pubsub.googleapis.com API is not enabled.
249
- *
250
- * Example of an error that is returned when attempting to create a Spanner
251
- * instance in a region that is out of stock:
252
- *
253
- * { "reason": "STOCKOUT"
254
- * "domain": "spanner.googleapis.com",
255
- * "metadata": {
256
- * "availableRegions": "us-central1,us-east2"
257
- * }
258
- * }
259
- *
260
- * @generated from message google.rpc.ErrorInfo
261
- */
262
- export class ErrorInfo extends Message<ErrorInfo> {
263
- /**
264
- * The reason of the error. This is a constant value that identifies the
265
- * proximate cause of the error. Error reasons are unique within a particular
266
- * domain of errors. This should be at most 63 characters and match
267
- * /[A-Z0-9_]+/.
268
- *
269
- * @generated from field: string reason = 1;
270
- */
271
- reason = "";
272
-
273
- /**
274
- * The logical grouping to which the "reason" belongs. The error domain
275
- * is typically the registered service name of the tool or product that
276
- * generates the error. Example: "pubsub.googleapis.com". If the error is
277
- * generated by some common infrastructure, the error domain must be a
278
- * globally unique value that identifies the infrastructure. For Google API
279
- * infrastructure, the error domain is "googleapis.com".
280
- *
281
- * @generated from field: string domain = 2;
282
- */
283
- domain = "";
284
-
285
- /**
286
- * Additional structured details about this error.
287
- *
288
- * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
289
- * length. When identifying the current value of an exceeded limit, the units
290
- * should be contained in the key, not the value. For example, rather than
291
- * {"instanceLimit": "100/request"}, should be returned as,
292
- * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of
293
- * instances that can be created in a single (batch) request.
294
- *
295
- * @generated from field: map<string, string> metadata = 3;
296
- */
297
- metadata: { [key: string]: string } = {};
298
-
299
- constructor(data?: PartialMessage<ErrorInfo>) {
300
- super();
301
- proto3.util.initPartial(data, this);
302
- }
303
-
304
- static readonly runtime = proto3;
305
- static readonly typeName = "google.rpc.ErrorInfo";
306
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
307
- { no: 1, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
- { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
309
- { no: 3, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
310
- ]);
311
-
312
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ErrorInfo {
313
- return new ErrorInfo().fromBinary(bytes, options);
314
- }
315
-
316
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ErrorInfo {
317
- return new ErrorInfo().fromJson(jsonValue, options);
318
- }
319
-
320
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ErrorInfo {
321
- return new ErrorInfo().fromJsonString(jsonString, options);
322
- }
323
-
324
- static equals(a: ErrorInfo | PlainMessage<ErrorInfo> | undefined, b: ErrorInfo | PlainMessage<ErrorInfo> | undefined): boolean {
325
- return proto3.util.equals(ErrorInfo, a, b);
326
- }
327
- }
328
-
329
- /**
330
- * Describes what preconditions have failed.
331
- *
332
- * For example, if an RPC failed because it required the Terms of Service to be
333
- * acknowledged, it could list the terms of service violation in the
334
- * PreconditionFailure message.
335
- *
336
- * @generated from message google.rpc.PreconditionFailure
337
- */
338
- export class PreconditionFailure extends Message<PreconditionFailure> {
339
- /**
340
- * Describes all precondition violations.
341
- *
342
- * @generated from field: repeated google.rpc.PreconditionFailure.Violation violations = 1;
343
- */
344
- violations: PreconditionFailure_Violation[] = [];
345
-
346
- constructor(data?: PartialMessage<PreconditionFailure>) {
347
- super();
348
- proto3.util.initPartial(data, this);
349
- }
350
-
351
- static readonly runtime = proto3;
352
- static readonly typeName = "google.rpc.PreconditionFailure";
353
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
354
- { no: 1, name: "violations", kind: "message", T: PreconditionFailure_Violation, repeated: true },
355
- ]);
356
-
357
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreconditionFailure {
358
- return new PreconditionFailure().fromBinary(bytes, options);
359
- }
360
-
361
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreconditionFailure {
362
- return new PreconditionFailure().fromJson(jsonValue, options);
363
- }
364
-
365
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreconditionFailure {
366
- return new PreconditionFailure().fromJsonString(jsonString, options);
367
- }
368
-
369
- static equals(a: PreconditionFailure | PlainMessage<PreconditionFailure> | undefined, b: PreconditionFailure | PlainMessage<PreconditionFailure> | undefined): boolean {
370
- return proto3.util.equals(PreconditionFailure, a, b);
371
- }
372
- }
373
-
374
- /**
375
- * A message type used to describe a single precondition failure.
376
- *
377
- * @generated from message google.rpc.PreconditionFailure.Violation
378
- */
379
- export class PreconditionFailure_Violation extends Message<PreconditionFailure_Violation> {
380
- /**
381
- * The type of PreconditionFailure. We recommend using a service-specific
382
- * enum type to define the supported precondition violation subjects. For
383
- * example, "TOS" for "Terms of Service violation".
384
- *
385
- * @generated from field: string type = 1;
386
- */
387
- type = "";
388
-
389
- /**
390
- * The subject, relative to the type, that failed.
391
- * For example, "google.com/cloud" relative to the "TOS" type would indicate
392
- * which terms of service is being referenced.
393
- *
394
- * @generated from field: string subject = 2;
395
- */
396
- subject = "";
397
-
398
- /**
399
- * A description of how the precondition failed. Developers can use this
400
- * description to understand how to fix the failure.
401
- *
402
- * For example: "Terms of service not accepted".
403
- *
404
- * @generated from field: string description = 3;
405
- */
406
- description = "";
407
-
408
- constructor(data?: PartialMessage<PreconditionFailure_Violation>) {
409
- super();
410
- proto3.util.initPartial(data, this);
411
- }
412
-
413
- static readonly runtime = proto3;
414
- static readonly typeName = "google.rpc.PreconditionFailure.Violation";
415
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
416
- { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
417
- { no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
418
- { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
419
- ]);
420
-
421
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PreconditionFailure_Violation {
422
- return new PreconditionFailure_Violation().fromBinary(bytes, options);
423
- }
424
-
425
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PreconditionFailure_Violation {
426
- return new PreconditionFailure_Violation().fromJson(jsonValue, options);
427
- }
428
-
429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PreconditionFailure_Violation {
430
- return new PreconditionFailure_Violation().fromJsonString(jsonString, options);
431
- }
432
-
433
- static equals(a: PreconditionFailure_Violation | PlainMessage<PreconditionFailure_Violation> | undefined, b: PreconditionFailure_Violation | PlainMessage<PreconditionFailure_Violation> | undefined): boolean {
434
- return proto3.util.equals(PreconditionFailure_Violation, a, b);
435
- }
436
- }
437
-
438
- /**
439
- * Describes violations in a client request. This error type focuses on the
440
- * syntactic aspects of the request.
441
- *
442
- * @generated from message google.rpc.BadRequest
443
- */
444
- export class BadRequest extends Message<BadRequest> {
445
- /**
446
- * Describes all violations in a client request.
447
- *
448
- * @generated from field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1;
449
- */
450
- fieldViolations: BadRequest_FieldViolation[] = [];
451
-
452
- constructor(data?: PartialMessage<BadRequest>) {
453
- super();
454
- proto3.util.initPartial(data, this);
455
- }
456
-
457
- static readonly runtime = proto3;
458
- static readonly typeName = "google.rpc.BadRequest";
459
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
460
- { no: 1, name: "field_violations", kind: "message", T: BadRequest_FieldViolation, repeated: true },
461
- ]);
462
-
463
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BadRequest {
464
- return new BadRequest().fromBinary(bytes, options);
465
- }
466
-
467
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BadRequest {
468
- return new BadRequest().fromJson(jsonValue, options);
469
- }
470
-
471
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BadRequest {
472
- return new BadRequest().fromJsonString(jsonString, options);
473
- }
474
-
475
- static equals(a: BadRequest | PlainMessage<BadRequest> | undefined, b: BadRequest | PlainMessage<BadRequest> | undefined): boolean {
476
- return proto3.util.equals(BadRequest, a, b);
477
- }
478
- }
479
-
480
- /**
481
- * A message type used to describe a single bad request field.
482
- *
483
- * @generated from message google.rpc.BadRequest.FieldViolation
484
- */
485
- export class BadRequest_FieldViolation extends Message<BadRequest_FieldViolation> {
486
- /**
487
- * A path leading to a field in the request body. The value will be a
488
- * sequence of dot-separated identifiers that identify a protocol buffer
489
- * field. E.g., "field_violations.field" would identify this field.
490
- *
491
- * @generated from field: string field = 1;
492
- */
493
- field = "";
494
-
495
- /**
496
- * A description of why the request element is bad.
497
- *
498
- * @generated from field: string description = 2;
499
- */
500
- description = "";
501
-
502
- constructor(data?: PartialMessage<BadRequest_FieldViolation>) {
503
- super();
504
- proto3.util.initPartial(data, this);
505
- }
506
-
507
- static readonly runtime = proto3;
508
- static readonly typeName = "google.rpc.BadRequest.FieldViolation";
509
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
510
- { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
511
- { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
512
- ]);
513
-
514
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BadRequest_FieldViolation {
515
- return new BadRequest_FieldViolation().fromBinary(bytes, options);
516
- }
517
-
518
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BadRequest_FieldViolation {
519
- return new BadRequest_FieldViolation().fromJson(jsonValue, options);
520
- }
521
-
522
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BadRequest_FieldViolation {
523
- return new BadRequest_FieldViolation().fromJsonString(jsonString, options);
524
- }
525
-
526
- static equals(a: BadRequest_FieldViolation | PlainMessage<BadRequest_FieldViolation> | undefined, b: BadRequest_FieldViolation | PlainMessage<BadRequest_FieldViolation> | undefined): boolean {
527
- return proto3.util.equals(BadRequest_FieldViolation, a, b);
528
- }
529
- }
530
-
531
- /**
532
- * Contains metadata about the request that clients can attach when filing a bug
533
- * or providing other forms of feedback.
534
- *
535
- * @generated from message google.rpc.RequestInfo
536
- */
537
- export class RequestInfo extends Message<RequestInfo> {
538
- /**
539
- * An opaque string that should only be interpreted by the service generating
540
- * it. For example, it can be used to identify requests in the service's logs.
541
- *
542
- * @generated from field: string request_id = 1;
543
- */
544
- requestId = "";
545
-
546
- /**
547
- * Any data that was used to serve this request. For example, an encrypted
548
- * stack trace that can be sent back to the service provider for debugging.
549
- *
550
- * @generated from field: string serving_data = 2;
551
- */
552
- servingData = "";
553
-
554
- constructor(data?: PartialMessage<RequestInfo>) {
555
- super();
556
- proto3.util.initPartial(data, this);
557
- }
558
-
559
- static readonly runtime = proto3;
560
- static readonly typeName = "google.rpc.RequestInfo";
561
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
562
- { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
563
- { no: 2, name: "serving_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
564
- ]);
565
-
566
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestInfo {
567
- return new RequestInfo().fromBinary(bytes, options);
568
- }
569
-
570
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestInfo {
571
- return new RequestInfo().fromJson(jsonValue, options);
572
- }
573
-
574
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestInfo {
575
- return new RequestInfo().fromJsonString(jsonString, options);
576
- }
577
-
578
- static equals(a: RequestInfo | PlainMessage<RequestInfo> | undefined, b: RequestInfo | PlainMessage<RequestInfo> | undefined): boolean {
579
- return proto3.util.equals(RequestInfo, a, b);
580
- }
581
- }
582
-
583
- /**
584
- * Describes the resource that is being accessed.
585
- *
586
- * @generated from message google.rpc.ResourceInfo
587
- */
588
- export class ResourceInfo extends Message<ResourceInfo> {
589
- /**
590
- * A name for the type of resource being accessed, e.g. "sql table",
591
- * "cloud storage bucket", "file", "Google calendar"; or the type URL
592
- * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
593
- *
594
- * @generated from field: string resource_type = 1;
595
- */
596
- resourceType = "";
597
-
598
- /**
599
- * The name of the resource being accessed. For example, a shared calendar
600
- * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
601
- * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
602
- *
603
- * @generated from field: string resource_name = 2;
604
- */
605
- resourceName = "";
606
-
607
- /**
608
- * The owner of the resource (optional).
609
- * For example, "user:<owner email>" or "project:<Google developer project
610
- * id>".
611
- *
612
- * @generated from field: string owner = 3;
613
- */
614
- owner = "";
615
-
616
- /**
617
- * Describes what error is encountered when accessing this resource.
618
- * For example, updating a cloud project may require the `writer` permission
619
- * on the developer console project.
620
- *
621
- * @generated from field: string description = 4;
622
- */
623
- description = "";
624
-
625
- constructor(data?: PartialMessage<ResourceInfo>) {
626
- super();
627
- proto3.util.initPartial(data, this);
628
- }
629
-
630
- static readonly runtime = proto3;
631
- static readonly typeName = "google.rpc.ResourceInfo";
632
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
633
- { no: 1, name: "resource_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
634
- { no: 2, name: "resource_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
635
- { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
636
- { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
637
- ]);
638
-
639
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceInfo {
640
- return new ResourceInfo().fromBinary(bytes, options);
641
- }
642
-
643
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceInfo {
644
- return new ResourceInfo().fromJson(jsonValue, options);
645
- }
646
-
647
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceInfo {
648
- return new ResourceInfo().fromJsonString(jsonString, options);
649
- }
650
-
651
- static equals(a: ResourceInfo | PlainMessage<ResourceInfo> | undefined, b: ResourceInfo | PlainMessage<ResourceInfo> | undefined): boolean {
652
- return proto3.util.equals(ResourceInfo, a, b);
653
- }
654
- }
655
-
656
- /**
657
- * Provides links to documentation or for performing an out of band action.
658
- *
659
- * For example, if a quota check failed with an error indicating the calling
660
- * project hasn't enabled the accessed service, this can contain a URL pointing
661
- * directly to the right place in the developer console to flip the bit.
662
- *
663
- * @generated from message google.rpc.Help
664
- */
665
- export class Help extends Message<Help> {
666
- /**
667
- * URL(s) pointing to additional information on handling the current error.
668
- *
669
- * @generated from field: repeated google.rpc.Help.Link links = 1;
670
- */
671
- links: Help_Link[] = [];
672
-
673
- constructor(data?: PartialMessage<Help>) {
674
- super();
675
- proto3.util.initPartial(data, this);
676
- }
677
-
678
- static readonly runtime = proto3;
679
- static readonly typeName = "google.rpc.Help";
680
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
681
- { no: 1, name: "links", kind: "message", T: Help_Link, repeated: true },
682
- ]);
683
-
684
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Help {
685
- return new Help().fromBinary(bytes, options);
686
- }
687
-
688
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Help {
689
- return new Help().fromJson(jsonValue, options);
690
- }
691
-
692
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Help {
693
- return new Help().fromJsonString(jsonString, options);
694
- }
695
-
696
- static equals(a: Help | PlainMessage<Help> | undefined, b: Help | PlainMessage<Help> | undefined): boolean {
697
- return proto3.util.equals(Help, a, b);
698
- }
699
- }
700
-
701
- /**
702
- * Describes a URL link.
703
- *
704
- * @generated from message google.rpc.Help.Link
705
- */
706
- export class Help_Link extends Message<Help_Link> {
707
- /**
708
- * Describes what the link offers.
709
- *
710
- * @generated from field: string description = 1;
711
- */
712
- description = "";
713
-
714
- /**
715
- * The URL of the link.
716
- *
717
- * @generated from field: string url = 2;
718
- */
719
- url = "";
720
-
721
- constructor(data?: PartialMessage<Help_Link>) {
722
- super();
723
- proto3.util.initPartial(data, this);
724
- }
725
-
726
- static readonly runtime = proto3;
727
- static readonly typeName = "google.rpc.Help.Link";
728
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
729
- { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
730
- { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
731
- ]);
732
-
733
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Help_Link {
734
- return new Help_Link().fromBinary(bytes, options);
735
- }
736
-
737
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Help_Link {
738
- return new Help_Link().fromJson(jsonValue, options);
739
- }
740
-
741
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Help_Link {
742
- return new Help_Link().fromJsonString(jsonString, options);
743
- }
744
-
745
- static equals(a: Help_Link | PlainMessage<Help_Link> | undefined, b: Help_Link | PlainMessage<Help_Link> | undefined): boolean {
746
- return proto3.util.equals(Help_Link, a, b);
747
- }
748
- }
749
-
750
- /**
751
- * Provides a localized error message that is safe to return to the user
752
- * which can be attached to an RPC error.
753
- *
754
- * @generated from message google.rpc.LocalizedMessage
755
- */
756
- export class LocalizedMessage extends Message<LocalizedMessage> {
757
- /**
758
- * The locale used following the specification defined at
759
- * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
760
- * Examples are: "en-US", "fr-CH", "es-MX"
761
- *
762
- * @generated from field: string locale = 1;
763
- */
764
- locale = "";
765
-
766
- /**
767
- * The localized error message in the above locale.
768
- *
769
- * @generated from field: string message = 2;
770
- */
771
- message = "";
772
-
773
- constructor(data?: PartialMessage<LocalizedMessage>) {
774
- super();
775
- proto3.util.initPartial(data, this);
776
- }
777
-
778
- static readonly runtime = proto3;
779
- static readonly typeName = "google.rpc.LocalizedMessage";
780
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
781
- { no: 1, name: "locale", kind: "scalar", T: 9 /* ScalarType.STRING */ },
782
- { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
783
- ]);
784
-
785
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalizedMessage {
786
- return new LocalizedMessage().fromBinary(bytes, options);
787
- }
788
-
789
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalizedMessage {
790
- return new LocalizedMessage().fromJson(jsonValue, options);
791
- }
792
-
793
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalizedMessage {
794
- return new LocalizedMessage().fromJsonString(jsonString, options);
795
- }
796
-
797
- static equals(a: LocalizedMessage | PlainMessage<LocalizedMessage> | undefined, b: LocalizedMessage | PlainMessage<LocalizedMessage> | undefined): boolean {
798
- return proto3.util.equals(LocalizedMessage, a, b);
799
- }
800
- }