Socket
Socket
Sign inDemoInstall

@protobuf-ts/plugin-framework

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobuf-ts/plugin-framework - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

87

build/commonjs/google/protobuf/compiler/plugin.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CodeGeneratorResponse_File = exports.CodeGeneratorResponse = exports.CodeGeneratorRequest = exports.Version = exports.CodeGeneratorResponse_Feature = void 0;
// @generated by protobuf-ts 1.0.0-alpha.35 with parameters force_optimize_code_size,long_type_string
// @generated from protobuf file "google/protobuf/compiler/plugin.proto" (package "google.protobuf.compiler", syntax proto2)
// tslint:disable
//
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: kenton@google.com (Kenton Varda)
//
// WARNING: The plugin interface is currently EXPERIMENTAL and is subject to
// change.
//
// protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is
// just a program that reads a CodeGeneratorRequest from stdin and writes a
// CodeGeneratorResponse to stdout.
//
// Plugins written using C++ can use google/protobuf/compiler/plugin.h instead
// of dealing with the raw protocol defined here.
//
// A plugin executable needs only to be placed somewhere in the path. The
// plugin should be named "protoc-gen-$NAME", and will then be used when the
// flag "--${NAME}_out" is passed to protoc.
//
const runtime_1 = require("@protobuf-ts/runtime");
const runtime_2 = require("@protobuf-ts/runtime");
const runtime_3 = require("@protobuf-ts/runtime");
const descriptor_1 = require("../descriptor");

@@ -25,9 +78,9 @@ /**

*/
class Version$Type extends runtime_1.MessageType {
class Version$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.compiler.Version", [
{ no: 1, name: "major", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "minor", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 3, name: "patch", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 4, name: "suffix", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 1, name: "major", kind: "scalar", opt: true, T: runtime_2.ScalarType.INT32 },
{ no: 2, name: "minor", kind: "scalar", opt: true, T: runtime_2.ScalarType.INT32 },
{ no: 3, name: "patch", kind: "scalar", opt: true, T: runtime_2.ScalarType.INT32 },
{ no: 4, name: "suffix", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING }
]);

@@ -40,8 +93,8 @@ }

*/
class CodeGeneratorRequest$Type extends runtime_1.MessageType {
class CodeGeneratorRequest$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.compiler.CodeGeneratorRequest", [
{ no: 1, name: "file_to_generate", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ },
{ no: 2, name: "parameter", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 15, name: "proto_file", kind: "message", repeat: 2 /* UNPACKED */, T: () => descriptor_1.FileDescriptorProto },
{ no: 1, name: "file_to_generate", kind: "scalar", repeat: runtime_1.RepeatType.UNPACKED, T: runtime_2.ScalarType.STRING },
{ no: 2, name: "parameter", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING },
{ no: 15, name: "proto_file", kind: "message", repeat: runtime_1.RepeatType.UNPACKED, T: () => descriptor_1.FileDescriptorProto },
{ no: 3, name: "compiler_version", kind: "message", T: () => exports.Version }

@@ -55,8 +108,8 @@ ]);

*/
class CodeGeneratorResponse$Type extends runtime_1.MessageType {
class CodeGeneratorResponse$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.compiler.CodeGeneratorResponse", [
{ no: 1, name: "error", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "supported_features", kind: "scalar", opt: true, T: 4 /* UINT64 */ },
{ no: 15, name: "file", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.CodeGeneratorResponse_File }
{ no: 1, name: "error", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING },
{ no: 2, name: "supported_features", kind: "scalar", opt: true, T: runtime_2.ScalarType.UINT64 },
{ no: 15, name: "file", kind: "message", repeat: runtime_1.RepeatType.UNPACKED, T: () => exports.CodeGeneratorResponse_File }
]);

@@ -69,8 +122,8 @@ }

*/
class CodeGeneratorResponse_File$Type extends runtime_1.MessageType {
class CodeGeneratorResponse_File$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.compiler.CodeGeneratorResponse.File", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "insertion_point", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 15, name: "content", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING },
{ no: 2, name: "insertion_point", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING },
{ no: 15, name: "content", kind: "scalar", opt: true, T: runtime_2.ScalarType.STRING }
]);

@@ -77,0 +130,0 @@ }

317

