@temporalio/testing 1.2.0 → 1.3.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.
- package/lib/connection.d.ts +21 -0
- package/lib/connection.js +62 -0
- package/lib/connection.js.map +1 -0
- package/lib/index.d.ts +110 -66
- package/lib/index.js +140 -69
- package/lib/index.js.map +1 -1
- package/package.json +8 -21
- package/src/{test-service-client.ts → connection.ts} +1 -1
- package/src/index.ts +209 -135
- package/generated-protos/index.d.ts +0 -4206
- package/generated-protos/index.js +0 -11034
- package/scripts/common.mjs +0 -18
- package/scripts/compile-proto.mjs +0 -91
- package/scripts/download-test-server.mjs +0 -91
- package/src/child-process.ts +0 -60
- package/src/index-for-docs.ts +0 -2
|
@@ -1,4206 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import * as $protobuf from "protobufjs";
|
|
3
|
-
/** Namespace temporal. */
|
|
4
|
-
export namespace temporal {
|
|
5
|
-
|
|
6
|
-
/** Namespace api. */
|
|
7
|
-
namespace api {
|
|
8
|
-
|
|
9
|
-
/** Namespace testservice. */
|
|
10
|
-
namespace testservice {
|
|
11
|
-
|
|
12
|
-
/** Namespace v1. */
|
|
13
|
-
namespace v1 {
|
|
14
|
-
|
|
15
|
-
/** Represents a TestService */
|
|
16
|
-
class TestService extends $protobuf.rpc.Service {
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Constructs a new TestService service.
|
|
20
|
-
* @param rpcImpl RPC implementation
|
|
21
|
-
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
22
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
23
|
-
*/
|
|
24
|
-
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Creates new TestService service using the specified rpc implementation.
|
|
28
|
-
* @param rpcImpl RPC implementation
|
|
29
|
-
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
30
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
31
|
-
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
32
|
-
*/
|
|
33
|
-
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TestService;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Calls LockTimeSkipping.
|
|
37
|
-
* @param request LockTimeSkippingRequest message or plain object
|
|
38
|
-
* @param callback Node-style callback called with the error, if any, and LockTimeSkippingResponse
|
|
39
|
-
*/
|
|
40
|
-
public lockTimeSkipping(request: temporal.api.testservice.v1.ILockTimeSkippingRequest, callback: temporal.api.testservice.v1.TestService.LockTimeSkippingCallback): void;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Calls LockTimeSkipping.
|
|
44
|
-
* @param request LockTimeSkippingRequest message or plain object
|
|
45
|
-
* @returns Promise
|
|
46
|
-
*/
|
|
47
|
-
public lockTimeSkipping(request: temporal.api.testservice.v1.ILockTimeSkippingRequest): Promise<temporal.api.testservice.v1.LockTimeSkippingResponse>;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Calls UnlockTimeSkipping.
|
|
51
|
-
* @param request UnlockTimeSkippingRequest message or plain object
|
|
52
|
-
* @param callback Node-style callback called with the error, if any, and UnlockTimeSkippingResponse
|
|
53
|
-
*/
|
|
54
|
-
public unlockTimeSkipping(request: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, callback: temporal.api.testservice.v1.TestService.UnlockTimeSkippingCallback): void;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Calls UnlockTimeSkipping.
|
|
58
|
-
* @param request UnlockTimeSkippingRequest message or plain object
|
|
59
|
-
* @returns Promise
|
|
60
|
-
*/
|
|
61
|
-
public unlockTimeSkipping(request: temporal.api.testservice.v1.IUnlockTimeSkippingRequest): Promise<temporal.api.testservice.v1.UnlockTimeSkippingResponse>;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Calls Sleep.
|
|
65
|
-
* @param request SleepRequest message or plain object
|
|
66
|
-
* @param callback Node-style callback called with the error, if any, and SleepResponse
|
|
67
|
-
*/
|
|
68
|
-
public sleep(request: temporal.api.testservice.v1.ISleepRequest, callback: temporal.api.testservice.v1.TestService.SleepCallback): void;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Calls Sleep.
|
|
72
|
-
* @param request SleepRequest message or plain object
|
|
73
|
-
* @returns Promise
|
|
74
|
-
*/
|
|
75
|
-
public sleep(request: temporal.api.testservice.v1.ISleepRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Calls SleepUntil.
|
|
79
|
-
* @param request SleepUntilRequest message or plain object
|
|
80
|
-
* @param callback Node-style callback called with the error, if any, and SleepResponse
|
|
81
|
-
*/
|
|
82
|
-
public sleepUntil(request: temporal.api.testservice.v1.ISleepUntilRequest, callback: temporal.api.testservice.v1.TestService.SleepUntilCallback): void;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Calls SleepUntil.
|
|
86
|
-
* @param request SleepUntilRequest message or plain object
|
|
87
|
-
* @returns Promise
|
|
88
|
-
*/
|
|
89
|
-
public sleepUntil(request: temporal.api.testservice.v1.ISleepUntilRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Calls UnlockTimeSkippingWithSleep.
|
|
93
|
-
* @param request SleepRequest message or plain object
|
|
94
|
-
* @param callback Node-style callback called with the error, if any, and SleepResponse
|
|
95
|
-
*/
|
|
96
|
-
public unlockTimeSkippingWithSleep(request: temporal.api.testservice.v1.ISleepRequest, callback: temporal.api.testservice.v1.TestService.UnlockTimeSkippingWithSleepCallback): void;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Calls UnlockTimeSkippingWithSleep.
|
|
100
|
-
* @param request SleepRequest message or plain object
|
|
101
|
-
* @returns Promise
|
|
102
|
-
*/
|
|
103
|
-
public unlockTimeSkippingWithSleep(request: temporal.api.testservice.v1.ISleepRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Calls GetCurrentTime.
|
|
107
|
-
* @param request Empty message or plain object
|
|
108
|
-
* @param callback Node-style callback called with the error, if any, and GetCurrentTimeResponse
|
|
109
|
-
*/
|
|
110
|
-
public getCurrentTime(request: google.protobuf.IEmpty, callback: temporal.api.testservice.v1.TestService.GetCurrentTimeCallback): void;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Calls GetCurrentTime.
|
|
114
|
-
* @param request Empty message or plain object
|
|
115
|
-
* @returns Promise
|
|
116
|
-
*/
|
|
117
|
-
public getCurrentTime(request: google.protobuf.IEmpty): Promise<temporal.api.testservice.v1.GetCurrentTimeResponse>;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
namespace TestService {
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#lockTimeSkipping}.
|
|
124
|
-
* @param error Error, if any
|
|
125
|
-
* @param [response] LockTimeSkippingResponse
|
|
126
|
-
*/
|
|
127
|
-
type LockTimeSkippingCallback = (error: (Error|null), response?: temporal.api.testservice.v1.LockTimeSkippingResponse) => void;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#unlockTimeSkipping}.
|
|
131
|
-
* @param error Error, if any
|
|
132
|
-
* @param [response] UnlockTimeSkippingResponse
|
|
133
|
-
*/
|
|
134
|
-
type UnlockTimeSkippingCallback = (error: (Error|null), response?: temporal.api.testservice.v1.UnlockTimeSkippingResponse) => void;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#sleep}.
|
|
138
|
-
* @param error Error, if any
|
|
139
|
-
* @param [response] SleepResponse
|
|
140
|
-
*/
|
|
141
|
-
type SleepCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#sleepUntil}.
|
|
145
|
-
* @param error Error, if any
|
|
146
|
-
* @param [response] SleepResponse
|
|
147
|
-
*/
|
|
148
|
-
type SleepUntilCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#unlockTimeSkippingWithSleep}.
|
|
152
|
-
* @param error Error, if any
|
|
153
|
-
* @param [response] SleepResponse
|
|
154
|
-
*/
|
|
155
|
-
type UnlockTimeSkippingWithSleepCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Callback as used by {@link temporal.api.testservice.v1.TestService#getCurrentTime}.
|
|
159
|
-
* @param error Error, if any
|
|
160
|
-
* @param [response] GetCurrentTimeResponse
|
|
161
|
-
*/
|
|
162
|
-
type GetCurrentTimeCallback = (error: (Error|null), response?: temporal.api.testservice.v1.GetCurrentTimeResponse) => void;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/** Properties of a LockTimeSkippingRequest. */
|
|
166
|
-
interface ILockTimeSkippingRequest {
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/** Represents a LockTimeSkippingRequest. */
|
|
170
|
-
class LockTimeSkippingRequest implements ILockTimeSkippingRequest {
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Constructs a new LockTimeSkippingRequest.
|
|
174
|
-
* @param [properties] Properties to set
|
|
175
|
-
*/
|
|
176
|
-
constructor(properties?: temporal.api.testservice.v1.ILockTimeSkippingRequest);
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Creates a new LockTimeSkippingRequest instance using the specified properties.
|
|
180
|
-
* @param [properties] Properties to set
|
|
181
|
-
* @returns LockTimeSkippingRequest instance
|
|
182
|
-
*/
|
|
183
|
-
public static create(properties?: temporal.api.testservice.v1.ILockTimeSkippingRequest): temporal.api.testservice.v1.LockTimeSkippingRequest;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Encodes the specified LockTimeSkippingRequest message. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingRequest.verify|verify} messages.
|
|
187
|
-
* @param message LockTimeSkippingRequest message or plain object to encode
|
|
188
|
-
* @param [writer] Writer to encode to
|
|
189
|
-
* @returns Writer
|
|
190
|
-
*/
|
|
191
|
-
public static encode(message: temporal.api.testservice.v1.ILockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Encodes the specified LockTimeSkippingRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingRequest.verify|verify} messages.
|
|
195
|
-
* @param message LockTimeSkippingRequest message or plain object to encode
|
|
196
|
-
* @param [writer] Writer to encode to
|
|
197
|
-
* @returns Writer
|
|
198
|
-
*/
|
|
199
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.ILockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Decodes a LockTimeSkippingRequest message from the specified reader or buffer.
|
|
203
|
-
* @param reader Reader or buffer to decode from
|
|
204
|
-
* @param [length] Message length if known beforehand
|
|
205
|
-
* @returns LockTimeSkippingRequest
|
|
206
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
207
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
208
|
-
*/
|
|
209
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.LockTimeSkippingRequest;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Decodes a LockTimeSkippingRequest message from the specified reader or buffer, length delimited.
|
|
213
|
-
* @param reader Reader or buffer to decode from
|
|
214
|
-
* @returns LockTimeSkippingRequest
|
|
215
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
216
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
217
|
-
*/
|
|
218
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.LockTimeSkippingRequest;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Creates a LockTimeSkippingRequest message from a plain object. Also converts values to their respective internal types.
|
|
222
|
-
* @param object Plain object
|
|
223
|
-
* @returns LockTimeSkippingRequest
|
|
224
|
-
*/
|
|
225
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.LockTimeSkippingRequest;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Creates a plain object from a LockTimeSkippingRequest message. Also converts values to other types if specified.
|
|
229
|
-
* @param message LockTimeSkippingRequest
|
|
230
|
-
* @param [options] Conversion options
|
|
231
|
-
* @returns Plain object
|
|
232
|
-
*/
|
|
233
|
-
public static toObject(message: temporal.api.testservice.v1.LockTimeSkippingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Converts this LockTimeSkippingRequest to JSON.
|
|
237
|
-
* @returns JSON object
|
|
238
|
-
*/
|
|
239
|
-
public toJSON(): { [k: string]: any };
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Gets the default type url for LockTimeSkippingRequest
|
|
243
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
244
|
-
* @returns The default type url
|
|
245
|
-
*/
|
|
246
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/** Properties of a LockTimeSkippingResponse. */
|
|
250
|
-
interface ILockTimeSkippingResponse {
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/** Represents a LockTimeSkippingResponse. */
|
|
254
|
-
class LockTimeSkippingResponse implements ILockTimeSkippingResponse {
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Constructs a new LockTimeSkippingResponse.
|
|
258
|
-
* @param [properties] Properties to set
|
|
259
|
-
*/
|
|
260
|
-
constructor(properties?: temporal.api.testservice.v1.ILockTimeSkippingResponse);
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Creates a new LockTimeSkippingResponse instance using the specified properties.
|
|
264
|
-
* @param [properties] Properties to set
|
|
265
|
-
* @returns LockTimeSkippingResponse instance
|
|
266
|
-
*/
|
|
267
|
-
public static create(properties?: temporal.api.testservice.v1.ILockTimeSkippingResponse): temporal.api.testservice.v1.LockTimeSkippingResponse;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Encodes the specified LockTimeSkippingResponse message. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingResponse.verify|verify} messages.
|
|
271
|
-
* @param message LockTimeSkippingResponse message or plain object to encode
|
|
272
|
-
* @param [writer] Writer to encode to
|
|
273
|
-
* @returns Writer
|
|
274
|
-
*/
|
|
275
|
-
public static encode(message: temporal.api.testservice.v1.ILockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Encodes the specified LockTimeSkippingResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingResponse.verify|verify} messages.
|
|
279
|
-
* @param message LockTimeSkippingResponse message or plain object to encode
|
|
280
|
-
* @param [writer] Writer to encode to
|
|
281
|
-
* @returns Writer
|
|
282
|
-
*/
|
|
283
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.ILockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Decodes a LockTimeSkippingResponse message from the specified reader or buffer.
|
|
287
|
-
* @param reader Reader or buffer to decode from
|
|
288
|
-
* @param [length] Message length if known beforehand
|
|
289
|
-
* @returns LockTimeSkippingResponse
|
|
290
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
291
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
292
|
-
*/
|
|
293
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.LockTimeSkippingResponse;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Decodes a LockTimeSkippingResponse message from the specified reader or buffer, length delimited.
|
|
297
|
-
* @param reader Reader or buffer to decode from
|
|
298
|
-
* @returns LockTimeSkippingResponse
|
|
299
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
300
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
301
|
-
*/
|
|
302
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.LockTimeSkippingResponse;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Creates a LockTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
|
|
306
|
-
* @param object Plain object
|
|
307
|
-
* @returns LockTimeSkippingResponse
|
|
308
|
-
*/
|
|
309
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.LockTimeSkippingResponse;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Creates a plain object from a LockTimeSkippingResponse message. Also converts values to other types if specified.
|
|
313
|
-
* @param message LockTimeSkippingResponse
|
|
314
|
-
* @param [options] Conversion options
|
|
315
|
-
* @returns Plain object
|
|
316
|
-
*/
|
|
317
|
-
public static toObject(message: temporal.api.testservice.v1.LockTimeSkippingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Converts this LockTimeSkippingResponse to JSON.
|
|
321
|
-
* @returns JSON object
|
|
322
|
-
*/
|
|
323
|
-
public toJSON(): { [k: string]: any };
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Gets the default type url for LockTimeSkippingResponse
|
|
327
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
328
|
-
* @returns The default type url
|
|
329
|
-
*/
|
|
330
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/** Properties of an UnlockTimeSkippingRequest. */
|
|
334
|
-
interface IUnlockTimeSkippingRequest {
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/** Represents an UnlockTimeSkippingRequest. */
|
|
338
|
-
class UnlockTimeSkippingRequest implements IUnlockTimeSkippingRequest {
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Constructs a new UnlockTimeSkippingRequest.
|
|
342
|
-
* @param [properties] Properties to set
|
|
343
|
-
*/
|
|
344
|
-
constructor(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingRequest);
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Creates a new UnlockTimeSkippingRequest instance using the specified properties.
|
|
348
|
-
* @param [properties] Properties to set
|
|
349
|
-
* @returns UnlockTimeSkippingRequest instance
|
|
350
|
-
*/
|
|
351
|
-
public static create(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingRequest): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Encodes the specified UnlockTimeSkippingRequest message. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingRequest.verify|verify} messages.
|
|
355
|
-
* @param message UnlockTimeSkippingRequest message or plain object to encode
|
|
356
|
-
* @param [writer] Writer to encode to
|
|
357
|
-
* @returns Writer
|
|
358
|
-
*/
|
|
359
|
-
public static encode(message: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Encodes the specified UnlockTimeSkippingRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingRequest.verify|verify} messages.
|
|
363
|
-
* @param message UnlockTimeSkippingRequest message or plain object to encode
|
|
364
|
-
* @param [writer] Writer to encode to
|
|
365
|
-
* @returns Writer
|
|
366
|
-
*/
|
|
367
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Decodes an UnlockTimeSkippingRequest message from the specified reader or buffer.
|
|
371
|
-
* @param reader Reader or buffer to decode from
|
|
372
|
-
* @param [length] Message length if known beforehand
|
|
373
|
-
* @returns UnlockTimeSkippingRequest
|
|
374
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
375
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
376
|
-
*/
|
|
377
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Decodes an UnlockTimeSkippingRequest message from the specified reader or buffer, length delimited.
|
|
381
|
-
* @param reader Reader or buffer to decode from
|
|
382
|
-
* @returns UnlockTimeSkippingRequest
|
|
383
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
384
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
385
|
-
*/
|
|
386
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Creates an UnlockTimeSkippingRequest message from a plain object. Also converts values to their respective internal types.
|
|
390
|
-
* @param object Plain object
|
|
391
|
-
* @returns UnlockTimeSkippingRequest
|
|
392
|
-
*/
|
|
393
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Creates a plain object from an UnlockTimeSkippingRequest message. Also converts values to other types if specified.
|
|
397
|
-
* @param message UnlockTimeSkippingRequest
|
|
398
|
-
* @param [options] Conversion options
|
|
399
|
-
* @returns Plain object
|
|
400
|
-
*/
|
|
401
|
-
public static toObject(message: temporal.api.testservice.v1.UnlockTimeSkippingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Converts this UnlockTimeSkippingRequest to JSON.
|
|
405
|
-
* @returns JSON object
|
|
406
|
-
*/
|
|
407
|
-
public toJSON(): { [k: string]: any };
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Gets the default type url for UnlockTimeSkippingRequest
|
|
411
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
412
|
-
* @returns The default type url
|
|
413
|
-
*/
|
|
414
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/** Properties of an UnlockTimeSkippingResponse. */
|
|
418
|
-
interface IUnlockTimeSkippingResponse {
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
/** Represents an UnlockTimeSkippingResponse. */
|
|
422
|
-
class UnlockTimeSkippingResponse implements IUnlockTimeSkippingResponse {
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Constructs a new UnlockTimeSkippingResponse.
|
|
426
|
-
* @param [properties] Properties to set
|
|
427
|
-
*/
|
|
428
|
-
constructor(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingResponse);
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Creates a new UnlockTimeSkippingResponse instance using the specified properties.
|
|
432
|
-
* @param [properties] Properties to set
|
|
433
|
-
* @returns UnlockTimeSkippingResponse instance
|
|
434
|
-
*/
|
|
435
|
-
public static create(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingResponse): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Encodes the specified UnlockTimeSkippingResponse message. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingResponse.verify|verify} messages.
|
|
439
|
-
* @param message UnlockTimeSkippingResponse message or plain object to encode
|
|
440
|
-
* @param [writer] Writer to encode to
|
|
441
|
-
* @returns Writer
|
|
442
|
-
*/
|
|
443
|
-
public static encode(message: temporal.api.testservice.v1.IUnlockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Encodes the specified UnlockTimeSkippingResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingResponse.verify|verify} messages.
|
|
447
|
-
* @param message UnlockTimeSkippingResponse message or plain object to encode
|
|
448
|
-
* @param [writer] Writer to encode to
|
|
449
|
-
* @returns Writer
|
|
450
|
-
*/
|
|
451
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.IUnlockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Decodes an UnlockTimeSkippingResponse message from the specified reader or buffer.
|
|
455
|
-
* @param reader Reader or buffer to decode from
|
|
456
|
-
* @param [length] Message length if known beforehand
|
|
457
|
-
* @returns UnlockTimeSkippingResponse
|
|
458
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
459
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
460
|
-
*/
|
|
461
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Decodes an UnlockTimeSkippingResponse message from the specified reader or buffer, length delimited.
|
|
465
|
-
* @param reader Reader or buffer to decode from
|
|
466
|
-
* @returns UnlockTimeSkippingResponse
|
|
467
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
468
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
469
|
-
*/
|
|
470
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Creates an UnlockTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
|
|
474
|
-
* @param object Plain object
|
|
475
|
-
* @returns UnlockTimeSkippingResponse
|
|
476
|
-
*/
|
|
477
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* Creates a plain object from an UnlockTimeSkippingResponse message. Also converts values to other types if specified.
|
|
481
|
-
* @param message UnlockTimeSkippingResponse
|
|
482
|
-
* @param [options] Conversion options
|
|
483
|
-
* @returns Plain object
|
|
484
|
-
*/
|
|
485
|
-
public static toObject(message: temporal.api.testservice.v1.UnlockTimeSkippingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Converts this UnlockTimeSkippingResponse to JSON.
|
|
489
|
-
* @returns JSON object
|
|
490
|
-
*/
|
|
491
|
-
public toJSON(): { [k: string]: any };
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Gets the default type url for UnlockTimeSkippingResponse
|
|
495
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
496
|
-
* @returns The default type url
|
|
497
|
-
*/
|
|
498
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/** Properties of a SleepUntilRequest. */
|
|
502
|
-
interface ISleepUntilRequest {
|
|
503
|
-
|
|
504
|
-
/** SleepUntilRequest timestamp */
|
|
505
|
-
timestamp?: (google.protobuf.ITimestamp|null);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/** Represents a SleepUntilRequest. */
|
|
509
|
-
class SleepUntilRequest implements ISleepUntilRequest {
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* Constructs a new SleepUntilRequest.
|
|
513
|
-
* @param [properties] Properties to set
|
|
514
|
-
*/
|
|
515
|
-
constructor(properties?: temporal.api.testservice.v1.ISleepUntilRequest);
|
|
516
|
-
|
|
517
|
-
/** SleepUntilRequest timestamp. */
|
|
518
|
-
public timestamp?: (google.protobuf.ITimestamp|null);
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Creates a new SleepUntilRequest instance using the specified properties.
|
|
522
|
-
* @param [properties] Properties to set
|
|
523
|
-
* @returns SleepUntilRequest instance
|
|
524
|
-
*/
|
|
525
|
-
public static create(properties?: temporal.api.testservice.v1.ISleepUntilRequest): temporal.api.testservice.v1.SleepUntilRequest;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Encodes the specified SleepUntilRequest message. Does not implicitly {@link temporal.api.testservice.v1.SleepUntilRequest.verify|verify} messages.
|
|
529
|
-
* @param message SleepUntilRequest message or plain object to encode
|
|
530
|
-
* @param [writer] Writer to encode to
|
|
531
|
-
* @returns Writer
|
|
532
|
-
*/
|
|
533
|
-
public static encode(message: temporal.api.testservice.v1.ISleepUntilRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Encodes the specified SleepUntilRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepUntilRequest.verify|verify} messages.
|
|
537
|
-
* @param message SleepUntilRequest message or plain object to encode
|
|
538
|
-
* @param [writer] Writer to encode to
|
|
539
|
-
* @returns Writer
|
|
540
|
-
*/
|
|
541
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.ISleepUntilRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* Decodes a SleepUntilRequest message from the specified reader or buffer.
|
|
545
|
-
* @param reader Reader or buffer to decode from
|
|
546
|
-
* @param [length] Message length if known beforehand
|
|
547
|
-
* @returns SleepUntilRequest
|
|
548
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
549
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
550
|
-
*/
|
|
551
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepUntilRequest;
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* Decodes a SleepUntilRequest message from the specified reader or buffer, length delimited.
|
|
555
|
-
* @param reader Reader or buffer to decode from
|
|
556
|
-
* @returns SleepUntilRequest
|
|
557
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
558
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
559
|
-
*/
|
|
560
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepUntilRequest;
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* Creates a SleepUntilRequest message from a plain object. Also converts values to their respective internal types.
|
|
564
|
-
* @param object Plain object
|
|
565
|
-
* @returns SleepUntilRequest
|
|
566
|
-
*/
|
|
567
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepUntilRequest;
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Creates a plain object from a SleepUntilRequest message. Also converts values to other types if specified.
|
|
571
|
-
* @param message SleepUntilRequest
|
|
572
|
-
* @param [options] Conversion options
|
|
573
|
-
* @returns Plain object
|
|
574
|
-
*/
|
|
575
|
-
public static toObject(message: temporal.api.testservice.v1.SleepUntilRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Converts this SleepUntilRequest to JSON.
|
|
579
|
-
* @returns JSON object
|
|
580
|
-
*/
|
|
581
|
-
public toJSON(): { [k: string]: any };
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Gets the default type url for SleepUntilRequest
|
|
585
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
586
|
-
* @returns The default type url
|
|
587
|
-
*/
|
|
588
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/** Properties of a SleepRequest. */
|
|
592
|
-
interface ISleepRequest {
|
|
593
|
-
|
|
594
|
-
/** SleepRequest duration */
|
|
595
|
-
duration?: (google.protobuf.IDuration|null);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/** Represents a SleepRequest. */
|
|
599
|
-
class SleepRequest implements ISleepRequest {
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Constructs a new SleepRequest.
|
|
603
|
-
* @param [properties] Properties to set
|
|
604
|
-
*/
|
|
605
|
-
constructor(properties?: temporal.api.testservice.v1.ISleepRequest);
|
|
606
|
-
|
|
607
|
-
/** SleepRequest duration. */
|
|
608
|
-
public duration?: (google.protobuf.IDuration|null);
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* Creates a new SleepRequest instance using the specified properties.
|
|
612
|
-
* @param [properties] Properties to set
|
|
613
|
-
* @returns SleepRequest instance
|
|
614
|
-
*/
|
|
615
|
-
public static create(properties?: temporal.api.testservice.v1.ISleepRequest): temporal.api.testservice.v1.SleepRequest;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Encodes the specified SleepRequest message. Does not implicitly {@link temporal.api.testservice.v1.SleepRequest.verify|verify} messages.
|
|
619
|
-
* @param message SleepRequest message or plain object to encode
|
|
620
|
-
* @param [writer] Writer to encode to
|
|
621
|
-
* @returns Writer
|
|
622
|
-
*/
|
|
623
|
-
public static encode(message: temporal.api.testservice.v1.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Encodes the specified SleepRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepRequest.verify|verify} messages.
|
|
627
|
-
* @param message SleepRequest message or plain object to encode
|
|
628
|
-
* @param [writer] Writer to encode to
|
|
629
|
-
* @returns Writer
|
|
630
|
-
*/
|
|
631
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Decodes a SleepRequest message from the specified reader or buffer.
|
|
635
|
-
* @param reader Reader or buffer to decode from
|
|
636
|
-
* @param [length] Message length if known beforehand
|
|
637
|
-
* @returns SleepRequest
|
|
638
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
639
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
640
|
-
*/
|
|
641
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepRequest;
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* Decodes a SleepRequest message from the specified reader or buffer, length delimited.
|
|
645
|
-
* @param reader Reader or buffer to decode from
|
|
646
|
-
* @returns SleepRequest
|
|
647
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
648
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
649
|
-
*/
|
|
650
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepRequest;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Creates a SleepRequest message from a plain object. Also converts values to their respective internal types.
|
|
654
|
-
* @param object Plain object
|
|
655
|
-
* @returns SleepRequest
|
|
656
|
-
*/
|
|
657
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepRequest;
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* Creates a plain object from a SleepRequest message. Also converts values to other types if specified.
|
|
661
|
-
* @param message SleepRequest
|
|
662
|
-
* @param [options] Conversion options
|
|
663
|
-
* @returns Plain object
|
|
664
|
-
*/
|
|
665
|
-
public static toObject(message: temporal.api.testservice.v1.SleepRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* Converts this SleepRequest to JSON.
|
|
669
|
-
* @returns JSON object
|
|
670
|
-
*/
|
|
671
|
-
public toJSON(): { [k: string]: any };
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* Gets the default type url for SleepRequest
|
|
675
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
676
|
-
* @returns The default type url
|
|
677
|
-
*/
|
|
678
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
/** Properties of a SleepResponse. */
|
|
682
|
-
interface ISleepResponse {
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/** Represents a SleepResponse. */
|
|
686
|
-
class SleepResponse implements ISleepResponse {
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Constructs a new SleepResponse.
|
|
690
|
-
* @param [properties] Properties to set
|
|
691
|
-
*/
|
|
692
|
-
constructor(properties?: temporal.api.testservice.v1.ISleepResponse);
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Creates a new SleepResponse instance using the specified properties.
|
|
696
|
-
* @param [properties] Properties to set
|
|
697
|
-
* @returns SleepResponse instance
|
|
698
|
-
*/
|
|
699
|
-
public static create(properties?: temporal.api.testservice.v1.ISleepResponse): temporal.api.testservice.v1.SleepResponse;
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Encodes the specified SleepResponse message. Does not implicitly {@link temporal.api.testservice.v1.SleepResponse.verify|verify} messages.
|
|
703
|
-
* @param message SleepResponse message or plain object to encode
|
|
704
|
-
* @param [writer] Writer to encode to
|
|
705
|
-
* @returns Writer
|
|
706
|
-
*/
|
|
707
|
-
public static encode(message: temporal.api.testservice.v1.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* Encodes the specified SleepResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepResponse.verify|verify} messages.
|
|
711
|
-
* @param message SleepResponse message or plain object to encode
|
|
712
|
-
* @param [writer] Writer to encode to
|
|
713
|
-
* @returns Writer
|
|
714
|
-
*/
|
|
715
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Decodes a SleepResponse message from the specified reader or buffer.
|
|
719
|
-
* @param reader Reader or buffer to decode from
|
|
720
|
-
* @param [length] Message length if known beforehand
|
|
721
|
-
* @returns SleepResponse
|
|
722
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
723
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
724
|
-
*/
|
|
725
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepResponse;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Decodes a SleepResponse message from the specified reader or buffer, length delimited.
|
|
729
|
-
* @param reader Reader or buffer to decode from
|
|
730
|
-
* @returns SleepResponse
|
|
731
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
732
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
733
|
-
*/
|
|
734
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepResponse;
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* Creates a SleepResponse message from a plain object. Also converts values to their respective internal types.
|
|
738
|
-
* @param object Plain object
|
|
739
|
-
* @returns SleepResponse
|
|
740
|
-
*/
|
|
741
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepResponse;
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* Creates a plain object from a SleepResponse message. Also converts values to other types if specified.
|
|
745
|
-
* @param message SleepResponse
|
|
746
|
-
* @param [options] Conversion options
|
|
747
|
-
* @returns Plain object
|
|
748
|
-
*/
|
|
749
|
-
public static toObject(message: temporal.api.testservice.v1.SleepResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Converts this SleepResponse to JSON.
|
|
753
|
-
* @returns JSON object
|
|
754
|
-
*/
|
|
755
|
-
public toJSON(): { [k: string]: any };
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* Gets the default type url for SleepResponse
|
|
759
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
760
|
-
* @returns The default type url
|
|
761
|
-
*/
|
|
762
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/** Properties of a GetCurrentTimeResponse. */
|
|
766
|
-
interface IGetCurrentTimeResponse {
|
|
767
|
-
|
|
768
|
-
/** GetCurrentTimeResponse time */
|
|
769
|
-
time?: (google.protobuf.ITimestamp|null);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
/** Represents a GetCurrentTimeResponse. */
|
|
773
|
-
class GetCurrentTimeResponse implements IGetCurrentTimeResponse {
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* Constructs a new GetCurrentTimeResponse.
|
|
777
|
-
* @param [properties] Properties to set
|
|
778
|
-
*/
|
|
779
|
-
constructor(properties?: temporal.api.testservice.v1.IGetCurrentTimeResponse);
|
|
780
|
-
|
|
781
|
-
/** GetCurrentTimeResponse time. */
|
|
782
|
-
public time?: (google.protobuf.ITimestamp|null);
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
* Creates a new GetCurrentTimeResponse instance using the specified properties.
|
|
786
|
-
* @param [properties] Properties to set
|
|
787
|
-
* @returns GetCurrentTimeResponse instance
|
|
788
|
-
*/
|
|
789
|
-
public static create(properties?: temporal.api.testservice.v1.IGetCurrentTimeResponse): temporal.api.testservice.v1.GetCurrentTimeResponse;
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* Encodes the specified GetCurrentTimeResponse message. Does not implicitly {@link temporal.api.testservice.v1.GetCurrentTimeResponse.verify|verify} messages.
|
|
793
|
-
* @param message GetCurrentTimeResponse message or plain object to encode
|
|
794
|
-
* @param [writer] Writer to encode to
|
|
795
|
-
* @returns Writer
|
|
796
|
-
*/
|
|
797
|
-
public static encode(message: temporal.api.testservice.v1.IGetCurrentTimeResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* Encodes the specified GetCurrentTimeResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.GetCurrentTimeResponse.verify|verify} messages.
|
|
801
|
-
* @param message GetCurrentTimeResponse message or plain object to encode
|
|
802
|
-
* @param [writer] Writer to encode to
|
|
803
|
-
* @returns Writer
|
|
804
|
-
*/
|
|
805
|
-
public static encodeDelimited(message: temporal.api.testservice.v1.IGetCurrentTimeResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Decodes a GetCurrentTimeResponse message from the specified reader or buffer.
|
|
809
|
-
* @param reader Reader or buffer to decode from
|
|
810
|
-
* @param [length] Message length if known beforehand
|
|
811
|
-
* @returns GetCurrentTimeResponse
|
|
812
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
813
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
814
|
-
*/
|
|
815
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.GetCurrentTimeResponse;
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* Decodes a GetCurrentTimeResponse message from the specified reader or buffer, length delimited.
|
|
819
|
-
* @param reader Reader or buffer to decode from
|
|
820
|
-
* @returns GetCurrentTimeResponse
|
|
821
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
822
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
823
|
-
*/
|
|
824
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.GetCurrentTimeResponse;
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* Creates a GetCurrentTimeResponse message from a plain object. Also converts values to their respective internal types.
|
|
828
|
-
* @param object Plain object
|
|
829
|
-
* @returns GetCurrentTimeResponse
|
|
830
|
-
*/
|
|
831
|
-
public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.GetCurrentTimeResponse;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* Creates a plain object from a GetCurrentTimeResponse message. Also converts values to other types if specified.
|
|
835
|
-
* @param message GetCurrentTimeResponse
|
|
836
|
-
* @param [options] Conversion options
|
|
837
|
-
* @returns Plain object
|
|
838
|
-
*/
|
|
839
|
-
public static toObject(message: temporal.api.testservice.v1.GetCurrentTimeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Converts this GetCurrentTimeResponse to JSON.
|
|
843
|
-
* @returns JSON object
|
|
844
|
-
*/
|
|
845
|
-
public toJSON(): { [k: string]: any };
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Gets the default type url for GetCurrentTimeResponse
|
|
849
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
850
|
-
* @returns The default type url
|
|
851
|
-
*/
|
|
852
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
/** Namespace google. */
|
|
860
|
-
export namespace google {
|
|
861
|
-
|
|
862
|
-
/** Namespace protobuf. */
|
|
863
|
-
namespace protobuf {
|
|
864
|
-
|
|
865
|
-
/** Properties of a FileDescriptorSet. */
|
|
866
|
-
interface IFileDescriptorSet {
|
|
867
|
-
|
|
868
|
-
/** FileDescriptorSet file */
|
|
869
|
-
file?: (google.protobuf.IFileDescriptorProto[]|null);
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
/** Represents a FileDescriptorSet. */
|
|
873
|
-
class FileDescriptorSet implements IFileDescriptorSet {
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Constructs a new FileDescriptorSet.
|
|
877
|
-
* @param [properties] Properties to set
|
|
878
|
-
*/
|
|
879
|
-
constructor(properties?: google.protobuf.IFileDescriptorSet);
|
|
880
|
-
|
|
881
|
-
/** FileDescriptorSet file. */
|
|
882
|
-
public file: google.protobuf.IFileDescriptorProto[];
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* Creates a new FileDescriptorSet instance using the specified properties.
|
|
886
|
-
* @param [properties] Properties to set
|
|
887
|
-
* @returns FileDescriptorSet instance
|
|
888
|
-
*/
|
|
889
|
-
public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
893
|
-
* @param message FileDescriptorSet message or plain object to encode
|
|
894
|
-
* @param [writer] Writer to encode to
|
|
895
|
-
* @returns Writer
|
|
896
|
-
*/
|
|
897
|
-
public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
901
|
-
* @param message FileDescriptorSet message or plain object to encode
|
|
902
|
-
* @param [writer] Writer to encode to
|
|
903
|
-
* @returns Writer
|
|
904
|
-
*/
|
|
905
|
-
public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* Decodes a FileDescriptorSet message from the specified reader or buffer.
|
|
909
|
-
* @param reader Reader or buffer to decode from
|
|
910
|
-
* @param [length] Message length if known beforehand
|
|
911
|
-
* @returns FileDescriptorSet
|
|
912
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
913
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
914
|
-
*/
|
|
915
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
|
919
|
-
* @param reader Reader or buffer to decode from
|
|
920
|
-
* @returns FileDescriptorSet
|
|
921
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
922
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
923
|
-
*/
|
|
924
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
|
928
|
-
* @param object Plain object
|
|
929
|
-
* @returns FileDescriptorSet
|
|
930
|
-
*/
|
|
931
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
|
935
|
-
* @param message FileDescriptorSet
|
|
936
|
-
* @param [options] Conversion options
|
|
937
|
-
* @returns Plain object
|
|
938
|
-
*/
|
|
939
|
-
public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
940
|
-
|
|
941
|
-
/**
|
|
942
|
-
* Converts this FileDescriptorSet to JSON.
|
|
943
|
-
* @returns JSON object
|
|
944
|
-
*/
|
|
945
|
-
public toJSON(): { [k: string]: any };
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* Gets the default type url for FileDescriptorSet
|
|
949
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
950
|
-
* @returns The default type url
|
|
951
|
-
*/
|
|
952
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
/** Properties of a FileDescriptorProto. */
|
|
956
|
-
interface IFileDescriptorProto {
|
|
957
|
-
|
|
958
|
-
/** FileDescriptorProto name */
|
|
959
|
-
name?: (string|null);
|
|
960
|
-
|
|
961
|
-
/** FileDescriptorProto package */
|
|
962
|
-
"package"?: (string|null);
|
|
963
|
-
|
|
964
|
-
/** FileDescriptorProto dependency */
|
|
965
|
-
dependency?: (string[]|null);
|
|
966
|
-
|
|
967
|
-
/** FileDescriptorProto publicDependency */
|
|
968
|
-
publicDependency?: (number[]|null);
|
|
969
|
-
|
|
970
|
-
/** FileDescriptorProto weakDependency */
|
|
971
|
-
weakDependency?: (number[]|null);
|
|
972
|
-
|
|
973
|
-
/** FileDescriptorProto messageType */
|
|
974
|
-
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
|
975
|
-
|
|
976
|
-
/** FileDescriptorProto enumType */
|
|
977
|
-
enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
|
978
|
-
|
|
979
|
-
/** FileDescriptorProto service */
|
|
980
|
-
service?: (google.protobuf.IServiceDescriptorProto[]|null);
|
|
981
|
-
|
|
982
|
-
/** FileDescriptorProto extension */
|
|
983
|
-
extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
984
|
-
|
|
985
|
-
/** FileDescriptorProto options */
|
|
986
|
-
options?: (google.protobuf.IFileOptions|null);
|
|
987
|
-
|
|
988
|
-
/** FileDescriptorProto sourceCodeInfo */
|
|
989
|
-
sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
|
990
|
-
|
|
991
|
-
/** FileDescriptorProto syntax */
|
|
992
|
-
syntax?: (string|null);
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
/** Represents a FileDescriptorProto. */
|
|
996
|
-
class FileDescriptorProto implements IFileDescriptorProto {
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* Constructs a new FileDescriptorProto.
|
|
1000
|
-
* @param [properties] Properties to set
|
|
1001
|
-
*/
|
|
1002
|
-
constructor(properties?: google.protobuf.IFileDescriptorProto);
|
|
1003
|
-
|
|
1004
|
-
/** FileDescriptorProto name. */
|
|
1005
|
-
public name: string;
|
|
1006
|
-
|
|
1007
|
-
/** FileDescriptorProto package. */
|
|
1008
|
-
public package: string;
|
|
1009
|
-
|
|
1010
|
-
/** FileDescriptorProto dependency. */
|
|
1011
|
-
public dependency: string[];
|
|
1012
|
-
|
|
1013
|
-
/** FileDescriptorProto publicDependency. */
|
|
1014
|
-
public publicDependency: number[];
|
|
1015
|
-
|
|
1016
|
-
/** FileDescriptorProto weakDependency. */
|
|
1017
|
-
public weakDependency: number[];
|
|
1018
|
-
|
|
1019
|
-
/** FileDescriptorProto messageType. */
|
|
1020
|
-
public messageType: google.protobuf.IDescriptorProto[];
|
|
1021
|
-
|
|
1022
|
-
/** FileDescriptorProto enumType. */
|
|
1023
|
-
public enumType: google.protobuf.IEnumDescriptorProto[];
|
|
1024
|
-
|
|
1025
|
-
/** FileDescriptorProto service. */
|
|
1026
|
-
public service: google.protobuf.IServiceDescriptorProto[];
|
|
1027
|
-
|
|
1028
|
-
/** FileDescriptorProto extension. */
|
|
1029
|
-
public extension: google.protobuf.IFieldDescriptorProto[];
|
|
1030
|
-
|
|
1031
|
-
/** FileDescriptorProto options. */
|
|
1032
|
-
public options?: (google.protobuf.IFileOptions|null);
|
|
1033
|
-
|
|
1034
|
-
/** FileDescriptorProto sourceCodeInfo. */
|
|
1035
|
-
public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
|
1036
|
-
|
|
1037
|
-
/** FileDescriptorProto syntax. */
|
|
1038
|
-
public syntax: string;
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* Creates a new FileDescriptorProto instance using the specified properties.
|
|
1042
|
-
* @param [properties] Properties to set
|
|
1043
|
-
* @returns FileDescriptorProto instance
|
|
1044
|
-
*/
|
|
1045
|
-
public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
|
1049
|
-
* @param message FileDescriptorProto message or plain object to encode
|
|
1050
|
-
* @param [writer] Writer to encode to
|
|
1051
|
-
* @returns Writer
|
|
1052
|
-
*/
|
|
1053
|
-
public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
|
1057
|
-
* @param message FileDescriptorProto message or plain object to encode
|
|
1058
|
-
* @param [writer] Writer to encode to
|
|
1059
|
-
* @returns Writer
|
|
1060
|
-
*/
|
|
1061
|
-
public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* Decodes a FileDescriptorProto message from the specified reader or buffer.
|
|
1065
|
-
* @param reader Reader or buffer to decode from
|
|
1066
|
-
* @param [length] Message length if known beforehand
|
|
1067
|
-
* @returns FileDescriptorProto
|
|
1068
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1069
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1070
|
-
*/
|
|
1071
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1075
|
-
* @param reader Reader or buffer to decode from
|
|
1076
|
-
* @returns FileDescriptorProto
|
|
1077
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1078
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1079
|
-
*/
|
|
1080
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1084
|
-
* @param object Plain object
|
|
1085
|
-
* @returns FileDescriptorProto
|
|
1086
|
-
*/
|
|
1087
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
|
|
1091
|
-
* @param message FileDescriptorProto
|
|
1092
|
-
* @param [options] Conversion options
|
|
1093
|
-
* @returns Plain object
|
|
1094
|
-
*/
|
|
1095
|
-
public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* Converts this FileDescriptorProto to JSON.
|
|
1099
|
-
* @returns JSON object
|
|
1100
|
-
*/
|
|
1101
|
-
public toJSON(): { [k: string]: any };
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* Gets the default type url for FileDescriptorProto
|
|
1105
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1106
|
-
* @returns The default type url
|
|
1107
|
-
*/
|
|
1108
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
/** Properties of a DescriptorProto. */
|
|
1112
|
-
interface IDescriptorProto {
|
|
1113
|
-
|
|
1114
|
-
/** DescriptorProto name */
|
|
1115
|
-
name?: (string|null);
|
|
1116
|
-
|
|
1117
|
-
/** DescriptorProto field */
|
|
1118
|
-
field?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
1119
|
-
|
|
1120
|
-
/** DescriptorProto extension */
|
|
1121
|
-
extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
1122
|
-
|
|
1123
|
-
/** DescriptorProto nestedType */
|
|
1124
|
-
nestedType?: (google.protobuf.IDescriptorProto[]|null);
|
|
1125
|
-
|
|
1126
|
-
/** DescriptorProto enumType */
|
|
1127
|
-
enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
|
1128
|
-
|
|
1129
|
-
/** DescriptorProto extensionRange */
|
|
1130
|
-
extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
|
|
1131
|
-
|
|
1132
|
-
/** DescriptorProto oneofDecl */
|
|
1133
|
-
oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
|
|
1134
|
-
|
|
1135
|
-
/** DescriptorProto options */
|
|
1136
|
-
options?: (google.protobuf.IMessageOptions|null);
|
|
1137
|
-
|
|
1138
|
-
/** DescriptorProto reservedRange */
|
|
1139
|
-
reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
|
|
1140
|
-
|
|
1141
|
-
/** DescriptorProto reservedName */
|
|
1142
|
-
reservedName?: (string[]|null);
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
/** Represents a DescriptorProto. */
|
|
1146
|
-
class DescriptorProto implements IDescriptorProto {
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* Constructs a new DescriptorProto.
|
|
1150
|
-
* @param [properties] Properties to set
|
|
1151
|
-
*/
|
|
1152
|
-
constructor(properties?: google.protobuf.IDescriptorProto);
|
|
1153
|
-
|
|
1154
|
-
/** DescriptorProto name. */
|
|
1155
|
-
public name: string;
|
|
1156
|
-
|
|
1157
|
-
/** DescriptorProto field. */
|
|
1158
|
-
public field: google.protobuf.IFieldDescriptorProto[];
|
|
1159
|
-
|
|
1160
|
-
/** DescriptorProto extension. */
|
|
1161
|
-
public extension: google.protobuf.IFieldDescriptorProto[];
|
|
1162
|
-
|
|
1163
|
-
/** DescriptorProto nestedType. */
|
|
1164
|
-
public nestedType: google.protobuf.IDescriptorProto[];
|
|
1165
|
-
|
|
1166
|
-
/** DescriptorProto enumType. */
|
|
1167
|
-
public enumType: google.protobuf.IEnumDescriptorProto[];
|
|
1168
|
-
|
|
1169
|
-
/** DescriptorProto extensionRange. */
|
|
1170
|
-
public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
|
|
1171
|
-
|
|
1172
|
-
/** DescriptorProto oneofDecl. */
|
|
1173
|
-
public oneofDecl: google.protobuf.IOneofDescriptorProto[];
|
|
1174
|
-
|
|
1175
|
-
/** DescriptorProto options. */
|
|
1176
|
-
public options?: (google.protobuf.IMessageOptions|null);
|
|
1177
|
-
|
|
1178
|
-
/** DescriptorProto reservedRange. */
|
|
1179
|
-
public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
|
|
1180
|
-
|
|
1181
|
-
/** DescriptorProto reservedName. */
|
|
1182
|
-
public reservedName: string[];
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* Creates a new DescriptorProto instance using the specified properties.
|
|
1186
|
-
* @param [properties] Properties to set
|
|
1187
|
-
* @returns DescriptorProto instance
|
|
1188
|
-
*/
|
|
1189
|
-
public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
|
1193
|
-
* @param message DescriptorProto message or plain object to encode
|
|
1194
|
-
* @param [writer] Writer to encode to
|
|
1195
|
-
* @returns Writer
|
|
1196
|
-
*/
|
|
1197
|
-
public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
|
1201
|
-
* @param message DescriptorProto message or plain object to encode
|
|
1202
|
-
* @param [writer] Writer to encode to
|
|
1203
|
-
* @returns Writer
|
|
1204
|
-
*/
|
|
1205
|
-
public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Decodes a DescriptorProto message from the specified reader or buffer.
|
|
1209
|
-
* @param reader Reader or buffer to decode from
|
|
1210
|
-
* @param [length] Message length if known beforehand
|
|
1211
|
-
* @returns DescriptorProto
|
|
1212
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1213
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1214
|
-
*/
|
|
1215
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
|
|
1219
|
-
* @param reader Reader or buffer to decode from
|
|
1220
|
-
* @returns DescriptorProto
|
|
1221
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1222
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1223
|
-
*/
|
|
1224
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1228
|
-
* @param object Plain object
|
|
1229
|
-
* @returns DescriptorProto
|
|
1230
|
-
*/
|
|
1231
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
|
|
1235
|
-
* @param message DescriptorProto
|
|
1236
|
-
* @param [options] Conversion options
|
|
1237
|
-
* @returns Plain object
|
|
1238
|
-
*/
|
|
1239
|
-
public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* Converts this DescriptorProto to JSON.
|
|
1243
|
-
* @returns JSON object
|
|
1244
|
-
*/
|
|
1245
|
-
public toJSON(): { [k: string]: any };
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* Gets the default type url for DescriptorProto
|
|
1249
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1250
|
-
* @returns The default type url
|
|
1251
|
-
*/
|
|
1252
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
namespace DescriptorProto {
|
|
1256
|
-
|
|
1257
|
-
/** Properties of an ExtensionRange. */
|
|
1258
|
-
interface IExtensionRange {
|
|
1259
|
-
|
|
1260
|
-
/** ExtensionRange start */
|
|
1261
|
-
start?: (number|null);
|
|
1262
|
-
|
|
1263
|
-
/** ExtensionRange end */
|
|
1264
|
-
end?: (number|null);
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
/** Represents an ExtensionRange. */
|
|
1268
|
-
class ExtensionRange implements IExtensionRange {
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* Constructs a new ExtensionRange.
|
|
1272
|
-
* @param [properties] Properties to set
|
|
1273
|
-
*/
|
|
1274
|
-
constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
|
|
1275
|
-
|
|
1276
|
-
/** ExtensionRange start. */
|
|
1277
|
-
public start: number;
|
|
1278
|
-
|
|
1279
|
-
/** ExtensionRange end. */
|
|
1280
|
-
public end: number;
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Creates a new ExtensionRange instance using the specified properties.
|
|
1284
|
-
* @param [properties] Properties to set
|
|
1285
|
-
* @returns ExtensionRange instance
|
|
1286
|
-
*/
|
|
1287
|
-
public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
|
1291
|
-
* @param message ExtensionRange message or plain object to encode
|
|
1292
|
-
* @param [writer] Writer to encode to
|
|
1293
|
-
* @returns Writer
|
|
1294
|
-
*/
|
|
1295
|
-
public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
|
1299
|
-
* @param message ExtensionRange message or plain object to encode
|
|
1300
|
-
* @param [writer] Writer to encode to
|
|
1301
|
-
* @returns Writer
|
|
1302
|
-
*/
|
|
1303
|
-
public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Decodes an ExtensionRange message from the specified reader or buffer.
|
|
1307
|
-
* @param reader Reader or buffer to decode from
|
|
1308
|
-
* @param [length] Message length if known beforehand
|
|
1309
|
-
* @returns ExtensionRange
|
|
1310
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1311
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1312
|
-
*/
|
|
1313
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
|
|
1317
|
-
* @param reader Reader or buffer to decode from
|
|
1318
|
-
* @returns ExtensionRange
|
|
1319
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1320
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1321
|
-
*/
|
|
1322
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
|
|
1326
|
-
* @param object Plain object
|
|
1327
|
-
* @returns ExtensionRange
|
|
1328
|
-
*/
|
|
1329
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
|
|
1333
|
-
* @param message ExtensionRange
|
|
1334
|
-
* @param [options] Conversion options
|
|
1335
|
-
* @returns Plain object
|
|
1336
|
-
*/
|
|
1337
|
-
public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* Converts this ExtensionRange to JSON.
|
|
1341
|
-
* @returns JSON object
|
|
1342
|
-
*/
|
|
1343
|
-
public toJSON(): { [k: string]: any };
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* Gets the default type url for ExtensionRange
|
|
1347
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1348
|
-
* @returns The default type url
|
|
1349
|
-
*/
|
|
1350
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
/** Properties of a ReservedRange. */
|
|
1354
|
-
interface IReservedRange {
|
|
1355
|
-
|
|
1356
|
-
/** ReservedRange start */
|
|
1357
|
-
start?: (number|null);
|
|
1358
|
-
|
|
1359
|
-
/** ReservedRange end */
|
|
1360
|
-
end?: (number|null);
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
/** Represents a ReservedRange. */
|
|
1364
|
-
class ReservedRange implements IReservedRange {
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* Constructs a new ReservedRange.
|
|
1368
|
-
* @param [properties] Properties to set
|
|
1369
|
-
*/
|
|
1370
|
-
constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
|
|
1371
|
-
|
|
1372
|
-
/** ReservedRange start. */
|
|
1373
|
-
public start: number;
|
|
1374
|
-
|
|
1375
|
-
/** ReservedRange end. */
|
|
1376
|
-
public end: number;
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* Creates a new ReservedRange instance using the specified properties.
|
|
1380
|
-
* @param [properties] Properties to set
|
|
1381
|
-
* @returns ReservedRange instance
|
|
1382
|
-
*/
|
|
1383
|
-
public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
|
1387
|
-
* @param message ReservedRange message or plain object to encode
|
|
1388
|
-
* @param [writer] Writer to encode to
|
|
1389
|
-
* @returns Writer
|
|
1390
|
-
*/
|
|
1391
|
-
public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
|
1395
|
-
* @param message ReservedRange message or plain object to encode
|
|
1396
|
-
* @param [writer] Writer to encode to
|
|
1397
|
-
* @returns Writer
|
|
1398
|
-
*/
|
|
1399
|
-
public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* Decodes a ReservedRange message from the specified reader or buffer.
|
|
1403
|
-
* @param reader Reader or buffer to decode from
|
|
1404
|
-
* @param [length] Message length if known beforehand
|
|
1405
|
-
* @returns ReservedRange
|
|
1406
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1407
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1408
|
-
*/
|
|
1409
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
|
|
1410
|
-
|
|
1411
|
-
/**
|
|
1412
|
-
* Decodes a ReservedRange message from the specified reader or buffer, length delimited.
|
|
1413
|
-
* @param reader Reader or buffer to decode from
|
|
1414
|
-
* @returns ReservedRange
|
|
1415
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1416
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1417
|
-
*/
|
|
1418
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
|
|
1419
|
-
|
|
1420
|
-
/**
|
|
1421
|
-
* Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
|
|
1422
|
-
* @param object Plain object
|
|
1423
|
-
* @returns ReservedRange
|
|
1424
|
-
*/
|
|
1425
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
|
|
1426
|
-
|
|
1427
|
-
/**
|
|
1428
|
-
* Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
|
|
1429
|
-
* @param message ReservedRange
|
|
1430
|
-
* @param [options] Conversion options
|
|
1431
|
-
* @returns Plain object
|
|
1432
|
-
*/
|
|
1433
|
-
public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* Converts this ReservedRange to JSON.
|
|
1437
|
-
* @returns JSON object
|
|
1438
|
-
*/
|
|
1439
|
-
public toJSON(): { [k: string]: any };
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* Gets the default type url for ReservedRange
|
|
1443
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1444
|
-
* @returns The default type url
|
|
1445
|
-
*/
|
|
1446
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
/** Properties of a FieldDescriptorProto. */
|
|
1451
|
-
interface IFieldDescriptorProto {
|
|
1452
|
-
|
|
1453
|
-
/** FieldDescriptorProto name */
|
|
1454
|
-
name?: (string|null);
|
|
1455
|
-
|
|
1456
|
-
/** FieldDescriptorProto number */
|
|
1457
|
-
number?: (number|null);
|
|
1458
|
-
|
|
1459
|
-
/** FieldDescriptorProto label */
|
|
1460
|
-
label?: (google.protobuf.FieldDescriptorProto.Label|null);
|
|
1461
|
-
|
|
1462
|
-
/** FieldDescriptorProto type */
|
|
1463
|
-
type?: (google.protobuf.FieldDescriptorProto.Type|null);
|
|
1464
|
-
|
|
1465
|
-
/** FieldDescriptorProto typeName */
|
|
1466
|
-
typeName?: (string|null);
|
|
1467
|
-
|
|
1468
|
-
/** FieldDescriptorProto extendee */
|
|
1469
|
-
extendee?: (string|null);
|
|
1470
|
-
|
|
1471
|
-
/** FieldDescriptorProto defaultValue */
|
|
1472
|
-
defaultValue?: (string|null);
|
|
1473
|
-
|
|
1474
|
-
/** FieldDescriptorProto oneofIndex */
|
|
1475
|
-
oneofIndex?: (number|null);
|
|
1476
|
-
|
|
1477
|
-
/** FieldDescriptorProto jsonName */
|
|
1478
|
-
jsonName?: (string|null);
|
|
1479
|
-
|
|
1480
|
-
/** FieldDescriptorProto options */
|
|
1481
|
-
options?: (google.protobuf.IFieldOptions|null);
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
/** Represents a FieldDescriptorProto. */
|
|
1485
|
-
class FieldDescriptorProto implements IFieldDescriptorProto {
|
|
1486
|
-
|
|
1487
|
-
/**
|
|
1488
|
-
* Constructs a new FieldDescriptorProto.
|
|
1489
|
-
* @param [properties] Properties to set
|
|
1490
|
-
*/
|
|
1491
|
-
constructor(properties?: google.protobuf.IFieldDescriptorProto);
|
|
1492
|
-
|
|
1493
|
-
/** FieldDescriptorProto name. */
|
|
1494
|
-
public name: string;
|
|
1495
|
-
|
|
1496
|
-
/** FieldDescriptorProto number. */
|
|
1497
|
-
public number: number;
|
|
1498
|
-
|
|
1499
|
-
/** FieldDescriptorProto label. */
|
|
1500
|
-
public label: google.protobuf.FieldDescriptorProto.Label;
|
|
1501
|
-
|
|
1502
|
-
/** FieldDescriptorProto type. */
|
|
1503
|
-
public type: google.protobuf.FieldDescriptorProto.Type;
|
|
1504
|
-
|
|
1505
|
-
/** FieldDescriptorProto typeName. */
|
|
1506
|
-
public typeName: string;
|
|
1507
|
-
|
|
1508
|
-
/** FieldDescriptorProto extendee. */
|
|
1509
|
-
public extendee: string;
|
|
1510
|
-
|
|
1511
|
-
/** FieldDescriptorProto defaultValue. */
|
|
1512
|
-
public defaultValue: string;
|
|
1513
|
-
|
|
1514
|
-
/** FieldDescriptorProto oneofIndex. */
|
|
1515
|
-
public oneofIndex: number;
|
|
1516
|
-
|
|
1517
|
-
/** FieldDescriptorProto jsonName. */
|
|
1518
|
-
public jsonName: string;
|
|
1519
|
-
|
|
1520
|
-
/** FieldDescriptorProto options. */
|
|
1521
|
-
public options?: (google.protobuf.IFieldOptions|null);
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* Creates a new FieldDescriptorProto instance using the specified properties.
|
|
1525
|
-
* @param [properties] Properties to set
|
|
1526
|
-
* @returns FieldDescriptorProto instance
|
|
1527
|
-
*/
|
|
1528
|
-
public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
|
1532
|
-
* @param message FieldDescriptorProto message or plain object to encode
|
|
1533
|
-
* @param [writer] Writer to encode to
|
|
1534
|
-
* @returns Writer
|
|
1535
|
-
*/
|
|
1536
|
-
public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
|
1540
|
-
* @param message FieldDescriptorProto message or plain object to encode
|
|
1541
|
-
* @param [writer] Writer to encode to
|
|
1542
|
-
* @returns Writer
|
|
1543
|
-
*/
|
|
1544
|
-
public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* Decodes a FieldDescriptorProto message from the specified reader or buffer.
|
|
1548
|
-
* @param reader Reader or buffer to decode from
|
|
1549
|
-
* @param [length] Message length if known beforehand
|
|
1550
|
-
* @returns FieldDescriptorProto
|
|
1551
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1552
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1553
|
-
*/
|
|
1554
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1558
|
-
* @param reader Reader or buffer to decode from
|
|
1559
|
-
* @returns FieldDescriptorProto
|
|
1560
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1561
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1562
|
-
*/
|
|
1563
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
|
|
1564
|
-
|
|
1565
|
-
/**
|
|
1566
|
-
* Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1567
|
-
* @param object Plain object
|
|
1568
|
-
* @returns FieldDescriptorProto
|
|
1569
|
-
*/
|
|
1570
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
* Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
|
|
1574
|
-
* @param message FieldDescriptorProto
|
|
1575
|
-
* @param [options] Conversion options
|
|
1576
|
-
* @returns Plain object
|
|
1577
|
-
*/
|
|
1578
|
-
public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1579
|
-
|
|
1580
|
-
/**
|
|
1581
|
-
* Converts this FieldDescriptorProto to JSON.
|
|
1582
|
-
* @returns JSON object
|
|
1583
|
-
*/
|
|
1584
|
-
public toJSON(): { [k: string]: any };
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Gets the default type url for FieldDescriptorProto
|
|
1588
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1589
|
-
* @returns The default type url
|
|
1590
|
-
*/
|
|
1591
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
namespace FieldDescriptorProto {
|
|
1595
|
-
|
|
1596
|
-
/** Type enum. */
|
|
1597
|
-
enum Type {
|
|
1598
|
-
TYPE_DOUBLE = 1,
|
|
1599
|
-
TYPE_FLOAT = 2,
|
|
1600
|
-
TYPE_INT64 = 3,
|
|
1601
|
-
TYPE_UINT64 = 4,
|
|
1602
|
-
TYPE_INT32 = 5,
|
|
1603
|
-
TYPE_FIXED64 = 6,
|
|
1604
|
-
TYPE_FIXED32 = 7,
|
|
1605
|
-
TYPE_BOOL = 8,
|
|
1606
|
-
TYPE_STRING = 9,
|
|
1607
|
-
TYPE_GROUP = 10,
|
|
1608
|
-
TYPE_MESSAGE = 11,
|
|
1609
|
-
TYPE_BYTES = 12,
|
|
1610
|
-
TYPE_UINT32 = 13,
|
|
1611
|
-
TYPE_ENUM = 14,
|
|
1612
|
-
TYPE_SFIXED32 = 15,
|
|
1613
|
-
TYPE_SFIXED64 = 16,
|
|
1614
|
-
TYPE_SINT32 = 17,
|
|
1615
|
-
TYPE_SINT64 = 18
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
/** Label enum. */
|
|
1619
|
-
enum Label {
|
|
1620
|
-
LABEL_OPTIONAL = 1,
|
|
1621
|
-
LABEL_REQUIRED = 2,
|
|
1622
|
-
LABEL_REPEATED = 3
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
/** Properties of an OneofDescriptorProto. */
|
|
1627
|
-
interface IOneofDescriptorProto {
|
|
1628
|
-
|
|
1629
|
-
/** OneofDescriptorProto name */
|
|
1630
|
-
name?: (string|null);
|
|
1631
|
-
|
|
1632
|
-
/** OneofDescriptorProto options */
|
|
1633
|
-
options?: (google.protobuf.IOneofOptions|null);
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
/** Represents an OneofDescriptorProto. */
|
|
1637
|
-
class OneofDescriptorProto implements IOneofDescriptorProto {
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* Constructs a new OneofDescriptorProto.
|
|
1641
|
-
* @param [properties] Properties to set
|
|
1642
|
-
*/
|
|
1643
|
-
constructor(properties?: google.protobuf.IOneofDescriptorProto);
|
|
1644
|
-
|
|
1645
|
-
/** OneofDescriptorProto name. */
|
|
1646
|
-
public name: string;
|
|
1647
|
-
|
|
1648
|
-
/** OneofDescriptorProto options. */
|
|
1649
|
-
public options?: (google.protobuf.IOneofOptions|null);
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* Creates a new OneofDescriptorProto instance using the specified properties.
|
|
1653
|
-
* @param [properties] Properties to set
|
|
1654
|
-
* @returns OneofDescriptorProto instance
|
|
1655
|
-
*/
|
|
1656
|
-
public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
|
1660
|
-
* @param message OneofDescriptorProto message or plain object to encode
|
|
1661
|
-
* @param [writer] Writer to encode to
|
|
1662
|
-
* @returns Writer
|
|
1663
|
-
*/
|
|
1664
|
-
public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1665
|
-
|
|
1666
|
-
/**
|
|
1667
|
-
* Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
|
1668
|
-
* @param message OneofDescriptorProto message or plain object to encode
|
|
1669
|
-
* @param [writer] Writer to encode to
|
|
1670
|
-
* @returns Writer
|
|
1671
|
-
*/
|
|
1672
|
-
public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* Decodes an OneofDescriptorProto message from the specified reader or buffer.
|
|
1676
|
-
* @param reader Reader or buffer to decode from
|
|
1677
|
-
* @param [length] Message length if known beforehand
|
|
1678
|
-
* @returns OneofDescriptorProto
|
|
1679
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1680
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1681
|
-
*/
|
|
1682
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1686
|
-
* @param reader Reader or buffer to decode from
|
|
1687
|
-
* @returns OneofDescriptorProto
|
|
1688
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1689
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1690
|
-
*/
|
|
1691
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1695
|
-
* @param object Plain object
|
|
1696
|
-
* @returns OneofDescriptorProto
|
|
1697
|
-
*/
|
|
1698
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
|
|
1702
|
-
* @param message OneofDescriptorProto
|
|
1703
|
-
* @param [options] Conversion options
|
|
1704
|
-
* @returns Plain object
|
|
1705
|
-
*/
|
|
1706
|
-
public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
* Converts this OneofDescriptorProto to JSON.
|
|
1710
|
-
* @returns JSON object
|
|
1711
|
-
*/
|
|
1712
|
-
public toJSON(): { [k: string]: any };
|
|
1713
|
-
|
|
1714
|
-
/**
|
|
1715
|
-
* Gets the default type url for OneofDescriptorProto
|
|
1716
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1717
|
-
* @returns The default type url
|
|
1718
|
-
*/
|
|
1719
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
/** Properties of an EnumDescriptorProto. */
|
|
1723
|
-
interface IEnumDescriptorProto {
|
|
1724
|
-
|
|
1725
|
-
/** EnumDescriptorProto name */
|
|
1726
|
-
name?: (string|null);
|
|
1727
|
-
|
|
1728
|
-
/** EnumDescriptorProto value */
|
|
1729
|
-
value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
|
|
1730
|
-
|
|
1731
|
-
/** EnumDescriptorProto options */
|
|
1732
|
-
options?: (google.protobuf.IEnumOptions|null);
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
/** Represents an EnumDescriptorProto. */
|
|
1736
|
-
class EnumDescriptorProto implements IEnumDescriptorProto {
|
|
1737
|
-
|
|
1738
|
-
/**
|
|
1739
|
-
* Constructs a new EnumDescriptorProto.
|
|
1740
|
-
* @param [properties] Properties to set
|
|
1741
|
-
*/
|
|
1742
|
-
constructor(properties?: google.protobuf.IEnumDescriptorProto);
|
|
1743
|
-
|
|
1744
|
-
/** EnumDescriptorProto name. */
|
|
1745
|
-
public name: string;
|
|
1746
|
-
|
|
1747
|
-
/** EnumDescriptorProto value. */
|
|
1748
|
-
public value: google.protobuf.IEnumValueDescriptorProto[];
|
|
1749
|
-
|
|
1750
|
-
/** EnumDescriptorProto options. */
|
|
1751
|
-
public options?: (google.protobuf.IEnumOptions|null);
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
1755
|
-
* @param [properties] Properties to set
|
|
1756
|
-
* @returns EnumDescriptorProto instance
|
|
1757
|
-
*/
|
|
1758
|
-
public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
|
1762
|
-
* @param message EnumDescriptorProto message or plain object to encode
|
|
1763
|
-
* @param [writer] Writer to encode to
|
|
1764
|
-
* @returns Writer
|
|
1765
|
-
*/
|
|
1766
|
-
public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1767
|
-
|
|
1768
|
-
/**
|
|
1769
|
-
* Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
|
1770
|
-
* @param message EnumDescriptorProto message or plain object to encode
|
|
1771
|
-
* @param [writer] Writer to encode to
|
|
1772
|
-
* @returns Writer
|
|
1773
|
-
*/
|
|
1774
|
-
public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* Decodes an EnumDescriptorProto message from the specified reader or buffer.
|
|
1778
|
-
* @param reader Reader or buffer to decode from
|
|
1779
|
-
* @param [length] Message length if known beforehand
|
|
1780
|
-
* @returns EnumDescriptorProto
|
|
1781
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1782
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1783
|
-
*/
|
|
1784
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
|
|
1785
|
-
|
|
1786
|
-
/**
|
|
1787
|
-
* Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1788
|
-
* @param reader Reader or buffer to decode from
|
|
1789
|
-
* @returns EnumDescriptorProto
|
|
1790
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1791
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1792
|
-
*/
|
|
1793
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
|
|
1794
|
-
|
|
1795
|
-
/**
|
|
1796
|
-
* Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1797
|
-
* @param object Plain object
|
|
1798
|
-
* @returns EnumDescriptorProto
|
|
1799
|
-
*/
|
|
1800
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
|
|
1801
|
-
|
|
1802
|
-
/**
|
|
1803
|
-
* Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
|
|
1804
|
-
* @param message EnumDescriptorProto
|
|
1805
|
-
* @param [options] Conversion options
|
|
1806
|
-
* @returns Plain object
|
|
1807
|
-
*/
|
|
1808
|
-
public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1809
|
-
|
|
1810
|
-
/**
|
|
1811
|
-
* Converts this EnumDescriptorProto to JSON.
|
|
1812
|
-
* @returns JSON object
|
|
1813
|
-
*/
|
|
1814
|
-
public toJSON(): { [k: string]: any };
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* Gets the default type url for EnumDescriptorProto
|
|
1818
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1819
|
-
* @returns The default type url
|
|
1820
|
-
*/
|
|
1821
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
/** Properties of an EnumValueDescriptorProto. */
|
|
1825
|
-
interface IEnumValueDescriptorProto {
|
|
1826
|
-
|
|
1827
|
-
/** EnumValueDescriptorProto name */
|
|
1828
|
-
name?: (string|null);
|
|
1829
|
-
|
|
1830
|
-
/** EnumValueDescriptorProto number */
|
|
1831
|
-
number?: (number|null);
|
|
1832
|
-
|
|
1833
|
-
/** EnumValueDescriptorProto options */
|
|
1834
|
-
options?: (google.protobuf.IEnumValueOptions|null);
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
/** Represents an EnumValueDescriptorProto. */
|
|
1838
|
-
class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
|
|
1839
|
-
|
|
1840
|
-
/**
|
|
1841
|
-
* Constructs a new EnumValueDescriptorProto.
|
|
1842
|
-
* @param [properties] Properties to set
|
|
1843
|
-
*/
|
|
1844
|
-
constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
|
|
1845
|
-
|
|
1846
|
-
/** EnumValueDescriptorProto name. */
|
|
1847
|
-
public name: string;
|
|
1848
|
-
|
|
1849
|
-
/** EnumValueDescriptorProto number. */
|
|
1850
|
-
public number: number;
|
|
1851
|
-
|
|
1852
|
-
/** EnumValueDescriptorProto options. */
|
|
1853
|
-
public options?: (google.protobuf.IEnumValueOptions|null);
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* Creates a new EnumValueDescriptorProto instance using the specified properties.
|
|
1857
|
-
* @param [properties] Properties to set
|
|
1858
|
-
* @returns EnumValueDescriptorProto instance
|
|
1859
|
-
*/
|
|
1860
|
-
public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
|
|
1861
|
-
|
|
1862
|
-
/**
|
|
1863
|
-
* Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
|
1864
|
-
* @param message EnumValueDescriptorProto message or plain object to encode
|
|
1865
|
-
* @param [writer] Writer to encode to
|
|
1866
|
-
* @returns Writer
|
|
1867
|
-
*/
|
|
1868
|
-
public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
|
1872
|
-
* @param message EnumValueDescriptorProto message or plain object to encode
|
|
1873
|
-
* @param [writer] Writer to encode to
|
|
1874
|
-
* @returns Writer
|
|
1875
|
-
*/
|
|
1876
|
-
public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1877
|
-
|
|
1878
|
-
/**
|
|
1879
|
-
* Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
|
|
1880
|
-
* @param reader Reader or buffer to decode from
|
|
1881
|
-
* @param [length] Message length if known beforehand
|
|
1882
|
-
* @returns EnumValueDescriptorProto
|
|
1883
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1884
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1885
|
-
*/
|
|
1886
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1890
|
-
* @param reader Reader or buffer to decode from
|
|
1891
|
-
* @returns EnumValueDescriptorProto
|
|
1892
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1893
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1894
|
-
*/
|
|
1895
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
* Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
1899
|
-
* @param object Plain object
|
|
1900
|
-
* @returns EnumValueDescriptorProto
|
|
1901
|
-
*/
|
|
1902
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
|
|
1903
|
-
|
|
1904
|
-
/**
|
|
1905
|
-
* Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
|
|
1906
|
-
* @param message EnumValueDescriptorProto
|
|
1907
|
-
* @param [options] Conversion options
|
|
1908
|
-
* @returns Plain object
|
|
1909
|
-
*/
|
|
1910
|
-
public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* Converts this EnumValueDescriptorProto to JSON.
|
|
1914
|
-
* @returns JSON object
|
|
1915
|
-
*/
|
|
1916
|
-
public toJSON(): { [k: string]: any };
|
|
1917
|
-
|
|
1918
|
-
/**
|
|
1919
|
-
* Gets the default type url for EnumValueDescriptorProto
|
|
1920
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1921
|
-
* @returns The default type url
|
|
1922
|
-
*/
|
|
1923
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
/** Properties of a ServiceDescriptorProto. */
|
|
1927
|
-
interface IServiceDescriptorProto {
|
|
1928
|
-
|
|
1929
|
-
/** ServiceDescriptorProto name */
|
|
1930
|
-
name?: (string|null);
|
|
1931
|
-
|
|
1932
|
-
/** ServiceDescriptorProto method */
|
|
1933
|
-
method?: (google.protobuf.IMethodDescriptorProto[]|null);
|
|
1934
|
-
|
|
1935
|
-
/** ServiceDescriptorProto options */
|
|
1936
|
-
options?: (google.protobuf.IServiceOptions|null);
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
/** Represents a ServiceDescriptorProto. */
|
|
1940
|
-
class ServiceDescriptorProto implements IServiceDescriptorProto {
|
|
1941
|
-
|
|
1942
|
-
/**
|
|
1943
|
-
* Constructs a new ServiceDescriptorProto.
|
|
1944
|
-
* @param [properties] Properties to set
|
|
1945
|
-
*/
|
|
1946
|
-
constructor(properties?: google.protobuf.IServiceDescriptorProto);
|
|
1947
|
-
|
|
1948
|
-
/** ServiceDescriptorProto name. */
|
|
1949
|
-
public name: string;
|
|
1950
|
-
|
|
1951
|
-
/** ServiceDescriptorProto method. */
|
|
1952
|
-
public method: google.protobuf.IMethodDescriptorProto[];
|
|
1953
|
-
|
|
1954
|
-
/** ServiceDescriptorProto options. */
|
|
1955
|
-
public options?: (google.protobuf.IServiceOptions|null);
|
|
1956
|
-
|
|
1957
|
-
/**
|
|
1958
|
-
* Creates a new ServiceDescriptorProto instance using the specified properties.
|
|
1959
|
-
* @param [properties] Properties to set
|
|
1960
|
-
* @returns ServiceDescriptorProto instance
|
|
1961
|
-
*/
|
|
1962
|
-
public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
|
|
1963
|
-
|
|
1964
|
-
/**
|
|
1965
|
-
* Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
|
1966
|
-
* @param message ServiceDescriptorProto message or plain object to encode
|
|
1967
|
-
* @param [writer] Writer to encode to
|
|
1968
|
-
* @returns Writer
|
|
1969
|
-
*/
|
|
1970
|
-
public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
|
1974
|
-
* @param message ServiceDescriptorProto message or plain object to encode
|
|
1975
|
-
* @param [writer] Writer to encode to
|
|
1976
|
-
* @returns Writer
|
|
1977
|
-
*/
|
|
1978
|
-
public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* Decodes a ServiceDescriptorProto message from the specified reader or buffer.
|
|
1982
|
-
* @param reader Reader or buffer to decode from
|
|
1983
|
-
* @param [length] Message length if known beforehand
|
|
1984
|
-
* @returns ServiceDescriptorProto
|
|
1985
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1986
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1987
|
-
*/
|
|
1988
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
|
|
1989
|
-
|
|
1990
|
-
/**
|
|
1991
|
-
* Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
|
|
1992
|
-
* @param reader Reader or buffer to decode from
|
|
1993
|
-
* @returns ServiceDescriptorProto
|
|
1994
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1995
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1996
|
-
*/
|
|
1997
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
2001
|
-
* @param object Plain object
|
|
2002
|
-
* @returns ServiceDescriptorProto
|
|
2003
|
-
*/
|
|
2004
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
|
|
2008
|
-
* @param message ServiceDescriptorProto
|
|
2009
|
-
* @param [options] Conversion options
|
|
2010
|
-
* @returns Plain object
|
|
2011
|
-
*/
|
|
2012
|
-
public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2013
|
-
|
|
2014
|
-
/**
|
|
2015
|
-
* Converts this ServiceDescriptorProto to JSON.
|
|
2016
|
-
* @returns JSON object
|
|
2017
|
-
*/
|
|
2018
|
-
public toJSON(): { [k: string]: any };
|
|
2019
|
-
|
|
2020
|
-
/**
|
|
2021
|
-
* Gets the default type url for ServiceDescriptorProto
|
|
2022
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2023
|
-
* @returns The default type url
|
|
2024
|
-
*/
|
|
2025
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
/** Properties of a MethodDescriptorProto. */
|
|
2029
|
-
interface IMethodDescriptorProto {
|
|
2030
|
-
|
|
2031
|
-
/** MethodDescriptorProto name */
|
|
2032
|
-
name?: (string|null);
|
|
2033
|
-
|
|
2034
|
-
/** MethodDescriptorProto inputType */
|
|
2035
|
-
inputType?: (string|null);
|
|
2036
|
-
|
|
2037
|
-
/** MethodDescriptorProto outputType */
|
|
2038
|
-
outputType?: (string|null);
|
|
2039
|
-
|
|
2040
|
-
/** MethodDescriptorProto options */
|
|
2041
|
-
options?: (google.protobuf.IMethodOptions|null);
|
|
2042
|
-
|
|
2043
|
-
/** MethodDescriptorProto clientStreaming */
|
|
2044
|
-
clientStreaming?: (boolean|null);
|
|
2045
|
-
|
|
2046
|
-
/** MethodDescriptorProto serverStreaming */
|
|
2047
|
-
serverStreaming?: (boolean|null);
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
/** Represents a MethodDescriptorProto. */
|
|
2051
|
-
class MethodDescriptorProto implements IMethodDescriptorProto {
|
|
2052
|
-
|
|
2053
|
-
/**
|
|
2054
|
-
* Constructs a new MethodDescriptorProto.
|
|
2055
|
-
* @param [properties] Properties to set
|
|
2056
|
-
*/
|
|
2057
|
-
constructor(properties?: google.protobuf.IMethodDescriptorProto);
|
|
2058
|
-
|
|
2059
|
-
/** MethodDescriptorProto name. */
|
|
2060
|
-
public name: string;
|
|
2061
|
-
|
|
2062
|
-
/** MethodDescriptorProto inputType. */
|
|
2063
|
-
public inputType: string;
|
|
2064
|
-
|
|
2065
|
-
/** MethodDescriptorProto outputType. */
|
|
2066
|
-
public outputType: string;
|
|
2067
|
-
|
|
2068
|
-
/** MethodDescriptorProto options. */
|
|
2069
|
-
public options?: (google.protobuf.IMethodOptions|null);
|
|
2070
|
-
|
|
2071
|
-
/** MethodDescriptorProto clientStreaming. */
|
|
2072
|
-
public clientStreaming: boolean;
|
|
2073
|
-
|
|
2074
|
-
/** MethodDescriptorProto serverStreaming. */
|
|
2075
|
-
public serverStreaming: boolean;
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* Creates a new MethodDescriptorProto instance using the specified properties.
|
|
2079
|
-
* @param [properties] Properties to set
|
|
2080
|
-
* @returns MethodDescriptorProto instance
|
|
2081
|
-
*/
|
|
2082
|
-
public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
|
|
2083
|
-
|
|
2084
|
-
/**
|
|
2085
|
-
* Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
|
2086
|
-
* @param message MethodDescriptorProto message or plain object to encode
|
|
2087
|
-
* @param [writer] Writer to encode to
|
|
2088
|
-
* @returns Writer
|
|
2089
|
-
*/
|
|
2090
|
-
public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2091
|
-
|
|
2092
|
-
/**
|
|
2093
|
-
* Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
|
2094
|
-
* @param message MethodDescriptorProto message or plain object to encode
|
|
2095
|
-
* @param [writer] Writer to encode to
|
|
2096
|
-
* @returns Writer
|
|
2097
|
-
*/
|
|
2098
|
-
public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2099
|
-
|
|
2100
|
-
/**
|
|
2101
|
-
* Decodes a MethodDescriptorProto message from the specified reader or buffer.
|
|
2102
|
-
* @param reader Reader or buffer to decode from
|
|
2103
|
-
* @param [length] Message length if known beforehand
|
|
2104
|
-
* @returns MethodDescriptorProto
|
|
2105
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2106
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2107
|
-
*/
|
|
2108
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
|
|
2109
|
-
|
|
2110
|
-
/**
|
|
2111
|
-
* Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
|
|
2112
|
-
* @param reader Reader or buffer to decode from
|
|
2113
|
-
* @returns MethodDescriptorProto
|
|
2114
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2115
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2116
|
-
*/
|
|
2117
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
|
|
2118
|
-
|
|
2119
|
-
/**
|
|
2120
|
-
* Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
2121
|
-
* @param object Plain object
|
|
2122
|
-
* @returns MethodDescriptorProto
|
|
2123
|
-
*/
|
|
2124
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
|
|
2125
|
-
|
|
2126
|
-
/**
|
|
2127
|
-
* Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
|
|
2128
|
-
* @param message MethodDescriptorProto
|
|
2129
|
-
* @param [options] Conversion options
|
|
2130
|
-
* @returns Plain object
|
|
2131
|
-
*/
|
|
2132
|
-
public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2133
|
-
|
|
2134
|
-
/**
|
|
2135
|
-
* Converts this MethodDescriptorProto to JSON.
|
|
2136
|
-
* @returns JSON object
|
|
2137
|
-
*/
|
|
2138
|
-
public toJSON(): { [k: string]: any };
|
|
2139
|
-
|
|
2140
|
-
/**
|
|
2141
|
-
* Gets the default type url for MethodDescriptorProto
|
|
2142
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2143
|
-
* @returns The default type url
|
|
2144
|
-
*/
|
|
2145
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
/** Properties of a FileOptions. */
|
|
2149
|
-
interface IFileOptions {
|
|
2150
|
-
|
|
2151
|
-
/** FileOptions javaPackage */
|
|
2152
|
-
javaPackage?: (string|null);
|
|
2153
|
-
|
|
2154
|
-
/** FileOptions javaOuterClassname */
|
|
2155
|
-
javaOuterClassname?: (string|null);
|
|
2156
|
-
|
|
2157
|
-
/** FileOptions javaMultipleFiles */
|
|
2158
|
-
javaMultipleFiles?: (boolean|null);
|
|
2159
|
-
|
|
2160
|
-
/** FileOptions javaGenerateEqualsAndHash */
|
|
2161
|
-
javaGenerateEqualsAndHash?: (boolean|null);
|
|
2162
|
-
|
|
2163
|
-
/** FileOptions javaStringCheckUtf8 */
|
|
2164
|
-
javaStringCheckUtf8?: (boolean|null);
|
|
2165
|
-
|
|
2166
|
-
/** FileOptions optimizeFor */
|
|
2167
|
-
optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
|
|
2168
|
-
|
|
2169
|
-
/** FileOptions goPackage */
|
|
2170
|
-
goPackage?: (string|null);
|
|
2171
|
-
|
|
2172
|
-
/** FileOptions ccGenericServices */
|
|
2173
|
-
ccGenericServices?: (boolean|null);
|
|
2174
|
-
|
|
2175
|
-
/** FileOptions javaGenericServices */
|
|
2176
|
-
javaGenericServices?: (boolean|null);
|
|
2177
|
-
|
|
2178
|
-
/** FileOptions pyGenericServices */
|
|
2179
|
-
pyGenericServices?: (boolean|null);
|
|
2180
|
-
|
|
2181
|
-
/** FileOptions deprecated */
|
|
2182
|
-
deprecated?: (boolean|null);
|
|
2183
|
-
|
|
2184
|
-
/** FileOptions ccEnableArenas */
|
|
2185
|
-
ccEnableArenas?: (boolean|null);
|
|
2186
|
-
|
|
2187
|
-
/** FileOptions objcClassPrefix */
|
|
2188
|
-
objcClassPrefix?: (string|null);
|
|
2189
|
-
|
|
2190
|
-
/** FileOptions csharpNamespace */
|
|
2191
|
-
csharpNamespace?: (string|null);
|
|
2192
|
-
|
|
2193
|
-
/** FileOptions uninterpretedOption */
|
|
2194
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2195
|
-
|
|
2196
|
-
/** FileOptions .gogoproto.goprotoGettersAll */
|
|
2197
|
-
".gogoproto.goprotoGettersAll"?: (boolean|null);
|
|
2198
|
-
|
|
2199
|
-
/** FileOptions .gogoproto.goprotoEnumPrefixAll */
|
|
2200
|
-
".gogoproto.goprotoEnumPrefixAll"?: (boolean|null);
|
|
2201
|
-
|
|
2202
|
-
/** FileOptions .gogoproto.goprotoStringerAll */
|
|
2203
|
-
".gogoproto.goprotoStringerAll"?: (boolean|null);
|
|
2204
|
-
|
|
2205
|
-
/** FileOptions .gogoproto.verboseEqualAll */
|
|
2206
|
-
".gogoproto.verboseEqualAll"?: (boolean|null);
|
|
2207
|
-
|
|
2208
|
-
/** FileOptions .gogoproto.faceAll */
|
|
2209
|
-
".gogoproto.faceAll"?: (boolean|null);
|
|
2210
|
-
|
|
2211
|
-
/** FileOptions .gogoproto.gostringAll */
|
|
2212
|
-
".gogoproto.gostringAll"?: (boolean|null);
|
|
2213
|
-
|
|
2214
|
-
/** FileOptions .gogoproto.populateAll */
|
|
2215
|
-
".gogoproto.populateAll"?: (boolean|null);
|
|
2216
|
-
|
|
2217
|
-
/** FileOptions .gogoproto.stringerAll */
|
|
2218
|
-
".gogoproto.stringerAll"?: (boolean|null);
|
|
2219
|
-
|
|
2220
|
-
/** FileOptions .gogoproto.onlyoneAll */
|
|
2221
|
-
".gogoproto.onlyoneAll"?: (boolean|null);
|
|
2222
|
-
|
|
2223
|
-
/** FileOptions .gogoproto.equalAll */
|
|
2224
|
-
".gogoproto.equalAll"?: (boolean|null);
|
|
2225
|
-
|
|
2226
|
-
/** FileOptions .gogoproto.descriptionAll */
|
|
2227
|
-
".gogoproto.descriptionAll"?: (boolean|null);
|
|
2228
|
-
|
|
2229
|
-
/** FileOptions .gogoproto.testgenAll */
|
|
2230
|
-
".gogoproto.testgenAll"?: (boolean|null);
|
|
2231
|
-
|
|
2232
|
-
/** FileOptions .gogoproto.benchgenAll */
|
|
2233
|
-
".gogoproto.benchgenAll"?: (boolean|null);
|
|
2234
|
-
|
|
2235
|
-
/** FileOptions .gogoproto.marshalerAll */
|
|
2236
|
-
".gogoproto.marshalerAll"?: (boolean|null);
|
|
2237
|
-
|
|
2238
|
-
/** FileOptions .gogoproto.unmarshalerAll */
|
|
2239
|
-
".gogoproto.unmarshalerAll"?: (boolean|null);
|
|
2240
|
-
|
|
2241
|
-
/** FileOptions .gogoproto.stableMarshalerAll */
|
|
2242
|
-
".gogoproto.stableMarshalerAll"?: (boolean|null);
|
|
2243
|
-
|
|
2244
|
-
/** FileOptions .gogoproto.sizerAll */
|
|
2245
|
-
".gogoproto.sizerAll"?: (boolean|null);
|
|
2246
|
-
|
|
2247
|
-
/** FileOptions .gogoproto.goprotoEnumStringerAll */
|
|
2248
|
-
".gogoproto.goprotoEnumStringerAll"?: (boolean|null);
|
|
2249
|
-
|
|
2250
|
-
/** FileOptions .gogoproto.enumStringerAll */
|
|
2251
|
-
".gogoproto.enumStringerAll"?: (boolean|null);
|
|
2252
|
-
|
|
2253
|
-
/** FileOptions .gogoproto.unsafeMarshalerAll */
|
|
2254
|
-
".gogoproto.unsafeMarshalerAll"?: (boolean|null);
|
|
2255
|
-
|
|
2256
|
-
/** FileOptions .gogoproto.unsafeUnmarshalerAll */
|
|
2257
|
-
".gogoproto.unsafeUnmarshalerAll"?: (boolean|null);
|
|
2258
|
-
|
|
2259
|
-
/** FileOptions .gogoproto.goprotoExtensionsMapAll */
|
|
2260
|
-
".gogoproto.goprotoExtensionsMapAll"?: (boolean|null);
|
|
2261
|
-
|
|
2262
|
-
/** FileOptions .gogoproto.goprotoUnrecognizedAll */
|
|
2263
|
-
".gogoproto.goprotoUnrecognizedAll"?: (boolean|null);
|
|
2264
|
-
|
|
2265
|
-
/** FileOptions .gogoproto.gogoprotoImport */
|
|
2266
|
-
".gogoproto.gogoprotoImport"?: (boolean|null);
|
|
2267
|
-
|
|
2268
|
-
/** FileOptions .gogoproto.protosizerAll */
|
|
2269
|
-
".gogoproto.protosizerAll"?: (boolean|null);
|
|
2270
|
-
|
|
2271
|
-
/** FileOptions .gogoproto.compareAll */
|
|
2272
|
-
".gogoproto.compareAll"?: (boolean|null);
|
|
2273
|
-
|
|
2274
|
-
/** FileOptions .gogoproto.typedeclAll */
|
|
2275
|
-
".gogoproto.typedeclAll"?: (boolean|null);
|
|
2276
|
-
|
|
2277
|
-
/** FileOptions .gogoproto.enumdeclAll */
|
|
2278
|
-
".gogoproto.enumdeclAll"?: (boolean|null);
|
|
2279
|
-
|
|
2280
|
-
/** FileOptions .gogoproto.goprotoRegistration */
|
|
2281
|
-
".gogoproto.goprotoRegistration"?: (boolean|null);
|
|
2282
|
-
|
|
2283
|
-
/** FileOptions .gogoproto.messagenameAll */
|
|
2284
|
-
".gogoproto.messagenameAll"?: (boolean|null);
|
|
2285
|
-
|
|
2286
|
-
/** FileOptions .gogoproto.goprotoSizecacheAll */
|
|
2287
|
-
".gogoproto.goprotoSizecacheAll"?: (boolean|null);
|
|
2288
|
-
|
|
2289
|
-
/** FileOptions .gogoproto.goprotoUnkeyedAll */
|
|
2290
|
-
".gogoproto.goprotoUnkeyedAll"?: (boolean|null);
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
/** Represents a FileOptions. */
|
|
2294
|
-
class FileOptions implements IFileOptions {
|
|
2295
|
-
|
|
2296
|
-
/**
|
|
2297
|
-
* Constructs a new FileOptions.
|
|
2298
|
-
* @param [properties] Properties to set
|
|
2299
|
-
*/
|
|
2300
|
-
constructor(properties?: google.protobuf.IFileOptions);
|
|
2301
|
-
|
|
2302
|
-
/** FileOptions javaPackage. */
|
|
2303
|
-
public javaPackage: string;
|
|
2304
|
-
|
|
2305
|
-
/** FileOptions javaOuterClassname. */
|
|
2306
|
-
public javaOuterClassname: string;
|
|
2307
|
-
|
|
2308
|
-
/** FileOptions javaMultipleFiles. */
|
|
2309
|
-
public javaMultipleFiles: boolean;
|
|
2310
|
-
|
|
2311
|
-
/** FileOptions javaGenerateEqualsAndHash. */
|
|
2312
|
-
public javaGenerateEqualsAndHash: boolean;
|
|
2313
|
-
|
|
2314
|
-
/** FileOptions javaStringCheckUtf8. */
|
|
2315
|
-
public javaStringCheckUtf8: boolean;
|
|
2316
|
-
|
|
2317
|
-
/** FileOptions optimizeFor. */
|
|
2318
|
-
public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
|
|
2319
|
-
|
|
2320
|
-
/** FileOptions goPackage. */
|
|
2321
|
-
public goPackage: string;
|
|
2322
|
-
|
|
2323
|
-
/** FileOptions ccGenericServices. */
|
|
2324
|
-
public ccGenericServices: boolean;
|
|
2325
|
-
|
|
2326
|
-
/** FileOptions javaGenericServices. */
|
|
2327
|
-
public javaGenericServices: boolean;
|
|
2328
|
-
|
|
2329
|
-
/** FileOptions pyGenericServices. */
|
|
2330
|
-
public pyGenericServices: boolean;
|
|
2331
|
-
|
|
2332
|
-
/** FileOptions deprecated. */
|
|
2333
|
-
public deprecated: boolean;
|
|
2334
|
-
|
|
2335
|
-
/** FileOptions ccEnableArenas. */
|
|
2336
|
-
public ccEnableArenas: boolean;
|
|
2337
|
-
|
|
2338
|
-
/** FileOptions objcClassPrefix. */
|
|
2339
|
-
public objcClassPrefix: string;
|
|
2340
|
-
|
|
2341
|
-
/** FileOptions csharpNamespace. */
|
|
2342
|
-
public csharpNamespace: string;
|
|
2343
|
-
|
|
2344
|
-
/** FileOptions uninterpretedOption. */
|
|
2345
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2346
|
-
|
|
2347
|
-
/**
|
|
2348
|
-
* Creates a new FileOptions instance using the specified properties.
|
|
2349
|
-
* @param [properties] Properties to set
|
|
2350
|
-
* @returns FileOptions instance
|
|
2351
|
-
*/
|
|
2352
|
-
public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
|
|
2353
|
-
|
|
2354
|
-
/**
|
|
2355
|
-
* Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
|
2356
|
-
* @param message FileOptions message or plain object to encode
|
|
2357
|
-
* @param [writer] Writer to encode to
|
|
2358
|
-
* @returns Writer
|
|
2359
|
-
*/
|
|
2360
|
-
public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2361
|
-
|
|
2362
|
-
/**
|
|
2363
|
-
* Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
|
2364
|
-
* @param message FileOptions message or plain object to encode
|
|
2365
|
-
* @param [writer] Writer to encode to
|
|
2366
|
-
* @returns Writer
|
|
2367
|
-
*/
|
|
2368
|
-
public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2369
|
-
|
|
2370
|
-
/**
|
|
2371
|
-
* Decodes a FileOptions message from the specified reader or buffer.
|
|
2372
|
-
* @param reader Reader or buffer to decode from
|
|
2373
|
-
* @param [length] Message length if known beforehand
|
|
2374
|
-
* @returns FileOptions
|
|
2375
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2376
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2377
|
-
*/
|
|
2378
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
|
|
2379
|
-
|
|
2380
|
-
/**
|
|
2381
|
-
* Decodes a FileOptions message from the specified reader or buffer, length delimited.
|
|
2382
|
-
* @param reader Reader or buffer to decode from
|
|
2383
|
-
* @returns FileOptions
|
|
2384
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2385
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2386
|
-
*/
|
|
2387
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
|
|
2388
|
-
|
|
2389
|
-
/**
|
|
2390
|
-
* Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
|
|
2391
|
-
* @param object Plain object
|
|
2392
|
-
* @returns FileOptions
|
|
2393
|
-
*/
|
|
2394
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
|
|
2395
|
-
|
|
2396
|
-
/**
|
|
2397
|
-
* Creates a plain object from a FileOptions message. Also converts values to other types if specified.
|
|
2398
|
-
* @param message FileOptions
|
|
2399
|
-
* @param [options] Conversion options
|
|
2400
|
-
* @returns Plain object
|
|
2401
|
-
*/
|
|
2402
|
-
public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2403
|
-
|
|
2404
|
-
/**
|
|
2405
|
-
* Converts this FileOptions to JSON.
|
|
2406
|
-
* @returns JSON object
|
|
2407
|
-
*/
|
|
2408
|
-
public toJSON(): { [k: string]: any };
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
* Gets the default type url for FileOptions
|
|
2412
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2413
|
-
* @returns The default type url
|
|
2414
|
-
*/
|
|
2415
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2416
|
-
}
|
|
2417
|
-
|
|
2418
|
-
namespace FileOptions {
|
|
2419
|
-
|
|
2420
|
-
/** OptimizeMode enum. */
|
|
2421
|
-
enum OptimizeMode {
|
|
2422
|
-
SPEED = 1,
|
|
2423
|
-
CODE_SIZE = 2,
|
|
2424
|
-
LITE_RUNTIME = 3
|
|
2425
|
-
}
|
|
2426
|
-
}
|
|
2427
|
-
|
|
2428
|
-
/** Properties of a MessageOptions. */
|
|
2429
|
-
interface IMessageOptions {
|
|
2430
|
-
|
|
2431
|
-
/** MessageOptions messageSetWireFormat */
|
|
2432
|
-
messageSetWireFormat?: (boolean|null);
|
|
2433
|
-
|
|
2434
|
-
/** MessageOptions noStandardDescriptorAccessor */
|
|
2435
|
-
noStandardDescriptorAccessor?: (boolean|null);
|
|
2436
|
-
|
|
2437
|
-
/** MessageOptions deprecated */
|
|
2438
|
-
deprecated?: (boolean|null);
|
|
2439
|
-
|
|
2440
|
-
/** MessageOptions mapEntry */
|
|
2441
|
-
mapEntry?: (boolean|null);
|
|
2442
|
-
|
|
2443
|
-
/** MessageOptions uninterpretedOption */
|
|
2444
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2445
|
-
|
|
2446
|
-
/** MessageOptions .gogoproto.goprotoGetters */
|
|
2447
|
-
".gogoproto.goprotoGetters"?: (boolean|null);
|
|
2448
|
-
|
|
2449
|
-
/** MessageOptions .gogoproto.goprotoStringer */
|
|
2450
|
-
".gogoproto.goprotoStringer"?: (boolean|null);
|
|
2451
|
-
|
|
2452
|
-
/** MessageOptions .gogoproto.verboseEqual */
|
|
2453
|
-
".gogoproto.verboseEqual"?: (boolean|null);
|
|
2454
|
-
|
|
2455
|
-
/** MessageOptions .gogoproto.face */
|
|
2456
|
-
".gogoproto.face"?: (boolean|null);
|
|
2457
|
-
|
|
2458
|
-
/** MessageOptions .gogoproto.gostring */
|
|
2459
|
-
".gogoproto.gostring"?: (boolean|null);
|
|
2460
|
-
|
|
2461
|
-
/** MessageOptions .gogoproto.populate */
|
|
2462
|
-
".gogoproto.populate"?: (boolean|null);
|
|
2463
|
-
|
|
2464
|
-
/** MessageOptions .gogoproto.stringer */
|
|
2465
|
-
".gogoproto.stringer"?: (boolean|null);
|
|
2466
|
-
|
|
2467
|
-
/** MessageOptions .gogoproto.onlyone */
|
|
2468
|
-
".gogoproto.onlyone"?: (boolean|null);
|
|
2469
|
-
|
|
2470
|
-
/** MessageOptions .gogoproto.equal */
|
|
2471
|
-
".gogoproto.equal"?: (boolean|null);
|
|
2472
|
-
|
|
2473
|
-
/** MessageOptions .gogoproto.description */
|
|
2474
|
-
".gogoproto.description"?: (boolean|null);
|
|
2475
|
-
|
|
2476
|
-
/** MessageOptions .gogoproto.testgen */
|
|
2477
|
-
".gogoproto.testgen"?: (boolean|null);
|
|
2478
|
-
|
|
2479
|
-
/** MessageOptions .gogoproto.benchgen */
|
|
2480
|
-
".gogoproto.benchgen"?: (boolean|null);
|
|
2481
|
-
|
|
2482
|
-
/** MessageOptions .gogoproto.marshaler */
|
|
2483
|
-
".gogoproto.marshaler"?: (boolean|null);
|
|
2484
|
-
|
|
2485
|
-
/** MessageOptions .gogoproto.unmarshaler */
|
|
2486
|
-
".gogoproto.unmarshaler"?: (boolean|null);
|
|
2487
|
-
|
|
2488
|
-
/** MessageOptions .gogoproto.stableMarshaler */
|
|
2489
|
-
".gogoproto.stableMarshaler"?: (boolean|null);
|
|
2490
|
-
|
|
2491
|
-
/** MessageOptions .gogoproto.sizer */
|
|
2492
|
-
".gogoproto.sizer"?: (boolean|null);
|
|
2493
|
-
|
|
2494
|
-
/** MessageOptions .gogoproto.unsafeMarshaler */
|
|
2495
|
-
".gogoproto.unsafeMarshaler"?: (boolean|null);
|
|
2496
|
-
|
|
2497
|
-
/** MessageOptions .gogoproto.unsafeUnmarshaler */
|
|
2498
|
-
".gogoproto.unsafeUnmarshaler"?: (boolean|null);
|
|
2499
|
-
|
|
2500
|
-
/** MessageOptions .gogoproto.goprotoExtensionsMap */
|
|
2501
|
-
".gogoproto.goprotoExtensionsMap"?: (boolean|null);
|
|
2502
|
-
|
|
2503
|
-
/** MessageOptions .gogoproto.goprotoUnrecognized */
|
|
2504
|
-
".gogoproto.goprotoUnrecognized"?: (boolean|null);
|
|
2505
|
-
|
|
2506
|
-
/** MessageOptions .gogoproto.protosizer */
|
|
2507
|
-
".gogoproto.protosizer"?: (boolean|null);
|
|
2508
|
-
|
|
2509
|
-
/** MessageOptions .gogoproto.compare */
|
|
2510
|
-
".gogoproto.compare"?: (boolean|null);
|
|
2511
|
-
|
|
2512
|
-
/** MessageOptions .gogoproto.typedecl */
|
|
2513
|
-
".gogoproto.typedecl"?: (boolean|null);
|
|
2514
|
-
|
|
2515
|
-
/** MessageOptions .gogoproto.messagename */
|
|
2516
|
-
".gogoproto.messagename"?: (boolean|null);
|
|
2517
|
-
|
|
2518
|
-
/** MessageOptions .gogoproto.goprotoSizecache */
|
|
2519
|
-
".gogoproto.goprotoSizecache"?: (boolean|null);
|
|
2520
|
-
|
|
2521
|
-
/** MessageOptions .gogoproto.goprotoUnkeyed */
|
|
2522
|
-
".gogoproto.goprotoUnkeyed"?: (boolean|null);
|
|
2523
|
-
}
|
|
2524
|
-
|
|
2525
|
-
/** Represents a MessageOptions. */
|
|
2526
|
-
class MessageOptions implements IMessageOptions {
|
|
2527
|
-
|
|
2528
|
-
/**
|
|
2529
|
-
* Constructs a new MessageOptions.
|
|
2530
|
-
* @param [properties] Properties to set
|
|
2531
|
-
*/
|
|
2532
|
-
constructor(properties?: google.protobuf.IMessageOptions);
|
|
2533
|
-
|
|
2534
|
-
/** MessageOptions messageSetWireFormat. */
|
|
2535
|
-
public messageSetWireFormat: boolean;
|
|
2536
|
-
|
|
2537
|
-
/** MessageOptions noStandardDescriptorAccessor. */
|
|
2538
|
-
public noStandardDescriptorAccessor: boolean;
|
|
2539
|
-
|
|
2540
|
-
/** MessageOptions deprecated. */
|
|
2541
|
-
public deprecated: boolean;
|
|
2542
|
-
|
|
2543
|
-
/** MessageOptions mapEntry. */
|
|
2544
|
-
public mapEntry: boolean;
|
|
2545
|
-
|
|
2546
|
-
/** MessageOptions uninterpretedOption. */
|
|
2547
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2548
|
-
|
|
2549
|
-
/**
|
|
2550
|
-
* Creates a new MessageOptions instance using the specified properties.
|
|
2551
|
-
* @param [properties] Properties to set
|
|
2552
|
-
* @returns MessageOptions instance
|
|
2553
|
-
*/
|
|
2554
|
-
public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
|
|
2555
|
-
|
|
2556
|
-
/**
|
|
2557
|
-
* Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
|
2558
|
-
* @param message MessageOptions message or plain object to encode
|
|
2559
|
-
* @param [writer] Writer to encode to
|
|
2560
|
-
* @returns Writer
|
|
2561
|
-
*/
|
|
2562
|
-
public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2563
|
-
|
|
2564
|
-
/**
|
|
2565
|
-
* Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
|
2566
|
-
* @param message MessageOptions message or plain object to encode
|
|
2567
|
-
* @param [writer] Writer to encode to
|
|
2568
|
-
* @returns Writer
|
|
2569
|
-
*/
|
|
2570
|
-
public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2571
|
-
|
|
2572
|
-
/**
|
|
2573
|
-
* Decodes a MessageOptions message from the specified reader or buffer.
|
|
2574
|
-
* @param reader Reader or buffer to decode from
|
|
2575
|
-
* @param [length] Message length if known beforehand
|
|
2576
|
-
* @returns MessageOptions
|
|
2577
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2578
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2579
|
-
*/
|
|
2580
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
|
|
2581
|
-
|
|
2582
|
-
/**
|
|
2583
|
-
* Decodes a MessageOptions message from the specified reader or buffer, length delimited.
|
|
2584
|
-
* @param reader Reader or buffer to decode from
|
|
2585
|
-
* @returns MessageOptions
|
|
2586
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2587
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2588
|
-
*/
|
|
2589
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
|
|
2590
|
-
|
|
2591
|
-
/**
|
|
2592
|
-
* Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
|
|
2593
|
-
* @param object Plain object
|
|
2594
|
-
* @returns MessageOptions
|
|
2595
|
-
*/
|
|
2596
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
|
|
2597
|
-
|
|
2598
|
-
/**
|
|
2599
|
-
* Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
|
|
2600
|
-
* @param message MessageOptions
|
|
2601
|
-
* @param [options] Conversion options
|
|
2602
|
-
* @returns Plain object
|
|
2603
|
-
*/
|
|
2604
|
-
public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2605
|
-
|
|
2606
|
-
/**
|
|
2607
|
-
* Converts this MessageOptions to JSON.
|
|
2608
|
-
* @returns JSON object
|
|
2609
|
-
*/
|
|
2610
|
-
public toJSON(): { [k: string]: any };
|
|
2611
|
-
|
|
2612
|
-
/**
|
|
2613
|
-
* Gets the default type url for MessageOptions
|
|
2614
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2615
|
-
* @returns The default type url
|
|
2616
|
-
*/
|
|
2617
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
/** Properties of a FieldOptions. */
|
|
2621
|
-
interface IFieldOptions {
|
|
2622
|
-
|
|
2623
|
-
/** FieldOptions ctype */
|
|
2624
|
-
ctype?: (google.protobuf.FieldOptions.CType|null);
|
|
2625
|
-
|
|
2626
|
-
/** FieldOptions packed */
|
|
2627
|
-
packed?: (boolean|null);
|
|
2628
|
-
|
|
2629
|
-
/** FieldOptions jstype */
|
|
2630
|
-
jstype?: (google.protobuf.FieldOptions.JSType|null);
|
|
2631
|
-
|
|
2632
|
-
/** FieldOptions lazy */
|
|
2633
|
-
lazy?: (boolean|null);
|
|
2634
|
-
|
|
2635
|
-
/** FieldOptions deprecated */
|
|
2636
|
-
deprecated?: (boolean|null);
|
|
2637
|
-
|
|
2638
|
-
/** FieldOptions weak */
|
|
2639
|
-
weak?: (boolean|null);
|
|
2640
|
-
|
|
2641
|
-
/** FieldOptions uninterpretedOption */
|
|
2642
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2643
|
-
|
|
2644
|
-
/** FieldOptions .gogoproto.nullable */
|
|
2645
|
-
".gogoproto.nullable"?: (boolean|null);
|
|
2646
|
-
|
|
2647
|
-
/** FieldOptions .gogoproto.embed */
|
|
2648
|
-
".gogoproto.embed"?: (boolean|null);
|
|
2649
|
-
|
|
2650
|
-
/** FieldOptions .gogoproto.customtype */
|
|
2651
|
-
".gogoproto.customtype"?: (string|null);
|
|
2652
|
-
|
|
2653
|
-
/** FieldOptions .gogoproto.customname */
|
|
2654
|
-
".gogoproto.customname"?: (string|null);
|
|
2655
|
-
|
|
2656
|
-
/** FieldOptions .gogoproto.jsontag */
|
|
2657
|
-
".gogoproto.jsontag"?: (string|null);
|
|
2658
|
-
|
|
2659
|
-
/** FieldOptions .gogoproto.moretags */
|
|
2660
|
-
".gogoproto.moretags"?: (string|null);
|
|
2661
|
-
|
|
2662
|
-
/** FieldOptions .gogoproto.casttype */
|
|
2663
|
-
".gogoproto.casttype"?: (string|null);
|
|
2664
|
-
|
|
2665
|
-
/** FieldOptions .gogoproto.castkey */
|
|
2666
|
-
".gogoproto.castkey"?: (string|null);
|
|
2667
|
-
|
|
2668
|
-
/** FieldOptions .gogoproto.castvalue */
|
|
2669
|
-
".gogoproto.castvalue"?: (string|null);
|
|
2670
|
-
|
|
2671
|
-
/** FieldOptions .gogoproto.stdtime */
|
|
2672
|
-
".gogoproto.stdtime"?: (boolean|null);
|
|
2673
|
-
|
|
2674
|
-
/** FieldOptions .gogoproto.stdduration */
|
|
2675
|
-
".gogoproto.stdduration"?: (boolean|null);
|
|
2676
|
-
|
|
2677
|
-
/** FieldOptions .gogoproto.wktpointer */
|
|
2678
|
-
".gogoproto.wktpointer"?: (boolean|null);
|
|
2679
|
-
}
|
|
2680
|
-
|
|
2681
|
-
/** Represents a FieldOptions. */
|
|
2682
|
-
class FieldOptions implements IFieldOptions {
|
|
2683
|
-
|
|
2684
|
-
/**
|
|
2685
|
-
* Constructs a new FieldOptions.
|
|
2686
|
-
* @param [properties] Properties to set
|
|
2687
|
-
*/
|
|
2688
|
-
constructor(properties?: google.protobuf.IFieldOptions);
|
|
2689
|
-
|
|
2690
|
-
/** FieldOptions ctype. */
|
|
2691
|
-
public ctype: google.protobuf.FieldOptions.CType;
|
|
2692
|
-
|
|
2693
|
-
/** FieldOptions packed. */
|
|
2694
|
-
public packed: boolean;
|
|
2695
|
-
|
|
2696
|
-
/** FieldOptions jstype. */
|
|
2697
|
-
public jstype: google.protobuf.FieldOptions.JSType;
|
|
2698
|
-
|
|
2699
|
-
/** FieldOptions lazy. */
|
|
2700
|
-
public lazy: boolean;
|
|
2701
|
-
|
|
2702
|
-
/** FieldOptions deprecated. */
|
|
2703
|
-
public deprecated: boolean;
|
|
2704
|
-
|
|
2705
|
-
/** FieldOptions weak. */
|
|
2706
|
-
public weak: boolean;
|
|
2707
|
-
|
|
2708
|
-
/** FieldOptions uninterpretedOption. */
|
|
2709
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2710
|
-
|
|
2711
|
-
/**
|
|
2712
|
-
* Creates a new FieldOptions instance using the specified properties.
|
|
2713
|
-
* @param [properties] Properties to set
|
|
2714
|
-
* @returns FieldOptions instance
|
|
2715
|
-
*/
|
|
2716
|
-
public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
|
|
2717
|
-
|
|
2718
|
-
/**
|
|
2719
|
-
* Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
|
2720
|
-
* @param message FieldOptions message or plain object to encode
|
|
2721
|
-
* @param [writer] Writer to encode to
|
|
2722
|
-
* @returns Writer
|
|
2723
|
-
*/
|
|
2724
|
-
public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
|
2728
|
-
* @param message FieldOptions message or plain object to encode
|
|
2729
|
-
* @param [writer] Writer to encode to
|
|
2730
|
-
* @returns Writer
|
|
2731
|
-
*/
|
|
2732
|
-
public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2733
|
-
|
|
2734
|
-
/**
|
|
2735
|
-
* Decodes a FieldOptions message from the specified reader or buffer.
|
|
2736
|
-
* @param reader Reader or buffer to decode from
|
|
2737
|
-
* @param [length] Message length if known beforehand
|
|
2738
|
-
* @returns FieldOptions
|
|
2739
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2740
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2741
|
-
*/
|
|
2742
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
|
|
2743
|
-
|
|
2744
|
-
/**
|
|
2745
|
-
* Decodes a FieldOptions message from the specified reader or buffer, length delimited.
|
|
2746
|
-
* @param reader Reader or buffer to decode from
|
|
2747
|
-
* @returns FieldOptions
|
|
2748
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2749
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2750
|
-
*/
|
|
2751
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
|
|
2755
|
-
* @param object Plain object
|
|
2756
|
-
* @returns FieldOptions
|
|
2757
|
-
*/
|
|
2758
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
|
|
2759
|
-
|
|
2760
|
-
/**
|
|
2761
|
-
* Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
|
|
2762
|
-
* @param message FieldOptions
|
|
2763
|
-
* @param [options] Conversion options
|
|
2764
|
-
* @returns Plain object
|
|
2765
|
-
*/
|
|
2766
|
-
public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* Converts this FieldOptions to JSON.
|
|
2770
|
-
* @returns JSON object
|
|
2771
|
-
*/
|
|
2772
|
-
public toJSON(): { [k: string]: any };
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
* Gets the default type url for FieldOptions
|
|
2776
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2777
|
-
* @returns The default type url
|
|
2778
|
-
*/
|
|
2779
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2780
|
-
}
|
|
2781
|
-
|
|
2782
|
-
namespace FieldOptions {
|
|
2783
|
-
|
|
2784
|
-
/** CType enum. */
|
|
2785
|
-
enum CType {
|
|
2786
|
-
STRING = 0,
|
|
2787
|
-
CORD = 1,
|
|
2788
|
-
STRING_PIECE = 2
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
|
-
/** JSType enum. */
|
|
2792
|
-
enum JSType {
|
|
2793
|
-
JS_NORMAL = 0,
|
|
2794
|
-
JS_STRING = 1,
|
|
2795
|
-
JS_NUMBER = 2
|
|
2796
|
-
}
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
/** Properties of an OneofOptions. */
|
|
2800
|
-
interface IOneofOptions {
|
|
2801
|
-
|
|
2802
|
-
/** OneofOptions uninterpretedOption */
|
|
2803
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
/** Represents an OneofOptions. */
|
|
2807
|
-
class OneofOptions implements IOneofOptions {
|
|
2808
|
-
|
|
2809
|
-
/**
|
|
2810
|
-
* Constructs a new OneofOptions.
|
|
2811
|
-
* @param [properties] Properties to set
|
|
2812
|
-
*/
|
|
2813
|
-
constructor(properties?: google.protobuf.IOneofOptions);
|
|
2814
|
-
|
|
2815
|
-
/** OneofOptions uninterpretedOption. */
|
|
2816
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2817
|
-
|
|
2818
|
-
/**
|
|
2819
|
-
* Creates a new OneofOptions instance using the specified properties.
|
|
2820
|
-
* @param [properties] Properties to set
|
|
2821
|
-
* @returns OneofOptions instance
|
|
2822
|
-
*/
|
|
2823
|
-
public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
|
|
2824
|
-
|
|
2825
|
-
/**
|
|
2826
|
-
* Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
|
2827
|
-
* @param message OneofOptions message or plain object to encode
|
|
2828
|
-
* @param [writer] Writer to encode to
|
|
2829
|
-
* @returns Writer
|
|
2830
|
-
*/
|
|
2831
|
-
public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2832
|
-
|
|
2833
|
-
/**
|
|
2834
|
-
* Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
|
2835
|
-
* @param message OneofOptions message or plain object to encode
|
|
2836
|
-
* @param [writer] Writer to encode to
|
|
2837
|
-
* @returns Writer
|
|
2838
|
-
*/
|
|
2839
|
-
public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2840
|
-
|
|
2841
|
-
/**
|
|
2842
|
-
* Decodes an OneofOptions message from the specified reader or buffer.
|
|
2843
|
-
* @param reader Reader or buffer to decode from
|
|
2844
|
-
* @param [length] Message length if known beforehand
|
|
2845
|
-
* @returns OneofOptions
|
|
2846
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2847
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2848
|
-
*/
|
|
2849
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
|
|
2850
|
-
|
|
2851
|
-
/**
|
|
2852
|
-
* Decodes an OneofOptions message from the specified reader or buffer, length delimited.
|
|
2853
|
-
* @param reader Reader or buffer to decode from
|
|
2854
|
-
* @returns OneofOptions
|
|
2855
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2856
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2857
|
-
*/
|
|
2858
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
|
|
2859
|
-
|
|
2860
|
-
/**
|
|
2861
|
-
* Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
|
|
2862
|
-
* @param object Plain object
|
|
2863
|
-
* @returns OneofOptions
|
|
2864
|
-
*/
|
|
2865
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
|
|
2866
|
-
|
|
2867
|
-
/**
|
|
2868
|
-
* Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
|
|
2869
|
-
* @param message OneofOptions
|
|
2870
|
-
* @param [options] Conversion options
|
|
2871
|
-
* @returns Plain object
|
|
2872
|
-
*/
|
|
2873
|
-
public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2874
|
-
|
|
2875
|
-
/**
|
|
2876
|
-
* Converts this OneofOptions to JSON.
|
|
2877
|
-
* @returns JSON object
|
|
2878
|
-
*/
|
|
2879
|
-
public toJSON(): { [k: string]: any };
|
|
2880
|
-
|
|
2881
|
-
/**
|
|
2882
|
-
* Gets the default type url for OneofOptions
|
|
2883
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2884
|
-
* @returns The default type url
|
|
2885
|
-
*/
|
|
2886
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2887
|
-
}
|
|
2888
|
-
|
|
2889
|
-
/** Properties of an EnumOptions. */
|
|
2890
|
-
interface IEnumOptions {
|
|
2891
|
-
|
|
2892
|
-
/** EnumOptions allowAlias */
|
|
2893
|
-
allowAlias?: (boolean|null);
|
|
2894
|
-
|
|
2895
|
-
/** EnumOptions deprecated */
|
|
2896
|
-
deprecated?: (boolean|null);
|
|
2897
|
-
|
|
2898
|
-
/** EnumOptions uninterpretedOption */
|
|
2899
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2900
|
-
|
|
2901
|
-
/** EnumOptions .gogoproto.goprotoEnumPrefix */
|
|
2902
|
-
".gogoproto.goprotoEnumPrefix"?: (boolean|null);
|
|
2903
|
-
|
|
2904
|
-
/** EnumOptions .gogoproto.goprotoEnumStringer */
|
|
2905
|
-
".gogoproto.goprotoEnumStringer"?: (boolean|null);
|
|
2906
|
-
|
|
2907
|
-
/** EnumOptions .gogoproto.enumStringer */
|
|
2908
|
-
".gogoproto.enumStringer"?: (boolean|null);
|
|
2909
|
-
|
|
2910
|
-
/** EnumOptions .gogoproto.enumCustomname */
|
|
2911
|
-
".gogoproto.enumCustomname"?: (string|null);
|
|
2912
|
-
|
|
2913
|
-
/** EnumOptions .gogoproto.enumdecl */
|
|
2914
|
-
".gogoproto.enumdecl"?: (boolean|null);
|
|
2915
|
-
}
|
|
2916
|
-
|
|
2917
|
-
/** Represents an EnumOptions. */
|
|
2918
|
-
class EnumOptions implements IEnumOptions {
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* Constructs a new EnumOptions.
|
|
2922
|
-
* @param [properties] Properties to set
|
|
2923
|
-
*/
|
|
2924
|
-
constructor(properties?: google.protobuf.IEnumOptions);
|
|
2925
|
-
|
|
2926
|
-
/** EnumOptions allowAlias. */
|
|
2927
|
-
public allowAlias: boolean;
|
|
2928
|
-
|
|
2929
|
-
/** EnumOptions deprecated. */
|
|
2930
|
-
public deprecated: boolean;
|
|
2931
|
-
|
|
2932
|
-
/** EnumOptions uninterpretedOption. */
|
|
2933
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2934
|
-
|
|
2935
|
-
/**
|
|
2936
|
-
* Creates a new EnumOptions instance using the specified properties.
|
|
2937
|
-
* @param [properties] Properties to set
|
|
2938
|
-
* @returns EnumOptions instance
|
|
2939
|
-
*/
|
|
2940
|
-
public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
|
|
2941
|
-
|
|
2942
|
-
/**
|
|
2943
|
-
* Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
|
2944
|
-
* @param message EnumOptions message or plain object to encode
|
|
2945
|
-
* @param [writer] Writer to encode to
|
|
2946
|
-
* @returns Writer
|
|
2947
|
-
*/
|
|
2948
|
-
public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2949
|
-
|
|
2950
|
-
/**
|
|
2951
|
-
* Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
|
2952
|
-
* @param message EnumOptions message or plain object to encode
|
|
2953
|
-
* @param [writer] Writer to encode to
|
|
2954
|
-
* @returns Writer
|
|
2955
|
-
*/
|
|
2956
|
-
public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2957
|
-
|
|
2958
|
-
/**
|
|
2959
|
-
* Decodes an EnumOptions message from the specified reader or buffer.
|
|
2960
|
-
* @param reader Reader or buffer to decode from
|
|
2961
|
-
* @param [length] Message length if known beforehand
|
|
2962
|
-
* @returns EnumOptions
|
|
2963
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2964
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2965
|
-
*/
|
|
2966
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
|
|
2967
|
-
|
|
2968
|
-
/**
|
|
2969
|
-
* Decodes an EnumOptions message from the specified reader or buffer, length delimited.
|
|
2970
|
-
* @param reader Reader or buffer to decode from
|
|
2971
|
-
* @returns EnumOptions
|
|
2972
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2973
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2974
|
-
*/
|
|
2975
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
|
|
2976
|
-
|
|
2977
|
-
/**
|
|
2978
|
-
* Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
|
|
2979
|
-
* @param object Plain object
|
|
2980
|
-
* @returns EnumOptions
|
|
2981
|
-
*/
|
|
2982
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
|
|
2983
|
-
|
|
2984
|
-
/**
|
|
2985
|
-
* Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
|
|
2986
|
-
* @param message EnumOptions
|
|
2987
|
-
* @param [options] Conversion options
|
|
2988
|
-
* @returns Plain object
|
|
2989
|
-
*/
|
|
2990
|
-
public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2991
|
-
|
|
2992
|
-
/**
|
|
2993
|
-
* Converts this EnumOptions to JSON.
|
|
2994
|
-
* @returns JSON object
|
|
2995
|
-
*/
|
|
2996
|
-
public toJSON(): { [k: string]: any };
|
|
2997
|
-
|
|
2998
|
-
/**
|
|
2999
|
-
* Gets the default type url for EnumOptions
|
|
3000
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3001
|
-
* @returns The default type url
|
|
3002
|
-
*/
|
|
3003
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
|
-
/** Properties of an EnumValueOptions. */
|
|
3007
|
-
interface IEnumValueOptions {
|
|
3008
|
-
|
|
3009
|
-
/** EnumValueOptions deprecated */
|
|
3010
|
-
deprecated?: (boolean|null);
|
|
3011
|
-
|
|
3012
|
-
/** EnumValueOptions uninterpretedOption */
|
|
3013
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
3014
|
-
|
|
3015
|
-
/** EnumValueOptions .gogoproto.enumvalueCustomname */
|
|
3016
|
-
".gogoproto.enumvalueCustomname"?: (string|null);
|
|
3017
|
-
}
|
|
3018
|
-
|
|
3019
|
-
/** Represents an EnumValueOptions. */
|
|
3020
|
-
class EnumValueOptions implements IEnumValueOptions {
|
|
3021
|
-
|
|
3022
|
-
/**
|
|
3023
|
-
* Constructs a new EnumValueOptions.
|
|
3024
|
-
* @param [properties] Properties to set
|
|
3025
|
-
*/
|
|
3026
|
-
constructor(properties?: google.protobuf.IEnumValueOptions);
|
|
3027
|
-
|
|
3028
|
-
/** EnumValueOptions deprecated. */
|
|
3029
|
-
public deprecated: boolean;
|
|
3030
|
-
|
|
3031
|
-
/** EnumValueOptions uninterpretedOption. */
|
|
3032
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
3033
|
-
|
|
3034
|
-
/**
|
|
3035
|
-
* Creates a new EnumValueOptions instance using the specified properties.
|
|
3036
|
-
* @param [properties] Properties to set
|
|
3037
|
-
* @returns EnumValueOptions instance
|
|
3038
|
-
*/
|
|
3039
|
-
public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
|
3043
|
-
* @param message EnumValueOptions message or plain object to encode
|
|
3044
|
-
* @param [writer] Writer to encode to
|
|
3045
|
-
* @returns Writer
|
|
3046
|
-
*/
|
|
3047
|
-
public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3048
|
-
|
|
3049
|
-
/**
|
|
3050
|
-
* Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
|
3051
|
-
* @param message EnumValueOptions message or plain object to encode
|
|
3052
|
-
* @param [writer] Writer to encode to
|
|
3053
|
-
* @returns Writer
|
|
3054
|
-
*/
|
|
3055
|
-
public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3056
|
-
|
|
3057
|
-
/**
|
|
3058
|
-
* Decodes an EnumValueOptions message from the specified reader or buffer.
|
|
3059
|
-
* @param reader Reader or buffer to decode from
|
|
3060
|
-
* @param [length] Message length if known beforehand
|
|
3061
|
-
* @returns EnumValueOptions
|
|
3062
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3063
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3064
|
-
*/
|
|
3065
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
|
|
3066
|
-
|
|
3067
|
-
/**
|
|
3068
|
-
* Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
|
|
3069
|
-
* @param reader Reader or buffer to decode from
|
|
3070
|
-
* @returns EnumValueOptions
|
|
3071
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3072
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3073
|
-
*/
|
|
3074
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
|
|
3075
|
-
|
|
3076
|
-
/**
|
|
3077
|
-
* Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
|
|
3078
|
-
* @param object Plain object
|
|
3079
|
-
* @returns EnumValueOptions
|
|
3080
|
-
*/
|
|
3081
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
|
|
3082
|
-
|
|
3083
|
-
/**
|
|
3084
|
-
* Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
|
|
3085
|
-
* @param message EnumValueOptions
|
|
3086
|
-
* @param [options] Conversion options
|
|
3087
|
-
* @returns Plain object
|
|
3088
|
-
*/
|
|
3089
|
-
public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3090
|
-
|
|
3091
|
-
/**
|
|
3092
|
-
* Converts this EnumValueOptions to JSON.
|
|
3093
|
-
* @returns JSON object
|
|
3094
|
-
*/
|
|
3095
|
-
public toJSON(): { [k: string]: any };
|
|
3096
|
-
|
|
3097
|
-
/**
|
|
3098
|
-
* Gets the default type url for EnumValueOptions
|
|
3099
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3100
|
-
* @returns The default type url
|
|
3101
|
-
*/
|
|
3102
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
|
-
/** Properties of a ServiceOptions. */
|
|
3106
|
-
interface IServiceOptions {
|
|
3107
|
-
|
|
3108
|
-
/** ServiceOptions deprecated */
|
|
3109
|
-
deprecated?: (boolean|null);
|
|
3110
|
-
|
|
3111
|
-
/** ServiceOptions uninterpretedOption */
|
|
3112
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
3113
|
-
}
|
|
3114
|
-
|
|
3115
|
-
/** Represents a ServiceOptions. */
|
|
3116
|
-
class ServiceOptions implements IServiceOptions {
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* Constructs a new ServiceOptions.
|
|
3120
|
-
* @param [properties] Properties to set
|
|
3121
|
-
*/
|
|
3122
|
-
constructor(properties?: google.protobuf.IServiceOptions);
|
|
3123
|
-
|
|
3124
|
-
/** ServiceOptions deprecated. */
|
|
3125
|
-
public deprecated: boolean;
|
|
3126
|
-
|
|
3127
|
-
/** ServiceOptions uninterpretedOption. */
|
|
3128
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
3129
|
-
|
|
3130
|
-
/**
|
|
3131
|
-
* Creates a new ServiceOptions instance using the specified properties.
|
|
3132
|
-
* @param [properties] Properties to set
|
|
3133
|
-
* @returns ServiceOptions instance
|
|
3134
|
-
*/
|
|
3135
|
-
public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
|
|
3136
|
-
|
|
3137
|
-
/**
|
|
3138
|
-
* Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
|
3139
|
-
* @param message ServiceOptions message or plain object to encode
|
|
3140
|
-
* @param [writer] Writer to encode to
|
|
3141
|
-
* @returns Writer
|
|
3142
|
-
*/
|
|
3143
|
-
public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3144
|
-
|
|
3145
|
-
/**
|
|
3146
|
-
* Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
|
3147
|
-
* @param message ServiceOptions message or plain object to encode
|
|
3148
|
-
* @param [writer] Writer to encode to
|
|
3149
|
-
* @returns Writer
|
|
3150
|
-
*/
|
|
3151
|
-
public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3152
|
-
|
|
3153
|
-
/**
|
|
3154
|
-
* Decodes a ServiceOptions message from the specified reader or buffer.
|
|
3155
|
-
* @param reader Reader or buffer to decode from
|
|
3156
|
-
* @param [length] Message length if known beforehand
|
|
3157
|
-
* @returns ServiceOptions
|
|
3158
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3159
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3160
|
-
*/
|
|
3161
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
|
|
3162
|
-
|
|
3163
|
-
/**
|
|
3164
|
-
* Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
|
|
3165
|
-
* @param reader Reader or buffer to decode from
|
|
3166
|
-
* @returns ServiceOptions
|
|
3167
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3168
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3169
|
-
*/
|
|
3170
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
|
|
3171
|
-
|
|
3172
|
-
/**
|
|
3173
|
-
* Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
|
|
3174
|
-
* @param object Plain object
|
|
3175
|
-
* @returns ServiceOptions
|
|
3176
|
-
*/
|
|
3177
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
|
|
3178
|
-
|
|
3179
|
-
/**
|
|
3180
|
-
* Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
|
|
3181
|
-
* @param message ServiceOptions
|
|
3182
|
-
* @param [options] Conversion options
|
|
3183
|
-
* @returns Plain object
|
|
3184
|
-
*/
|
|
3185
|
-
public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3186
|
-
|
|
3187
|
-
/**
|
|
3188
|
-
* Converts this ServiceOptions to JSON.
|
|
3189
|
-
* @returns JSON object
|
|
3190
|
-
*/
|
|
3191
|
-
public toJSON(): { [k: string]: any };
|
|
3192
|
-
|
|
3193
|
-
/**
|
|
3194
|
-
* Gets the default type url for ServiceOptions
|
|
3195
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3196
|
-
* @returns The default type url
|
|
3197
|
-
*/
|
|
3198
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3199
|
-
}
|
|
3200
|
-
|
|
3201
|
-
/** Properties of a MethodOptions. */
|
|
3202
|
-
interface IMethodOptions {
|
|
3203
|
-
|
|
3204
|
-
/** MethodOptions deprecated */
|
|
3205
|
-
deprecated?: (boolean|null);
|
|
3206
|
-
|
|
3207
|
-
/** MethodOptions uninterpretedOption */
|
|
3208
|
-
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
3209
|
-
}
|
|
3210
|
-
|
|
3211
|
-
/** Represents a MethodOptions. */
|
|
3212
|
-
class MethodOptions implements IMethodOptions {
|
|
3213
|
-
|
|
3214
|
-
/**
|
|
3215
|
-
* Constructs a new MethodOptions.
|
|
3216
|
-
* @param [properties] Properties to set
|
|
3217
|
-
*/
|
|
3218
|
-
constructor(properties?: google.protobuf.IMethodOptions);
|
|
3219
|
-
|
|
3220
|
-
/** MethodOptions deprecated. */
|
|
3221
|
-
public deprecated: boolean;
|
|
3222
|
-
|
|
3223
|
-
/** MethodOptions uninterpretedOption. */
|
|
3224
|
-
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
3225
|
-
|
|
3226
|
-
/**
|
|
3227
|
-
* Creates a new MethodOptions instance using the specified properties.
|
|
3228
|
-
* @param [properties] Properties to set
|
|
3229
|
-
* @returns MethodOptions instance
|
|
3230
|
-
*/
|
|
3231
|
-
public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
|
|
3232
|
-
|
|
3233
|
-
/**
|
|
3234
|
-
* Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
|
3235
|
-
* @param message MethodOptions message or plain object to encode
|
|
3236
|
-
* @param [writer] Writer to encode to
|
|
3237
|
-
* @returns Writer
|
|
3238
|
-
*/
|
|
3239
|
-
public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3240
|
-
|
|
3241
|
-
/**
|
|
3242
|
-
* Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
|
3243
|
-
* @param message MethodOptions message or plain object to encode
|
|
3244
|
-
* @param [writer] Writer to encode to
|
|
3245
|
-
* @returns Writer
|
|
3246
|
-
*/
|
|
3247
|
-
public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3248
|
-
|
|
3249
|
-
/**
|
|
3250
|
-
* Decodes a MethodOptions message from the specified reader or buffer.
|
|
3251
|
-
* @param reader Reader or buffer to decode from
|
|
3252
|
-
* @param [length] Message length if known beforehand
|
|
3253
|
-
* @returns MethodOptions
|
|
3254
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3255
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3256
|
-
*/
|
|
3257
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
|
|
3258
|
-
|
|
3259
|
-
/**
|
|
3260
|
-
* Decodes a MethodOptions message from the specified reader or buffer, length delimited.
|
|
3261
|
-
* @param reader Reader or buffer to decode from
|
|
3262
|
-
* @returns MethodOptions
|
|
3263
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3264
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3265
|
-
*/
|
|
3266
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
|
|
3267
|
-
|
|
3268
|
-
/**
|
|
3269
|
-
* Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
|
|
3270
|
-
* @param object Plain object
|
|
3271
|
-
* @returns MethodOptions
|
|
3272
|
-
*/
|
|
3273
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
|
|
3274
|
-
|
|
3275
|
-
/**
|
|
3276
|
-
* Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
|
|
3277
|
-
* @param message MethodOptions
|
|
3278
|
-
* @param [options] Conversion options
|
|
3279
|
-
* @returns Plain object
|
|
3280
|
-
*/
|
|
3281
|
-
public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3282
|
-
|
|
3283
|
-
/**
|
|
3284
|
-
* Converts this MethodOptions to JSON.
|
|
3285
|
-
* @returns JSON object
|
|
3286
|
-
*/
|
|
3287
|
-
public toJSON(): { [k: string]: any };
|
|
3288
|
-
|
|
3289
|
-
/**
|
|
3290
|
-
* Gets the default type url for MethodOptions
|
|
3291
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3292
|
-
* @returns The default type url
|
|
3293
|
-
*/
|
|
3294
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
/** Properties of an UninterpretedOption. */
|
|
3298
|
-
interface IUninterpretedOption {
|
|
3299
|
-
|
|
3300
|
-
/** UninterpretedOption name */
|
|
3301
|
-
name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
|
|
3302
|
-
|
|
3303
|
-
/** UninterpretedOption identifierValue */
|
|
3304
|
-
identifierValue?: (string|null);
|
|
3305
|
-
|
|
3306
|
-
/** UninterpretedOption positiveIntValue */
|
|
3307
|
-
positiveIntValue?: (Long|null);
|
|
3308
|
-
|
|
3309
|
-
/** UninterpretedOption negativeIntValue */
|
|
3310
|
-
negativeIntValue?: (Long|null);
|
|
3311
|
-
|
|
3312
|
-
/** UninterpretedOption doubleValue */
|
|
3313
|
-
doubleValue?: (number|null);
|
|
3314
|
-
|
|
3315
|
-
/** UninterpretedOption stringValue */
|
|
3316
|
-
stringValue?: (Uint8Array|null);
|
|
3317
|
-
|
|
3318
|
-
/** UninterpretedOption aggregateValue */
|
|
3319
|
-
aggregateValue?: (string|null);
|
|
3320
|
-
}
|
|
3321
|
-
|
|
3322
|
-
/** Represents an UninterpretedOption. */
|
|
3323
|
-
class UninterpretedOption implements IUninterpretedOption {
|
|
3324
|
-
|
|
3325
|
-
/**
|
|
3326
|
-
* Constructs a new UninterpretedOption.
|
|
3327
|
-
* @param [properties] Properties to set
|
|
3328
|
-
*/
|
|
3329
|
-
constructor(properties?: google.protobuf.IUninterpretedOption);
|
|
3330
|
-
|
|
3331
|
-
/** UninterpretedOption name. */
|
|
3332
|
-
public name: google.protobuf.UninterpretedOption.INamePart[];
|
|
3333
|
-
|
|
3334
|
-
/** UninterpretedOption identifierValue. */
|
|
3335
|
-
public identifierValue: string;
|
|
3336
|
-
|
|
3337
|
-
/** UninterpretedOption positiveIntValue. */
|
|
3338
|
-
public positiveIntValue: Long;
|
|
3339
|
-
|
|
3340
|
-
/** UninterpretedOption negativeIntValue. */
|
|
3341
|
-
public negativeIntValue: Long;
|
|
3342
|
-
|
|
3343
|
-
/** UninterpretedOption doubleValue. */
|
|
3344
|
-
public doubleValue: number;
|
|
3345
|
-
|
|
3346
|
-
/** UninterpretedOption stringValue. */
|
|
3347
|
-
public stringValue: Uint8Array;
|
|
3348
|
-
|
|
3349
|
-
/** UninterpretedOption aggregateValue. */
|
|
3350
|
-
public aggregateValue: string;
|
|
3351
|
-
|
|
3352
|
-
/**
|
|
3353
|
-
* Creates a new UninterpretedOption instance using the specified properties.
|
|
3354
|
-
* @param [properties] Properties to set
|
|
3355
|
-
* @returns UninterpretedOption instance
|
|
3356
|
-
*/
|
|
3357
|
-
public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
|
|
3358
|
-
|
|
3359
|
-
/**
|
|
3360
|
-
* Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
|
3361
|
-
* @param message UninterpretedOption message or plain object to encode
|
|
3362
|
-
* @param [writer] Writer to encode to
|
|
3363
|
-
* @returns Writer
|
|
3364
|
-
*/
|
|
3365
|
-
public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3366
|
-
|
|
3367
|
-
/**
|
|
3368
|
-
* Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
|
3369
|
-
* @param message UninterpretedOption message or plain object to encode
|
|
3370
|
-
* @param [writer] Writer to encode to
|
|
3371
|
-
* @returns Writer
|
|
3372
|
-
*/
|
|
3373
|
-
public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3374
|
-
|
|
3375
|
-
/**
|
|
3376
|
-
* Decodes an UninterpretedOption message from the specified reader or buffer.
|
|
3377
|
-
* @param reader Reader or buffer to decode from
|
|
3378
|
-
* @param [length] Message length if known beforehand
|
|
3379
|
-
* @returns UninterpretedOption
|
|
3380
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3381
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3382
|
-
*/
|
|
3383
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
|
|
3384
|
-
|
|
3385
|
-
/**
|
|
3386
|
-
* Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
|
|
3387
|
-
* @param reader Reader or buffer to decode from
|
|
3388
|
-
* @returns UninterpretedOption
|
|
3389
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3390
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3391
|
-
*/
|
|
3392
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
|
|
3393
|
-
|
|
3394
|
-
/**
|
|
3395
|
-
* Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
|
|
3396
|
-
* @param object Plain object
|
|
3397
|
-
* @returns UninterpretedOption
|
|
3398
|
-
*/
|
|
3399
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
|
|
3403
|
-
* @param message UninterpretedOption
|
|
3404
|
-
* @param [options] Conversion options
|
|
3405
|
-
* @returns Plain object
|
|
3406
|
-
*/
|
|
3407
|
-
public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3408
|
-
|
|
3409
|
-
/**
|
|
3410
|
-
* Converts this UninterpretedOption to JSON.
|
|
3411
|
-
* @returns JSON object
|
|
3412
|
-
*/
|
|
3413
|
-
public toJSON(): { [k: string]: any };
|
|
3414
|
-
|
|
3415
|
-
/**
|
|
3416
|
-
* Gets the default type url for UninterpretedOption
|
|
3417
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3418
|
-
* @returns The default type url
|
|
3419
|
-
*/
|
|
3420
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3421
|
-
}
|
|
3422
|
-
|
|
3423
|
-
namespace UninterpretedOption {
|
|
3424
|
-
|
|
3425
|
-
/** Properties of a NamePart. */
|
|
3426
|
-
interface INamePart {
|
|
3427
|
-
|
|
3428
|
-
/** NamePart namePart */
|
|
3429
|
-
namePart: string;
|
|
3430
|
-
|
|
3431
|
-
/** NamePart isExtension */
|
|
3432
|
-
isExtension: boolean;
|
|
3433
|
-
}
|
|
3434
|
-
|
|
3435
|
-
/** Represents a NamePart. */
|
|
3436
|
-
class NamePart implements INamePart {
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
* Constructs a new NamePart.
|
|
3440
|
-
* @param [properties] Properties to set
|
|
3441
|
-
*/
|
|
3442
|
-
constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
|
|
3443
|
-
|
|
3444
|
-
/** NamePart namePart. */
|
|
3445
|
-
public namePart: string;
|
|
3446
|
-
|
|
3447
|
-
/** NamePart isExtension. */
|
|
3448
|
-
public isExtension: boolean;
|
|
3449
|
-
|
|
3450
|
-
/**
|
|
3451
|
-
* Creates a new NamePart instance using the specified properties.
|
|
3452
|
-
* @param [properties] Properties to set
|
|
3453
|
-
* @returns NamePart instance
|
|
3454
|
-
*/
|
|
3455
|
-
public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
|
|
3456
|
-
|
|
3457
|
-
/**
|
|
3458
|
-
* Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
|
3459
|
-
* @param message NamePart message or plain object to encode
|
|
3460
|
-
* @param [writer] Writer to encode to
|
|
3461
|
-
* @returns Writer
|
|
3462
|
-
*/
|
|
3463
|
-
public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3464
|
-
|
|
3465
|
-
/**
|
|
3466
|
-
* Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
|
3467
|
-
* @param message NamePart message or plain object to encode
|
|
3468
|
-
* @param [writer] Writer to encode to
|
|
3469
|
-
* @returns Writer
|
|
3470
|
-
*/
|
|
3471
|
-
public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3472
|
-
|
|
3473
|
-
/**
|
|
3474
|
-
* Decodes a NamePart message from the specified reader or buffer.
|
|
3475
|
-
* @param reader Reader or buffer to decode from
|
|
3476
|
-
* @param [length] Message length if known beforehand
|
|
3477
|
-
* @returns NamePart
|
|
3478
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3479
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3480
|
-
*/
|
|
3481
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
|
|
3482
|
-
|
|
3483
|
-
/**
|
|
3484
|
-
* Decodes a NamePart message from the specified reader or buffer, length delimited.
|
|
3485
|
-
* @param reader Reader or buffer to decode from
|
|
3486
|
-
* @returns NamePart
|
|
3487
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3488
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3489
|
-
*/
|
|
3490
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
|
|
3491
|
-
|
|
3492
|
-
/**
|
|
3493
|
-
* Creates a NamePart message from a plain object. Also converts values to their respective internal types.
|
|
3494
|
-
* @param object Plain object
|
|
3495
|
-
* @returns NamePart
|
|
3496
|
-
*/
|
|
3497
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
|
|
3498
|
-
|
|
3499
|
-
/**
|
|
3500
|
-
* Creates a plain object from a NamePart message. Also converts values to other types if specified.
|
|
3501
|
-
* @param message NamePart
|
|
3502
|
-
* @param [options] Conversion options
|
|
3503
|
-
* @returns Plain object
|
|
3504
|
-
*/
|
|
3505
|
-
public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3506
|
-
|
|
3507
|
-
/**
|
|
3508
|
-
* Converts this NamePart to JSON.
|
|
3509
|
-
* @returns JSON object
|
|
3510
|
-
*/
|
|
3511
|
-
public toJSON(): { [k: string]: any };
|
|
3512
|
-
|
|
3513
|
-
/**
|
|
3514
|
-
* Gets the default type url for NamePart
|
|
3515
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3516
|
-
* @returns The default type url
|
|
3517
|
-
*/
|
|
3518
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3519
|
-
}
|
|
3520
|
-
}
|
|
3521
|
-
|
|
3522
|
-
/** Properties of a SourceCodeInfo. */
|
|
3523
|
-
interface ISourceCodeInfo {
|
|
3524
|
-
|
|
3525
|
-
/** SourceCodeInfo location */
|
|
3526
|
-
location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
|
3527
|
-
}
|
|
3528
|
-
|
|
3529
|
-
/** Represents a SourceCodeInfo. */
|
|
3530
|
-
class SourceCodeInfo implements ISourceCodeInfo {
|
|
3531
|
-
|
|
3532
|
-
/**
|
|
3533
|
-
* Constructs a new SourceCodeInfo.
|
|
3534
|
-
* @param [properties] Properties to set
|
|
3535
|
-
*/
|
|
3536
|
-
constructor(properties?: google.protobuf.ISourceCodeInfo);
|
|
3537
|
-
|
|
3538
|
-
/** SourceCodeInfo location. */
|
|
3539
|
-
public location: google.protobuf.SourceCodeInfo.ILocation[];
|
|
3540
|
-
|
|
3541
|
-
/**
|
|
3542
|
-
* Creates a new SourceCodeInfo instance using the specified properties.
|
|
3543
|
-
* @param [properties] Properties to set
|
|
3544
|
-
* @returns SourceCodeInfo instance
|
|
3545
|
-
*/
|
|
3546
|
-
public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
|
3547
|
-
|
|
3548
|
-
/**
|
|
3549
|
-
* Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3550
|
-
* @param message SourceCodeInfo message or plain object to encode
|
|
3551
|
-
* @param [writer] Writer to encode to
|
|
3552
|
-
* @returns Writer
|
|
3553
|
-
*/
|
|
3554
|
-
public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3555
|
-
|
|
3556
|
-
/**
|
|
3557
|
-
* Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3558
|
-
* @param message SourceCodeInfo message or plain object to encode
|
|
3559
|
-
* @param [writer] Writer to encode to
|
|
3560
|
-
* @returns Writer
|
|
3561
|
-
*/
|
|
3562
|
-
public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3563
|
-
|
|
3564
|
-
/**
|
|
3565
|
-
* Decodes a SourceCodeInfo message from the specified reader or buffer.
|
|
3566
|
-
* @param reader Reader or buffer to decode from
|
|
3567
|
-
* @param [length] Message length if known beforehand
|
|
3568
|
-
* @returns SourceCodeInfo
|
|
3569
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3570
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3571
|
-
*/
|
|
3572
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
|
3573
|
-
|
|
3574
|
-
/**
|
|
3575
|
-
* Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
|
3576
|
-
* @param reader Reader or buffer to decode from
|
|
3577
|
-
* @returns SourceCodeInfo
|
|
3578
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3579
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3580
|
-
*/
|
|
3581
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
|
3582
|
-
|
|
3583
|
-
/**
|
|
3584
|
-
* Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
3585
|
-
* @param object Plain object
|
|
3586
|
-
* @returns SourceCodeInfo
|
|
3587
|
-
*/
|
|
3588
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
|
3589
|
-
|
|
3590
|
-
/**
|
|
3591
|
-
* Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
|
3592
|
-
* @param message SourceCodeInfo
|
|
3593
|
-
* @param [options] Conversion options
|
|
3594
|
-
* @returns Plain object
|
|
3595
|
-
*/
|
|
3596
|
-
public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3597
|
-
|
|
3598
|
-
/**
|
|
3599
|
-
* Converts this SourceCodeInfo to JSON.
|
|
3600
|
-
* @returns JSON object
|
|
3601
|
-
*/
|
|
3602
|
-
public toJSON(): { [k: string]: any };
|
|
3603
|
-
|
|
3604
|
-
/**
|
|
3605
|
-
* Gets the default type url for SourceCodeInfo
|
|
3606
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3607
|
-
* @returns The default type url
|
|
3608
|
-
*/
|
|
3609
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3610
|
-
}
|
|
3611
|
-
|
|
3612
|
-
namespace SourceCodeInfo {
|
|
3613
|
-
|
|
3614
|
-
/** Properties of a Location. */
|
|
3615
|
-
interface ILocation {
|
|
3616
|
-
|
|
3617
|
-
/** Location path */
|
|
3618
|
-
path?: (number[]|null);
|
|
3619
|
-
|
|
3620
|
-
/** Location span */
|
|
3621
|
-
span?: (number[]|null);
|
|
3622
|
-
|
|
3623
|
-
/** Location leadingComments */
|
|
3624
|
-
leadingComments?: (string|null);
|
|
3625
|
-
|
|
3626
|
-
/** Location trailingComments */
|
|
3627
|
-
trailingComments?: (string|null);
|
|
3628
|
-
|
|
3629
|
-
/** Location leadingDetachedComments */
|
|
3630
|
-
leadingDetachedComments?: (string[]|null);
|
|
3631
|
-
}
|
|
3632
|
-
|
|
3633
|
-
/** Represents a Location. */
|
|
3634
|
-
class Location implements ILocation {
|
|
3635
|
-
|
|
3636
|
-
/**
|
|
3637
|
-
* Constructs a new Location.
|
|
3638
|
-
* @param [properties] Properties to set
|
|
3639
|
-
*/
|
|
3640
|
-
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
3641
|
-
|
|
3642
|
-
/** Location path. */
|
|
3643
|
-
public path: number[];
|
|
3644
|
-
|
|
3645
|
-
/** Location span. */
|
|
3646
|
-
public span: number[];
|
|
3647
|
-
|
|
3648
|
-
/** Location leadingComments. */
|
|
3649
|
-
public leadingComments: string;
|
|
3650
|
-
|
|
3651
|
-
/** Location trailingComments. */
|
|
3652
|
-
public trailingComments: string;
|
|
3653
|
-
|
|
3654
|
-
/** Location leadingDetachedComments. */
|
|
3655
|
-
public leadingDetachedComments: string[];
|
|
3656
|
-
|
|
3657
|
-
/**
|
|
3658
|
-
* Creates a new Location instance using the specified properties.
|
|
3659
|
-
* @param [properties] Properties to set
|
|
3660
|
-
* @returns Location instance
|
|
3661
|
-
*/
|
|
3662
|
-
public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
|
|
3663
|
-
|
|
3664
|
-
/**
|
|
3665
|
-
* Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
3666
|
-
* @param message Location message or plain object to encode
|
|
3667
|
-
* @param [writer] Writer to encode to
|
|
3668
|
-
* @returns Writer
|
|
3669
|
-
*/
|
|
3670
|
-
public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3671
|
-
|
|
3672
|
-
/**
|
|
3673
|
-
* Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
3674
|
-
* @param message Location message or plain object to encode
|
|
3675
|
-
* @param [writer] Writer to encode to
|
|
3676
|
-
* @returns Writer
|
|
3677
|
-
*/
|
|
3678
|
-
public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3679
|
-
|
|
3680
|
-
/**
|
|
3681
|
-
* Decodes a Location message from the specified reader or buffer.
|
|
3682
|
-
* @param reader Reader or buffer to decode from
|
|
3683
|
-
* @param [length] Message length if known beforehand
|
|
3684
|
-
* @returns Location
|
|
3685
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3686
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3687
|
-
*/
|
|
3688
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
|
|
3689
|
-
|
|
3690
|
-
/**
|
|
3691
|
-
* Decodes a Location message from the specified reader or buffer, length delimited.
|
|
3692
|
-
* @param reader Reader or buffer to decode from
|
|
3693
|
-
* @returns Location
|
|
3694
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3695
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3696
|
-
*/
|
|
3697
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
|
|
3698
|
-
|
|
3699
|
-
/**
|
|
3700
|
-
* Creates a Location message from a plain object. Also converts values to their respective internal types.
|
|
3701
|
-
* @param object Plain object
|
|
3702
|
-
* @returns Location
|
|
3703
|
-
*/
|
|
3704
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
|
|
3705
|
-
|
|
3706
|
-
/**
|
|
3707
|
-
* Creates a plain object from a Location message. Also converts values to other types if specified.
|
|
3708
|
-
* @param message Location
|
|
3709
|
-
* @param [options] Conversion options
|
|
3710
|
-
* @returns Plain object
|
|
3711
|
-
*/
|
|
3712
|
-
public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3713
|
-
|
|
3714
|
-
/**
|
|
3715
|
-
* Converts this Location to JSON.
|
|
3716
|
-
* @returns JSON object
|
|
3717
|
-
*/
|
|
3718
|
-
public toJSON(): { [k: string]: any };
|
|
3719
|
-
|
|
3720
|
-
/**
|
|
3721
|
-
* Gets the default type url for Location
|
|
3722
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3723
|
-
* @returns The default type url
|
|
3724
|
-
*/
|
|
3725
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3726
|
-
}
|
|
3727
|
-
}
|
|
3728
|
-
|
|
3729
|
-
/** Properties of a GeneratedCodeInfo. */
|
|
3730
|
-
interface IGeneratedCodeInfo {
|
|
3731
|
-
|
|
3732
|
-
/** GeneratedCodeInfo annotation */
|
|
3733
|
-
annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
|
|
3734
|
-
}
|
|
3735
|
-
|
|
3736
|
-
/** Represents a GeneratedCodeInfo. */
|
|
3737
|
-
class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
|
3738
|
-
|
|
3739
|
-
/**
|
|
3740
|
-
* Constructs a new GeneratedCodeInfo.
|
|
3741
|
-
* @param [properties] Properties to set
|
|
3742
|
-
*/
|
|
3743
|
-
constructor(properties?: google.protobuf.IGeneratedCodeInfo);
|
|
3744
|
-
|
|
3745
|
-
/** GeneratedCodeInfo annotation. */
|
|
3746
|
-
public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
|
|
3747
|
-
|
|
3748
|
-
/**
|
|
3749
|
-
* Creates a new GeneratedCodeInfo instance using the specified properties.
|
|
3750
|
-
* @param [properties] Properties to set
|
|
3751
|
-
* @returns GeneratedCodeInfo instance
|
|
3752
|
-
*/
|
|
3753
|
-
public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
|
|
3754
|
-
|
|
3755
|
-
/**
|
|
3756
|
-
* Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
3757
|
-
* @param message GeneratedCodeInfo message or plain object to encode
|
|
3758
|
-
* @param [writer] Writer to encode to
|
|
3759
|
-
* @returns Writer
|
|
3760
|
-
*/
|
|
3761
|
-
public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3762
|
-
|
|
3763
|
-
/**
|
|
3764
|
-
* Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
3765
|
-
* @param message GeneratedCodeInfo message or plain object to encode
|
|
3766
|
-
* @param [writer] Writer to encode to
|
|
3767
|
-
* @returns Writer
|
|
3768
|
-
*/
|
|
3769
|
-
public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3770
|
-
|
|
3771
|
-
/**
|
|
3772
|
-
* Decodes a GeneratedCodeInfo message from the specified reader or buffer.
|
|
3773
|
-
* @param reader Reader or buffer to decode from
|
|
3774
|
-
* @param [length] Message length if known beforehand
|
|
3775
|
-
* @returns GeneratedCodeInfo
|
|
3776
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3777
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3778
|
-
*/
|
|
3779
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
|
|
3780
|
-
|
|
3781
|
-
/**
|
|
3782
|
-
* Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
|
|
3783
|
-
* @param reader Reader or buffer to decode from
|
|
3784
|
-
* @returns GeneratedCodeInfo
|
|
3785
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3786
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3787
|
-
*/
|
|
3788
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
|
|
3789
|
-
|
|
3790
|
-
/**
|
|
3791
|
-
* Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
3792
|
-
* @param object Plain object
|
|
3793
|
-
* @returns GeneratedCodeInfo
|
|
3794
|
-
*/
|
|
3795
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
|
|
3796
|
-
|
|
3797
|
-
/**
|
|
3798
|
-
* Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
|
|
3799
|
-
* @param message GeneratedCodeInfo
|
|
3800
|
-
* @param [options] Conversion options
|
|
3801
|
-
* @returns Plain object
|
|
3802
|
-
*/
|
|
3803
|
-
public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3804
|
-
|
|
3805
|
-
/**
|
|
3806
|
-
* Converts this GeneratedCodeInfo to JSON.
|
|
3807
|
-
* @returns JSON object
|
|
3808
|
-
*/
|
|
3809
|
-
public toJSON(): { [k: string]: any };
|
|
3810
|
-
|
|
3811
|
-
/**
|
|
3812
|
-
* Gets the default type url for GeneratedCodeInfo
|
|
3813
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3814
|
-
* @returns The default type url
|
|
3815
|
-
*/
|
|
3816
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3817
|
-
}
|
|
3818
|
-
|
|
3819
|
-
namespace GeneratedCodeInfo {
|
|
3820
|
-
|
|
3821
|
-
/** Properties of an Annotation. */
|
|
3822
|
-
interface IAnnotation {
|
|
3823
|
-
|
|
3824
|
-
/** Annotation path */
|
|
3825
|
-
path?: (number[]|null);
|
|
3826
|
-
|
|
3827
|
-
/** Annotation sourceFile */
|
|
3828
|
-
sourceFile?: (string|null);
|
|
3829
|
-
|
|
3830
|
-
/** Annotation begin */
|
|
3831
|
-
begin?: (number|null);
|
|
3832
|
-
|
|
3833
|
-
/** Annotation end */
|
|
3834
|
-
end?: (number|null);
|
|
3835
|
-
}
|
|
3836
|
-
|
|
3837
|
-
/** Represents an Annotation. */
|
|
3838
|
-
class Annotation implements IAnnotation {
|
|
3839
|
-
|
|
3840
|
-
/**
|
|
3841
|
-
* Constructs a new Annotation.
|
|
3842
|
-
* @param [properties] Properties to set
|
|
3843
|
-
*/
|
|
3844
|
-
constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
|
|
3845
|
-
|
|
3846
|
-
/** Annotation path. */
|
|
3847
|
-
public path: number[];
|
|
3848
|
-
|
|
3849
|
-
/** Annotation sourceFile. */
|
|
3850
|
-
public sourceFile: string;
|
|
3851
|
-
|
|
3852
|
-
/** Annotation begin. */
|
|
3853
|
-
public begin: number;
|
|
3854
|
-
|
|
3855
|
-
/** Annotation end. */
|
|
3856
|
-
public end: number;
|
|
3857
|
-
|
|
3858
|
-
/**
|
|
3859
|
-
* Creates a new Annotation instance using the specified properties.
|
|
3860
|
-
* @param [properties] Properties to set
|
|
3861
|
-
* @returns Annotation instance
|
|
3862
|
-
*/
|
|
3863
|
-
public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
3864
|
-
|
|
3865
|
-
/**
|
|
3866
|
-
* Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
3867
|
-
* @param message Annotation message or plain object to encode
|
|
3868
|
-
* @param [writer] Writer to encode to
|
|
3869
|
-
* @returns Writer
|
|
3870
|
-
*/
|
|
3871
|
-
public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3872
|
-
|
|
3873
|
-
/**
|
|
3874
|
-
* Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
3875
|
-
* @param message Annotation message or plain object to encode
|
|
3876
|
-
* @param [writer] Writer to encode to
|
|
3877
|
-
* @returns Writer
|
|
3878
|
-
*/
|
|
3879
|
-
public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3880
|
-
|
|
3881
|
-
/**
|
|
3882
|
-
* Decodes an Annotation message from the specified reader or buffer.
|
|
3883
|
-
* @param reader Reader or buffer to decode from
|
|
3884
|
-
* @param [length] Message length if known beforehand
|
|
3885
|
-
* @returns Annotation
|
|
3886
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3887
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3888
|
-
*/
|
|
3889
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
3890
|
-
|
|
3891
|
-
/**
|
|
3892
|
-
* Decodes an Annotation message from the specified reader or buffer, length delimited.
|
|
3893
|
-
* @param reader Reader or buffer to decode from
|
|
3894
|
-
* @returns Annotation
|
|
3895
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3896
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3897
|
-
*/
|
|
3898
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
3899
|
-
|
|
3900
|
-
/**
|
|
3901
|
-
* Creates an Annotation message from a plain object. Also converts values to their respective internal types.
|
|
3902
|
-
* @param object Plain object
|
|
3903
|
-
* @returns Annotation
|
|
3904
|
-
*/
|
|
3905
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
3906
|
-
|
|
3907
|
-
/**
|
|
3908
|
-
* Creates a plain object from an Annotation message. Also converts values to other types if specified.
|
|
3909
|
-
* @param message Annotation
|
|
3910
|
-
* @param [options] Conversion options
|
|
3911
|
-
* @returns Plain object
|
|
3912
|
-
*/
|
|
3913
|
-
public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3914
|
-
|
|
3915
|
-
/**
|
|
3916
|
-
* Converts this Annotation to JSON.
|
|
3917
|
-
* @returns JSON object
|
|
3918
|
-
*/
|
|
3919
|
-
public toJSON(): { [k: string]: any };
|
|
3920
|
-
|
|
3921
|
-
/**
|
|
3922
|
-
* Gets the default type url for Annotation
|
|
3923
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3924
|
-
* @returns The default type url
|
|
3925
|
-
*/
|
|
3926
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3927
|
-
}
|
|
3928
|
-
}
|
|
3929
|
-
|
|
3930
|
-
/** Properties of a Duration. */
|
|
3931
|
-
interface IDuration {
|
|
3932
|
-
|
|
3933
|
-
/** Duration seconds */
|
|
3934
|
-
seconds?: (Long|null);
|
|
3935
|
-
|
|
3936
|
-
/** Duration nanos */
|
|
3937
|
-
nanos?: (number|null);
|
|
3938
|
-
}
|
|
3939
|
-
|
|
3940
|
-
/** Represents a Duration. */
|
|
3941
|
-
class Duration implements IDuration {
|
|
3942
|
-
|
|
3943
|
-
/**
|
|
3944
|
-
* Constructs a new Duration.
|
|
3945
|
-
* @param [properties] Properties to set
|
|
3946
|
-
*/
|
|
3947
|
-
constructor(properties?: google.protobuf.IDuration);
|
|
3948
|
-
|
|
3949
|
-
/** Duration seconds. */
|
|
3950
|
-
public seconds: Long;
|
|
3951
|
-
|
|
3952
|
-
/** Duration nanos. */
|
|
3953
|
-
public nanos: number;
|
|
3954
|
-
|
|
3955
|
-
/**
|
|
3956
|
-
* Creates a new Duration instance using the specified properties.
|
|
3957
|
-
* @param [properties] Properties to set
|
|
3958
|
-
* @returns Duration instance
|
|
3959
|
-
*/
|
|
3960
|
-
public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
|
|
3961
|
-
|
|
3962
|
-
/**
|
|
3963
|
-
* Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
|
|
3964
|
-
* @param message Duration message or plain object to encode
|
|
3965
|
-
* @param [writer] Writer to encode to
|
|
3966
|
-
* @returns Writer
|
|
3967
|
-
*/
|
|
3968
|
-
public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3969
|
-
|
|
3970
|
-
/**
|
|
3971
|
-
* Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
|
|
3972
|
-
* @param message Duration message or plain object to encode
|
|
3973
|
-
* @param [writer] Writer to encode to
|
|
3974
|
-
* @returns Writer
|
|
3975
|
-
*/
|
|
3976
|
-
public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3977
|
-
|
|
3978
|
-
/**
|
|
3979
|
-
* Decodes a Duration message from the specified reader or buffer.
|
|
3980
|
-
* @param reader Reader or buffer to decode from
|
|
3981
|
-
* @param [length] Message length if known beforehand
|
|
3982
|
-
* @returns Duration
|
|
3983
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3984
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3985
|
-
*/
|
|
3986
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
|
|
3987
|
-
|
|
3988
|
-
/**
|
|
3989
|
-
* Decodes a Duration message from the specified reader or buffer, length delimited.
|
|
3990
|
-
* @param reader Reader or buffer to decode from
|
|
3991
|
-
* @returns Duration
|
|
3992
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3993
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3994
|
-
*/
|
|
3995
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
|
|
3996
|
-
|
|
3997
|
-
/**
|
|
3998
|
-
* Creates a Duration message from a plain object. Also converts values to their respective internal types.
|
|
3999
|
-
* @param object Plain object
|
|
4000
|
-
* @returns Duration
|
|
4001
|
-
*/
|
|
4002
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
|
|
4003
|
-
|
|
4004
|
-
/**
|
|
4005
|
-
* Creates a plain object from a Duration message. Also converts values to other types if specified.
|
|
4006
|
-
* @param message Duration
|
|
4007
|
-
* @param [options] Conversion options
|
|
4008
|
-
* @returns Plain object
|
|
4009
|
-
*/
|
|
4010
|
-
public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4011
|
-
|
|
4012
|
-
/**
|
|
4013
|
-
* Converts this Duration to JSON.
|
|
4014
|
-
* @returns JSON object
|
|
4015
|
-
*/
|
|
4016
|
-
public toJSON(): { [k: string]: any };
|
|
4017
|
-
|
|
4018
|
-
/**
|
|
4019
|
-
* Gets the default type url for Duration
|
|
4020
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4021
|
-
* @returns The default type url
|
|
4022
|
-
*/
|
|
4023
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4024
|
-
}
|
|
4025
|
-
|
|
4026
|
-
/** Properties of a Timestamp. */
|
|
4027
|
-
interface ITimestamp {
|
|
4028
|
-
|
|
4029
|
-
/** Timestamp seconds */
|
|
4030
|
-
seconds?: (Long|null);
|
|
4031
|
-
|
|
4032
|
-
/** Timestamp nanos */
|
|
4033
|
-
nanos?: (number|null);
|
|
4034
|
-
}
|
|
4035
|
-
|
|
4036
|
-
/** Represents a Timestamp. */
|
|
4037
|
-
class Timestamp implements ITimestamp {
|
|
4038
|
-
|
|
4039
|
-
/**
|
|
4040
|
-
* Constructs a new Timestamp.
|
|
4041
|
-
* @param [properties] Properties to set
|
|
4042
|
-
*/
|
|
4043
|
-
constructor(properties?: google.protobuf.ITimestamp);
|
|
4044
|
-
|
|
4045
|
-
/** Timestamp seconds. */
|
|
4046
|
-
public seconds: Long;
|
|
4047
|
-
|
|
4048
|
-
/** Timestamp nanos. */
|
|
4049
|
-
public nanos: number;
|
|
4050
|
-
|
|
4051
|
-
/**
|
|
4052
|
-
* Creates a new Timestamp instance using the specified properties.
|
|
4053
|
-
* @param [properties] Properties to set
|
|
4054
|
-
* @returns Timestamp instance
|
|
4055
|
-
*/
|
|
4056
|
-
public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
|
|
4057
|
-
|
|
4058
|
-
/**
|
|
4059
|
-
* Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
|
|
4060
|
-
* @param message Timestamp message or plain object to encode
|
|
4061
|
-
* @param [writer] Writer to encode to
|
|
4062
|
-
* @returns Writer
|
|
4063
|
-
*/
|
|
4064
|
-
public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4065
|
-
|
|
4066
|
-
/**
|
|
4067
|
-
* Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
|
|
4068
|
-
* @param message Timestamp message or plain object to encode
|
|
4069
|
-
* @param [writer] Writer to encode to
|
|
4070
|
-
* @returns Writer
|
|
4071
|
-
*/
|
|
4072
|
-
public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4073
|
-
|
|
4074
|
-
/**
|
|
4075
|
-
* Decodes a Timestamp message from the specified reader or buffer.
|
|
4076
|
-
* @param reader Reader or buffer to decode from
|
|
4077
|
-
* @param [length] Message length if known beforehand
|
|
4078
|
-
* @returns Timestamp
|
|
4079
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4080
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4081
|
-
*/
|
|
4082
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
|
|
4083
|
-
|
|
4084
|
-
/**
|
|
4085
|
-
* Decodes a Timestamp message from the specified reader or buffer, length delimited.
|
|
4086
|
-
* @param reader Reader or buffer to decode from
|
|
4087
|
-
* @returns Timestamp
|
|
4088
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4089
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4090
|
-
*/
|
|
4091
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
|
|
4092
|
-
|
|
4093
|
-
/**
|
|
4094
|
-
* Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
|
|
4095
|
-
* @param object Plain object
|
|
4096
|
-
* @returns Timestamp
|
|
4097
|
-
*/
|
|
4098
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
|
|
4099
|
-
|
|
4100
|
-
/**
|
|
4101
|
-
* Creates a plain object from a Timestamp message. Also converts values to other types if specified.
|
|
4102
|
-
* @param message Timestamp
|
|
4103
|
-
* @param [options] Conversion options
|
|
4104
|
-
* @returns Plain object
|
|
4105
|
-
*/
|
|
4106
|
-
public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4107
|
-
|
|
4108
|
-
/**
|
|
4109
|
-
* Converts this Timestamp to JSON.
|
|
4110
|
-
* @returns JSON object
|
|
4111
|
-
*/
|
|
4112
|
-
public toJSON(): { [k: string]: any };
|
|
4113
|
-
|
|
4114
|
-
/**
|
|
4115
|
-
* Gets the default type url for Timestamp
|
|
4116
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4117
|
-
* @returns The default type url
|
|
4118
|
-
*/
|
|
4119
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4120
|
-
}
|
|
4121
|
-
|
|
4122
|
-
/** Properties of an Empty. */
|
|
4123
|
-
interface IEmpty {
|
|
4124
|
-
}
|
|
4125
|
-
|
|
4126
|
-
/** Represents an Empty. */
|
|
4127
|
-
class Empty implements IEmpty {
|
|
4128
|
-
|
|
4129
|
-
/**
|
|
4130
|
-
* Constructs a new Empty.
|
|
4131
|
-
* @param [properties] Properties to set
|
|
4132
|
-
*/
|
|
4133
|
-
constructor(properties?: google.protobuf.IEmpty);
|
|
4134
|
-
|
|
4135
|
-
/**
|
|
4136
|
-
* Creates a new Empty instance using the specified properties.
|
|
4137
|
-
* @param [properties] Properties to set
|
|
4138
|
-
* @returns Empty instance
|
|
4139
|
-
*/
|
|
4140
|
-
public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
|
|
4141
|
-
|
|
4142
|
-
/**
|
|
4143
|
-
* Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
|
|
4144
|
-
* @param message Empty message or plain object to encode
|
|
4145
|
-
* @param [writer] Writer to encode to
|
|
4146
|
-
* @returns Writer
|
|
4147
|
-
*/
|
|
4148
|
-
public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4149
|
-
|
|
4150
|
-
/**
|
|
4151
|
-
* Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
|
|
4152
|
-
* @param message Empty message or plain object to encode
|
|
4153
|
-
* @param [writer] Writer to encode to
|
|
4154
|
-
* @returns Writer
|
|
4155
|
-
*/
|
|
4156
|
-
public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4157
|
-
|
|
4158
|
-
/**
|
|
4159
|
-
* Decodes an Empty message from the specified reader or buffer.
|
|
4160
|
-
* @param reader Reader or buffer to decode from
|
|
4161
|
-
* @param [length] Message length if known beforehand
|
|
4162
|
-
* @returns Empty
|
|
4163
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4164
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4165
|
-
*/
|
|
4166
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
|
|
4167
|
-
|
|
4168
|
-
/**
|
|
4169
|
-
* Decodes an Empty message from the specified reader or buffer, length delimited.
|
|
4170
|
-
* @param reader Reader or buffer to decode from
|
|
4171
|
-
* @returns Empty
|
|
4172
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4173
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4174
|
-
*/
|
|
4175
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
|
|
4176
|
-
|
|
4177
|
-
/**
|
|
4178
|
-
* Creates an Empty message from a plain object. Also converts values to their respective internal types.
|
|
4179
|
-
* @param object Plain object
|
|
4180
|
-
* @returns Empty
|
|
4181
|
-
*/
|
|
4182
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
|
|
4183
|
-
|
|
4184
|
-
/**
|
|
4185
|
-
* Creates a plain object from an Empty message. Also converts values to other types if specified.
|
|
4186
|
-
* @param message Empty
|
|
4187
|
-
* @param [options] Conversion options
|
|
4188
|
-
* @returns Plain object
|
|
4189
|
-
*/
|
|
4190
|
-
public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4191
|
-
|
|
4192
|
-
/**
|
|
4193
|
-
* Converts this Empty to JSON.
|
|
4194
|
-
* @returns JSON object
|
|
4195
|
-
*/
|
|
4196
|
-
public toJSON(): { [k: string]: any };
|
|
4197
|
-
|
|
4198
|
-
/**
|
|
4199
|
-
* Gets the default type url for Empty
|
|
4200
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4201
|
-
* @returns The default type url
|
|
4202
|
-
*/
|
|
4203
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4204
|
-
}
|
|
4205
|
-
}
|
|
4206
|
-
}
|