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