build/commonjs/google/protobuf/descriptor.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = void 0;
// @generated by protobuf-ts 1.0.0-alpha.35 with parameters force_optimize_code_size,long_type_string
// @generated from protobuf file "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
// tslint:disable
//
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: kenton@google.com (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
//
// The messages in this file describe the definitions found in .proto files.
// A valid .proto file can be translated directly to a FileDescriptorProto
// without any other information (e.g. without reading its imports).
//
const runtime_1 = require("@protobuf-ts/runtime");
const runtime_2 = require("@protobuf-ts/runtime");
const runtime_3 = require("@protobuf-ts/runtime");
/**

@@ -238,6 +283,6 @@ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type

*/
class FileDescriptorSet$Type extends runtime_1.MessageType {
class FileDescriptorSet$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.FileDescriptorSet", [
{ no: 1, name: "file", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.FileDescriptorProto }
{ no: 1, name: "file", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.FileDescriptorProto }
]);

@@ -250,17 +295,17 @@ }

*/
class FileDescriptorProto$Type extends runtime_1.MessageType {
class FileDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.FileDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ },
{ no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 5 /* INT32 */ },
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 5 /* INT32 */ },
{ no: 4, name: "message_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.DescriptorProto },
{ no: 5, name: "enum_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.EnumDescriptorProto },
{ no: 6, name: "service", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.ServiceDescriptorProto },
{ no: 7, name: "extension", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.FieldDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "package", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 3, name: "dependency", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.STRING },
{ no: 10, name: "public_dependency", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.INT32 },
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.INT32 },
{ no: 4, name: "message_type", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.DescriptorProto },
{ no: 5, name: "enum_type", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.EnumDescriptorProto },
{ no: 6, name: "service", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.ServiceDescriptorProto },
{ no: 7, name: "extension", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.FieldDescriptorProto },
{ no: 8, name: "options", kind: "message", T: () => exports.FileOptions },
{ no: 9, name: "source_code_info", kind: "message", T: () => exports.SourceCodeInfo },
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING }
]);

@@ -273,15 +318,15 @@ }

*/
class DescriptorProto$Type extends runtime_1.MessageType {
class DescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.DescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "field", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.FieldDescriptorProto },
{ no: 6, name: "extension", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.FieldDescriptorProto },
{ no: 3, name: "nested_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.DescriptorProto },
{ no: 4, name: "enum_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.EnumDescriptorProto },
{ no: 5, name: "extension_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.DescriptorProto_ExtensionRange },
{ no: 8, name: "oneof_decl", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.OneofDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "field", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.FieldDescriptorProto },
{ no: 6, name: "extension", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.FieldDescriptorProto },
{ no: 3, name: "nested_type", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.DescriptorProto },
{ no: 4, name: "enum_type", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.EnumDescriptorProto },
{ no: 5, name: "extension_range", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.DescriptorProto_ExtensionRange },
{ no: 8, name: "oneof_decl", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.OneofDescriptorProto },
{ no: 7, name: "options", kind: "message", T: () => exports.MessageOptions },
{ no: 9, name: "reserved_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.DescriptorProto_ReservedRange },
{ no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 9, name: "reserved_range", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.DescriptorProto_ReservedRange },
{ no: 10, name: "reserved_name", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.STRING }
]);

@@ -294,7 +339,7 @@ }

*/
class DescriptorProto_ExtensionRange$Type extends runtime_1.MessageType {
class DescriptorProto_ExtensionRange$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.DescriptorProto.ExtensionRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "start", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 3, name: "options", kind: "message", T: () => exports.ExtensionRangeOptions }

@@ -308,7 +353,7 @@ ]);

*/
class DescriptorProto_ReservedRange$Type extends runtime_1.MessageType {
class DescriptorProto_ReservedRange$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.DescriptorProto.ReservedRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "start", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 }
]);

@@ -321,6 +366,6 @@ }

*/
class ExtensionRangeOptions$Type extends runtime_1.MessageType {
class ExtensionRangeOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.ExtensionRangeOptions", [
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -333,16 +378,16 @@ }

