@bufbuild/protobuf 1.2.1 → 1.3.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/dist/cjs/binary-encoding.js +1 -1
- package/dist/cjs/codegen-info.js +1 -0
- package/dist/cjs/field.js +1 -1
- package/dist/cjs/google/protobuf/any_pb.js +1 -1
- package/dist/cjs/google/protobuf/api_pb.js +3 -3
- package/dist/cjs/google/protobuf/compiler/plugin_pb.js +5 -5
- package/dist/cjs/google/protobuf/descriptor_pb.js +38 -38
- package/dist/cjs/google/protobuf/duration_pb.js +1 -1
- package/dist/cjs/google/protobuf/empty_pb.js +1 -1
- package/dist/cjs/google/protobuf/field_mask_pb.js +1 -1
- package/dist/cjs/google/protobuf/source_context_pb.js +1 -1
- package/dist/cjs/google/protobuf/struct_pb.js +5 -5
- package/dist/cjs/google/protobuf/timestamp_pb.js +1 -1
- package/dist/cjs/google/protobuf/type_pb.js +9 -9
- package/dist/cjs/google/protobuf/wrappers_pb.js +9 -9
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/private/json-format-common.js +2 -1
- package/dist/cjs/private/util-common.js +37 -8
- package/dist/cjs/proto-delimited.js +14 -19
- package/dist/cjs/proto-double.js +29 -0
- package/dist/cjs/proto-int64.js +1 -1
- package/dist/cjs/service-type.js +2 -2
- package/dist/cjs/to-plain-message.js +67 -0
- package/dist/esm/codegen-info.js +1 -0
- package/dist/esm/google/protobuf/any_pb.js +1 -2
- package/dist/esm/google/protobuf/api_pb.js +3 -6
- package/dist/esm/google/protobuf/compiler/plugin_pb.js +4 -8
- package/dist/esm/google/protobuf/descriptor_pb.js +28 -56
- package/dist/esm/google/protobuf/duration_pb.js +1 -2
- package/dist/esm/google/protobuf/empty_pb.js +1 -2
- package/dist/esm/google/protobuf/field_mask_pb.js +1 -2
- package/dist/esm/google/protobuf/source_context_pb.js +1 -2
- package/dist/esm/google/protobuf/struct_pb.js +4 -7
- package/dist/esm/google/protobuf/timestamp_pb.js +1 -2
- package/dist/esm/google/protobuf/type_pb.js +6 -11
- package/dist/esm/google/protobuf/wrappers_pb.js +9 -18
- package/dist/esm/index.js +2 -0
- package/dist/esm/private/json-format-common.js +2 -1
- package/dist/esm/private/util-common.js +37 -8
- package/dist/esm/proto-delimited.js +14 -19
- package/dist/esm/proto-double.js +26 -0
- package/dist/esm/proto-int64.js +1 -1
- package/dist/esm/to-plain-message.js +63 -0
- package/dist/types/codegen-info.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/proto-double.d.ts +5 -0
- package/dist/types/to-plain-message.d.ts +9 -0
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ var WireType;
|
|
|
60
60
|
* Always 4 bytes with little-endian byte order.
|
|
61
61
|
*/
|
|
62
62
|
WireType[WireType["Bit32"] = 5] = "Bit32";
|
|
63
|
-
})(WireType
|
|
63
|
+
})(WireType || (exports.WireType = WireType = {}));
|
|
64
64
|
class BinaryWriter {
|
|
65
65
|
constructor(textEncoder) {
|
|
66
66
|
/**
|
package/dist/cjs/codegen-info.js
CHANGED
|
@@ -42,6 +42,7 @@ exports.codegenInfo = {
|
|
|
42
42
|
JsonWriteOptions: { typeOnly: true, privateImportPath: "./json-format.js", publicImportPath: packageName },
|
|
43
43
|
JsonValue: { typeOnly: true, privateImportPath: "./json-format.js", publicImportPath: packageName },
|
|
44
44
|
JsonObject: { typeOnly: true, privateImportPath: "./json-format.js", publicImportPath: packageName },
|
|
45
|
+
protoDouble: { typeOnly: false, privateImportPath: "./proto-double.js", publicImportPath: packageName },
|
|
45
46
|
protoInt64: { typeOnly: false, privateImportPath: "./proto-int64.js", publicImportPath: packageName },
|
|
46
47
|
ScalarType: { typeOnly: false, privateImportPath: "./field.js", publicImportPath: packageName },
|
|
47
48
|
MethodKind: { typeOnly: false, privateImportPath: "./service-type.js", publicImportPath: packageName },
|
package/dist/cjs/field.js
CHANGED
|
@@ -50,4 +50,4 @@ var ScalarType;
|
|
|
50
50
|
ScalarType[ScalarType["SFIXED64"] = 16] = "SFIXED64";
|
|
51
51
|
ScalarType[ScalarType["SINT32"] = 17] = "SINT32";
|
|
52
52
|
ScalarType[ScalarType["SINT64"] = 18] = "SINT64";
|
|
53
|
-
})(ScalarType
|
|
53
|
+
})(ScalarType || (exports.ScalarType = ScalarType = {}));
|
|
@@ -263,10 +263,10 @@ class Any extends message_js_1.Message {
|
|
|
263
263
|
return proto3_js_1.proto3.util.equals(Any, a, b);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
+
exports.Any = Any;
|
|
266
267
|
Any.runtime = proto3_js_1.proto3;
|
|
267
268
|
Any.typeName = "google.protobuf.Any";
|
|
268
269
|
Any.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
269
270
|
{ no: 1, name: "type_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
270
271
|
{ no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
271
272
|
]);
|
|
272
|
-
exports.Any = Any;
|
|
@@ -105,6 +105,7 @@ class Api extends message_js_1.Message {
|
|
|
105
105
|
return proto3_js_1.proto3.util.equals(Api, a, b);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
+
exports.Api = Api;
|
|
108
109
|
Api.runtime = proto3_js_1.proto3;
|
|
109
110
|
Api.typeName = "google.protobuf.Api";
|
|
110
111
|
Api.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
@@ -116,7 +117,6 @@ Api.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
|
116
117
|
{ no: 6, name: "mixins", kind: "message", T: Mixin, repeated: true },
|
|
117
118
|
{ no: 7, name: "syntax", kind: "enum", T: proto3_js_1.proto3.getEnumType(type_pb_js_1.Syntax) },
|
|
118
119
|
]);
|
|
119
|
-
exports.Api = Api;
|
|
120
120
|
/**
|
|
121
121
|
* Method represents a method of an API interface.
|
|
122
122
|
*
|
|
@@ -182,6 +182,7 @@ class Method extends message_js_1.Message {
|
|
|
182
182
|
return proto3_js_1.proto3.util.equals(Method, a, b);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
+
exports.Method = Method;
|
|
185
186
|
Method.runtime = proto3_js_1.proto3;
|
|
186
187
|
Method.typeName = "google.protobuf.Method";
|
|
187
188
|
Method.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
@@ -193,7 +194,6 @@ Method.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
|
193
194
|
{ no: 6, name: "options", kind: "message", T: type_pb_js_1.Option, repeated: true },
|
|
194
195
|
{ no: 7, name: "syntax", kind: "enum", T: proto3_js_1.proto3.getEnumType(type_pb_js_1.Syntax) },
|
|
195
196
|
]);
|
|
196
|
-
exports.Method = Method;
|
|
197
197
|
/**
|
|
198
198
|
* Declares an API Interface to be included in this interface. The including
|
|
199
199
|
* interface must redeclare all the methods from the included interface, but
|
|
@@ -307,10 +307,10 @@ class Mixin extends message_js_1.Message {
|
|
|
307
307
|
return proto3_js_1.proto3.util.equals(Mixin, a, b);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
+
exports.Mixin = Mixin;
|
|
310
311
|
Mixin.runtime = proto3_js_1.proto3;
|
|
311
312
|
Mixin.typeName = "google.protobuf.Mixin";
|
|
312
313
|
Mixin.fields = proto3_js_1.proto3.util.newFieldList(() => [
|
|
313
314
|
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
314
315
|
{ no: 2, name: "root", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
316
|
]);
|
|
316
|
-
exports.Mixin = Mixin;
|
|
@@ -40,6 +40,7 @@ class Version extends message_js_1.Message {
|
|
|
40
40
|
return proto2_js_1.proto2.util.equals(Version, a, b);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
+
exports.Version = Version;
|
|
43
44
|
Version.runtime = proto2_js_1.proto2;
|
|
44
45
|
Version.typeName = "google.protobuf.compiler.Version";
|
|
45
46
|
Version.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -48,7 +49,6 @@ Version.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
48
49
|
{ no: 3, name: "patch", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
49
50
|
{ no: 4, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
50
51
|
]);
|
|
51
|
-
exports.Version = Version;
|
|
52
52
|
/**
|
|
53
53
|
* An encoded CodeGeneratorRequest is written to the plugin's stdin.
|
|
54
54
|
*
|
|
@@ -99,6 +99,7 @@ class CodeGeneratorRequest extends message_js_1.Message {
|
|
|
99
99
|
return proto2_js_1.proto2.util.equals(CodeGeneratorRequest, a, b);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
+
exports.CodeGeneratorRequest = CodeGeneratorRequest;
|
|
102
103
|
CodeGeneratorRequest.runtime = proto2_js_1.proto2;
|
|
103
104
|
CodeGeneratorRequest.typeName = "google.protobuf.compiler.CodeGeneratorRequest";
|
|
104
105
|
CodeGeneratorRequest.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -107,7 +108,6 @@ CodeGeneratorRequest.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
107
108
|
{ no: 15, name: "proto_file", kind: "message", T: descriptor_pb_js_1.FileDescriptorProto, repeated: true },
|
|
108
109
|
{ no: 3, name: "compiler_version", kind: "message", T: Version, opt: true },
|
|
109
110
|
]);
|
|
110
|
-
exports.CodeGeneratorRequest = CodeGeneratorRequest;
|
|
111
111
|
/**
|
|
112
112
|
* The plugin writes an encoded CodeGeneratorResponse to stdout.
|
|
113
113
|
*
|
|
@@ -135,6 +135,7 @@ class CodeGeneratorResponse extends message_js_1.Message {
|
|
|
135
135
|
return proto2_js_1.proto2.util.equals(CodeGeneratorResponse, a, b);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
+
exports.CodeGeneratorResponse = CodeGeneratorResponse;
|
|
138
139
|
CodeGeneratorResponse.runtime = proto2_js_1.proto2;
|
|
139
140
|
CodeGeneratorResponse.typeName = "google.protobuf.compiler.CodeGeneratorResponse";
|
|
140
141
|
CodeGeneratorResponse.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -142,7 +143,6 @@ CodeGeneratorResponse.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
142
143
|
{ no: 2, name: "supported_features", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
143
144
|
{ no: 15, name: "file", kind: "message", T: CodeGeneratorResponse_File, repeated: true },
|
|
144
145
|
]);
|
|
145
|
-
exports.CodeGeneratorResponse = CodeGeneratorResponse;
|
|
146
146
|
/**
|
|
147
147
|
* Sync with code_generator.h.
|
|
148
148
|
*
|
|
@@ -158,7 +158,7 @@ var CodeGeneratorResponse_Feature;
|
|
|
158
158
|
* @generated from enum value: FEATURE_PROTO3_OPTIONAL = 1;
|
|
159
159
|
*/
|
|
160
160
|
CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["PROTO3_OPTIONAL"] = 1] = "PROTO3_OPTIONAL";
|
|
161
|
-
})(CodeGeneratorResponse_Feature
|
|
161
|
+
})(CodeGeneratorResponse_Feature || (exports.CodeGeneratorResponse_Feature = CodeGeneratorResponse_Feature = {}));
|
|
162
162
|
// Retrieve enum metadata with: proto2.getEnumType(CodeGeneratorResponse_Feature)
|
|
163
163
|
proto2_js_1.proto2.util.setEnumType(CodeGeneratorResponse_Feature, "google.protobuf.compiler.CodeGeneratorResponse.Feature", [
|
|
164
164
|
{ no: 0, name: "FEATURE_NONE" },
|
|
@@ -187,6 +187,7 @@ class CodeGeneratorResponse_File extends message_js_1.Message {
|
|
|
187
187
|
return proto2_js_1.proto2.util.equals(CodeGeneratorResponse_File, a, b);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
+
exports.CodeGeneratorResponse_File = CodeGeneratorResponse_File;
|
|
190
191
|
CodeGeneratorResponse_File.runtime = proto2_js_1.proto2;
|
|
191
192
|
CodeGeneratorResponse_File.typeName = "google.protobuf.compiler.CodeGeneratorResponse.File";
|
|
192
193
|
CodeGeneratorResponse_File.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -195,4 +196,3 @@ CodeGeneratorResponse_File.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
195
196
|
{ no: 15, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
196
197
|
{ no: 16, name: "generated_code_info", kind: "message", T: descriptor_pb_js_1.GeneratedCodeInfo, opt: true },
|
|
197
198
|
]);
|
|
198
|
-
exports.CodeGeneratorResponse_File = CodeGeneratorResponse_File;
|
|
@@ -44,12 +44,12 @@ class FileDescriptorSet extends message_js_1.Message {
|
|
|
44
44
|
return proto2_js_1.proto2.util.equals(FileDescriptorSet, a, b);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
exports.FileDescriptorSet = FileDescriptorSet;
|
|
47
48
|
FileDescriptorSet.runtime = proto2_js_1.proto2;
|
|
48
49
|
FileDescriptorSet.typeName = "google.protobuf.FileDescriptorSet";
|
|
49
50
|
FileDescriptorSet.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
50
51
|
{ no: 1, name: "file", kind: "message", T: FileDescriptorProto, repeated: true },
|
|
51
52
|
]);
|
|
52
|
-
exports.FileDescriptorSet = FileDescriptorSet;
|
|
53
53
|
/**
|
|
54
54
|
* Describes a complete .proto file.
|
|
55
55
|
*
|
|
@@ -110,6 +110,7 @@ class FileDescriptorProto extends message_js_1.Message {
|
|
|
110
110
|
return proto2_js_1.proto2.util.equals(FileDescriptorProto, a, b);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
+
exports.FileDescriptorProto = FileDescriptorProto;
|
|
113
114
|
FileDescriptorProto.runtime = proto2_js_1.proto2;
|
|
114
115
|
FileDescriptorProto.typeName = "google.protobuf.FileDescriptorProto";
|
|
115
116
|
FileDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -127,7 +128,6 @@ FileDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
127
128
|
{ no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
128
129
|
{ no: 13, name: "edition", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
129
130
|
]);
|
|
130
|
-
exports.FileDescriptorProto = FileDescriptorProto;
|
|
131
131
|
/**
|
|
132
132
|
* Describes a message type.
|
|
133
133
|
*
|
|
@@ -186,6 +186,7 @@ class DescriptorProto extends message_js_1.Message {
|
|
|
186
186
|
return proto2_js_1.proto2.util.equals(DescriptorProto, a, b);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
+
exports.DescriptorProto = DescriptorProto;
|
|
189
190
|
DescriptorProto.runtime = proto2_js_1.proto2;
|
|
190
191
|
DescriptorProto.typeName = "google.protobuf.DescriptorProto";
|
|
191
192
|
DescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -200,7 +201,6 @@ DescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
200
201
|
{ no: 9, name: "reserved_range", kind: "message", T: DescriptorProto_ReservedRange, repeated: true },
|
|
201
202
|
{ no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
202
203
|
]);
|
|
203
|
-
exports.DescriptorProto = DescriptorProto;
|
|
204
204
|
/**
|
|
205
205
|
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
206
206
|
*/
|
|
@@ -222,6 +222,7 @@ class DescriptorProto_ExtensionRange extends message_js_1.Message {
|
|
|
222
222
|
return proto2_js_1.proto2.util.equals(DescriptorProto_ExtensionRange, a, b);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
+
exports.DescriptorProto_ExtensionRange = DescriptorProto_ExtensionRange;
|
|
225
226
|
DescriptorProto_ExtensionRange.runtime = proto2_js_1.proto2;
|
|
226
227
|
DescriptorProto_ExtensionRange.typeName = "google.protobuf.DescriptorProto.ExtensionRange";
|
|
227
228
|
DescriptorProto_ExtensionRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -229,7 +230,6 @@ DescriptorProto_ExtensionRange.fields = proto2_js_1.proto2.util.newFieldList(()
|
|
|
229
230
|
{ no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
230
231
|
{ no: 3, name: "options", kind: "message", T: ExtensionRangeOptions, opt: true },
|
|
231
232
|
]);
|
|
232
|
-
exports.DescriptorProto_ExtensionRange = DescriptorProto_ExtensionRange;
|
|
233
233
|
/**
|
|
234
234
|
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
235
235
|
* fields or extension ranges in the same message. Reserved ranges may
|
|
@@ -255,13 +255,13 @@ class DescriptorProto_ReservedRange extends message_js_1.Message {
|
|
|
255
255
|
return proto2_js_1.proto2.util.equals(DescriptorProto_ReservedRange, a, b);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
+
exports.DescriptorProto_ReservedRange = DescriptorProto_ReservedRange;
|
|
258
259
|
DescriptorProto_ReservedRange.runtime = proto2_js_1.proto2;
|
|
259
260
|
DescriptorProto_ReservedRange.typeName = "google.protobuf.DescriptorProto.ReservedRange";
|
|
260
261
|
DescriptorProto_ReservedRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
261
262
|
{ no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
262
263
|
{ no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
263
264
|
]);
|
|
264
|
-
exports.DescriptorProto_ReservedRange = DescriptorProto_ReservedRange;
|
|
265
265
|
/**
|
|
266
266
|
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
267
267
|
*/
|
|
@@ -298,6 +298,7 @@ class ExtensionRangeOptions extends message_js_1.Message {
|
|
|
298
298
|
return proto2_js_1.proto2.util.equals(ExtensionRangeOptions, a, b);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
+
exports.ExtensionRangeOptions = ExtensionRangeOptions;
|
|
301
302
|
ExtensionRangeOptions.runtime = proto2_js_1.proto2;
|
|
302
303
|
ExtensionRangeOptions.typeName = "google.protobuf.ExtensionRangeOptions";
|
|
303
304
|
ExtensionRangeOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -305,7 +306,6 @@ ExtensionRangeOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
305
306
|
{ no: 2, name: "declaration", kind: "message", T: ExtensionRangeOptions_Declaration, repeated: true },
|
|
306
307
|
{ no: 3, name: "verification", kind: "enum", T: proto2_js_1.proto2.getEnumType(ExtensionRangeOptions_VerificationState), opt: true, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
|
|
307
308
|
]);
|
|
308
|
-
exports.ExtensionRangeOptions = ExtensionRangeOptions;
|
|
309
309
|
/**
|
|
310
310
|
* The verification state of the extension range.
|
|
311
311
|
*
|
|
@@ -323,7 +323,7 @@ var ExtensionRangeOptions_VerificationState;
|
|
|
323
323
|
* @generated from enum value: UNVERIFIED = 1;
|
|
324
324
|
*/
|
|
325
325
|
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED";
|
|
326
|
-
})(ExtensionRangeOptions_VerificationState
|
|
326
|
+
})(ExtensionRangeOptions_VerificationState || (exports.ExtensionRangeOptions_VerificationState = ExtensionRangeOptions_VerificationState = {}));
|
|
327
327
|
// Retrieve enum metadata with: proto2.getEnumType(ExtensionRangeOptions_VerificationState)
|
|
328
328
|
proto2_js_1.proto2.util.setEnumType(ExtensionRangeOptions_VerificationState, "google.protobuf.ExtensionRangeOptions.VerificationState", [
|
|
329
329
|
{ no: 0, name: "DECLARATION" },
|
|
@@ -350,6 +350,7 @@ class ExtensionRangeOptions_Declaration extends message_js_1.Message {
|
|
|
350
350
|
return proto2_js_1.proto2.util.equals(ExtensionRangeOptions_Declaration, a, b);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
+
exports.ExtensionRangeOptions_Declaration = ExtensionRangeOptions_Declaration;
|
|
353
354
|
ExtensionRangeOptions_Declaration.runtime = proto2_js_1.proto2;
|
|
354
355
|
ExtensionRangeOptions_Declaration.typeName = "google.protobuf.ExtensionRangeOptions.Declaration";
|
|
355
356
|
ExtensionRangeOptions_Declaration.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -360,7 +361,6 @@ ExtensionRangeOptions_Declaration.fields = proto2_js_1.proto2.util.newFieldList(
|
|
|
360
361
|
{ no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
361
362
|
{ no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
362
363
|
]);
|
|
363
|
-
exports.ExtensionRangeOptions_Declaration = ExtensionRangeOptions_Declaration;
|
|
364
364
|
/**
|
|
365
365
|
* Describes a field within a message.
|
|
366
366
|
*
|
|
@@ -384,6 +384,7 @@ class FieldDescriptorProto extends message_js_1.Message {
|
|
|
384
384
|
return proto2_js_1.proto2.util.equals(FieldDescriptorProto, a, b);
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
+
exports.FieldDescriptorProto = FieldDescriptorProto;
|
|
387
388
|
FieldDescriptorProto.runtime = proto2_js_1.proto2;
|
|
388
389
|
FieldDescriptorProto.typeName = "google.protobuf.FieldDescriptorProto";
|
|
389
390
|
FieldDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -399,7 +400,6 @@ FieldDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
399
400
|
{ no: 8, name: "options", kind: "message", T: FieldOptions, opt: true },
|
|
400
401
|
{ no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
401
402
|
]);
|
|
402
|
-
exports.FieldDescriptorProto = FieldDescriptorProto;
|
|
403
403
|
/**
|
|
404
404
|
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
405
405
|
*/
|
|
@@ -499,7 +499,7 @@ var FieldDescriptorProto_Type;
|
|
|
499
499
|
* @generated from enum value: TYPE_SINT64 = 18;
|
|
500
500
|
*/
|
|
501
501
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64";
|
|
502
|
-
})(FieldDescriptorProto_Type
|
|
502
|
+
})(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
|
|
503
503
|
// Retrieve enum metadata with: proto2.getEnumType(FieldDescriptorProto_Type)
|
|
504
504
|
proto2_js_1.proto2.util.setEnumType(FieldDescriptorProto_Type, "google.protobuf.FieldDescriptorProto.Type", [
|
|
505
505
|
{ no: 1, name: "TYPE_DOUBLE" },
|
|
@@ -540,7 +540,7 @@ var FieldDescriptorProto_Label;
|
|
|
540
540
|
* @generated from enum value: LABEL_REPEATED = 3;
|
|
541
541
|
*/
|
|
542
542
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED";
|
|
543
|
-
})(FieldDescriptorProto_Label
|
|
543
|
+
})(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
|
|
544
544
|
// Retrieve enum metadata with: proto2.getEnumType(FieldDescriptorProto_Label)
|
|
545
545
|
proto2_js_1.proto2.util.setEnumType(FieldDescriptorProto_Label, "google.protobuf.FieldDescriptorProto.Label", [
|
|
546
546
|
{ no: 1, name: "LABEL_OPTIONAL" },
|
|
@@ -570,13 +570,13 @@ class OneofDescriptorProto extends message_js_1.Message {
|
|
|
570
570
|
return proto2_js_1.proto2.util.equals(OneofDescriptorProto, a, b);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
+
exports.OneofDescriptorProto = OneofDescriptorProto;
|
|
573
574
|
OneofDescriptorProto.runtime = proto2_js_1.proto2;
|
|
574
575
|
OneofDescriptorProto.typeName = "google.protobuf.OneofDescriptorProto";
|
|
575
576
|
OneofDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
576
577
|
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
577
578
|
{ no: 2, name: "options", kind: "message", T: OneofOptions, opt: true },
|
|
578
579
|
]);
|
|
579
|
-
exports.OneofDescriptorProto = OneofDescriptorProto;
|
|
580
580
|
/**
|
|
581
581
|
* Describes an enum type.
|
|
582
582
|
*
|
|
@@ -619,6 +619,7 @@ class EnumDescriptorProto extends message_js_1.Message {
|
|
|
619
619
|
return proto2_js_1.proto2.util.equals(EnumDescriptorProto, a, b);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
+
exports.EnumDescriptorProto = EnumDescriptorProto;
|
|
622
623
|
EnumDescriptorProto.runtime = proto2_js_1.proto2;
|
|
623
624
|
EnumDescriptorProto.typeName = "google.protobuf.EnumDescriptorProto";
|
|
624
625
|
EnumDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -628,7 +629,6 @@ EnumDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
628
629
|
{ no: 4, name: "reserved_range", kind: "message", T: EnumDescriptorProto_EnumReservedRange, repeated: true },
|
|
629
630
|
{ no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
630
631
|
]);
|
|
631
|
-
exports.EnumDescriptorProto = EnumDescriptorProto;
|
|
632
632
|
/**
|
|
633
633
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
634
634
|
* entries in the same enum. Reserved ranges may not overlap.
|
|
@@ -657,13 +657,13 @@ class EnumDescriptorProto_EnumReservedRange extends message_js_1.Message {
|
|
|
657
657
|
return proto2_js_1.proto2.util.equals(EnumDescriptorProto_EnumReservedRange, a, b);
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
+
exports.EnumDescriptorProto_EnumReservedRange = EnumDescriptorProto_EnumReservedRange;
|
|
660
661
|
EnumDescriptorProto_EnumReservedRange.runtime = proto2_js_1.proto2;
|
|
661
662
|
EnumDescriptorProto_EnumReservedRange.typeName = "google.protobuf.EnumDescriptorProto.EnumReservedRange";
|
|
662
663
|
EnumDescriptorProto_EnumReservedRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
663
664
|
{ no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
664
665
|
{ no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
665
666
|
]);
|
|
666
|
-
exports.EnumDescriptorProto_EnumReservedRange = EnumDescriptorProto_EnumReservedRange;
|
|
667
667
|
/**
|
|
668
668
|
* Describes a value within an enum.
|
|
669
669
|
*
|
|
@@ -687,6 +687,7 @@ class EnumValueDescriptorProto extends message_js_1.Message {
|
|
|
687
687
|
return proto2_js_1.proto2.util.equals(EnumValueDescriptorProto, a, b);
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
+
exports.EnumValueDescriptorProto = EnumValueDescriptorProto;
|
|
690
691
|
EnumValueDescriptorProto.runtime = proto2_js_1.proto2;
|
|
691
692
|
EnumValueDescriptorProto.typeName = "google.protobuf.EnumValueDescriptorProto";
|
|
692
693
|
EnumValueDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -694,7 +695,6 @@ EnumValueDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
694
695
|
{ no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
695
696
|
{ no: 3, name: "options", kind: "message", T: EnumValueOptions, opt: true },
|
|
696
697
|
]);
|
|
697
|
-
exports.EnumValueDescriptorProto = EnumValueDescriptorProto;
|
|
698
698
|
/**
|
|
699
699
|
* Describes a service.
|
|
700
700
|
*
|
|
@@ -722,6 +722,7 @@ class ServiceDescriptorProto extends message_js_1.Message {
|
|
|
722
722
|
return proto2_js_1.proto2.util.equals(ServiceDescriptorProto, a, b);
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
|
+
exports.ServiceDescriptorProto = ServiceDescriptorProto;
|
|
725
726
|
ServiceDescriptorProto.runtime = proto2_js_1.proto2;
|
|
726
727
|
ServiceDescriptorProto.typeName = "google.protobuf.ServiceDescriptorProto";
|
|
727
728
|
ServiceDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -729,7 +730,6 @@ ServiceDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
729
730
|
{ no: 2, name: "method", kind: "message", T: MethodDescriptorProto, repeated: true },
|
|
730
731
|
{ no: 3, name: "options", kind: "message", T: ServiceOptions, opt: true },
|
|
731
732
|
]);
|
|
732
|
-
exports.ServiceDescriptorProto = ServiceDescriptorProto;
|
|
733
733
|
/**
|
|
734
734
|
* Describes a method of a service.
|
|
735
735
|
*
|
|
@@ -753,6 +753,7 @@ class MethodDescriptorProto extends message_js_1.Message {
|
|
|
753
753
|
return proto2_js_1.proto2.util.equals(MethodDescriptorProto, a, b);
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
+
exports.MethodDescriptorProto = MethodDescriptorProto;
|
|
756
757
|
MethodDescriptorProto.runtime = proto2_js_1.proto2;
|
|
757
758
|
MethodDescriptorProto.typeName = "google.protobuf.MethodDescriptorProto";
|
|
758
759
|
MethodDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -763,7 +764,6 @@ MethodDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
763
764
|
{ no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
|
|
764
765
|
{ no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
|
|
765
766
|
]);
|
|
766
|
-
exports.MethodDescriptorProto = MethodDescriptorProto;
|
|
767
767
|
/**
|
|
768
768
|
* @generated from message google.protobuf.FileOptions
|
|
769
769
|
*/
|
|
@@ -792,6 +792,7 @@ class FileOptions extends message_js_1.Message {
|
|
|
792
792
|
return proto2_js_1.proto2.util.equals(FileOptions, a, b);
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
|
+
exports.FileOptions = FileOptions;
|
|
795
796
|
FileOptions.runtime = proto2_js_1.proto2;
|
|
796
797
|
FileOptions.typeName = "google.protobuf.FileOptions";
|
|
797
798
|
FileOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -817,7 +818,6 @@ FileOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
817
818
|
{ no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
818
819
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
819
820
|
]);
|
|
820
|
-
exports.FileOptions = FileOptions;
|
|
821
821
|
/**
|
|
822
822
|
* Generated classes can be optimized for speed or code size.
|
|
823
823
|
*
|
|
@@ -845,7 +845,7 @@ var FileOptions_OptimizeMode;
|
|
|
845
845
|
* @generated from enum value: LITE_RUNTIME = 3;
|
|
846
846
|
*/
|
|
847
847
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
848
|
-
})(FileOptions_OptimizeMode
|
|
848
|
+
})(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {}));
|
|
849
849
|
// Retrieve enum metadata with: proto2.getEnumType(FileOptions_OptimizeMode)
|
|
850
850
|
proto2_js_1.proto2.util.setEnumType(FileOptions_OptimizeMode, "google.protobuf.FileOptions.OptimizeMode", [
|
|
851
851
|
{ no: 1, name: "SPEED" },
|
|
@@ -879,6 +879,7 @@ class MessageOptions extends message_js_1.Message {
|
|
|
879
879
|
return proto2_js_1.proto2.util.equals(MessageOptions, a, b);
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
|
+
exports.MessageOptions = MessageOptions;
|
|
882
883
|
MessageOptions.runtime = proto2_js_1.proto2;
|
|
883
884
|
MessageOptions.typeName = "google.protobuf.MessageOptions";
|
|
884
885
|
MessageOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -889,7 +890,6 @@ MessageOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
889
890
|
{ no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
890
891
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
891
892
|
]);
|
|
892
|
-
exports.MessageOptions = MessageOptions;
|
|
893
893
|
/**
|
|
894
894
|
* @generated from message google.protobuf.FieldOptions
|
|
895
895
|
*/
|
|
@@ -921,6 +921,7 @@ class FieldOptions extends message_js_1.Message {
|
|
|
921
921
|
return proto2_js_1.proto2.util.equals(FieldOptions, a, b);
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
+
exports.FieldOptions = FieldOptions;
|
|
924
925
|
FieldOptions.runtime = proto2_js_1.proto2;
|
|
925
926
|
FieldOptions.typeName = "google.protobuf.FieldOptions";
|
|
926
927
|
FieldOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -937,7 +938,6 @@ FieldOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
937
938
|
{ no: 19, name: "targets", kind: "enum", T: proto2_js_1.proto2.getEnumType(FieldOptions_OptionTargetType), repeated: true },
|
|
938
939
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
939
940
|
]);
|
|
940
|
-
exports.FieldOptions = FieldOptions;
|
|
941
941
|
/**
|
|
942
942
|
* @generated from enum google.protobuf.FieldOptions.CType
|
|
943
943
|
*/
|
|
@@ -964,7 +964,7 @@ var FieldOptions_CType;
|
|
|
964
964
|
* @generated from enum value: STRING_PIECE = 2;
|
|
965
965
|
*/
|
|
966
966
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
967
|
-
})(FieldOptions_CType
|
|
967
|
+
})(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {}));
|
|
968
968
|
// Retrieve enum metadata with: proto2.getEnumType(FieldOptions_CType)
|
|
969
969
|
proto2_js_1.proto2.util.setEnumType(FieldOptions_CType, "google.protobuf.FieldOptions.CType", [
|
|
970
970
|
{ no: 0, name: "STRING" },
|
|
@@ -994,7 +994,7 @@ var FieldOptions_JSType;
|
|
|
994
994
|
* @generated from enum value: JS_NUMBER = 2;
|
|
995
995
|
*/
|
|
996
996
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
997
|
-
})(FieldOptions_JSType
|
|
997
|
+
})(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {}));
|
|
998
998
|
// Retrieve enum metadata with: proto2.getEnumType(FieldOptions_JSType)
|
|
999
999
|
proto2_js_1.proto2.util.setEnumType(FieldOptions_JSType, "google.protobuf.FieldOptions.JSType", [
|
|
1000
1000
|
{ no: 0, name: "JS_NORMAL" },
|
|
@@ -1022,7 +1022,7 @@ var FieldOptions_OptionRetention;
|
|
|
1022
1022
|
* @generated from enum value: RETENTION_SOURCE = 2;
|
|
1023
1023
|
*/
|
|
1024
1024
|
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
|
|
1025
|
-
})(FieldOptions_OptionRetention
|
|
1025
|
+
})(FieldOptions_OptionRetention || (exports.FieldOptions_OptionRetention = FieldOptions_OptionRetention = {}));
|
|
1026
1026
|
// Retrieve enum metadata with: proto2.getEnumType(FieldOptions_OptionRetention)
|
|
1027
1027
|
proto2_js_1.proto2.util.setEnumType(FieldOptions_OptionRetention, "google.protobuf.FieldOptions.OptionRetention", [
|
|
1028
1028
|
{ no: 0, name: "RETENTION_UNKNOWN" },
|
|
@@ -1079,7 +1079,7 @@ var FieldOptions_OptionTargetType;
|
|
|
1079
1079
|
* @generated from enum value: TARGET_TYPE_METHOD = 9;
|
|
1080
1080
|
*/
|
|
1081
1081
|
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
|
|
1082
|
-
})(FieldOptions_OptionTargetType
|
|
1082
|
+
})(FieldOptions_OptionTargetType || (exports.FieldOptions_OptionTargetType = FieldOptions_OptionTargetType = {}));
|
|
1083
1083
|
// Retrieve enum metadata with: proto2.getEnumType(FieldOptions_OptionTargetType)
|
|
1084
1084
|
proto2_js_1.proto2.util.setEnumType(FieldOptions_OptionTargetType, "google.protobuf.FieldOptions.OptionTargetType", [
|
|
1085
1085
|
{ no: 0, name: "TARGET_TYPE_UNKNOWN" },
|
|
@@ -1120,12 +1120,12 @@ class OneofOptions extends message_js_1.Message {
|
|
|
1120
1120
|
return proto2_js_1.proto2.util.equals(OneofOptions, a, b);
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
1123
|
+
exports.OneofOptions = OneofOptions;
|
|
1123
1124
|
OneofOptions.runtime = proto2_js_1.proto2;
|
|
1124
1125
|
OneofOptions.typeName = "google.protobuf.OneofOptions";
|
|
1125
1126
|
OneofOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1126
1127
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
1127
1128
|
]);
|
|
1128
|
-
exports.OneofOptions = OneofOptions;
|
|
1129
1129
|
/**
|
|
1130
1130
|
* @generated from message google.protobuf.EnumOptions
|
|
1131
1131
|
*/
|
|
@@ -1153,6 +1153,7 @@ class EnumOptions extends message_js_1.Message {
|
|
|
1153
1153
|
return proto2_js_1.proto2.util.equals(EnumOptions, a, b);
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
+
exports.EnumOptions = EnumOptions;
|
|
1156
1157
|
EnumOptions.runtime = proto2_js_1.proto2;
|
|
1157
1158
|
EnumOptions.typeName = "google.protobuf.EnumOptions";
|
|
1158
1159
|
EnumOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -1161,7 +1162,6 @@ EnumOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
1161
1162
|
{ no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1162
1163
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
1163
1164
|
]);
|
|
1164
|
-
exports.EnumOptions = EnumOptions;
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @generated from message google.protobuf.EnumValueOptions
|
|
1167
1167
|
*/
|
|
@@ -1189,13 +1189,13 @@ class EnumValueOptions extends message_js_1.Message {
|
|
|
1189
1189
|
return proto2_js_1.proto2.util.equals(EnumValueOptions, a, b);
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
|
+
exports.EnumValueOptions = EnumValueOptions;
|
|
1192
1193
|
EnumValueOptions.runtime = proto2_js_1.proto2;
|
|
1193
1194
|
EnumValueOptions.typeName = "google.protobuf.EnumValueOptions";
|
|
1194
1195
|
EnumValueOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1195
1196
|
{ no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
|
|
1196
1197
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
1197
1198
|
]);
|
|
1198
|
-
exports.EnumValueOptions = EnumValueOptions;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* @generated from message google.protobuf.ServiceOptions
|
|
1201
1201
|
*/
|
|
@@ -1223,13 +1223,13 @@ class ServiceOptions extends message_js_1.Message {
|
|
|
1223
1223
|
return proto2_js_1.proto2.util.equals(ServiceOptions, a, b);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
|
+
exports.ServiceOptions = ServiceOptions;
|
|
1226
1227
|
ServiceOptions.runtime = proto2_js_1.proto2;
|
|
1227
1228
|
ServiceOptions.typeName = "google.protobuf.ServiceOptions";
|
|
1228
1229
|
ServiceOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1229
1230
|
{ no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
|
|
1230
1231
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
1231
1232
|
]);
|
|
1232
|
-
exports.ServiceOptions = ServiceOptions;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* @generated from message google.protobuf.MethodOptions
|
|
1235
1235
|
*/
|
|
@@ -1257,6 +1257,7 @@ class MethodOptions extends message_js_1.Message {
|
|
|
1257
1257
|
return proto2_js_1.proto2.util.equals(MethodOptions, a, b);
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
|
+
exports.MethodOptions = MethodOptions;
|
|
1260
1261
|
MethodOptions.runtime = proto2_js_1.proto2;
|
|
1261
1262
|
MethodOptions.typeName = "google.protobuf.MethodOptions";
|
|
1262
1263
|
MethodOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -1264,7 +1265,6 @@ MethodOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
1264
1265
|
{ no: 34, name: "idempotency_level", kind: "enum", T: proto2_js_1.proto2.getEnumType(MethodOptions_IdempotencyLevel), opt: true, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
|
|
1265
1266
|
{ no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
|
|
1266
1267
|
]);
|
|
1267
|
-
exports.MethodOptions = MethodOptions;
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
1270
1270
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -1290,7 +1290,7 @@ var MethodOptions_IdempotencyLevel;
|
|
|
1290
1290
|
* @generated from enum value: IDEMPOTENT = 2;
|
|
1291
1291
|
*/
|
|
1292
1292
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
1293
|
-
})(MethodOptions_IdempotencyLevel
|
|
1293
|
+
})(MethodOptions_IdempotencyLevel || (exports.MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = {}));
|
|
1294
1294
|
// Retrieve enum metadata with: proto2.getEnumType(MethodOptions_IdempotencyLevel)
|
|
1295
1295
|
proto2_js_1.proto2.util.setEnumType(MethodOptions_IdempotencyLevel, "google.protobuf.MethodOptions.IdempotencyLevel", [
|
|
1296
1296
|
{ no: 0, name: "IDEMPOTENCY_UNKNOWN" },
|
|
@@ -1329,6 +1329,7 @@ class UninterpretedOption extends message_js_1.Message {
|
|
|
1329
1329
|
return proto2_js_1.proto2.util.equals(UninterpretedOption, a, b);
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
+
exports.UninterpretedOption = UninterpretedOption;
|
|
1332
1333
|
UninterpretedOption.runtime = proto2_js_1.proto2;
|
|
1333
1334
|
UninterpretedOption.typeName = "google.protobuf.UninterpretedOption";
|
|
1334
1335
|
UninterpretedOption.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -1340,7 +1341,6 @@ UninterpretedOption.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
1340
1341
|
{ no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1341
1342
|
{ no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1342
1343
|
]);
|
|
1343
|
-
exports.UninterpretedOption = UninterpretedOption;
|
|
1344
1344
|
/**
|
|
1345
1345
|
* The name of the uninterpreted option. Each string represents a segment in
|
|
1346
1346
|
* a dot-separated name. is_extension is true iff a segment represents an
|
|
@@ -1368,13 +1368,13 @@ class UninterpretedOption_NamePart extends message_js_1.Message {
|
|
|
1368
1368
|
return proto2_js_1.proto2.util.equals(UninterpretedOption_NamePart, a, b);
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
|
+
exports.UninterpretedOption_NamePart = UninterpretedOption_NamePart;
|
|
1371
1372
|
UninterpretedOption_NamePart.runtime = proto2_js_1.proto2;
|
|
1372
1373
|
UninterpretedOption_NamePart.typeName = "google.protobuf.UninterpretedOption.NamePart";
|
|
1373
1374
|
UninterpretedOption_NamePart.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1374
1375
|
{ no: 1, name: "name_part", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1375
1376
|
{ no: 2, name: "is_extension", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1376
1377
|
]);
|
|
1377
|
-
exports.UninterpretedOption_NamePart = UninterpretedOption_NamePart;
|
|
1378
1378
|
/**
|
|
1379
1379
|
* Encapsulates information about the original source file from which a
|
|
1380
1380
|
* FileDescriptorProto was generated.
|
|
@@ -1447,12 +1447,12 @@ class SourceCodeInfo extends message_js_1.Message {
|
|
|
1447
1447
|
return proto2_js_1.proto2.util.equals(SourceCodeInfo, a, b);
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
+
exports.SourceCodeInfo = SourceCodeInfo;
|
|
1450
1451
|
SourceCodeInfo.runtime = proto2_js_1.proto2;
|
|
1451
1452
|
SourceCodeInfo.typeName = "google.protobuf.SourceCodeInfo";
|
|
1452
1453
|
SourceCodeInfo.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1453
1454
|
{ no: 1, name: "location", kind: "message", T: SourceCodeInfo_Location, repeated: true },
|
|
1454
1455
|
]);
|
|
1455
|
-
exports.SourceCodeInfo = SourceCodeInfo;
|
|
1456
1456
|
/**
|
|
1457
1457
|
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
1458
1458
|
*/
|
|
@@ -1516,6 +1516,7 @@ class SourceCodeInfo_Location extends message_js_1.Message {
|
|
|
1516
1516
|
return proto2_js_1.proto2.util.equals(SourceCodeInfo_Location, a, b);
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
+
exports.SourceCodeInfo_Location = SourceCodeInfo_Location;
|
|
1519
1520
|
SourceCodeInfo_Location.runtime = proto2_js_1.proto2;
|
|
1520
1521
|
SourceCodeInfo_Location.typeName = "google.protobuf.SourceCodeInfo.Location";
|
|
1521
1522
|
SourceCodeInfo_Location.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -1525,7 +1526,6 @@ SourceCodeInfo_Location.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
|
1525
1526
|
{ no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1526
1527
|
{ no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1527
1528
|
]);
|
|
1528
|
-
exports.SourceCodeInfo_Location = SourceCodeInfo_Location;
|
|
1529
1529
|
/**
|
|
1530
1530
|
* Describes the relationship between generated code and its original source
|
|
1531
1531
|
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
@@ -1558,12 +1558,12 @@ class GeneratedCodeInfo extends message_js_1.Message {
|
|
|
1558
1558
|
return proto2_js_1.proto2.util.equals(GeneratedCodeInfo, a, b);
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
|
+
exports.GeneratedCodeInfo = GeneratedCodeInfo;
|
|
1561
1562
|
GeneratedCodeInfo.runtime = proto2_js_1.proto2;
|
|
1562
1563
|
GeneratedCodeInfo.typeName = "google.protobuf.GeneratedCodeInfo";
|
|
1563
1564
|
GeneratedCodeInfo.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
1564
1565
|
{ no: 1, name: "annotation", kind: "message", T: GeneratedCodeInfo_Annotation, repeated: true },
|
|
1565
1566
|
]);
|
|
1566
|
-
exports.GeneratedCodeInfo = GeneratedCodeInfo;
|
|
1567
1567
|
/**
|
|
1568
1568
|
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
1569
1569
|
*/
|
|
@@ -1592,6 +1592,7 @@ class GeneratedCodeInfo_Annotation extends message_js_1.Message {
|
|
|
1592
1592
|
return proto2_js_1.proto2.util.equals(GeneratedCodeInfo_Annotation, a, b);
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
|
+
exports.GeneratedCodeInfo_Annotation = GeneratedCodeInfo_Annotation;
|
|
1595
1596
|
GeneratedCodeInfo_Annotation.runtime = proto2_js_1.proto2;
|
|
1596
1597
|
GeneratedCodeInfo_Annotation.typeName = "google.protobuf.GeneratedCodeInfo.Annotation";
|
|
1597
1598
|
GeneratedCodeInfo_Annotation.fields = proto2_js_1.proto2.util.newFieldList(() => [
|
|
@@ -1601,7 +1602,6 @@ GeneratedCodeInfo_Annotation.fields = proto2_js_1.proto2.util.newFieldList(() =>
|
|
|
1601
1602
|
{ no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1602
1603
|
{ no: 5, name: "semantic", kind: "enum", T: proto2_js_1.proto2.getEnumType(GeneratedCodeInfo_Annotation_Semantic), opt: true },
|
|
1603
1604
|
]);
|
|
1604
|
-
exports.GeneratedCodeInfo_Annotation = GeneratedCodeInfo_Annotation;
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Represents the identified object's effect on the element in the original
|
|
1607
1607
|
* .proto file.
|
|
@@ -1628,7 +1628,7 @@ var GeneratedCodeInfo_Annotation_Semantic;
|
|
|
1628
1628
|
* @generated from enum value: ALIAS = 2;
|
|
1629
1629
|
*/
|
|
1630
1630
|
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
|
|
1631
|
-
})(GeneratedCodeInfo_Annotation_Semantic
|
|
1631
|
+
})(GeneratedCodeInfo_Annotation_Semantic || (exports.GeneratedCodeInfo_Annotation_Semantic = GeneratedCodeInfo_Annotation_Semantic = {}));
|
|
1632
1632
|
// Retrieve enum metadata with: proto2.getEnumType(GeneratedCodeInfo_Annotation_Semantic)
|
|
1633
1633
|
proto2_js_1.proto2.util.setEnumType(GeneratedCodeInfo_Annotation_Semantic, "google.protobuf.GeneratedCodeInfo.Annotation.Semantic", [
|
|
1634
1634
|
{ no: 0, name: "NONE" },
|