@bufbuild/protobuf 0.0.1-alpha.1 → 0.0.1
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 +21 -1
- package/dist/cjs/binary-encoding.js +402 -410
- package/dist/cjs/descriptor-registry.js +407 -449
- package/dist/cjs/descriptor-set.js +416 -513
- package/dist/cjs/field.js +30 -30
- package/dist/cjs/google/protobuf/any_pb.js +122 -140
- package/dist/cjs/google/protobuf/api_pb.js +177 -224
- package/dist/cjs/google/protobuf/compiler/plugin_pb.js +125 -227
- package/dist/cjs/google/protobuf/descriptor_pb.js +1029 -1888
- package/dist/cjs/google/protobuf/duration_pb.js +72 -88
- package/dist/cjs/google/protobuf/empty_pb.js +17 -17
- package/dist/cjs/google/protobuf/field_mask_pb.js +77 -94
- package/dist/cjs/google/protobuf/source_context_pb.js +25 -25
- package/dist/cjs/google/protobuf/struct_pb.js +144 -181
- package/dist/cjs/google/protobuf/timestamp_pb.js +86 -123
- package/dist/cjs/google/protobuf/type_pb.js +406 -462
- package/dist/cjs/google/protobuf/wrappers_pb.js +407 -470
- package/dist/cjs/index.js +24 -122
- package/dist/cjs/message.js +81 -89
- package/dist/cjs/private/assert.js +20 -26
- package/dist/cjs/private/base64.js +79 -78
- package/dist/cjs/private/binary-format-common.js +195 -208
- package/dist/cjs/private/binary-format-proto2.js +75 -109
- package/dist/cjs/private/binary-format-proto3.js +57 -90
- package/dist/cjs/private/enum.js +38 -43
- package/dist/cjs/private/field-list.js +51 -50
- package/dist/cjs/private/field-wrapper.js +8 -10
- package/dist/cjs/private/field.js +22 -25
- package/dist/cjs/private/goog-varint.js +275 -0
- package/dist/cjs/private/json-format-common.js +414 -440
- package/dist/cjs/private/json-format-proto2.js +78 -89
- package/dist/cjs/private/json-format-proto3.js +69 -93
- package/dist/cjs/private/message-type.js +26 -27
- package/dist/cjs/private/names.js +58 -62
- package/dist/cjs/private/proto-runtime.js +11 -16
- package/dist/cjs/private/scalars.js +100 -103
- package/dist/cjs/private/util-common.js +180 -210
- package/dist/cjs/proto-int64.js +111 -112
- package/dist/cjs/proto2.js +50 -63
- package/dist/cjs/proto3.js +61 -74
- package/dist/cjs/service-type.js +14 -17
- package/dist/cjs/type-registry.js +33 -31
- package/dist/esm/binary-encoding.js +401 -414
- package/dist/esm/descriptor-registry.js +409 -458
- package/dist/esm/descriptor-set.js +417 -478
- package/dist/esm/field.js +29 -29
- package/dist/esm/google/protobuf/any_pb.js +122 -140
- package/dist/esm/google/protobuf/api_pb.js +177 -197
- package/dist/esm/google/protobuf/compiler/plugin_pb.js +123 -216
- package/dist/esm/google/protobuf/descriptor_pb.js +1013 -1804
- package/dist/esm/google/protobuf/duration_pb.js +72 -88
- package/dist/esm/google/protobuf/empty_pb.js +17 -17
- package/dist/esm/google/protobuf/field_mask_pb.js +77 -94
- package/dist/esm/google/protobuf/source_context_pb.js +25 -25
- package/dist/esm/google/protobuf/struct_pb.js +143 -180
- package/dist/esm/google/protobuf/timestamp_pb.js +86 -123
- package/dist/esm/google/protobuf/type_pb.js +401 -421
- package/dist/esm/google/protobuf/wrappers_pb.js +406 -397
- package/dist/esm/index.js +1 -1
- package/dist/esm/message.js +81 -89
- package/dist/esm/private/assert.js +19 -21
- package/dist/esm/private/base64.js +79 -78
- package/dist/esm/private/binary-format-common.js +196 -207
- package/dist/esm/private/binary-format-proto2.js +76 -81
- package/dist/esm/private/binary-format-proto3.js +58 -67
- package/dist/esm/private/enum.js +38 -43
- package/dist/esm/private/field-list.js +51 -50
- package/dist/esm/private/field-wrapper.js +8 -10
- package/dist/esm/private/field.js +22 -22
- package/dist/esm/private/goog-varint.js +266 -0
- package/dist/esm/private/json-format-common.js +414 -435
- package/dist/esm/private/json-format-proto2.js +76 -81
- package/dist/esm/private/json-format-proto3.js +66 -80
- package/dist/esm/private/message-type.js +27 -28
- package/dist/esm/private/names.js +57 -57
- package/dist/esm/private/proto-runtime.js +11 -11
- package/dist/esm/private/scalars.js +99 -99
- package/dist/esm/private/util-common.js +180 -192
- package/dist/esm/proto-int64.js +111 -112
- package/dist/esm/proto2.js +50 -57
- package/dist/esm/proto3.js +61 -68
- package/dist/esm/service-type.js +12 -12
- package/dist/esm/type-registry.js +33 -31
- package/dist/types/binary-encoding.d.ts +398 -398
- package/dist/types/binary-format.d.ts +69 -91
- package/dist/types/descriptor-registry.d.ts +23 -29
- package/dist/types/descriptor-set.d.ts +107 -128
- package/dist/types/enum.d.ts +21 -21
- package/dist/types/field-list.d.ts +21 -21
- package/dist/types/field.d.ts +191 -231
- package/dist/types/google/protobuf/any_pb.d.ts +56 -77
- package/dist/types/google/protobuf/api_pb.d.ts +144 -187
- package/dist/types/google/protobuf/compiler/plugin_pb.d.ts +195 -257
- package/dist/types/google/protobuf/descriptor_pb.d.ts +1360 -1737
- package/dist/types/google/protobuf/duration_pb.d.ts +30 -50
- package/dist/types/google/protobuf/empty_pb.d.ts +9 -28
- package/dist/types/google/protobuf/field_mask_pb.d.ts +17 -37
- package/dist/types/google/protobuf/source_context_pb.d.ts +16 -35
- package/dist/types/google/protobuf/struct_pb.d.ts +64 -115
- package/dist/types/google/protobuf/timestamp_pb.d.ts +31 -51
- package/dist/types/google/protobuf/type_pb.d.ts +355 -422
- package/dist/types/google/protobuf/wrappers_pb.d.ts +181 -297
- package/dist/types/index.d.ts +4 -27
- package/dist/types/json-format.d.ts +70 -89
- package/dist/types/message-type.d.ts +38 -46
- package/dist/types/message.d.ts +73 -99
- package/dist/types/private/assert.d.ts +1 -4
- package/dist/types/private/binary-format-common.d.ts +6 -32
- package/dist/types/private/enum.d.ts +4 -11
- package/dist/types/private/field-list.d.ts +14 -21
- package/dist/types/private/field-wrapper.d.ts +5 -11
- package/dist/types/private/field.d.ts +12 -12
- package/dist/types/{google/varint.d.ts → private/goog-varint.d.ts} +6 -13
- package/dist/types/private/json-format-common.d.ts +5 -27
- package/dist/types/private/message-type.d.ts +3 -8
- package/dist/types/private/names.d.ts +1 -4
- package/dist/types/private/options-map.d.ts +1 -1
- package/dist/types/private/proto-runtime.d.ts +29 -42
- package/dist/types/private/scalars.d.ts +5 -12
- package/dist/types/private/util-common.d.ts +1 -4
- package/dist/types/private/util.d.ts +29 -41
- package/dist/types/proto-int64.d.ts +42 -42
- package/dist/types/service-type.d.ts +37 -57
- package/dist/types/type-registry.d.ts +13 -15
- package/package.json +2 -2
- package/dist/cjs/google/varint.js +0 -280
- package/dist/esm/google/varint.js +0 -265
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
BinaryReadOptions,
|
|
3
|
-
FieldList,
|
|
4
|
-
JsonReadOptions,
|
|
5
|
-
JsonValue,
|
|
6
|
-
PartialMessage,
|
|
7
|
-
PlainMessage,
|
|
8
|
-
} from "../../index.js";
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "../../index.js";
|
|
9
2
|
import { Message } from "../../index.js";
|
|
10
3
|
/**
|
|
11
4
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
@@ -14,30 +7,18 @@ import { Message } from "../../index.js";
|
|
|
14
7
|
* @generated from message google.protobuf.FileDescriptorSet
|
|
15
8
|
*/
|
|
16
9
|
export declare class FileDescriptorSet extends Message<FileDescriptorSet> {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
options?: Partial<
|
|
28
|
-
|
|
29
|
-
static fromJson(
|
|
30
|
-
jsonValue: JsonValue,
|
|
31
|
-
options?: Partial<JsonReadOptions>
|
|
32
|
-
): FileDescriptorSet;
|
|
33
|
-
static fromJsonString(
|
|
34
|
-
jsonString: string,
|
|
35
|
-
options?: Partial<JsonReadOptions>
|
|
36
|
-
): FileDescriptorSet;
|
|
37
|
-
static equals(
|
|
38
|
-
a: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined,
|
|
39
|
-
b: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined
|
|
40
|
-
): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1;
|
|
12
|
+
*/
|
|
13
|
+
file: FileDescriptorProto[];
|
|
14
|
+
constructor(data?: PartialMessage<FileDescriptorSet>);
|
|
15
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
16
|
+
static readonly typeName = "google.protobuf.FileDescriptorSet";
|
|
17
|
+
static readonly fields: FieldList;
|
|
18
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileDescriptorSet;
|
|
19
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileDescriptorSet;
|
|
20
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileDescriptorSet;
|
|
21
|
+
static equals(a: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined, b: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined): boolean;
|
|
41
22
|
}
|
|
42
23
|
/**
|
|
43
24
|
* Describes a complete .proto file.
|
|
@@ -45,95 +26,83 @@ export declare class FileDescriptorSet extends Message<FileDescriptorSet> {
|
|
|
45
26
|
* @generated from message google.protobuf.FileDescriptorProto
|
|
46
27
|
*/
|
|
47
28
|
export declare class FileDescriptorProto extends Message<FileDescriptorProto> {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
options?: Partial<
|
|
124
|
-
|
|
125
|
-
static fromJson(
|
|
126
|
-
jsonValue: JsonValue,
|
|
127
|
-
options?: Partial<JsonReadOptions>
|
|
128
|
-
): FileDescriptorProto;
|
|
129
|
-
static fromJsonString(
|
|
130
|
-
jsonString: string,
|
|
131
|
-
options?: Partial<JsonReadOptions>
|
|
132
|
-
): FileDescriptorProto;
|
|
133
|
-
static equals(
|
|
134
|
-
a: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined,
|
|
135
|
-
b: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined
|
|
136
|
-
): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* file name, relative to root of source tree
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: optional string name = 1;
|
|
33
|
+
*/
|
|
34
|
+
name?: string;
|
|
35
|
+
/**
|
|
36
|
+
* e.g. "foo", "foo.bar", etc.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: optional string package = 2;
|
|
39
|
+
*/
|
|
40
|
+
package?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Names of files imported by this file.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: repeated string dependency = 3;
|
|
45
|
+
*/
|
|
46
|
+
dependency: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Indexes of the public imported files in the dependency list above.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: repeated int32 public_dependency = 10;
|
|
51
|
+
*/
|
|
52
|
+
publicDependency: number[];
|
|
53
|
+
/**
|
|
54
|
+
* Indexes of the weak imported files in the dependency list.
|
|
55
|
+
* For Google-internal migration only. Do not use.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: repeated int32 weak_dependency = 11;
|
|
58
|
+
*/
|
|
59
|
+
weakDependency: number[];
|
|
60
|
+
/**
|
|
61
|
+
* All top-level definitions in this file.
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4;
|
|
64
|
+
*/
|
|
65
|
+
messageType: DescriptorProto[];
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
68
|
+
*/
|
|
69
|
+
enumType: EnumDescriptorProto[];
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6;
|
|
72
|
+
*/
|
|
73
|
+
service: ServiceDescriptorProto[];
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7;
|
|
76
|
+
*/
|
|
77
|
+
extension: FieldDescriptorProto[];
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: optional google.protobuf.FileOptions options = 8;
|
|
80
|
+
*/
|
|
81
|
+
options?: FileOptions;
|
|
82
|
+
/**
|
|
83
|
+
* This field contains optional information about the original source code.
|
|
84
|
+
* You may safely remove this entire field without harming runtime
|
|
85
|
+
* functionality of the descriptors -- the information is needed only by
|
|
86
|
+
* development tools.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
89
|
+
*/
|
|
90
|
+
sourceCodeInfo?: SourceCodeInfo;
|
|
91
|
+
/**
|
|
92
|
+
* The syntax of the proto file.
|
|
93
|
+
* The supported values are "proto2" and "proto3".
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional string syntax = 12;
|
|
96
|
+
*/
|
|
97
|
+
syntax?: string;
|
|
98
|
+
constructor(data?: PartialMessage<FileDescriptorProto>);
|
|
99
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
100
|
+
static readonly typeName = "google.protobuf.FileDescriptorProto";
|
|
101
|
+
static readonly fields: FieldList;
|
|
102
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileDescriptorProto;
|
|
103
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileDescriptorProto;
|
|
104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileDescriptorProto;
|
|
105
|
+
static equals(a: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined, b: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined): boolean;
|
|
137
106
|
}
|
|
138
107
|
/**
|
|
139
108
|
* Describes a message type.
|
|
@@ -141,116 +110,86 @@ export declare class FileDescriptorProto extends Message<FileDescriptorProto> {
|
|
|
141
110
|
* @generated from message google.protobuf.DescriptorProto
|
|
142
111
|
*/
|
|
143
112
|
export declare class DescriptorProto extends Message<DescriptorProto> {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
options?: Partial<
|
|
194
|
-
|
|
195
|
-
static fromJson(
|
|
196
|
-
jsonValue: JsonValue,
|
|
197
|
-
options?: Partial<JsonReadOptions>
|
|
198
|
-
): DescriptorProto;
|
|
199
|
-
static fromJsonString(
|
|
200
|
-
jsonString: string,
|
|
201
|
-
options?: Partial<JsonReadOptions>
|
|
202
|
-
): DescriptorProto;
|
|
203
|
-
static equals(
|
|
204
|
-
a: DescriptorProto | PlainMessage<DescriptorProto> | undefined,
|
|
205
|
-
b: DescriptorProto | PlainMessage<DescriptorProto> | undefined
|
|
206
|
-
): boolean;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: optional string name = 1;
|
|
115
|
+
*/
|
|
116
|
+
name?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2;
|
|
119
|
+
*/
|
|
120
|
+
field: FieldDescriptorProto[];
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6;
|
|
123
|
+
*/
|
|
124
|
+
extension: FieldDescriptorProto[];
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3;
|
|
127
|
+
*/
|
|
128
|
+
nestedType: DescriptorProto[];
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
131
|
+
*/
|
|
132
|
+
enumType: EnumDescriptorProto[];
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
135
|
+
*/
|
|
136
|
+
extensionRange: DescriptorProto_ExtensionRange[];
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
|
|
139
|
+
*/
|
|
140
|
+
oneofDecl: OneofDescriptorProto[];
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: optional google.protobuf.MessageOptions options = 7;
|
|
143
|
+
*/
|
|
144
|
+
options?: MessageOptions;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
|
|
147
|
+
*/
|
|
148
|
+
reservedRange: DescriptorProto_ReservedRange[];
|
|
149
|
+
/**
|
|
150
|
+
* Reserved field names, which may not be used by fields in the same message.
|
|
151
|
+
* A given name may only be reserved once.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: repeated string reserved_name = 10;
|
|
154
|
+
*/
|
|
155
|
+
reservedName: string[];
|
|
156
|
+
constructor(data?: PartialMessage<DescriptorProto>);
|
|
157
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
158
|
+
static readonly typeName = "google.protobuf.DescriptorProto";
|
|
159
|
+
static readonly fields: FieldList;
|
|
160
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto;
|
|
161
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto;
|
|
162
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto;
|
|
163
|
+
static equals(a: DescriptorProto | PlainMessage<DescriptorProto> | undefined, b: DescriptorProto | PlainMessage<DescriptorProto> | undefined): boolean;
|
|
207
164
|
}
|
|
208
165
|
/**
|
|
209
166
|
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
210
167
|
*/
|
|
211
168
|
export declare class DescriptorProto_ExtensionRange extends Message<DescriptorProto_ExtensionRange> {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
options?: Partial<
|
|
235
|
-
|
|
236
|
-
static fromJson(
|
|
237
|
-
jsonValue: JsonValue,
|
|
238
|
-
options?: Partial<JsonReadOptions>
|
|
239
|
-
): DescriptorProto_ExtensionRange;
|
|
240
|
-
static fromJsonString(
|
|
241
|
-
jsonString: string,
|
|
242
|
-
options?: Partial<JsonReadOptions>
|
|
243
|
-
): DescriptorProto_ExtensionRange;
|
|
244
|
-
static equals(
|
|
245
|
-
a:
|
|
246
|
-
| DescriptorProto_ExtensionRange
|
|
247
|
-
| PlainMessage<DescriptorProto_ExtensionRange>
|
|
248
|
-
| undefined,
|
|
249
|
-
b:
|
|
250
|
-
| DescriptorProto_ExtensionRange
|
|
251
|
-
| PlainMessage<DescriptorProto_ExtensionRange>
|
|
252
|
-
| undefined
|
|
253
|
-
): boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Inclusive.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: optional int32 start = 1;
|
|
173
|
+
*/
|
|
174
|
+
start?: number;
|
|
175
|
+
/**
|
|
176
|
+
* Exclusive.
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: optional int32 end = 2;
|
|
179
|
+
*/
|
|
180
|
+
end?: number;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3;
|
|
183
|
+
*/
|
|
184
|
+
options?: ExtensionRangeOptions;
|
|
185
|
+
constructor(data?: PartialMessage<DescriptorProto_ExtensionRange>);
|
|
186
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
187
|
+
static readonly typeName = "google.protobuf.DescriptorProto.ExtensionRange";
|
|
188
|
+
static readonly fields: FieldList;
|
|
189
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto_ExtensionRange;
|
|
190
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto_ExtensionRange;
|
|
191
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto_ExtensionRange;
|
|
192
|
+
static equals(a: DescriptorProto_ExtensionRange | PlainMessage<DescriptorProto_ExtensionRange> | undefined, b: DescriptorProto_ExtensionRange | PlainMessage<DescriptorProto_ExtensionRange> | undefined): boolean;
|
|
254
193
|
}
|
|
255
194
|
/**
|
|
256
195
|
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
@@ -260,75 +199,45 @@ export declare class DescriptorProto_ExtensionRange extends Message<DescriptorPr
|
|
|
260
199
|
* @generated from message google.protobuf.DescriptorProto.ReservedRange
|
|
261
200
|
*/
|
|
262
201
|
export declare class DescriptorProto_ReservedRange extends Message<DescriptorProto_ReservedRange> {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
options?: Partial<
|
|
282
|
-
|
|
283
|
-
static fromJson(
|
|
284
|
-
jsonValue: JsonValue,
|
|
285
|
-
options?: Partial<JsonReadOptions>
|
|
286
|
-
): DescriptorProto_ReservedRange;
|
|
287
|
-
static fromJsonString(
|
|
288
|
-
jsonString: string,
|
|
289
|
-
options?: Partial<JsonReadOptions>
|
|
290
|
-
): DescriptorProto_ReservedRange;
|
|
291
|
-
static equals(
|
|
292
|
-
a:
|
|
293
|
-
| DescriptorProto_ReservedRange
|
|
294
|
-
| PlainMessage<DescriptorProto_ReservedRange>
|
|
295
|
-
| undefined,
|
|
296
|
-
b:
|
|
297
|
-
| DescriptorProto_ReservedRange
|
|
298
|
-
| PlainMessage<DescriptorProto_ReservedRange>
|
|
299
|
-
| undefined
|
|
300
|
-
): boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Inclusive.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: optional int32 start = 1;
|
|
206
|
+
*/
|
|
207
|
+
start?: number;
|
|
208
|
+
/**
|
|
209
|
+
* Exclusive.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: optional int32 end = 2;
|
|
212
|
+
*/
|
|
213
|
+
end?: number;
|
|
214
|
+
constructor(data?: PartialMessage<DescriptorProto_ReservedRange>);
|
|
215
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
216
|
+
static readonly typeName = "google.protobuf.DescriptorProto.ReservedRange";
|
|
217
|
+
static readonly fields: FieldList;
|
|
218
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto_ReservedRange;
|
|
219
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto_ReservedRange;
|
|
220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto_ReservedRange;
|
|
221
|
+
static equals(a: DescriptorProto_ReservedRange | PlainMessage<DescriptorProto_ReservedRange> | undefined, b: DescriptorProto_ReservedRange | PlainMessage<DescriptorProto_ReservedRange> | undefined): boolean;
|
|
301
222
|
}
|
|
302
223
|
/**
|
|
303
224
|
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
304
225
|
*/
|
|
305
226
|
export declare class ExtensionRangeOptions extends Message<ExtensionRangeOptions> {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
options?: Partial<
|
|
319
|
-
|
|
320
|
-
static fromJson(
|
|
321
|
-
jsonValue: JsonValue,
|
|
322
|
-
options?: Partial<JsonReadOptions>
|
|
323
|
-
): ExtensionRangeOptions;
|
|
324
|
-
static fromJsonString(
|
|
325
|
-
jsonString: string,
|
|
326
|
-
options?: Partial<JsonReadOptions>
|
|
327
|
-
): ExtensionRangeOptions;
|
|
328
|
-
static equals(
|
|
329
|
-
a: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined,
|
|
330
|
-
b: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined
|
|
331
|
-
): boolean;
|
|
227
|
+
/**
|
|
228
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
231
|
+
*/
|
|
232
|
+
uninterpretedOption: UninterpretedOption[];
|
|
233
|
+
constructor(data?: PartialMessage<ExtensionRangeOptions>);
|
|
234
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
235
|
+
static readonly typeName = "google.protobuf.ExtensionRangeOptions";
|
|
236
|
+
static readonly fields: FieldList;
|
|
237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExtensionRangeOptions;
|
|
238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExtensionRangeOptions;
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtensionRangeOptions;
|
|
240
|
+
static equals(a: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined, b: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined): boolean;
|
|
332
241
|
}
|
|
333
242
|
/**
|
|
334
243
|
* Describes a field within a message.
|
|
@@ -336,236 +245,224 @@ export declare class ExtensionRangeOptions extends Message<ExtensionRangeOptions
|
|
|
336
245
|
* @generated from message google.protobuf.FieldDescriptorProto
|
|
337
246
|
*/
|
|
338
247
|
export declare class FieldDescriptorProto extends Message<FieldDescriptorProto> {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
options?: Partial<
|
|
438
|
-
|
|
439
|
-
static fromJson(
|
|
440
|
-
jsonValue: JsonValue,
|
|
441
|
-
options?: Partial<JsonReadOptions>
|
|
442
|
-
): FieldDescriptorProto;
|
|
443
|
-
static fromJsonString(
|
|
444
|
-
jsonString: string,
|
|
445
|
-
options?: Partial<JsonReadOptions>
|
|
446
|
-
): FieldDescriptorProto;
|
|
447
|
-
static equals(
|
|
448
|
-
a: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined,
|
|
449
|
-
b: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined
|
|
450
|
-
): boolean;
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: optional string name = 1;
|
|
250
|
+
*/
|
|
251
|
+
name?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: optional int32 number = 3;
|
|
254
|
+
*/
|
|
255
|
+
number?: number;
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
258
|
+
*/
|
|
259
|
+
label?: FieldDescriptorProto_Label;
|
|
260
|
+
/**
|
|
261
|
+
* If type_name is set, this need not be set. If both this and type_name
|
|
262
|
+
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
265
|
+
*/
|
|
266
|
+
type?: FieldDescriptorProto_Type;
|
|
267
|
+
/**
|
|
268
|
+
* For message and enum types, this is the name of the type. If the name
|
|
269
|
+
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
270
|
+
* rules are used to find the type (i.e. first the nested types within this
|
|
271
|
+
* message are searched, then within the parent, on up to the root
|
|
272
|
+
* namespace).
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: optional string type_name = 6;
|
|
275
|
+
*/
|
|
276
|
+
typeName?: string;
|
|
277
|
+
/**
|
|
278
|
+
* For extensions, this is the name of the type being extended. It is
|
|
279
|
+
* resolved in the same manner as type_name.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: optional string extendee = 2;
|
|
282
|
+
*/
|
|
283
|
+
extendee?: string;
|
|
284
|
+
/**
|
|
285
|
+
* For numeric types, contains the original text representation of the value.
|
|
286
|
+
* For booleans, "true" or "false".
|
|
287
|
+
* For strings, contains the default text contents (not escaped in any way).
|
|
288
|
+
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
289
|
+
* TODO(kenton): Base-64 encode?
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: optional string default_value = 7;
|
|
292
|
+
*/
|
|
293
|
+
defaultValue?: string;
|
|
294
|
+
/**
|
|
295
|
+
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
296
|
+
* list. This field is a member of that oneof.
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: optional int32 oneof_index = 9;
|
|
299
|
+
*/
|
|
300
|
+
oneofIndex?: number;
|
|
301
|
+
/**
|
|
302
|
+
* JSON name of this field. The value is set by protocol compiler. If the
|
|
303
|
+
* user has set a "json_name" option on this field, that option's value
|
|
304
|
+
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
305
|
+
* it to camelCase.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: optional string json_name = 10;
|
|
308
|
+
*/
|
|
309
|
+
jsonName?: string;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: optional google.protobuf.FieldOptions options = 8;
|
|
312
|
+
*/
|
|
313
|
+
options?: FieldOptions;
|
|
314
|
+
/**
|
|
315
|
+
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
316
|
+
* tracks presence regardless of field type.
|
|
317
|
+
*
|
|
318
|
+
* When proto3_optional is true, this field must be belong to a oneof to
|
|
319
|
+
* signal to old proto3 clients that presence is tracked for this field. This
|
|
320
|
+
* oneof is known as a "synthetic" oneof, and this field must be its sole
|
|
321
|
+
* member (each proto3 optional field gets its own synthetic oneof). Synthetic
|
|
322
|
+
* oneofs exist in the descriptor only, and do not generate any API. Synthetic
|
|
323
|
+
* oneofs must be ordered after all "real" oneofs.
|
|
324
|
+
*
|
|
325
|
+
* For message fields, proto3_optional doesn't create any semantic change,
|
|
326
|
+
* since non-repeated message fields always track presence. However it still
|
|
327
|
+
* indicates the semantic detail of whether the user wrote "optional" or not.
|
|
328
|
+
* This can be useful for round-tripping the .proto file. For consistency we
|
|
329
|
+
* give message fields a synthetic oneof also, even though it is not required
|
|
330
|
+
* to track presence. This is especially important because the parser can't
|
|
331
|
+
* tell if a field is a message or an enum, so it must always create a
|
|
332
|
+
* synthetic oneof.
|
|
333
|
+
*
|
|
334
|
+
* Proto2 optional fields do not set this flag, because they already indicate
|
|
335
|
+
* optional with `LABEL_OPTIONAL`.
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: optional bool proto3_optional = 17;
|
|
338
|
+
*/
|
|
339
|
+
proto3Optional?: boolean;
|
|
340
|
+
constructor(data?: PartialMessage<FieldDescriptorProto>);
|
|
341
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
342
|
+
static readonly typeName = "google.protobuf.FieldDescriptorProto";
|
|
343
|
+
static readonly fields: FieldList;
|
|
344
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldDescriptorProto;
|
|
345
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldDescriptorProto;
|
|
346
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldDescriptorProto;
|
|
347
|
+
static equals(a: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined, b: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined): boolean;
|
|
451
348
|
}
|
|
452
349
|
/**
|
|
453
350
|
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
454
351
|
*/
|
|
455
352
|
export declare enum FieldDescriptorProto_Type {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
353
|
+
/**
|
|
354
|
+
* 0 is reserved for errors.
|
|
355
|
+
* Order is weird for historical reasons.
|
|
356
|
+
*
|
|
357
|
+
* @generated from enum value: TYPE_DOUBLE = 1;
|
|
358
|
+
*/
|
|
359
|
+
DOUBLE = 1,
|
|
360
|
+
/**
|
|
361
|
+
* @generated from enum value: TYPE_FLOAT = 2;
|
|
362
|
+
*/
|
|
363
|
+
FLOAT = 2,
|
|
364
|
+
/**
|
|
365
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
366
|
+
* negative values are likely.
|
|
367
|
+
*
|
|
368
|
+
* @generated from enum value: TYPE_INT64 = 3;
|
|
369
|
+
*/
|
|
370
|
+
INT64 = 3,
|
|
371
|
+
/**
|
|
372
|
+
* @generated from enum value: TYPE_UINT64 = 4;
|
|
373
|
+
*/
|
|
374
|
+
UINT64 = 4,
|
|
375
|
+
/**
|
|
376
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
377
|
+
* negative values are likely.
|
|
378
|
+
*
|
|
379
|
+
* @generated from enum value: TYPE_INT32 = 5;
|
|
380
|
+
*/
|
|
381
|
+
INT32 = 5,
|
|
382
|
+
/**
|
|
383
|
+
* @generated from enum value: TYPE_FIXED64 = 6;
|
|
384
|
+
*/
|
|
385
|
+
FIXED64 = 6,
|
|
386
|
+
/**
|
|
387
|
+
* @generated from enum value: TYPE_FIXED32 = 7;
|
|
388
|
+
*/
|
|
389
|
+
FIXED32 = 7,
|
|
390
|
+
/**
|
|
391
|
+
* @generated from enum value: TYPE_BOOL = 8;
|
|
392
|
+
*/
|
|
393
|
+
BOOL = 8,
|
|
394
|
+
/**
|
|
395
|
+
* @generated from enum value: TYPE_STRING = 9;
|
|
396
|
+
*/
|
|
397
|
+
STRING = 9,
|
|
398
|
+
/**
|
|
399
|
+
* Tag-delimited aggregate.
|
|
400
|
+
* Group type is deprecated and not supported in proto3. However, Proto3
|
|
401
|
+
* implementations should still be able to parse the group wire format and
|
|
402
|
+
* treat group fields as unknown fields.
|
|
403
|
+
*
|
|
404
|
+
* @generated from enum value: TYPE_GROUP = 10;
|
|
405
|
+
*/
|
|
406
|
+
GROUP = 10,
|
|
407
|
+
/**
|
|
408
|
+
* Length-delimited aggregate.
|
|
409
|
+
*
|
|
410
|
+
* @generated from enum value: TYPE_MESSAGE = 11;
|
|
411
|
+
*/
|
|
412
|
+
MESSAGE = 11,
|
|
413
|
+
/**
|
|
414
|
+
* New in version 2.
|
|
415
|
+
*
|
|
416
|
+
* @generated from enum value: TYPE_BYTES = 12;
|
|
417
|
+
*/
|
|
418
|
+
BYTES = 12,
|
|
419
|
+
/**
|
|
420
|
+
* @generated from enum value: TYPE_UINT32 = 13;
|
|
421
|
+
*/
|
|
422
|
+
UINT32 = 13,
|
|
423
|
+
/**
|
|
424
|
+
* @generated from enum value: TYPE_ENUM = 14;
|
|
425
|
+
*/
|
|
426
|
+
ENUM = 14,
|
|
427
|
+
/**
|
|
428
|
+
* @generated from enum value: TYPE_SFIXED32 = 15;
|
|
429
|
+
*/
|
|
430
|
+
SFIXED32 = 15,
|
|
431
|
+
/**
|
|
432
|
+
* @generated from enum value: TYPE_SFIXED64 = 16;
|
|
433
|
+
*/
|
|
434
|
+
SFIXED64 = 16,
|
|
435
|
+
/**
|
|
436
|
+
* Uses ZigZag encoding.
|
|
437
|
+
*
|
|
438
|
+
* @generated from enum value: TYPE_SINT32 = 17;
|
|
439
|
+
*/
|
|
440
|
+
SINT32 = 17,
|
|
441
|
+
/**
|
|
442
|
+
* Uses ZigZag encoding.
|
|
443
|
+
*
|
|
444
|
+
* @generated from enum value: TYPE_SINT64 = 18;
|
|
445
|
+
*/
|
|
446
|
+
SINT64 = 18
|
|
550
447
|
}
|
|
551
448
|
/**
|
|
552
449
|
* @generated from enum google.protobuf.FieldDescriptorProto.Label
|
|
553
450
|
*/
|
|
554
451
|
export declare enum FieldDescriptorProto_Label {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
452
|
+
/**
|
|
453
|
+
* 0 is reserved for errors
|
|
454
|
+
*
|
|
455
|
+
* @generated from enum value: LABEL_OPTIONAL = 1;
|
|
456
|
+
*/
|
|
457
|
+
OPTIONAL = 1,
|
|
458
|
+
/**
|
|
459
|
+
* @generated from enum value: LABEL_REQUIRED = 2;
|
|
460
|
+
*/
|
|
461
|
+
REQUIRED = 2,
|
|
462
|
+
/**
|
|
463
|
+
* @generated from enum value: LABEL_REPEATED = 3;
|
|
464
|
+
*/
|
|
465
|
+
REPEATED = 3
|
|
569
466
|
}
|
|
570
467
|
/**
|
|
571
468
|
* Describes a oneof.
|
|
@@ -573,34 +470,22 @@ export declare enum FieldDescriptorProto_Label {
|
|
|
573
470
|
* @generated from message google.protobuf.OneofDescriptorProto
|
|
574
471
|
*/
|
|
575
472
|
export declare class OneofDescriptorProto extends Message<OneofDescriptorProto> {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
options?: Partial<
|
|
591
|
-
|
|
592
|
-
static fromJson(
|
|
593
|
-
jsonValue: JsonValue,
|
|
594
|
-
options?: Partial<JsonReadOptions>
|
|
595
|
-
): OneofDescriptorProto;
|
|
596
|
-
static fromJsonString(
|
|
597
|
-
jsonString: string,
|
|
598
|
-
options?: Partial<JsonReadOptions>
|
|
599
|
-
): OneofDescriptorProto;
|
|
600
|
-
static equals(
|
|
601
|
-
a: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined,
|
|
602
|
-
b: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined
|
|
603
|
-
): boolean;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: optional string name = 1;
|
|
475
|
+
*/
|
|
476
|
+
name?: string;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: optional google.protobuf.OneofOptions options = 2;
|
|
479
|
+
*/
|
|
480
|
+
options?: OneofOptions;
|
|
481
|
+
constructor(data?: PartialMessage<OneofDescriptorProto>);
|
|
482
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
483
|
+
static readonly typeName = "google.protobuf.OneofDescriptorProto";
|
|
484
|
+
static readonly fields: FieldList;
|
|
485
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OneofDescriptorProto;
|
|
486
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OneofDescriptorProto;
|
|
487
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OneofDescriptorProto;
|
|
488
|
+
static equals(a: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined, b: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined): boolean;
|
|
604
489
|
}
|
|
605
490
|
/**
|
|
606
491
|
* Describes an enum type.
|
|
@@ -608,53 +493,41 @@ export declare class OneofDescriptorProto extends Message<OneofDescriptorProto>
|
|
|
608
493
|
* @generated from message google.protobuf.EnumDescriptorProto
|
|
609
494
|
*/
|
|
610
495
|
export declare class EnumDescriptorProto extends Message<EnumDescriptorProto> {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
options?: Partial<
|
|
645
|
-
|
|
646
|
-
static fromJson(
|
|
647
|
-
jsonValue: JsonValue,
|
|
648
|
-
options?: Partial<JsonReadOptions>
|
|
649
|
-
): EnumDescriptorProto;
|
|
650
|
-
static fromJsonString(
|
|
651
|
-
jsonString: string,
|
|
652
|
-
options?: Partial<JsonReadOptions>
|
|
653
|
-
): EnumDescriptorProto;
|
|
654
|
-
static equals(
|
|
655
|
-
a: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined,
|
|
656
|
-
b: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined
|
|
657
|
-
): boolean;
|
|
496
|
+
/**
|
|
497
|
+
* @generated from field: optional string name = 1;
|
|
498
|
+
*/
|
|
499
|
+
name?: string;
|
|
500
|
+
/**
|
|
501
|
+
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
|
|
502
|
+
*/
|
|
503
|
+
value: EnumValueDescriptorProto[];
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: optional google.protobuf.EnumOptions options = 3;
|
|
506
|
+
*/
|
|
507
|
+
options?: EnumOptions;
|
|
508
|
+
/**
|
|
509
|
+
* Range of reserved numeric values. Reserved numeric values may not be used
|
|
510
|
+
* by enum values in the same enum declaration. Reserved ranges may not
|
|
511
|
+
* overlap.
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
|
|
514
|
+
*/
|
|
515
|
+
reservedRange: EnumDescriptorProto_EnumReservedRange[];
|
|
516
|
+
/**
|
|
517
|
+
* Reserved enum value names, which may not be reused. A given name may only
|
|
518
|
+
* be reserved once.
|
|
519
|
+
*
|
|
520
|
+
* @generated from field: repeated string reserved_name = 5;
|
|
521
|
+
*/
|
|
522
|
+
reservedName: string[];
|
|
523
|
+
constructor(data?: PartialMessage<EnumDescriptorProto>);
|
|
524
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
525
|
+
static readonly typeName = "google.protobuf.EnumDescriptorProto";
|
|
526
|
+
static readonly fields: FieldList;
|
|
527
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumDescriptorProto;
|
|
528
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumDescriptorProto;
|
|
529
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumDescriptorProto;
|
|
530
|
+
static equals(a: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined, b: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined): boolean;
|
|
658
531
|
}
|
|
659
532
|
/**
|
|
660
533
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
@@ -667,45 +540,26 @@ export declare class EnumDescriptorProto extends Message<EnumDescriptorProto> {
|
|
|
667
540
|
* @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
|
668
541
|
*/
|
|
669
542
|
export declare class EnumDescriptorProto_EnumReservedRange extends Message<EnumDescriptorProto_EnumReservedRange> {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
): EnumDescriptorProto_EnumReservedRange;
|
|
691
|
-
static fromJson(
|
|
692
|
-
jsonValue: JsonValue,
|
|
693
|
-
options?: Partial<JsonReadOptions>
|
|
694
|
-
): EnumDescriptorProto_EnumReservedRange;
|
|
695
|
-
static fromJsonString(
|
|
696
|
-
jsonString: string,
|
|
697
|
-
options?: Partial<JsonReadOptions>
|
|
698
|
-
): EnumDescriptorProto_EnumReservedRange;
|
|
699
|
-
static equals(
|
|
700
|
-
a:
|
|
701
|
-
| EnumDescriptorProto_EnumReservedRange
|
|
702
|
-
| PlainMessage<EnumDescriptorProto_EnumReservedRange>
|
|
703
|
-
| undefined,
|
|
704
|
-
b:
|
|
705
|
-
| EnumDescriptorProto_EnumReservedRange
|
|
706
|
-
| PlainMessage<EnumDescriptorProto_EnumReservedRange>
|
|
707
|
-
| undefined
|
|
708
|
-
): boolean;
|
|
543
|
+
/**
|
|
544
|
+
* Inclusive.
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: optional int32 start = 1;
|
|
547
|
+
*/
|
|
548
|
+
start?: number;
|
|
549
|
+
/**
|
|
550
|
+
* Inclusive.
|
|
551
|
+
*
|
|
552
|
+
* @generated from field: optional int32 end = 2;
|
|
553
|
+
*/
|
|
554
|
+
end?: number;
|
|
555
|
+
constructor(data?: PartialMessage<EnumDescriptorProto_EnumReservedRange>);
|
|
556
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
557
|
+
static readonly typeName = "google.protobuf.EnumDescriptorProto.EnumReservedRange";
|
|
558
|
+
static readonly fields: FieldList;
|
|
559
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
560
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
561
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
562
|
+
static equals(a: EnumDescriptorProto_EnumReservedRange | PlainMessage<EnumDescriptorProto_EnumReservedRange> | undefined, b: EnumDescriptorProto_EnumReservedRange | PlainMessage<EnumDescriptorProto_EnumReservedRange> | undefined): boolean;
|
|
709
563
|
}
|
|
710
564
|
/**
|
|
711
565
|
* Describes a value within an enum.
|
|
@@ -713,44 +567,26 @@ export declare class EnumDescriptorProto_EnumReservedRange extends Message<EnumD
|
|
|
713
567
|
* @generated from message google.protobuf.EnumValueDescriptorProto
|
|
714
568
|
*/
|
|
715
569
|
export declare class EnumValueDescriptorProto extends Message<EnumValueDescriptorProto> {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
options?: Partial<
|
|
735
|
-
|
|
736
|
-
static fromJson(
|
|
737
|
-
jsonValue: JsonValue,
|
|
738
|
-
options?: Partial<JsonReadOptions>
|
|
739
|
-
): EnumValueDescriptorProto;
|
|
740
|
-
static fromJsonString(
|
|
741
|
-
jsonString: string,
|
|
742
|
-
options?: Partial<JsonReadOptions>
|
|
743
|
-
): EnumValueDescriptorProto;
|
|
744
|
-
static equals(
|
|
745
|
-
a:
|
|
746
|
-
| EnumValueDescriptorProto
|
|
747
|
-
| PlainMessage<EnumValueDescriptorProto>
|
|
748
|
-
| undefined,
|
|
749
|
-
b:
|
|
750
|
-
| EnumValueDescriptorProto
|
|
751
|
-
| PlainMessage<EnumValueDescriptorProto>
|
|
752
|
-
| undefined
|
|
753
|
-
): boolean;
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: optional string name = 1;
|
|
572
|
+
*/
|
|
573
|
+
name?: string;
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: optional int32 number = 2;
|
|
576
|
+
*/
|
|
577
|
+
number?: number;
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: optional google.protobuf.EnumValueOptions options = 3;
|
|
580
|
+
*/
|
|
581
|
+
options?: EnumValueOptions;
|
|
582
|
+
constructor(data?: PartialMessage<EnumValueDescriptorProto>);
|
|
583
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
584
|
+
static readonly typeName = "google.protobuf.EnumValueDescriptorProto";
|
|
585
|
+
static readonly fields: FieldList;
|
|
586
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumValueDescriptorProto;
|
|
587
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumValueDescriptorProto;
|
|
588
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumValueDescriptorProto;
|
|
589
|
+
static equals(a: EnumValueDescriptorProto | PlainMessage<EnumValueDescriptorProto> | undefined, b: EnumValueDescriptorProto | PlainMessage<EnumValueDescriptorProto> | undefined): boolean;
|
|
754
590
|
}
|
|
755
591
|
/**
|
|
756
592
|
* Describes a service.
|
|
@@ -758,41 +594,26 @@ export declare class EnumValueDescriptorProto extends Message<EnumValueDescripto
|
|
|
758
594
|
* @generated from message google.protobuf.ServiceDescriptorProto
|
|
759
595
|
*/
|
|
760
596
|
export declare class ServiceDescriptorProto extends Message<ServiceDescriptorProto> {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
options?: Partial<
|
|
780
|
-
|
|
781
|
-
static fromJson(
|
|
782
|
-
jsonValue: JsonValue,
|
|
783
|
-
options?: Partial<JsonReadOptions>
|
|
784
|
-
): ServiceDescriptorProto;
|
|
785
|
-
static fromJsonString(
|
|
786
|
-
jsonString: string,
|
|
787
|
-
options?: Partial<JsonReadOptions>
|
|
788
|
-
): ServiceDescriptorProto;
|
|
789
|
-
static equals(
|
|
790
|
-
a:
|
|
791
|
-
| ServiceDescriptorProto
|
|
792
|
-
| PlainMessage<ServiceDescriptorProto>
|
|
793
|
-
| undefined,
|
|
794
|
-
b: ServiceDescriptorProto | PlainMessage<ServiceDescriptorProto> | undefined
|
|
795
|
-
): boolean;
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: optional string name = 1;
|
|
599
|
+
*/
|
|
600
|
+
name?: string;
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2;
|
|
603
|
+
*/
|
|
604
|
+
method: MethodDescriptorProto[];
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: optional google.protobuf.ServiceOptions options = 3;
|
|
607
|
+
*/
|
|
608
|
+
options?: ServiceOptions;
|
|
609
|
+
constructor(data?: PartialMessage<ServiceDescriptorProto>);
|
|
610
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
611
|
+
static readonly typeName = "google.protobuf.ServiceDescriptorProto";
|
|
612
|
+
static readonly fields: FieldList;
|
|
613
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceDescriptorProto;
|
|
614
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceDescriptorProto;
|
|
615
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceDescriptorProto;
|
|
616
|
+
static equals(a: ServiceDescriptorProto | PlainMessage<ServiceDescriptorProto> | undefined, b: ServiceDescriptorProto | PlainMessage<ServiceDescriptorProto> | undefined): boolean;
|
|
796
617
|
}
|
|
797
618
|
/**
|
|
798
619
|
* Describes a method of a service.
|
|
@@ -800,247 +621,223 @@ export declare class ServiceDescriptorProto extends Message<ServiceDescriptorPro
|
|
|
800
621
|
* @generated from message google.protobuf.MethodDescriptorProto
|
|
801
622
|
*/
|
|
802
623
|
export declare class MethodDescriptorProto extends Message<MethodDescriptorProto> {
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
options?: Partial<
|
|
841
|
-
|
|
842
|
-
static fromJson(
|
|
843
|
-
jsonValue: JsonValue,
|
|
844
|
-
options?: Partial<JsonReadOptions>
|
|
845
|
-
): MethodDescriptorProto;
|
|
846
|
-
static fromJsonString(
|
|
847
|
-
jsonString: string,
|
|
848
|
-
options?: Partial<JsonReadOptions>
|
|
849
|
-
): MethodDescriptorProto;
|
|
850
|
-
static equals(
|
|
851
|
-
a: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined,
|
|
852
|
-
b: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined
|
|
853
|
-
): boolean;
|
|
624
|
+
/**
|
|
625
|
+
* @generated from field: optional string name = 1;
|
|
626
|
+
*/
|
|
627
|
+
name?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Input and output type names. These are resolved in the same way as
|
|
630
|
+
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
631
|
+
*
|
|
632
|
+
* @generated from field: optional string input_type = 2;
|
|
633
|
+
*/
|
|
634
|
+
inputType?: string;
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: optional string output_type = 3;
|
|
637
|
+
*/
|
|
638
|
+
outputType?: string;
|
|
639
|
+
/**
|
|
640
|
+
* @generated from field: optional google.protobuf.MethodOptions options = 4;
|
|
641
|
+
*/
|
|
642
|
+
options?: MethodOptions;
|
|
643
|
+
/**
|
|
644
|
+
* Identifies if client streams multiple client messages
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: optional bool client_streaming = 5 [default = false];
|
|
647
|
+
*/
|
|
648
|
+
clientStreaming?: boolean;
|
|
649
|
+
/**
|
|
650
|
+
* Identifies if server streams multiple server messages
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: optional bool server_streaming = 6 [default = false];
|
|
653
|
+
*/
|
|
654
|
+
serverStreaming?: boolean;
|
|
655
|
+
constructor(data?: PartialMessage<MethodDescriptorProto>);
|
|
656
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
657
|
+
static readonly typeName = "google.protobuf.MethodDescriptorProto";
|
|
658
|
+
static readonly fields: FieldList;
|
|
659
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MethodDescriptorProto;
|
|
660
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MethodDescriptorProto;
|
|
661
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MethodDescriptorProto;
|
|
662
|
+
static equals(a: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined, b: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined): boolean;
|
|
854
663
|
}
|
|
855
664
|
/**
|
|
856
665
|
* @generated from message google.protobuf.FileOptions
|
|
857
666
|
*/
|
|
858
667
|
export declare class FileOptions extends Message<FileOptions> {
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
options?: Partial<
|
|
1031
|
-
|
|
1032
|
-
static fromJson(
|
|
1033
|
-
jsonValue: JsonValue,
|
|
1034
|
-
options?: Partial<JsonReadOptions>
|
|
1035
|
-
): FileOptions;
|
|
1036
|
-
static fromJsonString(
|
|
1037
|
-
jsonString: string,
|
|
1038
|
-
options?: Partial<JsonReadOptions>
|
|
1039
|
-
): FileOptions;
|
|
1040
|
-
static equals(
|
|
1041
|
-
a: FileOptions | PlainMessage<FileOptions> | undefined,
|
|
1042
|
-
b: FileOptions | PlainMessage<FileOptions> | undefined
|
|
1043
|
-
): boolean;
|
|
668
|
+
/**
|
|
669
|
+
* Sets the Java package where classes generated from this .proto will be
|
|
670
|
+
* placed. By default, the proto package is used, but this is often
|
|
671
|
+
* inappropriate because proto packages do not normally start with backwards
|
|
672
|
+
* domain names.
|
|
673
|
+
*
|
|
674
|
+
* @generated from field: optional string java_package = 1;
|
|
675
|
+
*/
|
|
676
|
+
javaPackage?: string;
|
|
677
|
+
/**
|
|
678
|
+
* Controls the name of the wrapper Java class generated for the .proto file.
|
|
679
|
+
* That class will always contain the .proto file's getDescriptor() method as
|
|
680
|
+
* well as any top-level extensions defined in the .proto file.
|
|
681
|
+
* If java_multiple_files is disabled, then all the other classes from the
|
|
682
|
+
* .proto file will be nested inside the single wrapper outer class.
|
|
683
|
+
*
|
|
684
|
+
* @generated from field: optional string java_outer_classname = 8;
|
|
685
|
+
*/
|
|
686
|
+
javaOuterClassname?: string;
|
|
687
|
+
/**
|
|
688
|
+
* If enabled, then the Java code generator will generate a separate .java
|
|
689
|
+
* file for each top-level message, enum, and service defined in the .proto
|
|
690
|
+
* file. Thus, these types will *not* be nested inside the wrapper class
|
|
691
|
+
* named by java_outer_classname. However, the wrapper class will still be
|
|
692
|
+
* generated to contain the file's getDescriptor() method as well as any
|
|
693
|
+
* top-level extensions defined in the file.
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: optional bool java_multiple_files = 10 [default = false];
|
|
696
|
+
*/
|
|
697
|
+
javaMultipleFiles?: boolean;
|
|
698
|
+
/**
|
|
699
|
+
* This option does nothing.
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
702
|
+
* @deprecated
|
|
703
|
+
*/
|
|
704
|
+
javaGenerateEqualsAndHash?: boolean;
|
|
705
|
+
/**
|
|
706
|
+
* If set true, then the Java2 code generator will generate code that
|
|
707
|
+
* throws an exception whenever an attempt is made to assign a non-UTF-8
|
|
708
|
+
* byte sequence to a string field.
|
|
709
|
+
* Message reflection will do the same.
|
|
710
|
+
* However, an extension field still accepts non-UTF-8 byte sequences.
|
|
711
|
+
* This option has no effect on when used with the lite runtime.
|
|
712
|
+
*
|
|
713
|
+
* @generated from field: optional bool java_string_check_utf8 = 27 [default = false];
|
|
714
|
+
*/
|
|
715
|
+
javaStringCheckUtf8?: boolean;
|
|
716
|
+
/**
|
|
717
|
+
* @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
718
|
+
*/
|
|
719
|
+
optimizeFor?: FileOptions_OptimizeMode;
|
|
720
|
+
/**
|
|
721
|
+
* Sets the Go package where structs generated from this .proto will be
|
|
722
|
+
* placed. If omitted, the Go package will be derived from the following:
|
|
723
|
+
* - The basename of the package import path, if provided.
|
|
724
|
+
* - Otherwise, the package statement in the .proto file, if present.
|
|
725
|
+
* - Otherwise, the basename of the .proto file, without extension.
|
|
726
|
+
*
|
|
727
|
+
* @generated from field: optional string go_package = 11;
|
|
728
|
+
*/
|
|
729
|
+
goPackage?: string;
|
|
730
|
+
/**
|
|
731
|
+
* Should generic services be generated in each language? "Generic" services
|
|
732
|
+
* are not specific to any particular RPC system. They are generated by the
|
|
733
|
+
* main code generators in each language (without additional plugins).
|
|
734
|
+
* Generic services were the only kind of service generation supported by
|
|
735
|
+
* early versions of google.protobuf.
|
|
736
|
+
*
|
|
737
|
+
* Generic services are now considered deprecated in favor of using plugins
|
|
738
|
+
* that generate code specific to your particular RPC system. Therefore,
|
|
739
|
+
* these default to false. Old code which depends on generic services should
|
|
740
|
+
* explicitly set them to true.
|
|
741
|
+
*
|
|
742
|
+
* @generated from field: optional bool cc_generic_services = 16 [default = false];
|
|
743
|
+
*/
|
|
744
|
+
ccGenericServices?: boolean;
|
|
745
|
+
/**
|
|
746
|
+
* @generated from field: optional bool java_generic_services = 17 [default = false];
|
|
747
|
+
*/
|
|
748
|
+
javaGenericServices?: boolean;
|
|
749
|
+
/**
|
|
750
|
+
* @generated from field: optional bool py_generic_services = 18 [default = false];
|
|
751
|
+
*/
|
|
752
|
+
pyGenericServices?: boolean;
|
|
753
|
+
/**
|
|
754
|
+
* @generated from field: optional bool php_generic_services = 42 [default = false];
|
|
755
|
+
*/
|
|
756
|
+
phpGenericServices?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* Is this file deprecated?
|
|
759
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
760
|
+
* for everything in the file, or it will be completely ignored; in the very
|
|
761
|
+
* least, this is a formalization for deprecating files.
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: optional bool deprecated = 23 [default = false];
|
|
764
|
+
*/
|
|
765
|
+
deprecated?: boolean;
|
|
766
|
+
/**
|
|
767
|
+
* Enables the use of arenas for the proto messages in this file. This applies
|
|
768
|
+
* only to generated classes for C++.
|
|
769
|
+
*
|
|
770
|
+
* @generated from field: optional bool cc_enable_arenas = 31 [default = true];
|
|
771
|
+
*/
|
|
772
|
+
ccEnableArenas?: boolean;
|
|
773
|
+
/**
|
|
774
|
+
* Sets the objective c class prefix which is prepended to all objective c
|
|
775
|
+
* generated classes from this .proto. There is no default.
|
|
776
|
+
*
|
|
777
|
+
* @generated from field: optional string objc_class_prefix = 36;
|
|
778
|
+
*/
|
|
779
|
+
objcClassPrefix?: string;
|
|
780
|
+
/**
|
|
781
|
+
* Namespace for generated classes; defaults to the package.
|
|
782
|
+
*
|
|
783
|
+
* @generated from field: optional string csharp_namespace = 37;
|
|
784
|
+
*/
|
|
785
|
+
csharpNamespace?: string;
|
|
786
|
+
/**
|
|
787
|
+
* By default Swift generators will take the proto package and CamelCase it
|
|
788
|
+
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
789
|
+
* defined. When this options is provided, they will use this value instead
|
|
790
|
+
* to prefix the types/symbols defined.
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: optional string swift_prefix = 39;
|
|
793
|
+
*/
|
|
794
|
+
swiftPrefix?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Sets the php class prefix which is prepended to all php generated classes
|
|
797
|
+
* from this .proto. Default is empty.
|
|
798
|
+
*
|
|
799
|
+
* @generated from field: optional string php_class_prefix = 40;
|
|
800
|
+
*/
|
|
801
|
+
phpClassPrefix?: string;
|
|
802
|
+
/**
|
|
803
|
+
* Use this option to change the namespace of php generated classes. Default
|
|
804
|
+
* is empty. When this option is empty, the package name will be used for
|
|
805
|
+
* determining the namespace.
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: optional string php_namespace = 41;
|
|
808
|
+
*/
|
|
809
|
+
phpNamespace?: string;
|
|
810
|
+
/**
|
|
811
|
+
* Use this option to change the namespace of php generated metadata classes.
|
|
812
|
+
* Default is empty. When this option is empty, the proto file name will be
|
|
813
|
+
* used for determining the namespace.
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: optional string php_metadata_namespace = 44;
|
|
816
|
+
*/
|
|
817
|
+
phpMetadataNamespace?: string;
|
|
818
|
+
/**
|
|
819
|
+
* Use this option to change the package of ruby generated classes. Default
|
|
820
|
+
* is empty. When this option is not set, the package name will be used for
|
|
821
|
+
* determining the ruby package.
|
|
822
|
+
*
|
|
823
|
+
* @generated from field: optional string ruby_package = 45;
|
|
824
|
+
*/
|
|
825
|
+
rubyPackage?: string;
|
|
826
|
+
/**
|
|
827
|
+
* The parser stores options it doesn't recognize here.
|
|
828
|
+
* See the documentation for the "Options" section above.
|
|
829
|
+
*
|
|
830
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
831
|
+
*/
|
|
832
|
+
uninterpretedOption: UninterpretedOption[];
|
|
833
|
+
constructor(data?: PartialMessage<FileOptions>);
|
|
834
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
835
|
+
static readonly typeName = "google.protobuf.FileOptions";
|
|
836
|
+
static readonly fields: FieldList;
|
|
837
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileOptions;
|
|
838
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileOptions;
|
|
839
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileOptions;
|
|
840
|
+
static equals(a: FileOptions | PlainMessage<FileOptions> | undefined, b: FileOptions | PlainMessage<FileOptions> | undefined): boolean;
|
|
1044
841
|
}
|
|
1045
842
|
/**
|
|
1046
843
|
* Generated classes can be optimized for speed or code size.
|
|
@@ -1048,481 +845,397 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
1048
845
|
* @generated from enum google.protobuf.FileOptions.OptimizeMode
|
|
1049
846
|
*/
|
|
1050
847
|
export declare enum FileOptions_OptimizeMode {
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
848
|
+
/**
|
|
849
|
+
* Generate complete code for parsing, serialization,
|
|
850
|
+
*
|
|
851
|
+
* @generated from enum value: SPEED = 1;
|
|
852
|
+
*/
|
|
853
|
+
SPEED = 1,
|
|
854
|
+
/**
|
|
855
|
+
* etc.
|
|
856
|
+
*
|
|
857
|
+
* Use ReflectionOps to implement these methods.
|
|
858
|
+
*
|
|
859
|
+
* @generated from enum value: CODE_SIZE = 2;
|
|
860
|
+
*/
|
|
861
|
+
CODE_SIZE = 2,
|
|
862
|
+
/**
|
|
863
|
+
* Generate code using MessageLite and the lite runtime.
|
|
864
|
+
*
|
|
865
|
+
* @generated from enum value: LITE_RUNTIME = 3;
|
|
866
|
+
*/
|
|
867
|
+
LITE_RUNTIME = 3
|
|
1071
868
|
}
|
|
1072
869
|
/**
|
|
1073
870
|
* @generated from message google.protobuf.MessageOptions
|
|
1074
871
|
*/
|
|
1075
872
|
export declare class MessageOptions extends Message<MessageOptions> {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
options?: Partial<
|
|
1155
|
-
|
|
1156
|
-
static fromJson(
|
|
1157
|
-
jsonValue: JsonValue,
|
|
1158
|
-
options?: Partial<JsonReadOptions>
|
|
1159
|
-
): MessageOptions;
|
|
1160
|
-
static fromJsonString(
|
|
1161
|
-
jsonString: string,
|
|
1162
|
-
options?: Partial<JsonReadOptions>
|
|
1163
|
-
): MessageOptions;
|
|
1164
|
-
static equals(
|
|
1165
|
-
a: MessageOptions | PlainMessage<MessageOptions> | undefined,
|
|
1166
|
-
b: MessageOptions | PlainMessage<MessageOptions> | undefined
|
|
1167
|
-
): boolean;
|
|
873
|
+
/**
|
|
874
|
+
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
875
|
+
* This is provided for backwards-compatibility with the MessageSet wire
|
|
876
|
+
* format. You should not use this for any other reason: It's less
|
|
877
|
+
* efficient, has fewer features, and is more complicated.
|
|
878
|
+
*
|
|
879
|
+
* The message must be defined exactly as follows:
|
|
880
|
+
* message Foo {
|
|
881
|
+
* option message_set_wire_format = true;
|
|
882
|
+
* extensions 4 to max;
|
|
883
|
+
* }
|
|
884
|
+
* Note that the message cannot have any defined fields; MessageSets only
|
|
885
|
+
* have extensions.
|
|
886
|
+
*
|
|
887
|
+
* All extensions of your type must be singular messages; e.g. they cannot
|
|
888
|
+
* be int32s, enums, or repeated messages.
|
|
889
|
+
*
|
|
890
|
+
* Because this is an option, the above two restrictions are not enforced by
|
|
891
|
+
* the protocol compiler.
|
|
892
|
+
*
|
|
893
|
+
* @generated from field: optional bool message_set_wire_format = 1 [default = false];
|
|
894
|
+
*/
|
|
895
|
+
messageSetWireFormat?: boolean;
|
|
896
|
+
/**
|
|
897
|
+
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
898
|
+
* conflict with a field of the same name. This is meant to make migration
|
|
899
|
+
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
902
|
+
*/
|
|
903
|
+
noStandardDescriptorAccessor?: boolean;
|
|
904
|
+
/**
|
|
905
|
+
* Is this message deprecated?
|
|
906
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
907
|
+
* for the message, or it will be completely ignored; in the very least,
|
|
908
|
+
* this is a formalization for deprecating messages.
|
|
909
|
+
*
|
|
910
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
911
|
+
*/
|
|
912
|
+
deprecated?: boolean;
|
|
913
|
+
/**
|
|
914
|
+
* Whether the message is an automatically generated map entry type for the
|
|
915
|
+
* maps field.
|
|
916
|
+
*
|
|
917
|
+
* For maps fields:
|
|
918
|
+
* map<KeyType, ValueType> map_field = 1;
|
|
919
|
+
* The parsed descriptor looks like:
|
|
920
|
+
* message MapFieldEntry {
|
|
921
|
+
* option map_entry = true;
|
|
922
|
+
* optional KeyType key = 1;
|
|
923
|
+
* optional ValueType value = 2;
|
|
924
|
+
* }
|
|
925
|
+
* repeated MapFieldEntry map_field = 1;
|
|
926
|
+
*
|
|
927
|
+
* Implementations may choose not to generate the map_entry=true message, but
|
|
928
|
+
* use a native map in the target language to hold the keys and values.
|
|
929
|
+
* The reflection APIs in such implementations still need to work as
|
|
930
|
+
* if the field is a repeated message field.
|
|
931
|
+
*
|
|
932
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
|
933
|
+
* instead. The option should only be implicitly set by the proto compiler
|
|
934
|
+
* parser.
|
|
935
|
+
*
|
|
936
|
+
* @generated from field: optional bool map_entry = 7;
|
|
937
|
+
*/
|
|
938
|
+
mapEntry?: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
941
|
+
*
|
|
942
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
943
|
+
*/
|
|
944
|
+
uninterpretedOption: UninterpretedOption[];
|
|
945
|
+
constructor(data?: PartialMessage<MessageOptions>);
|
|
946
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
947
|
+
static readonly typeName = "google.protobuf.MessageOptions";
|
|
948
|
+
static readonly fields: FieldList;
|
|
949
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MessageOptions;
|
|
950
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MessageOptions;
|
|
951
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MessageOptions;
|
|
952
|
+
static equals(a: MessageOptions | PlainMessage<MessageOptions> | undefined, b: MessageOptions | PlainMessage<MessageOptions> | undefined): boolean;
|
|
1168
953
|
}
|
|
1169
954
|
/**
|
|
1170
955
|
* @generated from message google.protobuf.FieldOptions
|
|
1171
956
|
*/
|
|
1172
957
|
export declare class FieldOptions extends Message<FieldOptions> {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
options?: Partial<
|
|
1269
|
-
|
|
1270
|
-
static fromJson(
|
|
1271
|
-
jsonValue: JsonValue,
|
|
1272
|
-
options?: Partial<JsonReadOptions>
|
|
1273
|
-
): FieldOptions;
|
|
1274
|
-
static fromJsonString(
|
|
1275
|
-
jsonString: string,
|
|
1276
|
-
options?: Partial<JsonReadOptions>
|
|
1277
|
-
): FieldOptions;
|
|
1278
|
-
static equals(
|
|
1279
|
-
a: FieldOptions | PlainMessage<FieldOptions> | undefined,
|
|
1280
|
-
b: FieldOptions | PlainMessage<FieldOptions> | undefined
|
|
1281
|
-
): boolean;
|
|
958
|
+
/**
|
|
959
|
+
* The ctype option instructs the C++ code generator to use a different
|
|
960
|
+
* representation of the field than it normally would. See the specific
|
|
961
|
+
* options below. This option is not yet implemented in the open source
|
|
962
|
+
* release -- sorry, we'll try to include it in a future version!
|
|
963
|
+
*
|
|
964
|
+
* @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
965
|
+
*/
|
|
966
|
+
ctype?: FieldOptions_CType;
|
|
967
|
+
/**
|
|
968
|
+
* The packed option can be enabled for repeated primitive fields to enable
|
|
969
|
+
* a more efficient representation on the wire. Rather than repeatedly
|
|
970
|
+
* writing the tag and type for each element, the entire array is encoded as
|
|
971
|
+
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
972
|
+
* false will avoid using packed encoding.
|
|
973
|
+
*
|
|
974
|
+
* @generated from field: optional bool packed = 2;
|
|
975
|
+
*/
|
|
976
|
+
packed?: boolean;
|
|
977
|
+
/**
|
|
978
|
+
* The jstype option determines the JavaScript type used for values of the
|
|
979
|
+
* field. The option is permitted only for 64 bit integral and fixed types
|
|
980
|
+
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
|
981
|
+
* is represented as JavaScript string, which avoids loss of precision that
|
|
982
|
+
* can happen when a large value is converted to a floating point JavaScript.
|
|
983
|
+
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
|
984
|
+
* use the JavaScript "number" type. The behavior of the default option
|
|
985
|
+
* JS_NORMAL is implementation dependent.
|
|
986
|
+
*
|
|
987
|
+
* This option is an enum to permit additional types to be added, e.g.
|
|
988
|
+
* goog.math.Integer.
|
|
989
|
+
*
|
|
990
|
+
* @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
991
|
+
*/
|
|
992
|
+
jstype?: FieldOptions_JSType;
|
|
993
|
+
/**
|
|
994
|
+
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
995
|
+
* fields. It means that when the outer message is initially parsed, the
|
|
996
|
+
* inner message's contents will not be parsed but instead stored in encoded
|
|
997
|
+
* form. The inner message will actually be parsed when it is first accessed.
|
|
998
|
+
*
|
|
999
|
+
* This is only a hint. Implementations are free to choose whether to use
|
|
1000
|
+
* eager or lazy parsing regardless of the value of this option. However,
|
|
1001
|
+
* setting this option true suggests that the protocol author believes that
|
|
1002
|
+
* using lazy parsing on this field is worth the additional bookkeeping
|
|
1003
|
+
* overhead typically needed to implement it.
|
|
1004
|
+
*
|
|
1005
|
+
* This option does not affect the public interface of any generated code;
|
|
1006
|
+
* all method signatures remain the same. Furthermore, thread-safety of the
|
|
1007
|
+
* interface is not affected by this option; const methods remain safe to
|
|
1008
|
+
* call from multiple threads concurrently, while non-const methods continue
|
|
1009
|
+
* to require exclusive access.
|
|
1010
|
+
*
|
|
1011
|
+
*
|
|
1012
|
+
* Note that implementations may choose not to check required fields within
|
|
1013
|
+
* a lazy sub-message. That is, calling IsInitialized() on the outer message
|
|
1014
|
+
* may return true even if the inner message has missing required fields.
|
|
1015
|
+
* This is necessary because otherwise the inner message would have to be
|
|
1016
|
+
* parsed in order to perform the check, defeating the purpose of lazy
|
|
1017
|
+
* parsing. An implementation which chooses not to check required fields
|
|
1018
|
+
* must be consistent about it. That is, for any particular sub-message, the
|
|
1019
|
+
* implementation must either *always* check its required fields, or *never*
|
|
1020
|
+
* check its required fields, regardless of whether or not the message has
|
|
1021
|
+
* been parsed.
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from field: optional bool lazy = 5 [default = false];
|
|
1024
|
+
*/
|
|
1025
|
+
lazy?: boolean;
|
|
1026
|
+
/**
|
|
1027
|
+
* Is this field deprecated?
|
|
1028
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1029
|
+
* for accessors, or it will be completely ignored; in the very least, this
|
|
1030
|
+
* is a formalization for deprecating fields.
|
|
1031
|
+
*
|
|
1032
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1033
|
+
*/
|
|
1034
|
+
deprecated?: boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* For Google-internal migration only. Do not use.
|
|
1037
|
+
*
|
|
1038
|
+
* @generated from field: optional bool weak = 10 [default = false];
|
|
1039
|
+
*/
|
|
1040
|
+
weak?: boolean;
|
|
1041
|
+
/**
|
|
1042
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1043
|
+
*
|
|
1044
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1045
|
+
*/
|
|
1046
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1047
|
+
constructor(data?: PartialMessage<FieldOptions>);
|
|
1048
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1049
|
+
static readonly typeName = "google.protobuf.FieldOptions";
|
|
1050
|
+
static readonly fields: FieldList;
|
|
1051
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldOptions;
|
|
1052
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldOptions;
|
|
1053
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldOptions;
|
|
1054
|
+
static equals(a: FieldOptions | PlainMessage<FieldOptions> | undefined, b: FieldOptions | PlainMessage<FieldOptions> | undefined): boolean;
|
|
1282
1055
|
}
|
|
1283
1056
|
/**
|
|
1284
1057
|
* @generated from enum google.protobuf.FieldOptions.CType
|
|
1285
1058
|
*/
|
|
1286
1059
|
export declare enum FieldOptions_CType {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1060
|
+
/**
|
|
1061
|
+
* Default mode.
|
|
1062
|
+
*
|
|
1063
|
+
* @generated from enum value: STRING = 0;
|
|
1064
|
+
*/
|
|
1065
|
+
STRING = 0,
|
|
1066
|
+
/**
|
|
1067
|
+
* @generated from enum value: CORD = 1;
|
|
1068
|
+
*/
|
|
1069
|
+
CORD = 1,
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from enum value: STRING_PIECE = 2;
|
|
1072
|
+
*/
|
|
1073
|
+
STRING_PIECE = 2
|
|
1301
1074
|
}
|
|
1302
1075
|
/**
|
|
1303
1076
|
* @generated from enum google.protobuf.FieldOptions.JSType
|
|
1304
1077
|
*/
|
|
1305
1078
|
export declare enum FieldOptions_JSType {
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1079
|
+
/**
|
|
1080
|
+
* Use the default type.
|
|
1081
|
+
*
|
|
1082
|
+
* @generated from enum value: JS_NORMAL = 0;
|
|
1083
|
+
*/
|
|
1084
|
+
JS_NORMAL = 0,
|
|
1085
|
+
/**
|
|
1086
|
+
* Use JavaScript strings.
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from enum value: JS_STRING = 1;
|
|
1089
|
+
*/
|
|
1090
|
+
JS_STRING = 1,
|
|
1091
|
+
/**
|
|
1092
|
+
* Use JavaScript numbers.
|
|
1093
|
+
*
|
|
1094
|
+
* @generated from enum value: JS_NUMBER = 2;
|
|
1095
|
+
*/
|
|
1096
|
+
JS_NUMBER = 2
|
|
1324
1097
|
}
|
|
1325
1098
|
/**
|
|
1326
1099
|
* @generated from message google.protobuf.OneofOptions
|
|
1327
1100
|
*/
|
|
1328
1101
|
export declare class OneofOptions extends Message<OneofOptions> {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
options?: Partial<
|
|
1342
|
-
|
|
1343
|
-
static fromJson(
|
|
1344
|
-
jsonValue: JsonValue,
|
|
1345
|
-
options?: Partial<JsonReadOptions>
|
|
1346
|
-
): OneofOptions;
|
|
1347
|
-
static fromJsonString(
|
|
1348
|
-
jsonString: string,
|
|
1349
|
-
options?: Partial<JsonReadOptions>
|
|
1350
|
-
): OneofOptions;
|
|
1351
|
-
static equals(
|
|
1352
|
-
a: OneofOptions | PlainMessage<OneofOptions> | undefined,
|
|
1353
|
-
b: OneofOptions | PlainMessage<OneofOptions> | undefined
|
|
1354
|
-
): boolean;
|
|
1102
|
+
/**
|
|
1103
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1104
|
+
*
|
|
1105
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1106
|
+
*/
|
|
1107
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1108
|
+
constructor(data?: PartialMessage<OneofOptions>);
|
|
1109
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1110
|
+
static readonly typeName = "google.protobuf.OneofOptions";
|
|
1111
|
+
static readonly fields: FieldList;
|
|
1112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OneofOptions;
|
|
1113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OneofOptions;
|
|
1114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OneofOptions;
|
|
1115
|
+
static equals(a: OneofOptions | PlainMessage<OneofOptions> | undefined, b: OneofOptions | PlainMessage<OneofOptions> | undefined): boolean;
|
|
1355
1116
|
}
|
|
1356
1117
|
/**
|
|
1357
1118
|
* @generated from message google.protobuf.EnumOptions
|
|
1358
1119
|
*/
|
|
1359
1120
|
export declare class EnumOptions extends Message<EnumOptions> {
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
options?: Partial<
|
|
1389
|
-
|
|
1390
|
-
static fromJson(
|
|
1391
|
-
jsonValue: JsonValue,
|
|
1392
|
-
options?: Partial<JsonReadOptions>
|
|
1393
|
-
): EnumOptions;
|
|
1394
|
-
static fromJsonString(
|
|
1395
|
-
jsonString: string,
|
|
1396
|
-
options?: Partial<JsonReadOptions>
|
|
1397
|
-
): EnumOptions;
|
|
1398
|
-
static equals(
|
|
1399
|
-
a: EnumOptions | PlainMessage<EnumOptions> | undefined,
|
|
1400
|
-
b: EnumOptions | PlainMessage<EnumOptions> | undefined
|
|
1401
|
-
): boolean;
|
|
1121
|
+
/**
|
|
1122
|
+
* Set this option to true to allow mapping different tag names to the same
|
|
1123
|
+
* value.
|
|
1124
|
+
*
|
|
1125
|
+
* @generated from field: optional bool allow_alias = 2;
|
|
1126
|
+
*/
|
|
1127
|
+
allowAlias?: boolean;
|
|
1128
|
+
/**
|
|
1129
|
+
* Is this enum deprecated?
|
|
1130
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1131
|
+
* for the enum, or it will be completely ignored; in the very least, this
|
|
1132
|
+
* is a formalization for deprecating enums.
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1135
|
+
*/
|
|
1136
|
+
deprecated?: boolean;
|
|
1137
|
+
/**
|
|
1138
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1139
|
+
*
|
|
1140
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1141
|
+
*/
|
|
1142
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1143
|
+
constructor(data?: PartialMessage<EnumOptions>);
|
|
1144
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1145
|
+
static readonly typeName = "google.protobuf.EnumOptions";
|
|
1146
|
+
static readonly fields: FieldList;
|
|
1147
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumOptions;
|
|
1148
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumOptions;
|
|
1149
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumOptions;
|
|
1150
|
+
static equals(a: EnumOptions | PlainMessage<EnumOptions> | undefined, b: EnumOptions | PlainMessage<EnumOptions> | undefined): boolean;
|
|
1402
1151
|
}
|
|
1403
1152
|
/**
|
|
1404
1153
|
* @generated from message google.protobuf.EnumValueOptions
|
|
1405
1154
|
*/
|
|
1406
1155
|
export declare class EnumValueOptions extends Message<EnumValueOptions> {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
options?: Partial<
|
|
1429
|
-
|
|
1430
|
-
static fromJson(
|
|
1431
|
-
jsonValue: JsonValue,
|
|
1432
|
-
options?: Partial<JsonReadOptions>
|
|
1433
|
-
): EnumValueOptions;
|
|
1434
|
-
static fromJsonString(
|
|
1435
|
-
jsonString: string,
|
|
1436
|
-
options?: Partial<JsonReadOptions>
|
|
1437
|
-
): EnumValueOptions;
|
|
1438
|
-
static equals(
|
|
1439
|
-
a: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined,
|
|
1440
|
-
b: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined
|
|
1441
|
-
): boolean;
|
|
1156
|
+
/**
|
|
1157
|
+
* Is this enum value deprecated?
|
|
1158
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1159
|
+
* for the enum value, or it will be completely ignored; in the very least,
|
|
1160
|
+
* this is a formalization for deprecating enum values.
|
|
1161
|
+
*
|
|
1162
|
+
* @generated from field: optional bool deprecated = 1 [default = false];
|
|
1163
|
+
*/
|
|
1164
|
+
deprecated?: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1167
|
+
*
|
|
1168
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1169
|
+
*/
|
|
1170
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1171
|
+
constructor(data?: PartialMessage<EnumValueOptions>);
|
|
1172
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1173
|
+
static readonly typeName = "google.protobuf.EnumValueOptions";
|
|
1174
|
+
static readonly fields: FieldList;
|
|
1175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumValueOptions;
|
|
1176
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumValueOptions;
|
|
1177
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumValueOptions;
|
|
1178
|
+
static equals(a: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined, b: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined): boolean;
|
|
1442
1179
|
}
|
|
1443
1180
|
/**
|
|
1444
1181
|
* @generated from message google.protobuf.ServiceOptions
|
|
1445
1182
|
*/
|
|
1446
1183
|
export declare class ServiceOptions extends Message<ServiceOptions> {
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
options?: Partial<
|
|
1469
|
-
|
|
1470
|
-
static fromJson(
|
|
1471
|
-
jsonValue: JsonValue,
|
|
1472
|
-
options?: Partial<JsonReadOptions>
|
|
1473
|
-
): ServiceOptions;
|
|
1474
|
-
static fromJsonString(
|
|
1475
|
-
jsonString: string,
|
|
1476
|
-
options?: Partial<JsonReadOptions>
|
|
1477
|
-
): ServiceOptions;
|
|
1478
|
-
static equals(
|
|
1479
|
-
a: ServiceOptions | PlainMessage<ServiceOptions> | undefined,
|
|
1480
|
-
b: ServiceOptions | PlainMessage<ServiceOptions> | undefined
|
|
1481
|
-
): boolean;
|
|
1184
|
+
/**
|
|
1185
|
+
* Is this service deprecated?
|
|
1186
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1187
|
+
* for the service, or it will be completely ignored; in the very least,
|
|
1188
|
+
* this is a formalization for deprecating services.
|
|
1189
|
+
*
|
|
1190
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1191
|
+
*/
|
|
1192
|
+
deprecated?: boolean;
|
|
1193
|
+
/**
|
|
1194
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1195
|
+
*
|
|
1196
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1197
|
+
*/
|
|
1198
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1199
|
+
constructor(data?: PartialMessage<ServiceOptions>);
|
|
1200
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1201
|
+
static readonly typeName = "google.protobuf.ServiceOptions";
|
|
1202
|
+
static readonly fields: FieldList;
|
|
1203
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceOptions;
|
|
1204
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceOptions;
|
|
1205
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceOptions;
|
|
1206
|
+
static equals(a: ServiceOptions | PlainMessage<ServiceOptions> | undefined, b: ServiceOptions | PlainMessage<ServiceOptions> | undefined): boolean;
|
|
1482
1207
|
}
|
|
1483
1208
|
/**
|
|
1484
1209
|
* @generated from message google.protobuf.MethodOptions
|
|
1485
1210
|
*/
|
|
1486
1211
|
export declare class MethodOptions extends Message<MethodOptions> {
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
options?: Partial<
|
|
1513
|
-
|
|
1514
|
-
static fromJson(
|
|
1515
|
-
jsonValue: JsonValue,
|
|
1516
|
-
options?: Partial<JsonReadOptions>
|
|
1517
|
-
): MethodOptions;
|
|
1518
|
-
static fromJsonString(
|
|
1519
|
-
jsonString: string,
|
|
1520
|
-
options?: Partial<JsonReadOptions>
|
|
1521
|
-
): MethodOptions;
|
|
1522
|
-
static equals(
|
|
1523
|
-
a: MethodOptions | PlainMessage<MethodOptions> | undefined,
|
|
1524
|
-
b: MethodOptions | PlainMessage<MethodOptions> | undefined
|
|
1525
|
-
): boolean;
|
|
1212
|
+
/**
|
|
1213
|
+
* Is this method deprecated?
|
|
1214
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1215
|
+
* for the method, or it will be completely ignored; in the very least,
|
|
1216
|
+
* this is a formalization for deprecating methods.
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1219
|
+
*/
|
|
1220
|
+
deprecated?: boolean;
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
1223
|
+
*/
|
|
1224
|
+
idempotencyLevel?: MethodOptions_IdempotencyLevel;
|
|
1225
|
+
/**
|
|
1226
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1227
|
+
*
|
|
1228
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1229
|
+
*/
|
|
1230
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1231
|
+
constructor(data?: PartialMessage<MethodOptions>);
|
|
1232
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1233
|
+
static readonly typeName = "google.protobuf.MethodOptions";
|
|
1234
|
+
static readonly fields: FieldList;
|
|
1235
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MethodOptions;
|
|
1236
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MethodOptions;
|
|
1237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MethodOptions;
|
|
1238
|
+
static equals(a: MethodOptions | PlainMessage<MethodOptions> | undefined, b: MethodOptions | PlainMessage<MethodOptions> | undefined): boolean;
|
|
1526
1239
|
}
|
|
1527
1240
|
/**
|
|
1528
1241
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
@@ -1532,22 +1245,22 @@ export declare class MethodOptions extends Message<MethodOptions> {
|
|
|
1532
1245
|
* @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
|
|
1533
1246
|
*/
|
|
1534
1247
|
export declare enum MethodOptions_IdempotencyLevel {
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from enum value: IDEMPOTENCY_UNKNOWN = 0;
|
|
1250
|
+
*/
|
|
1251
|
+
IDEMPOTENCY_UNKNOWN = 0,
|
|
1252
|
+
/**
|
|
1253
|
+
* implies idempotent
|
|
1254
|
+
*
|
|
1255
|
+
* @generated from enum value: NO_SIDE_EFFECTS = 1;
|
|
1256
|
+
*/
|
|
1257
|
+
NO_SIDE_EFFECTS = 1,
|
|
1258
|
+
/**
|
|
1259
|
+
* idempotent, but may have side effects
|
|
1260
|
+
*
|
|
1261
|
+
* @generated from enum value: IDEMPOTENT = 2;
|
|
1262
|
+
*/
|
|
1263
|
+
IDEMPOTENT = 2
|
|
1551
1264
|
}
|
|
1552
1265
|
/**
|
|
1553
1266
|
* A message representing a option the parser does not recognize. This only
|
|
@@ -1560,57 +1273,45 @@ export declare enum MethodOptions_IdempotencyLevel {
|
|
|
1560
1273
|
* @generated from message google.protobuf.UninterpretedOption
|
|
1561
1274
|
*/
|
|
1562
1275
|
export declare class UninterpretedOption extends Message<UninterpretedOption> {
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
options?: Partial<
|
|
1601
|
-
|
|
1602
|
-
static fromJson(
|
|
1603
|
-
jsonValue: JsonValue,
|
|
1604
|
-
options?: Partial<JsonReadOptions>
|
|
1605
|
-
): UninterpretedOption;
|
|
1606
|
-
static fromJsonString(
|
|
1607
|
-
jsonString: string,
|
|
1608
|
-
options?: Partial<JsonReadOptions>
|
|
1609
|
-
): UninterpretedOption;
|
|
1610
|
-
static equals(
|
|
1611
|
-
a: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined,
|
|
1612
|
-
b: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined
|
|
1613
|
-
): boolean;
|
|
1276
|
+
/**
|
|
1277
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
1278
|
+
*/
|
|
1279
|
+
name: UninterpretedOption_NamePart[];
|
|
1280
|
+
/**
|
|
1281
|
+
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
1282
|
+
* identified it as during parsing. Exactly one of these should be set.
|
|
1283
|
+
*
|
|
1284
|
+
* @generated from field: optional string identifier_value = 3;
|
|
1285
|
+
*/
|
|
1286
|
+
identifierValue?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* @generated from field: optional uint64 positive_int_value = 4;
|
|
1289
|
+
*/
|
|
1290
|
+
positiveIntValue?: bigint;
|
|
1291
|
+
/**
|
|
1292
|
+
* @generated from field: optional int64 negative_int_value = 5;
|
|
1293
|
+
*/
|
|
1294
|
+
negativeIntValue?: bigint;
|
|
1295
|
+
/**
|
|
1296
|
+
* @generated from field: optional double double_value = 6;
|
|
1297
|
+
*/
|
|
1298
|
+
doubleValue?: number;
|
|
1299
|
+
/**
|
|
1300
|
+
* @generated from field: optional bytes string_value = 7;
|
|
1301
|
+
*/
|
|
1302
|
+
stringValue?: Uint8Array;
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from field: optional string aggregate_value = 8;
|
|
1305
|
+
*/
|
|
1306
|
+
aggregateValue?: string;
|
|
1307
|
+
constructor(data?: PartialMessage<UninterpretedOption>);
|
|
1308
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1309
|
+
static readonly typeName = "google.protobuf.UninterpretedOption";
|
|
1310
|
+
static readonly fields: FieldList;
|
|
1311
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UninterpretedOption;
|
|
1312
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UninterpretedOption;
|
|
1313
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UninterpretedOption;
|
|
1314
|
+
static equals(a: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined, b: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined): boolean;
|
|
1614
1315
|
}
|
|
1615
1316
|
/**
|
|
1616
1317
|
* The name of the uninterpreted option. Each string represents a segment in
|
|
@@ -1622,40 +1323,22 @@ export declare class UninterpretedOption extends Message<UninterpretedOption> {
|
|
|
1622
1323
|
* @generated from message google.protobuf.UninterpretedOption.NamePart
|
|
1623
1324
|
*/
|
|
1624
1325
|
export declare class UninterpretedOption_NamePart extends Message<UninterpretedOption_NamePart> {
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
options?: Partial<
|
|
1640
|
-
|
|
1641
|
-
static fromJson(
|
|
1642
|
-
jsonValue: JsonValue,
|
|
1643
|
-
options?: Partial<JsonReadOptions>
|
|
1644
|
-
): UninterpretedOption_NamePart;
|
|
1645
|
-
static fromJsonString(
|
|
1646
|
-
jsonString: string,
|
|
1647
|
-
options?: Partial<JsonReadOptions>
|
|
1648
|
-
): UninterpretedOption_NamePart;
|
|
1649
|
-
static equals(
|
|
1650
|
-
a:
|
|
1651
|
-
| UninterpretedOption_NamePart
|
|
1652
|
-
| PlainMessage<UninterpretedOption_NamePart>
|
|
1653
|
-
| undefined,
|
|
1654
|
-
b:
|
|
1655
|
-
| UninterpretedOption_NamePart
|
|
1656
|
-
| PlainMessage<UninterpretedOption_NamePart>
|
|
1657
|
-
| undefined
|
|
1658
|
-
): boolean;
|
|
1326
|
+
/**
|
|
1327
|
+
* @generated from field: required string name_part = 1;
|
|
1328
|
+
*/
|
|
1329
|
+
namePart?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* @generated from field: required bool is_extension = 2;
|
|
1332
|
+
*/
|
|
1333
|
+
isExtension?: boolean;
|
|
1334
|
+
constructor(data?: PartialMessage<UninterpretedOption_NamePart>);
|
|
1335
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1336
|
+
static readonly typeName = "google.protobuf.UninterpretedOption.NamePart";
|
|
1337
|
+
static readonly fields: FieldList;
|
|
1338
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UninterpretedOption_NamePart;
|
|
1339
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UninterpretedOption_NamePart;
|
|
1340
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UninterpretedOption_NamePart;
|
|
1341
|
+
static equals(a: UninterpretedOption_NamePart | PlainMessage<UninterpretedOption_NamePart> | undefined, b: UninterpretedOption_NamePart | PlainMessage<UninterpretedOption_NamePart> | undefined): boolean;
|
|
1659
1342
|
}
|
|
1660
1343
|
/**
|
|
1661
1344
|
* Encapsulates information about the original source file from which a
|
|
@@ -1664,203 +1347,173 @@ export declare class UninterpretedOption_NamePart extends Message<UninterpretedO
|
|
|
1664
1347
|
* @generated from message google.protobuf.SourceCodeInfo
|
|
1665
1348
|
*/
|
|
1666
1349
|
export declare class SourceCodeInfo extends Message<SourceCodeInfo> {
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
options?: Partial<
|
|
1722
|
-
|
|
1723
|
-
static fromJson(
|
|
1724
|
-
jsonValue: JsonValue,
|
|
1725
|
-
options?: Partial<JsonReadOptions>
|
|
1726
|
-
): SourceCodeInfo;
|
|
1727
|
-
static fromJsonString(
|
|
1728
|
-
jsonString: string,
|
|
1729
|
-
options?: Partial<JsonReadOptions>
|
|
1730
|
-
): SourceCodeInfo;
|
|
1731
|
-
static equals(
|
|
1732
|
-
a: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined,
|
|
1733
|
-
b: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined
|
|
1734
|
-
): boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
1352
|
+
* corresponds to a particular definition. This information is intended
|
|
1353
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
1354
|
+
* tools.
|
|
1355
|
+
*
|
|
1356
|
+
* For example, say we have a file like:
|
|
1357
|
+
* message Foo {
|
|
1358
|
+
* optional string foo = 1;
|
|
1359
|
+
* }
|
|
1360
|
+
* Let's look at just the field definition:
|
|
1361
|
+
* optional string foo = 1;
|
|
1362
|
+
* ^ ^^ ^^ ^ ^^^
|
|
1363
|
+
* a bc de f ghi
|
|
1364
|
+
* We have the following locations:
|
|
1365
|
+
* span path represents
|
|
1366
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
1367
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
1368
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
1369
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
1370
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
1371
|
+
*
|
|
1372
|
+
* Notes:
|
|
1373
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
1374
|
+
* particular index within it). This is used whenever a set of elements are
|
|
1375
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
1376
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
1377
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
1378
|
+
* field without an index.
|
|
1379
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
1380
|
+
* logical declaration is spread out across multiple places. The most
|
|
1381
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
1382
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
1383
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
1384
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
1385
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
1386
|
+
* the block.
|
|
1387
|
+
* - Just because a location's span is a subset of some other location's span
|
|
1388
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
1389
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
1390
|
+
* corresponding to the type and field and their components will overlap.
|
|
1391
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
1392
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
1393
|
+
* be recorded in the future.
|
|
1394
|
+
*
|
|
1395
|
+
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
|
|
1396
|
+
*/
|
|
1397
|
+
location: SourceCodeInfo_Location[];
|
|
1398
|
+
constructor(data?: PartialMessage<SourceCodeInfo>);
|
|
1399
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1400
|
+
static readonly typeName = "google.protobuf.SourceCodeInfo";
|
|
1401
|
+
static readonly fields: FieldList;
|
|
1402
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceCodeInfo;
|
|
1403
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceCodeInfo;
|
|
1404
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceCodeInfo;
|
|
1405
|
+
static equals(a: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined, b: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined): boolean;
|
|
1735
1406
|
}
|
|
1736
1407
|
/**
|
|
1737
1408
|
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
1738
1409
|
*/
|
|
1739
1410
|
export declare class SourceCodeInfo_Location extends Message<SourceCodeInfo_Location> {
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
options?: Partial<
|
|
1845
|
-
|
|
1846
|
-
static fromJson(
|
|
1847
|
-
jsonValue: JsonValue,
|
|
1848
|
-
options?: Partial<JsonReadOptions>
|
|
1849
|
-
): SourceCodeInfo_Location;
|
|
1850
|
-
static fromJsonString(
|
|
1851
|
-
jsonString: string,
|
|
1852
|
-
options?: Partial<JsonReadOptions>
|
|
1853
|
-
): SourceCodeInfo_Location;
|
|
1854
|
-
static equals(
|
|
1855
|
-
a:
|
|
1856
|
-
| SourceCodeInfo_Location
|
|
1857
|
-
| PlainMessage<SourceCodeInfo_Location>
|
|
1858
|
-
| undefined,
|
|
1859
|
-
b:
|
|
1860
|
-
| SourceCodeInfo_Location
|
|
1861
|
-
| PlainMessage<SourceCodeInfo_Location>
|
|
1862
|
-
| undefined
|
|
1863
|
-
): boolean;
|
|
1411
|
+
/**
|
|
1412
|
+
* Identifies which part of the FileDescriptorProto was defined at this
|
|
1413
|
+
* location.
|
|
1414
|
+
*
|
|
1415
|
+
* Each element is a field number or an index. They form a path from
|
|
1416
|
+
* the root FileDescriptorProto to the place where the definition. For
|
|
1417
|
+
* example, this path:
|
|
1418
|
+
* [ 4, 3, 2, 7, 1 ]
|
|
1419
|
+
* refers to:
|
|
1420
|
+
* file.message_type(3) // 4, 3
|
|
1421
|
+
* .field(7) // 2, 7
|
|
1422
|
+
* .name() // 1
|
|
1423
|
+
* This is because FileDescriptorProto.message_type has field number 4:
|
|
1424
|
+
* repeated DescriptorProto message_type = 4;
|
|
1425
|
+
* and DescriptorProto.field has field number 2:
|
|
1426
|
+
* repeated FieldDescriptorProto field = 2;
|
|
1427
|
+
* and FieldDescriptorProto.name has field number 1:
|
|
1428
|
+
* optional string name = 1;
|
|
1429
|
+
*
|
|
1430
|
+
* Thus, the above path gives the location of a field name. If we removed
|
|
1431
|
+
* the last element:
|
|
1432
|
+
* [ 4, 3, 2, 7 ]
|
|
1433
|
+
* this path refers to the whole field declaration (from the beginning
|
|
1434
|
+
* of the label to the terminating semicolon).
|
|
1435
|
+
*
|
|
1436
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
1437
|
+
*/
|
|
1438
|
+
path: number[];
|
|
1439
|
+
/**
|
|
1440
|
+
* Always has exactly three or four elements: start line, start column,
|
|
1441
|
+
* end line (optional, otherwise assumed same as start line), end column.
|
|
1442
|
+
* These are packed into a single field for efficiency. Note that line
|
|
1443
|
+
* and column numbers are zero-based -- typically you will want to add
|
|
1444
|
+
* 1 to each before displaying to a user.
|
|
1445
|
+
*
|
|
1446
|
+
* @generated from field: repeated int32 span = 2 [packed = true];
|
|
1447
|
+
*/
|
|
1448
|
+
span: number[];
|
|
1449
|
+
/**
|
|
1450
|
+
* If this SourceCodeInfo represents a complete declaration, these are any
|
|
1451
|
+
* comments appearing before and after the declaration which appear to be
|
|
1452
|
+
* attached to the declaration.
|
|
1453
|
+
*
|
|
1454
|
+
* A series of line comments appearing on consecutive lines, with no other
|
|
1455
|
+
* tokens appearing on those lines, will be treated as a single comment.
|
|
1456
|
+
*
|
|
1457
|
+
* leading_detached_comments will keep paragraphs of comments that appear
|
|
1458
|
+
* before (but not connected to) the current element. Each paragraph,
|
|
1459
|
+
* separated by empty lines, will be one comment element in the repeated
|
|
1460
|
+
* field.
|
|
1461
|
+
*
|
|
1462
|
+
* Only the comment content is provided; comment markers (e.g. //) are
|
|
1463
|
+
* stripped out. For block comments, leading whitespace and an asterisk
|
|
1464
|
+
* will be stripped from the beginning of each line other than the first.
|
|
1465
|
+
* Newlines are included in the output.
|
|
1466
|
+
*
|
|
1467
|
+
* Examples:
|
|
1468
|
+
*
|
|
1469
|
+
* optional int32 foo = 1; // Comment attached to foo.
|
|
1470
|
+
* // Comment attached to bar.
|
|
1471
|
+
* optional int32 bar = 2;
|
|
1472
|
+
*
|
|
1473
|
+
* optional string baz = 3;
|
|
1474
|
+
* // Comment attached to baz.
|
|
1475
|
+
* // Another line attached to baz.
|
|
1476
|
+
*
|
|
1477
|
+
* // Comment attached to qux.
|
|
1478
|
+
* //
|
|
1479
|
+
* // Another line attached to qux.
|
|
1480
|
+
* optional double qux = 4;
|
|
1481
|
+
*
|
|
1482
|
+
* // Detached comment for corge. This is not leading or trailing comments
|
|
1483
|
+
* // to qux or corge because there are blank lines separating it from
|
|
1484
|
+
* // both.
|
|
1485
|
+
*
|
|
1486
|
+
* // Detached comment for corge paragraph 2.
|
|
1487
|
+
*
|
|
1488
|
+
* optional string corge = 5;
|
|
1489
|
+
* /* Block comment attached
|
|
1490
|
+
* * to corge. Leading asterisks
|
|
1491
|
+
* * will be removed. *\/
|
|
1492
|
+
* /* Block comment attached to
|
|
1493
|
+
* * grault. *\/
|
|
1494
|
+
* optional int32 grault = 6;
|
|
1495
|
+
*
|
|
1496
|
+
* // ignored detached comments.
|
|
1497
|
+
*
|
|
1498
|
+
* @generated from field: optional string leading_comments = 3;
|
|
1499
|
+
*/
|
|
1500
|
+
leadingComments?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* @generated from field: optional string trailing_comments = 4;
|
|
1503
|
+
*/
|
|
1504
|
+
trailingComments?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* @generated from field: repeated string leading_detached_comments = 6;
|
|
1507
|
+
*/
|
|
1508
|
+
leadingDetachedComments: string[];
|
|
1509
|
+
constructor(data?: PartialMessage<SourceCodeInfo_Location>);
|
|
1510
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1511
|
+
static readonly typeName = "google.protobuf.SourceCodeInfo.Location";
|
|
1512
|
+
static readonly fields: FieldList;
|
|
1513
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceCodeInfo_Location;
|
|
1514
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceCodeInfo_Location;
|
|
1515
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceCodeInfo_Location;
|
|
1516
|
+
static equals(a: SourceCodeInfo_Location | PlainMessage<SourceCodeInfo_Location> | undefined, b: SourceCodeInfo_Location | PlainMessage<SourceCodeInfo_Location> | undefined): boolean;
|
|
1864
1517
|
}
|
|
1865
1518
|
/**
|
|
1866
1519
|
* Describes the relationship between generated code and its original source
|
|
@@ -1870,90 +1523,60 @@ export declare class SourceCodeInfo_Location extends Message<SourceCodeInfo_Loca
|
|
|
1870
1523
|
* @generated from message google.protobuf.GeneratedCodeInfo
|
|
1871
1524
|
*/
|
|
1872
1525
|
export declare class GeneratedCodeInfo extends Message<GeneratedCodeInfo> {
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
options?: Partial<
|
|
1887
|
-
|
|
1888
|
-
static fromJson(
|
|
1889
|
-
jsonValue: JsonValue,
|
|
1890
|
-
options?: Partial<JsonReadOptions>
|
|
1891
|
-
): GeneratedCodeInfo;
|
|
1892
|
-
static fromJsonString(
|
|
1893
|
-
jsonString: string,
|
|
1894
|
-
options?: Partial<JsonReadOptions>
|
|
1895
|
-
): GeneratedCodeInfo;
|
|
1896
|
-
static equals(
|
|
1897
|
-
a: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined,
|
|
1898
|
-
b: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined
|
|
1899
|
-
): boolean;
|
|
1526
|
+
/**
|
|
1527
|
+
* An Annotation connects some span of text in generated code to an element
|
|
1528
|
+
* of its generating .proto file.
|
|
1529
|
+
*
|
|
1530
|
+
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
|
|
1531
|
+
*/
|
|
1532
|
+
annotation: GeneratedCodeInfo_Annotation[];
|
|
1533
|
+
constructor(data?: PartialMessage<GeneratedCodeInfo>);
|
|
1534
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1535
|
+
static readonly typeName = "google.protobuf.GeneratedCodeInfo";
|
|
1536
|
+
static readonly fields: FieldList;
|
|
1537
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratedCodeInfo;
|
|
1538
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratedCodeInfo;
|
|
1539
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratedCodeInfo;
|
|
1540
|
+
static equals(a: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined, b: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined): boolean;
|
|
1900
1541
|
}
|
|
1901
1542
|
/**
|
|
1902
1543
|
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
1903
1544
|
*/
|
|
1904
1545
|
export declare class GeneratedCodeInfo_Annotation extends Message<GeneratedCodeInfo_Annotation> {
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
options?: Partial<
|
|
1940
|
-
|
|
1941
|
-
static fromJson(
|
|
1942
|
-
jsonValue: JsonValue,
|
|
1943
|
-
options?: Partial<JsonReadOptions>
|
|
1944
|
-
): GeneratedCodeInfo_Annotation;
|
|
1945
|
-
static fromJsonString(
|
|
1946
|
-
jsonString: string,
|
|
1947
|
-
options?: Partial<JsonReadOptions>
|
|
1948
|
-
): GeneratedCodeInfo_Annotation;
|
|
1949
|
-
static equals(
|
|
1950
|
-
a:
|
|
1951
|
-
| GeneratedCodeInfo_Annotation
|
|
1952
|
-
| PlainMessage<GeneratedCodeInfo_Annotation>
|
|
1953
|
-
| undefined,
|
|
1954
|
-
b:
|
|
1955
|
-
| GeneratedCodeInfo_Annotation
|
|
1956
|
-
| PlainMessage<GeneratedCodeInfo_Annotation>
|
|
1957
|
-
| undefined
|
|
1958
|
-
): boolean;
|
|
1546
|
+
/**
|
|
1547
|
+
* Identifies the element in the original source .proto file. This field
|
|
1548
|
+
* is formatted the same as SourceCodeInfo.Location.path.
|
|
1549
|
+
*
|
|
1550
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
1551
|
+
*/
|
|
1552
|
+
path: number[];
|
|
1553
|
+
/**
|
|
1554
|
+
* Identifies the filesystem path to the original source .proto.
|
|
1555
|
+
*
|
|
1556
|
+
* @generated from field: optional string source_file = 2;
|
|
1557
|
+
*/
|
|
1558
|
+
sourceFile?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Identifies the starting offset in bytes in the generated code
|
|
1561
|
+
* that relates to the identified object.
|
|
1562
|
+
*
|
|
1563
|
+
* @generated from field: optional int32 begin = 3;
|
|
1564
|
+
*/
|
|
1565
|
+
begin?: number;
|
|
1566
|
+
/**
|
|
1567
|
+
* Identifies the ending offset in bytes in the generated code that
|
|
1568
|
+
* relates to the identified offset. The end offset should be one past
|
|
1569
|
+
* the last relevant byte (so the length of the text = end - begin).
|
|
1570
|
+
*
|
|
1571
|
+
* @generated from field: optional int32 end = 4;
|
|
1572
|
+
*/
|
|
1573
|
+
end?: number;
|
|
1574
|
+
constructor(data?: PartialMessage<GeneratedCodeInfo_Annotation>);
|
|
1575
|
+
static readonly runtime: import("../../private/proto-runtime.js").ProtoRuntime;
|
|
1576
|
+
static readonly typeName = "google.protobuf.GeneratedCodeInfo.Annotation";
|
|
1577
|
+
static readonly fields: FieldList;
|
|
1578
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratedCodeInfo_Annotation;
|
|
1579
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratedCodeInfo_Annotation;
|
|
1580
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratedCodeInfo_Annotation;
|
|
1581
|
+
static equals(a: GeneratedCodeInfo_Annotation | PlainMessage<GeneratedCodeInfo_Annotation> | undefined, b: GeneratedCodeInfo_Annotation | PlainMessage<GeneratedCodeInfo_Annotation> | undefined): boolean;
|
|
1959
1582
|
}
|