*/
class FieldDescriptorProto$Type extends runtime_1.MessageType {
class FieldDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.FieldDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "number", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 3, name: "number", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 4, name: "label", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Label", FieldDescriptorProto_Label, "LABEL_"] },
{ no: 5, name: "type", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Type", FieldDescriptorProto_Type, "TYPE_"] },
{ no: 6, name: "type_name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "extendee", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 7, name: "default_value", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 9, name: "oneof_index", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 10, name: "json_name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 6, name: "type_name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "extendee", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 7, name: "default_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 9, name: "oneof_index", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 10, name: "json_name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 8, name: "options", kind: "message", T: () => exports.FieldOptions },
{ no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: 8 /* BOOL */ }
{ no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL }
]);

@@ -355,6 +400,6 @@ }

*/
class OneofDescriptorProto$Type extends runtime_1.MessageType {
class OneofDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.OneofDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "options", kind: "message", T: () => exports.OneofOptions }

@@ -368,10 +413,10 @@ ]);

*/
class EnumDescriptorProto$Type extends runtime_1.MessageType {
class EnumDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.EnumDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "value", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.EnumValueDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "value", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.EnumValueDescriptorProto },
{ no: 3, name: "options", kind: "message", T: () => exports.EnumOptions },
{ no: 4, name: "reserved_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.EnumDescriptorProto_EnumReservedRange },
{ no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 4, name: "reserved_range", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.EnumDescriptorProto_EnumReservedRange },
{ no: 5, name: "reserved_name", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.STRING }
]);

@@ -384,7 +429,7 @@ }

*/
class EnumDescriptorProto_EnumReservedRange$Type extends runtime_1.MessageType {
class EnumDescriptorProto_EnumReservedRange$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.EnumDescriptorProto.EnumReservedRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "start", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 }
]);

@@ -397,7 +442,7 @@ }

*/
class EnumValueDescriptorProto$Type extends runtime_1.MessageType {
class EnumValueDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.EnumValueDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "number", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "number", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 3, name: "options", kind: "message", T: () => exports.EnumValueOptions }

@@ -411,7 +456,7 @@ ]);

*/
class ServiceDescriptorProto$Type extends runtime_1.MessageType {
class ServiceDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.ServiceDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "method", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.MethodDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "method", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.MethodDescriptorProto },
{ no: 3, name: "options", kind: "message", T: () => exports.ServiceOptions }

@@ -425,11 +470,11 @@ ]);

*/
class MethodDescriptorProto$Type extends runtime_1.MessageType {
class MethodDescriptorProto$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.MethodDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "input_type", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "output_type", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 2, name: "input_type", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 3, name: "output_type", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 4, name: "options", kind: "message", T: () => exports.MethodOptions },
{ no: 5, name: "client_streaming", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 6, name: "server_streaming", kind: "scalar", opt: true, T: 8 /* BOOL */ }
{ no: 5, name: "client_streaming", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 6, name: "server_streaming", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL }
]);

@@ -442,26 +487,26 @@ }

*/
class FileOptions$Type extends runtime_1.MessageType {
class FileOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.FileOptions", [
{ no: 1, name: "java_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 1, name: "java_package", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 9, name: "optimize_for", kind: "enum", opt: true, T: () => ["google.protobuf.FileOptions.OptimizeMode", FileOptions_OptimizeMode] },
{ no: 11, name: "go_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 11, name: "go_package", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -474,10 +519,10 @@ }

*/
class MessageOptions$Type extends runtime_1.MessageType {
class MessageOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.MessageOptions", [
{ no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -490,12 +535,12 @@ }

*/
class FieldOptions$Type extends runtime_1.MessageType {
class FieldOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.FieldOptions", [
{ no: 1, name: "ctype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.CType", FieldOptions_CType] },
{ no: 2, name: "packed", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 2, name: "packed", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 6, name: "jstype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.JSType", FieldOptions_JSType] },
{ no: 5, name: "lazy", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 10, name: "weak", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 5, name: "lazy", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 10, name: "weak", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -508,6 +553,6 @@ }

*/
class OneofOptions$Type extends runtime_1.MessageType {
class OneofOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.OneofOptions", [
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -520,8 +565,8 @@ }

*/
class EnumOptions$Type extends runtime_1.MessageType {
class EnumOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.EnumOptions", [
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -534,7 +579,7 @@ }

*/
class EnumValueOptions$Type extends runtime_1.MessageType {
class EnumValueOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.EnumValueOptions", [
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -547,7 +592,7 @@ }

*/
class ServiceOptions$Type extends runtime_1.MessageType {
class ServiceOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.ServiceOptions", [
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -560,8 +605,8 @@ }

*/
class MethodOptions$Type extends runtime_1.MessageType {
class MethodOptions$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.MethodOptions", [
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: runtime_1.ScalarType.BOOL },
{ no: 34, name: "idempotency_level", kind: "enum", opt: true, T: () => ["google.protobuf.MethodOptions.IdempotencyLevel", MethodOptions_IdempotencyLevel] },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption }
]);

