@aptre/protobuf-es-lite 0.5.1 → 0.5.3
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/README.md +1 -22
- package/dist/google/index.d.ts +9 -0
- package/dist/google/index.js +9 -0
- package/dist/google/protobuf/any.pb.d.ts +148 -0
- package/dist/google/protobuf/any.pb.js +120 -0
- package/dist/google/protobuf/api.pb.d.ts +232 -0
- package/dist/google/protobuf/api.pb.js +88 -0
- package/dist/google/protobuf/duration.pb.d.ts +93 -0
- package/dist/google/protobuf/duration.pb.js +89 -0
- package/dist/google/protobuf/empty.pb.d.ts +17 -0
- package/dist/google/protobuf/empty.pb.js +37 -0
- package/dist/google/protobuf/source_context.pb.d.ts +18 -0
- package/dist/google/protobuf/source_context.pb.js +39 -0
- package/dist/google/protobuf/struct.pb.d.ts +141 -0
- package/dist/google/protobuf/struct.pb.js +228 -0
- package/dist/google/protobuf/timestamp.pb.d.ts +125 -0
- package/dist/google/protobuf/timestamp.pb.js +137 -0
- package/dist/google/protobuf/type.pb.d.ts +401 -0
- package/dist/google/protobuf/type.pb.js +347 -0
- package/dist/google/protobuf/wrappers.pb.d.ts +201 -0
- package/dist/google/protobuf/wrappers.pb.js +365 -0
- package/dist/message.d.ts +1 -1
- package/dist/message.js +2 -0
- package/package.json +5 -5
- package/tsconfig.json +11 -1
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2008 Google Inc. All rights reserved.
|
|
3
|
+
// https://developers.google.com/protocol-buffers/
|
|
4
|
+
//
|
|
5
|
+
// Redistribution and use in source and binary forms, with or without
|
|
6
|
+
// modification, are permitted provided that the following conditions are
|
|
7
|
+
// met:
|
|
8
|
+
//
|
|
9
|
+
// * Redistributions of source code must retain the above copyright
|
|
10
|
+
// notice, this list of conditions and the following disclaimer.
|
|
11
|
+
// * Redistributions in binary form must reproduce the above
|
|
12
|
+
// copyright notice, this list of conditions and the following disclaimer
|
|
13
|
+
// in the documentation and/or other materials provided with the
|
|
14
|
+
// distribution.
|
|
15
|
+
// * Neither the name of Google Inc. nor the names of its
|
|
16
|
+
// contributors may be used to endorse or promote products derived from
|
|
17
|
+
// this software without specific prior written permission.
|
|
18
|
+
//
|
|
19
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
import { createEnumType, createMessageType, ScalarType } from "../../index.js";
|
|
31
|
+
import { Any } from "./any.pb.js";
|
|
32
|
+
import { SourceContext } from "./source_context.pb.js";
|
|
33
|
+
export const protobufPackage = "google.protobuf";
|
|
34
|
+
/**
|
|
35
|
+
* The syntax in which a protocol buffer element is defined.
|
|
36
|
+
*
|
|
37
|
+
* @generated from enum google.protobuf.Syntax
|
|
38
|
+
*/
|
|
39
|
+
export var Syntax;
|
|
40
|
+
(function (Syntax) {
|
|
41
|
+
/**
|
|
42
|
+
* Syntax `proto2`.
|
|
43
|
+
*
|
|
44
|
+
* @generated from enum value: SYNTAX_PROTO2 = 0;
|
|
45
|
+
*/
|
|
46
|
+
Syntax[Syntax["PROTO2"] = 0] = "PROTO2";
|
|
47
|
+
/**
|
|
48
|
+
* Syntax `proto3`.
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: SYNTAX_PROTO3 = 1;
|
|
51
|
+
*/
|
|
52
|
+
Syntax[Syntax["PROTO3"] = 1] = "PROTO3";
|
|
53
|
+
/**
|
|
54
|
+
* Syntax `editions`.
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum value: SYNTAX_EDITIONS = 2;
|
|
57
|
+
*/
|
|
58
|
+
Syntax[Syntax["EDITIONS"] = 2] = "EDITIONS";
|
|
59
|
+
})(Syntax || (Syntax = {}));
|
|
60
|
+
// Syntax_Enum is the enum type for Syntax.
|
|
61
|
+
export const Syntax_Enum = createEnumType("google.protobuf.Syntax", [
|
|
62
|
+
{ no: 0, name: "SYNTAX_PROTO2" },
|
|
63
|
+
{ no: 1, name: "SYNTAX_PROTO3" },
|
|
64
|
+
{ no: 2, name: "SYNTAX_EDITIONS" },
|
|
65
|
+
]);
|
|
66
|
+
/**
|
|
67
|
+
* Basic field types.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum google.protobuf.Field.Kind
|
|
70
|
+
*/
|
|
71
|
+
export var Field_Kind;
|
|
72
|
+
(function (Field_Kind) {
|
|
73
|
+
/**
|
|
74
|
+
* Field type unknown.
|
|
75
|
+
*
|
|
76
|
+
* @generated from enum value: TYPE_UNKNOWN = 0;
|
|
77
|
+
*/
|
|
78
|
+
Field_Kind[Field_Kind["TYPE_UNKNOWN"] = 0] = "TYPE_UNKNOWN";
|
|
79
|
+
/**
|
|
80
|
+
* Field type double.
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: TYPE_DOUBLE = 1;
|
|
83
|
+
*/
|
|
84
|
+
Field_Kind[Field_Kind["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE";
|
|
85
|
+
/**
|
|
86
|
+
* Field type float.
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: TYPE_FLOAT = 2;
|
|
89
|
+
*/
|
|
90
|
+
Field_Kind[Field_Kind["TYPE_FLOAT"] = 2] = "TYPE_FLOAT";
|
|
91
|
+
/**
|
|
92
|
+
* Field type int64.
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: TYPE_INT64 = 3;
|
|
95
|
+
*/
|
|
96
|
+
Field_Kind[Field_Kind["TYPE_INT64"] = 3] = "TYPE_INT64";
|
|
97
|
+
/**
|
|
98
|
+
* Field type uint64.
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: TYPE_UINT64 = 4;
|
|
101
|
+
*/
|
|
102
|
+
Field_Kind[Field_Kind["TYPE_UINT64"] = 4] = "TYPE_UINT64";
|
|
103
|
+
/**
|
|
104
|
+
* Field type int32.
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: TYPE_INT32 = 5;
|
|
107
|
+
*/
|
|
108
|
+
Field_Kind[Field_Kind["TYPE_INT32"] = 5] = "TYPE_INT32";
|
|
109
|
+
/**
|
|
110
|
+
* Field type fixed64.
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: TYPE_FIXED64 = 6;
|
|
113
|
+
*/
|
|
114
|
+
Field_Kind[Field_Kind["TYPE_FIXED64"] = 6] = "TYPE_FIXED64";
|
|
115
|
+
/**
|
|
116
|
+
* Field type fixed32.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: TYPE_FIXED32 = 7;
|
|
119
|
+
*/
|
|
120
|
+
Field_Kind[Field_Kind["TYPE_FIXED32"] = 7] = "TYPE_FIXED32";
|
|
121
|
+
/**
|
|
122
|
+
* Field type bool.
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: TYPE_BOOL = 8;
|
|
125
|
+
*/
|
|
126
|
+
Field_Kind[Field_Kind["TYPE_BOOL"] = 8] = "TYPE_BOOL";
|
|
127
|
+
/**
|
|
128
|
+
* Field type string.
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: TYPE_STRING = 9;
|
|
131
|
+
*/
|
|
132
|
+
Field_Kind[Field_Kind["TYPE_STRING"] = 9] = "TYPE_STRING";
|
|
133
|
+
/**
|
|
134
|
+
* Field type group. Proto2 syntax only, and deprecated.
|
|
135
|
+
*
|
|
136
|
+
* @generated from enum value: TYPE_GROUP = 10;
|
|
137
|
+
*/
|
|
138
|
+
Field_Kind[Field_Kind["TYPE_GROUP"] = 10] = "TYPE_GROUP";
|
|
139
|
+
/**
|
|
140
|
+
* Field type message.
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum value: TYPE_MESSAGE = 11;
|
|
143
|
+
*/
|
|
144
|
+
Field_Kind[Field_Kind["TYPE_MESSAGE"] = 11] = "TYPE_MESSAGE";
|
|
145
|
+
/**
|
|
146
|
+
* Field type bytes.
|
|
147
|
+
*
|
|
148
|
+
* @generated from enum value: TYPE_BYTES = 12;
|
|
149
|
+
*/
|
|
150
|
+
Field_Kind[Field_Kind["TYPE_BYTES"] = 12] = "TYPE_BYTES";
|
|
151
|
+
/**
|
|
152
|
+
* Field type uint32.
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum value: TYPE_UINT32 = 13;
|
|
155
|
+
*/
|
|
156
|
+
Field_Kind[Field_Kind["TYPE_UINT32"] = 13] = "TYPE_UINT32";
|
|
157
|
+
/**
|
|
158
|
+
* Field type enum.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: TYPE_ENUM = 14;
|
|
161
|
+
*/
|
|
162
|
+
Field_Kind[Field_Kind["TYPE_ENUM"] = 14] = "TYPE_ENUM";
|
|
163
|
+
/**
|
|
164
|
+
* Field type sfixed32.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: TYPE_SFIXED32 = 15;
|
|
167
|
+
*/
|
|
168
|
+
Field_Kind[Field_Kind["TYPE_SFIXED32"] = 15] = "TYPE_SFIXED32";
|
|
169
|
+
/**
|
|
170
|
+
* Field type sfixed64.
|
|
171
|
+
*
|
|
172
|
+
* @generated from enum value: TYPE_SFIXED64 = 16;
|
|
173
|
+
*/
|
|
174
|
+
Field_Kind[Field_Kind["TYPE_SFIXED64"] = 16] = "TYPE_SFIXED64";
|
|
175
|
+
/**
|
|
176
|
+
* Field type sint32.
|
|
177
|
+
*
|
|
178
|
+
* @generated from enum value: TYPE_SINT32 = 17;
|
|
179
|
+
*/
|
|
180
|
+
Field_Kind[Field_Kind["TYPE_SINT32"] = 17] = "TYPE_SINT32";
|
|
181
|
+
/**
|
|
182
|
+
* Field type sint64.
|
|
183
|
+
*
|
|
184
|
+
* @generated from enum value: TYPE_SINT64 = 18;
|
|
185
|
+
*/
|
|
186
|
+
Field_Kind[Field_Kind["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
187
|
+
})(Field_Kind || (Field_Kind = {}));
|
|
188
|
+
// Field_Kind_Enum is the enum type for Field_Kind.
|
|
189
|
+
export const Field_Kind_Enum = createEnumType("google.protobuf.Field.Kind", [
|
|
190
|
+
{ no: 0, name: "TYPE_UNKNOWN" },
|
|
191
|
+
{ no: 1, name: "TYPE_DOUBLE" },
|
|
192
|
+
{ no: 2, name: "TYPE_FLOAT" },
|
|
193
|
+
{ no: 3, name: "TYPE_INT64" },
|
|
194
|
+
{ no: 4, name: "TYPE_UINT64" },
|
|
195
|
+
{ no: 5, name: "TYPE_INT32" },
|
|
196
|
+
{ no: 6, name: "TYPE_FIXED64" },
|
|
197
|
+
{ no: 7, name: "TYPE_FIXED32" },
|
|
198
|
+
{ no: 8, name: "TYPE_BOOL" },
|
|
199
|
+
{ no: 9, name: "TYPE_STRING" },
|
|
200
|
+
{ no: 10, name: "TYPE_GROUP" },
|
|
201
|
+
{ no: 11, name: "TYPE_MESSAGE" },
|
|
202
|
+
{ no: 12, name: "TYPE_BYTES" },
|
|
203
|
+
{ no: 13, name: "TYPE_UINT32" },
|
|
204
|
+
{ no: 14, name: "TYPE_ENUM" },
|
|
205
|
+
{ no: 15, name: "TYPE_SFIXED32" },
|
|
206
|
+
{ no: 16, name: "TYPE_SFIXED64" },
|
|
207
|
+
{ no: 17, name: "TYPE_SINT32" },
|
|
208
|
+
{ no: 18, name: "TYPE_SINT64" },
|
|
209
|
+
]);
|
|
210
|
+
/**
|
|
211
|
+
* Whether a field is optional, required, or repeated.
|
|
212
|
+
*
|
|
213
|
+
* @generated from enum google.protobuf.Field.Cardinality
|
|
214
|
+
*/
|
|
215
|
+
export var Field_Cardinality;
|
|
216
|
+
(function (Field_Cardinality) {
|
|
217
|
+
/**
|
|
218
|
+
* For fields with unknown cardinality.
|
|
219
|
+
*
|
|
220
|
+
* @generated from enum value: CARDINALITY_UNKNOWN = 0;
|
|
221
|
+
*/
|
|
222
|
+
Field_Cardinality[Field_Cardinality["UNKNOWN"] = 0] = "UNKNOWN";
|
|
223
|
+
/**
|
|
224
|
+
* For optional fields.
|
|
225
|
+
*
|
|
226
|
+
* @generated from enum value: CARDINALITY_OPTIONAL = 1;
|
|
227
|
+
*/
|
|
228
|
+
Field_Cardinality[Field_Cardinality["OPTIONAL"] = 1] = "OPTIONAL";
|
|
229
|
+
/**
|
|
230
|
+
* For required fields. Proto2 syntax only.
|
|
231
|
+
*
|
|
232
|
+
* @generated from enum value: CARDINALITY_REQUIRED = 2;
|
|
233
|
+
*/
|
|
234
|
+
Field_Cardinality[Field_Cardinality["REQUIRED"] = 2] = "REQUIRED";
|
|
235
|
+
/**
|
|
236
|
+
* For repeated fields.
|
|
237
|
+
*
|
|
238
|
+
* @generated from enum value: CARDINALITY_REPEATED = 3;
|
|
239
|
+
*/
|
|
240
|
+
Field_Cardinality[Field_Cardinality["REPEATED"] = 3] = "REPEATED";
|
|
241
|
+
})(Field_Cardinality || (Field_Cardinality = {}));
|
|
242
|
+
// Field_Cardinality_Enum is the enum type for Field_Cardinality.
|
|
243
|
+
export const Field_Cardinality_Enum = createEnumType("google.protobuf.Field.Cardinality", [
|
|
244
|
+
{ no: 0, name: "CARDINALITY_UNKNOWN" },
|
|
245
|
+
{ no: 1, name: "CARDINALITY_OPTIONAL" },
|
|
246
|
+
{ no: 2, name: "CARDINALITY_REQUIRED" },
|
|
247
|
+
{ no: 3, name: "CARDINALITY_REPEATED" },
|
|
248
|
+
]);
|
|
249
|
+
// Option contains the message type declaration for Option.
|
|
250
|
+
export const Option = createMessageType({
|
|
251
|
+
typeName: "google.protobuf.Option",
|
|
252
|
+
fields: [
|
|
253
|
+
{ no: 1, name: "name", kind: "scalar", T: ScalarType.STRING },
|
|
254
|
+
{ no: 2, name: "value", kind: "message", T: () => Any },
|
|
255
|
+
],
|
|
256
|
+
packedByDefault: true,
|
|
257
|
+
});
|
|
258
|
+
// Field contains the message type declaration for Field.
|
|
259
|
+
export const Field = createMessageType({
|
|
260
|
+
typeName: "google.protobuf.Field",
|
|
261
|
+
fields: [
|
|
262
|
+
{ no: 1, name: "kind", kind: "enum", T: Field_Kind_Enum },
|
|
263
|
+
{ no: 2, name: "cardinality", kind: "enum", T: Field_Cardinality_Enum },
|
|
264
|
+
{ no: 3, name: "number", kind: "scalar", T: ScalarType.INT32 },
|
|
265
|
+
{ no: 4, name: "name", kind: "scalar", T: ScalarType.STRING },
|
|
266
|
+
{ no: 6, name: "type_url", kind: "scalar", T: ScalarType.STRING },
|
|
267
|
+
{ no: 7, name: "oneof_index", kind: "scalar", T: ScalarType.INT32 },
|
|
268
|
+
{ no: 8, name: "packed", kind: "scalar", T: ScalarType.BOOL },
|
|
269
|
+
{
|
|
270
|
+
no: 9,
|
|
271
|
+
name: "options",
|
|
272
|
+
kind: "message",
|
|
273
|
+
T: () => Option,
|
|
274
|
+
repeated: true,
|
|
275
|
+
},
|
|
276
|
+
{ no: 10, name: "json_name", kind: "scalar", T: ScalarType.STRING },
|
|
277
|
+
{ no: 11, name: "default_value", kind: "scalar", T: ScalarType.STRING },
|
|
278
|
+
],
|
|
279
|
+
packedByDefault: true,
|
|
280
|
+
});
|
|
281
|
+
// Type contains the message type declaration for Type.
|
|
282
|
+
export const Type = createMessageType({
|
|
283
|
+
typeName: "google.protobuf.Type",
|
|
284
|
+
fields: [
|
|
285
|
+
{ no: 1, name: "name", kind: "scalar", T: ScalarType.STRING },
|
|
286
|
+
{ no: 2, name: "fields", kind: "message", T: () => Field, repeated: true },
|
|
287
|
+
{
|
|
288
|
+
no: 3,
|
|
289
|
+
name: "oneofs",
|
|
290
|
+
kind: "scalar",
|
|
291
|
+
T: ScalarType.STRING,
|
|
292
|
+
repeated: true,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
no: 4,
|
|
296
|
+
name: "options",
|
|
297
|
+
kind: "message",
|
|
298
|
+
T: () => Option,
|
|
299
|
+
repeated: true,
|
|
300
|
+
},
|
|
301
|
+
{ no: 5, name: "source_context", kind: "message", T: () => SourceContext },
|
|
302
|
+
{ no: 6, name: "syntax", kind: "enum", T: Syntax_Enum },
|
|
303
|
+
{ no: 7, name: "edition", kind: "scalar", T: ScalarType.STRING },
|
|
304
|
+
],
|
|
305
|
+
packedByDefault: true,
|
|
306
|
+
});
|
|
307
|
+
// EnumValue contains the message type declaration for EnumValue.
|
|
308
|
+
export const EnumValue = createMessageType({
|
|
309
|
+
typeName: "google.protobuf.EnumValue",
|
|
310
|
+
fields: [
|
|
311
|
+
{ no: 1, name: "name", kind: "scalar", T: ScalarType.STRING },
|
|
312
|
+
{ no: 2, name: "number", kind: "scalar", T: ScalarType.INT32 },
|
|
313
|
+
{
|
|
314
|
+
no: 3,
|
|
315
|
+
name: "options",
|
|
316
|
+
kind: "message",
|
|
317
|
+
T: () => Option,
|
|
318
|
+
repeated: true,
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
packedByDefault: true,
|
|
322
|
+
});
|
|
323
|
+
// Enum contains the message type declaration for Enum.
|
|
324
|
+
export const Enum = createMessageType({
|
|
325
|
+
typeName: "google.protobuf.Enum",
|
|
326
|
+
fields: [
|
|
327
|
+
{ no: 1, name: "name", kind: "scalar", T: ScalarType.STRING },
|
|
328
|
+
{
|
|
329
|
+
no: 2,
|
|
330
|
+
name: "enumvalue",
|
|
331
|
+
kind: "message",
|
|
332
|
+
T: () => EnumValue,
|
|
333
|
+
repeated: true,
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
no: 3,
|
|
337
|
+
name: "options",
|
|
338
|
+
kind: "message",
|
|
339
|
+
T: () => Option,
|
|
340
|
+
repeated: true,
|
|
341
|
+
},
|
|
342
|
+
{ no: 4, name: "source_context", kind: "message", T: () => SourceContext },
|
|
343
|
+
{ no: 5, name: "syntax", kind: "enum", T: Syntax_Enum },
|
|
344
|
+
{ no: 6, name: "edition", kind: "scalar", T: ScalarType.STRING },
|
|
345
|
+
],
|
|
346
|
+
packedByDefault: true,
|
|
347
|
+
});
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions, MessageType } from "../../index.js";
|
|
2
|
+
export declare const protobufPackage = "google.protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Wrapper message for `double`.
|
|
5
|
+
*
|
|
6
|
+
* The JSON representation for `DoubleValue` is JSON number.
|
|
7
|
+
*
|
|
8
|
+
* protobuf-go-lite:disable-text
|
|
9
|
+
*
|
|
10
|
+
* @generated from message google.protobuf.DoubleValue
|
|
11
|
+
*/
|
|
12
|
+
export interface DoubleValue {
|
|
13
|
+
/**
|
|
14
|
+
* The double value.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: double value = 1;
|
|
17
|
+
*/
|
|
18
|
+
value?: number;
|
|
19
|
+
}
|
|
20
|
+
declare const DoubleValue_Wkt: {
|
|
21
|
+
toJson(msg: DoubleValue, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
22
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): DoubleValue;
|
|
23
|
+
};
|
|
24
|
+
export declare const DoubleValue: MessageType<DoubleValue> & typeof DoubleValue_Wkt;
|
|
25
|
+
/**
|
|
26
|
+
* Wrapper message for `float`.
|
|
27
|
+
*
|
|
28
|
+
* The JSON representation for `FloatValue` is JSON number.
|
|
29
|
+
*
|
|
30
|
+
* protobuf-go-lite:disable-text
|
|
31
|
+
*
|
|
32
|
+
* @generated from message google.protobuf.FloatValue
|
|
33
|
+
*/
|
|
34
|
+
export interface FloatValue {
|
|
35
|
+
/**
|
|
36
|
+
* The float value.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: float value = 1;
|
|
39
|
+
*/
|
|
40
|
+
value?: number;
|
|
41
|
+
}
|
|
42
|
+
declare const FloatValue_Wkt: {
|
|
43
|
+
toJson(msg: FloatValue, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
44
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): FloatValue;
|
|
45
|
+
};
|
|
46
|
+
export declare const FloatValue: MessageType<FloatValue> & typeof FloatValue_Wkt;
|
|
47
|
+
/**
|
|
48
|
+
* Wrapper message for `int64`.
|
|
49
|
+
*
|
|
50
|
+
* The JSON representation for `Int64Value` is JSON string.
|
|
51
|
+
*
|
|
52
|
+
* protobuf-go-lite:disable-text
|
|
53
|
+
*
|
|
54
|
+
* @generated from message google.protobuf.Int64Value
|
|
55
|
+
*/
|
|
56
|
+
export interface Int64Value {
|
|
57
|
+
/**
|
|
58
|
+
* The int64 value.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: int64 value = 1;
|
|
61
|
+
*/
|
|
62
|
+
value?: bigint;
|
|
63
|
+
}
|
|
64
|
+
declare const Int64Value_Wkt: {
|
|
65
|
+
toJson(msg: Int64Value, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
66
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): Int64Value;
|
|
67
|
+
};
|
|
68
|
+
export declare const Int64Value: MessageType<Int64Value> & typeof Int64Value_Wkt;
|
|
69
|
+
/**
|
|
70
|
+
* Wrapper message for `uint64`.
|
|
71
|
+
*
|
|
72
|
+
* The JSON representation for `UInt64Value` is JSON string.
|
|
73
|
+
*
|
|
74
|
+
* protobuf-go-lite:disable-text
|
|
75
|
+
*
|
|
76
|
+
* @generated from message google.protobuf.UInt64Value
|
|
77
|
+
*/
|
|
78
|
+
export interface UInt64Value {
|
|
79
|
+
/**
|
|
80
|
+
* The uint64 value.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: uint64 value = 1;
|
|
83
|
+
*/
|
|
84
|
+
value?: bigint;
|
|
85
|
+
}
|
|
86
|
+
declare const UInt64Value_Wkt: {
|
|
87
|
+
toJson(msg: UInt64Value, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
88
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): UInt64Value;
|
|
89
|
+
};
|
|
90
|
+
export declare const UInt64Value: MessageType<UInt64Value> & typeof UInt64Value_Wkt;
|
|
91
|
+
/**
|
|
92
|
+
* Wrapper message for `int32`.
|
|
93
|
+
*
|
|
94
|
+
* The JSON representation for `Int32Value` is JSON number.
|
|
95
|
+
*
|
|
96
|
+
* protobuf-go-lite:disable-text
|
|
97
|
+
*
|
|
98
|
+
* @generated from message google.protobuf.Int32Value
|
|
99
|
+
*/
|
|
100
|
+
export interface Int32Value {
|
|
101
|
+
/**
|
|
102
|
+
* The int32 value.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: int32 value = 1;
|
|
105
|
+
*/
|
|
106
|
+
value?: number;
|
|
107
|
+
}
|
|
108
|
+
declare const Int32Value_Wkt: {
|
|
109
|
+
toJson(msg: Int32Value, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
110
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): Int32Value;
|
|
111
|
+
};
|
|
112
|
+
export declare const Int32Value: MessageType<Int32Value> & typeof Int32Value_Wkt;
|
|
113
|
+
/**
|
|
114
|
+
* Wrapper message for `uint32`.
|
|
115
|
+
*
|
|
116
|
+
* The JSON representation for `UInt32Value` is JSON number.
|
|
117
|
+
*
|
|
118
|
+
* protobuf-go-lite:disable-text
|
|
119
|
+
*
|
|
120
|
+
* @generated from message google.protobuf.UInt32Value
|
|
121
|
+
*/
|
|
122
|
+
export interface UInt32Value {
|
|
123
|
+
/**
|
|
124
|
+
* The uint32 value.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: uint32 value = 1;
|
|
127
|
+
*/
|
|
128
|
+
value?: number;
|
|
129
|
+
}
|
|
130
|
+
declare const UInt32Value_Wkt: {
|
|
131
|
+
toJson(msg: UInt32Value, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
132
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): UInt32Value;
|
|
133
|
+
};
|
|
134
|
+
export declare const UInt32Value: MessageType<UInt32Value> & typeof UInt32Value_Wkt;
|
|
135
|
+
/**
|
|
136
|
+
* Wrapper message for `bool`.
|
|
137
|
+
*
|
|
138
|
+
* The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
139
|
+
*
|
|
140
|
+
* protobuf-go-lite:disable-text
|
|
141
|
+
*
|
|
142
|
+
* @generated from message google.protobuf.BoolValue
|
|
143
|
+
*/
|
|
144
|
+
export interface BoolValue {
|
|
145
|
+
/**
|
|
146
|
+
* The bool value.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: bool value = 1;
|
|
149
|
+
*/
|
|
150
|
+
value?: boolean;
|
|
151
|
+
}
|
|
152
|
+
declare const BoolValue_Wkt: {
|
|
153
|
+
toJson(msg: BoolValue, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
154
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): BoolValue;
|
|
155
|
+
};
|
|
156
|
+
export declare const BoolValue: MessageType<BoolValue> & typeof BoolValue_Wkt;
|
|
157
|
+
/**
|
|
158
|
+
* Wrapper message for `string`.
|
|
159
|
+
*
|
|
160
|
+
* The JSON representation for `StringValue` is JSON string.
|
|
161
|
+
*
|
|
162
|
+
* protobuf-go-lite:disable-text
|
|
163
|
+
*
|
|
164
|
+
* @generated from message google.protobuf.StringValue
|
|
165
|
+
*/
|
|
166
|
+
export interface StringValue {
|
|
167
|
+
/**
|
|
168
|
+
* The string value.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: string value = 1;
|
|
171
|
+
*/
|
|
172
|
+
value?: string;
|
|
173
|
+
}
|
|
174
|
+
declare const StringValue_Wkt: {
|
|
175
|
+
toJson(msg: StringValue, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
176
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): StringValue;
|
|
177
|
+
};
|
|
178
|
+
export declare const StringValue: MessageType<StringValue> & typeof StringValue_Wkt;
|
|
179
|
+
/**
|
|
180
|
+
* Wrapper message for `bytes`.
|
|
181
|
+
*
|
|
182
|
+
* The JSON representation for `BytesValue` is JSON string.
|
|
183
|
+
*
|
|
184
|
+
* protobuf-go-lite:disable-text
|
|
185
|
+
*
|
|
186
|
+
* @generated from message google.protobuf.BytesValue
|
|
187
|
+
*/
|
|
188
|
+
export interface BytesValue {
|
|
189
|
+
/**
|
|
190
|
+
* The bytes value.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: bytes value = 1;
|
|
193
|
+
*/
|
|
194
|
+
value?: Uint8Array;
|
|
195
|
+
}
|
|
196
|
+
declare const BytesValue_Wkt: {
|
|
197
|
+
toJson(msg: BytesValue, _options?: Partial<JsonWriteOptions>): JsonValue;
|
|
198
|
+
fromJson(json: JsonValue | null | undefined, _options?: Partial<JsonReadOptions>): BytesValue;
|
|
199
|
+
};
|
|
200
|
+
export declare const BytesValue: MessageType<BytesValue> & typeof BytesValue_Wkt;
|
|
201
|
+
export {};
|