@@ -574,12 +619,12 @@ }

*/
class UninterpretedOption$Type extends runtime_1.MessageType {
class UninterpretedOption$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.UninterpretedOption", [
{ no: 2, name: "name", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.UninterpretedOption_NamePart },
{ no: 3, name: "identifier_value", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /* UINT64 */ },
{ no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /* INT64 */ },
{ no: 6, name: "double_value", kind: "scalar", opt: true, T: 1 /* DOUBLE */ },
{ no: 7, name: "string_value", kind: "scalar", opt: true, T: 12 /* BYTES */ },
{ no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 2, name: "name", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.UninterpretedOption_NamePart },
{ no: 3, name: "identifier_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.UINT64 },
{ no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT64 },
{ no: 6, name: "double_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.DOUBLE },
{ no: 7, name: "string_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.BYTES },
{ no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING }
]);

@@ -592,7 +637,7 @@ }

*/
class UninterpretedOption_NamePart$Type extends runtime_1.MessageType {
class UninterpretedOption_NamePart$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.UninterpretedOption.NamePart", [
{ no: 1, name: "name_part", kind: "scalar", T: 9 /* STRING */ },
{ no: 2, name: "is_extension", kind: "scalar", T: 8 /* BOOL */ }
{ no: 1, name: "name_part", kind: "scalar", T: runtime_1.ScalarType.STRING },
{ no: 2, name: "is_extension", kind: "scalar", T: runtime_1.ScalarType.BOOL }
]);

@@ -605,6 +650,6 @@ }

*/
class SourceCodeInfo$Type extends runtime_1.MessageType {
class SourceCodeInfo$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.SourceCodeInfo", [
{ no: 1, name: "location", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.SourceCodeInfo_Location }
{ no: 1, name: "location", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.SourceCodeInfo_Location }
]);

@@ -617,10 +662,10 @@ }

*/
class SourceCodeInfo_Location$Type extends runtime_1.MessageType {
class SourceCodeInfo_Location$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.SourceCodeInfo.Location", [
{ no: 1, name: "path", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 2, name: "span", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 3, name: "leading_comments", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 6, name: "leading_detached_comments", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 1, name: "path", kind: "scalar", repeat: runtime_2.RepeatType.PACKED, T: runtime_1.ScalarType.INT32 },
{ no: 2, name: "span", kind: "scalar", repeat: runtime_2.RepeatType.PACKED, T: runtime_1.ScalarType.INT32 },
{ no: 3, name: "leading_comments", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 6, name: "leading_detached_comments", kind: "scalar", repeat: runtime_2.RepeatType.UNPACKED, T: runtime_1.ScalarType.STRING }
]);

@@ -633,6 +678,6 @@ }

*/
class GeneratedCodeInfo$Type extends runtime_1.MessageType {
class GeneratedCodeInfo$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.GeneratedCodeInfo", [
{ no: 1, name: "annotation", kind: "message", repeat: 2 /* UNPACKED */, T: () => exports.GeneratedCodeInfo_Annotation }
{ no: 1, name: "annotation", kind: "message", repeat: runtime_2.RepeatType.UNPACKED, T: () => exports.GeneratedCodeInfo_Annotation }
]);

@@ -645,9 +690,9 @@ }

*/
class GeneratedCodeInfo_Annotation$Type extends runtime_1.MessageType {
class GeneratedCodeInfo_Annotation$Type extends runtime_3.MessageType {
constructor() {
super("google.protobuf.GeneratedCodeInfo.Annotation", [
{ no: 1, name: "path", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "begin", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 4, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "path", kind: "scalar", repeat: runtime_2.RepeatType.PACKED, T: runtime_1.ScalarType.INT32 },
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: runtime_1.ScalarType.STRING },
{ no: 3, name: "begin", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 },
{ no: 4, name: "end", kind: "scalar", opt: true, T: runtime_1.ScalarType.INT32 }
]);

@@ -654,0 +699,0 @@ }

@@ -0,1 +1,54 @@

// @generated by protobuf-ts 1.0.0-alpha.35 with parameters force_optimize_code_size,long_type_string
// @generated from protobuf file "google/protobuf/compiler/plugin.proto" (package "google.protobuf.compiler", syntax proto2)
// tslint:disable
//
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: kenton@google.com (Kenton Varda)
//
// WARNING: The plugin interface is currently EXPERIMENTAL and is subject to
// change.
//
// protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is
// just a program that reads a CodeGeneratorRequest from stdin and writes a
// CodeGeneratorResponse to stdout.
//
// Plugins written using C++ can use google/protobuf/compiler/plugin.h instead
// of dealing with the raw protocol defined here.
//
// A plugin executable needs only to be placed somewhere in the path. The
// plugin should be named "protoc-gen-$NAME", and will then be used when the
// flag "--${NAME}_out" is passed to protoc.
//
import { RepeatType } from "@protobuf-ts/runtime";
import { ScalarType } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";

@@ -25,6 +78,6 @@ import { FileDescriptorProto } from "../descriptor";

super("google.protobuf.compiler.Version", [
{ no: 1, name: "major", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "minor", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 3, name: "patch", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 4, name: "suffix", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 1, name: "major", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 2, name: "minor", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 3, name: "patch", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 4, name: "suffix", kind: "scalar", opt: true, T: ScalarType.STRING }
]);

@@ -40,5 +93,5 @@ }

super("google.protobuf.compiler.CodeGeneratorRequest", [
{ no: 1, name: "file_to_generate", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ },
{ no: 2, name: "parameter", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 15, name: "proto_file", kind: "message", repeat: 2 /* UNPACKED */, T: () => FileDescriptorProto },
{ no: 1, name: "file_to_generate", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.STRING },
{ no: 2, name: "parameter", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 15, name: "proto_file", kind: "message", repeat: RepeatType.UNPACKED, T: () => FileDescriptorProto },
{ no: 3, name: "compiler_version", kind: "message", T: () => Version }

@@ -55,5 +108,5 @@ ]);

super("google.protobuf.compiler.CodeGeneratorResponse", [
{ no: 1, name: "error", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "supported_features", kind: "scalar", opt: true, T: 4 /* UINT64 */ },
{ no: 15, name: "file", kind: "message", repeat: 2 /* UNPACKED */, T: () => CodeGeneratorResponse_File }
{ no: 1, name: "error", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "supported_features", kind: "scalar", opt: true, T: ScalarType.UINT64 },
{ no: 15, name: "file", kind: "message", repeat: RepeatType.UNPACKED, T: () => CodeGeneratorResponse_File }
]);

@@ -69,5 +122,5 @@ }

super("google.protobuf.compiler.CodeGeneratorResponse.File", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "insertion_point", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 15, name: "content", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "insertion_point", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 15, name: "content", kind: "scalar", opt: true, T: ScalarType.STRING }
]);

@@ -74,0 +127,0 @@ }

@@ -0,1 +1,46 @@

// @generated by protobuf-ts 1.0.0-alpha.35 with parameters force_optimize_code_size,long_type_string
// @generated from protobuf file "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
// tslint:disable
//
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: kenton@google.com (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
//
// The messages in this file describe the definitions found in .proto files.
// A valid .proto file can be translated directly to a FileDescriptorProto
// without any other information (e.g. without reading its imports).
//
import { ScalarType } from "@protobuf-ts/runtime";
import { RepeatType } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";

@@ -238,3 +283,3 @@ /**

super("google.protobuf.FileDescriptorSet", [
{ no: 1, name: "file", kind: "message", repeat: 2 /* UNPACKED */, T: () => FileDescriptorProto }
{ no: 1, name: "file", kind: "message", repeat: RepeatType.UNPACKED, T: () => FileDescriptorProto }
]);

@@ -250,14 +295,14 @@ }

super("google.protobuf.FileDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ },
{ no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 5 /* INT32 */ },
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /* UNPACKED */, T: 5 /* INT32 */ },
{ no: 4, name: "message_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => DescriptorProto },
{ no: 5, name: "enum_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => EnumDescriptorProto },
{ no: 6, name: "service", kind: "message", repeat: 2 /* UNPACKED */, T: () => ServiceDescriptorProto },
{ no: 7, name: "extension", kind: "message", repeat: 2 /* UNPACKED */, T: () => FieldDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "package", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 3, name: "dependency", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.STRING },
{ no: 10, name: "public_dependency", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.INT32 },
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.INT32 },
{ no: 4, name: "message_type", kind: "message", repeat: RepeatType.UNPACKED, T: () => DescriptorProto },
{ no: 5, name: "enum_type", kind: "message", repeat: RepeatType.UNPACKED, T: () => EnumDescriptorProto },
{ no: 6, name: "service", kind: "message", repeat: RepeatType.UNPACKED, T: () => ServiceDescriptorProto },
{ no: 7, name: "extension", kind: "message", repeat: RepeatType.UNPACKED, T: () => FieldDescriptorProto },
{ no: 8, name: "options", kind: "message", T: () => FileOptions },
{ no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo },
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: ScalarType.STRING }
]);

@@ -273,12 +318,12 @@ }

super("google.protobuf.DescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "field", kind: "message", repeat: 2 /* UNPACKED */, T: () => FieldDescriptorProto },
{ no: 6, name: "extension", kind: "message", repeat: 2 /* UNPACKED */, T: () => FieldDescriptorProto },
{ no: 3, name: "nested_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => DescriptorProto },
{ no: 4, name: "enum_type", kind: "message", repeat: 2 /* UNPACKED */, T: () => EnumDescriptorProto },
{ no: 5, name: "extension_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => DescriptorProto_ExtensionRange },
{ no: 8, name: "oneof_decl", kind: "message", repeat: 2 /* UNPACKED */, T: () => OneofDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "field", kind: "message", repeat: RepeatType.UNPACKED, T: () => FieldDescriptorProto },
{ no: 6, name: "extension", kind: "message", repeat: RepeatType.UNPACKED, T: () => FieldDescriptorProto },
{ no: 3, name: "nested_type", kind: "message", repeat: RepeatType.UNPACKED, T: () => DescriptorProto },
{ no: 4, name: "enum_type", kind: "message", repeat: RepeatType.UNPACKED, T: () => EnumDescriptorProto },
{ no: 5, name: "extension_range", kind: "message", repeat: RepeatType.UNPACKED, T: () => DescriptorProto_ExtensionRange },
{ no: 8, name: "oneof_decl", kind: "message", repeat: RepeatType.UNPACKED, T: () => OneofDescriptorProto },
{ no: 7, name: "options", kind: "message", T: () => MessageOptions },
{ no: 9, name: "reserved_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => DescriptorProto_ReservedRange },
{ no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 9, name: "reserved_range", kind: "message", repeat: RepeatType.UNPACKED, T: () => DescriptorProto_ReservedRange },
{ no: 10, name: "reserved_name", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.STRING }
]);

@@ -294,4 +339,4 @@ }

super("google.protobuf.DescriptorProto.ExtensionRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "start", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions }

@@ -308,4 +353,4 @@ ]);

super("google.protobuf.DescriptorProto.ReservedRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "start", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: ScalarType.INT32 }
]);

@@ -321,3 +366,3 @@ }

super("google.protobuf.ExtensionRangeOptions", [
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -333,13 +378,13 @@ }

super("google.protobuf.FieldDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "number", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 3, name: "number", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 4, name: "label", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Label", FieldDescriptorProto_Label, "LABEL_"] },
{ no: 5, name: "type", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Type", FieldDescriptorProto_Type, "TYPE_"] },
{ no: 6, name: "type_name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "extendee", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 7, name: "default_value", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 9, name: "oneof_index", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 10, name: "json_name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 6, name: "type_name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "extendee", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 7, name: "default_value", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 9, name: "oneof_index", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 10, name: "json_name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 8, name: "options", kind: "message", T: () => FieldOptions },
{ no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: 8 /* BOOL */ }
{ no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: ScalarType.BOOL }
]);

@@ -355,3 +400,3 @@ }

super("google.protobuf.OneofDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "options", kind: "message", T: () => OneofOptions }

@@ -368,7 +413,7 @@ ]);

super("google.protobuf.EnumDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "value", kind: "message", repeat: 2 /* UNPACKED */, T: () => EnumValueDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "value", kind: "message", repeat: RepeatType.UNPACKED, T: () => EnumValueDescriptorProto },
{ no: 3, name: "options", kind: "message", T: () => EnumOptions },
{ no: 4, name: "reserved_range", kind: "message", repeat: 2 /* UNPACKED */, T: () => EnumDescriptorProto_EnumReservedRange },
{ no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 4, name: "reserved_range", kind: "message", repeat: RepeatType.UNPACKED, T: () => EnumDescriptorProto_EnumReservedRange },
{ no: 5, name: "reserved_name", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.STRING }
]);

@@ -384,4 +429,4 @@ }

super("google.protobuf.EnumDescriptorProto.EnumReservedRange", [
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "start", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 2, name: "end", kind: "scalar", opt: true, T: ScalarType.INT32 }
]);

@@ -397,4 +442,4 @@ }

super("google.protobuf.EnumValueDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "number", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "number", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 3, name: "options", kind: "message", T: () => EnumValueOptions }

@@ -411,4 +456,4 @@ ]);

super("google.protobuf.ServiceDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "method", kind: "message", repeat: 2 /* UNPACKED */, T: () => MethodDescriptorProto },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "method", kind: "message", repeat: RepeatType.UNPACKED, T: () => MethodDescriptorProto },
{ no: 3, name: "options", kind: "message", T: () => ServiceOptions }

@@ -425,8 +470,8 @@ ]);

super("google.protobuf.MethodDescriptorProto", [
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 2, name: "input_type", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "output_type", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 1, name: "name", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 2, name: "input_type", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 3, name: "output_type", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 4, name: "options", kind: "message", T: () => MethodOptions },
{ no: 5, name: "client_streaming", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 6, name: "server_streaming", kind: "scalar", opt: true, T: 8 /* BOOL */ }
{ no: 5, name: "client_streaming", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 6, name: "server_streaming", kind: "scalar", opt: true, T: ScalarType.BOOL }
]);

@@ -442,23 +487,23 @@ }

super("google.protobuf.FileOptions", [
{ no: 1, name: "java_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 1, name: "java_package", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 9, name: "optimize_for", kind: "enum", opt: true, T: () => ["google.protobuf.FileOptions.OptimizeMode", FileOptions_OptimizeMode] },
{ no: 11, name: "go_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 11, name: "go_package", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -474,7 +519,7 @@ }

super("google.protobuf.MessageOptions", [
{ no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -491,8 +536,8 @@ }

{ no: 1, name: "ctype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.CType", FieldOptions_CType] },
{ no: 2, name: "packed", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 2, name: "packed", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 6, name: "jstype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.JSType", FieldOptions_JSType] },
{ no: 5, name: "lazy", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 10, name: "weak", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 5, name: "lazy", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 10, name: "weak", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -508,3 +553,3 @@ }

super("google.protobuf.OneofOptions", [
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -520,5 +565,5 @@ }

super("google.protobuf.EnumOptions", [
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -534,4 +579,4 @@ }

super("google.protobuf.EnumValueOptions", [
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -547,4 +592,4 @@ }

super("google.protobuf.ServiceOptions", [
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -560,5 +605,5 @@ }

super("google.protobuf.MethodOptions", [
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /* BOOL */ },
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: ScalarType.BOOL },
{ no: 34, name: "idempotency_level", kind: "enum", opt: true, T: () => ["google.protobuf.MethodOptions.IdempotencyLevel", MethodOptions_IdempotencyLevel] },
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption }
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption }
]);

@@ -574,9 +619,9 @@ }

super("google.protobuf.UninterpretedOption", [
{ no: 2, name: "name", kind: "message", repeat: 2 /* UNPACKED */, T: () => UninterpretedOption_NamePart },
{ no: 3, name: "identifier_value", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /* UINT64 */ },
{ no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /* INT64 */ },
{ no: 6, name: "double_value", kind: "scalar", opt: true, T: 1 /* DOUBLE */ },
{ no: 7, name: "string_value", kind: "scalar", opt: true, T: 12 /* BYTES */ },
{ no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: 9 /* STRING */ }
{ no: 2, name: "name", kind: "message", repeat: RepeatType.UNPACKED, T: () => UninterpretedOption_NamePart },
{ no: 3, name: "identifier_value", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: ScalarType.UINT64 },
{ no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: ScalarType.INT64 },
{ no: 6, name: "double_value", kind: "scalar", opt: true, T: ScalarType.DOUBLE },
{ no: 7, name: "string_value", kind: "scalar", opt: true, T: ScalarType.BYTES },
{ no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: ScalarType.STRING }
]);

@@ -592,4 +637,4 @@ }

super("google.protobuf.UninterpretedOption.NamePart", [
{ no: 1, name: "name_part", kind: "scalar", T: 9 /* STRING */ },
{ no: 2, name: "is_extension", kind: "scalar", T: 8 /* BOOL */ }
{ no: 1, name: "name_part", kind: "scalar", T: ScalarType.STRING },
{ no: 2, name: "is_extension", kind: "scalar", T: ScalarType.BOOL }
]);

@@ -605,3 +650,3 @@ }

super("google.protobuf.SourceCodeInfo", [
{ no: 1, name: "location", kind: "message", repeat: 2 /* UNPACKED */, T: () => SourceCodeInfo_Location }
{ no: 1, name: "location", kind: "message", repeat: RepeatType.UNPACKED, T: () => SourceCodeInfo_Location }
]);

@@ -617,7 +662,7 @@ }

super("google.protobuf.SourceCodeInfo.Location", [
{ no: 1, name: "path", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 2, name: "span", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 3, name: "leading_comments", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 6, name: "leading_detached_comments", kind: "scalar", repeat: 2 /* UNPACKED */, T: 9 /* STRING */ }
{ no: 1, name: "path", kind: "scalar", repeat: RepeatType.PACKED, T: ScalarType.INT32 },
{ no: 2, name: "span", kind: "scalar", repeat: RepeatType.PACKED, T: ScalarType.INT32 },
{ no: 3, name: "leading_comments", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 6, name: "leading_detached_comments", kind: "scalar", repeat: RepeatType.UNPACKED, T: ScalarType.STRING }
]);

@@ -633,3 +678,3 @@ }

super("google.protobuf.GeneratedCodeInfo", [
{ no: 1, name: "annotation", kind: "message", repeat: 2 /* UNPACKED */, T: () => GeneratedCodeInfo_Annotation }
{ no: 1, name: "annotation", kind: "message", repeat: RepeatType.UNPACKED, T: () => GeneratedCodeInfo_Annotation }
]);

@@ -645,6 +690,6 @@ }

super("google.protobuf.GeneratedCodeInfo.Annotation", [
{ no: 1, name: "path", kind: "scalar", repeat: 1 /* PACKED */, T: 5 /* INT32 */ },
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: 9 /* STRING */ },
{ no: 3, name: "begin", kind: "scalar", opt: true, T: 5 /* INT32 */ },
{ no: 4, name: "end", kind: "scalar", opt: true, T: 5 /* INT32 */ }
{ no: 1, name: "path", kind: "scalar", repeat: RepeatType.PACKED, T: ScalarType.INT32 },
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: ScalarType.STRING },
{ no: 3, name: "begin", kind: "scalar", opt: true, T: ScalarType.INT32 },
{ no: 4, name: "end", kind: "scalar", opt: true, T: ScalarType.INT32 }
]);

@@ -651,0 +696,0 @@ }

{
"name": "@protobuf-ts/plugin-framework",
"version": "1.0.3",
"version": "1.0.4",
"description": "framework to create protoc plugins",

@@ -36,6 +36,6 @@ "license": "(Apache-2.0 AND BSD-3-Clause)",

"dependencies": {
"@protobuf-ts/runtime": "^1.0.3",
"@protobuf-ts/runtime": "^1.0.4",
"typescript": ">=3.8.3 <4"
},
"gitHead": "e18a1e8f304b99fa5e04b61f9e2cb00c0df02c58"
"gitHead": "571a8a402377ce2e103c083c3d1614ae84c09f51"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc