@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
1,516 lines (1,281 loc) • 320 kB
JavaScript
"use strict";
// source: google/protobuf/descriptor.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = function () {
return this || window || global || self || Function('return this')();
}.call(null);
goog.exportSymbol('proto.google.protobuf.DescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.DescriptorProto.ExtensionRange', null, global);
goog.exportSymbol('proto.google.protobuf.DescriptorProto.ReservedRange', null, global);
goog.exportSymbol('proto.google.protobuf.EnumDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.EnumDescriptorProto.EnumReservedRange', null, global);
goog.exportSymbol('proto.google.protobuf.EnumOptions', null, global);
goog.exportSymbol('proto.google.protobuf.EnumValueDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.EnumValueOptions', null, global);
goog.exportSymbol('proto.google.protobuf.ExtensionRangeOptions', null, global);
goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto.Label', null, global);
goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto.Type', null, global);
goog.exportSymbol('proto.google.protobuf.FieldOptions', null, global);
goog.exportSymbol('proto.google.protobuf.FieldOptions.CType', null, global);
goog.exportSymbol('proto.google.protobuf.FieldOptions.JSType', null, global);
goog.exportSymbol('proto.google.protobuf.FileDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.FileDescriptorSet', null, global);
goog.exportSymbol('proto.google.protobuf.FileOptions', null, global);
goog.exportSymbol('proto.google.protobuf.FileOptions.OptimizeMode', null, global);
goog.exportSymbol('proto.google.protobuf.GeneratedCodeInfo', null, global);
goog.exportSymbol('proto.google.protobuf.GeneratedCodeInfo.Annotation', null, global);
goog.exportSymbol('proto.google.protobuf.MessageOptions', null, global);
goog.exportSymbol('proto.google.protobuf.MethodDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.MethodOptions', null, global);
goog.exportSymbol('proto.google.protobuf.MethodOptions.IdempotencyLevel', null, global);
goog.exportSymbol('proto.google.protobuf.OneofDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.OneofOptions', null, global);
goog.exportSymbol('proto.google.protobuf.ServiceDescriptorProto', null, global);
goog.exportSymbol('proto.google.protobuf.ServiceOptions', null, global);
goog.exportSymbol('proto.google.protobuf.SourceCodeInfo', null, global);
goog.exportSymbol('proto.google.protobuf.SourceCodeInfo.Location', null, global);
goog.exportSymbol('proto.google.protobuf.UninterpretedOption', null, global);
goog.exportSymbol('proto.google.protobuf.UninterpretedOption.NamePart', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.FileDescriptorSet = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.FileDescriptorSet.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.FileDescriptorSet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.FileDescriptorSet.displayName = 'proto.google.protobuf.FileDescriptorSet';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.FileDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.FileDescriptorProto.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.FileDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.FileDescriptorProto.displayName = 'proto.google.protobuf.FileDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.DescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.DescriptorProto.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.DescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.DescriptorProto.displayName = 'proto.google.protobuf.DescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.DescriptorProto.ExtensionRange = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.DescriptorProto.ExtensionRange.displayName = 'proto.google.protobuf.DescriptorProto.ExtensionRange';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.DescriptorProto.ReservedRange = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.DescriptorProto.ReservedRange, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.DescriptorProto.ReservedRange.displayName = 'proto.google.protobuf.DescriptorProto.ReservedRange';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.ExtensionRangeOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.ExtensionRangeOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.ExtensionRangeOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.ExtensionRangeOptions.displayName = 'proto.google.protobuf.ExtensionRangeOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.ExtensionRangeOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.ExtensionRangeOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.FieldDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.FieldDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.FieldDescriptorProto.displayName = 'proto.google.protobuf.FieldDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.OneofDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.OneofDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.OneofDescriptorProto.displayName = 'proto.google.protobuf.OneofDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.EnumDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.EnumDescriptorProto.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.EnumDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.EnumDescriptorProto.displayName = 'proto.google.protobuf.EnumDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.EnumDescriptorProto.EnumReservedRange = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName = 'proto.google.protobuf.EnumDescriptorProto.EnumReservedRange';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.EnumValueDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.EnumValueDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.EnumValueDescriptorProto.displayName = 'proto.google.protobuf.EnumValueDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.ServiceDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.ServiceDescriptorProto.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.ServiceDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.ServiceDescriptorProto.displayName = 'proto.google.protobuf.ServiceDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.MethodDescriptorProto = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.MethodDescriptorProto, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.MethodDescriptorProto.displayName = 'proto.google.protobuf.MethodDescriptorProto';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.FileOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.FileOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.FileOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.FileOptions.displayName = 'proto.google.protobuf.FileOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.FileOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.FileOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.MessageOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.MessageOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.MessageOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.MessageOptions.displayName = 'proto.google.protobuf.MessageOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.MessageOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.MessageOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.FieldOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.FieldOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.FieldOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.FieldOptions.displayName = 'proto.google.protobuf.FieldOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.FieldOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.FieldOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.OneofOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.OneofOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.OneofOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.OneofOptions.displayName = 'proto.google.protobuf.OneofOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.OneofOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.OneofOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.EnumOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.EnumOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.EnumOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.EnumOptions.displayName = 'proto.google.protobuf.EnumOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.EnumOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.EnumOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.EnumValueOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.EnumValueOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.EnumValueOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.EnumValueOptions.displayName = 'proto.google.protobuf.EnumValueOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.EnumValueOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.EnumValueOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.ServiceOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.ServiceOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.ServiceOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.ServiceOptions.displayName = 'proto.google.protobuf.ServiceOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.ServiceOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.ServiceOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.MethodOptions = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.MethodOptions.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.MethodOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.MethodOptions.displayName = 'proto.google.protobuf.MethodOptions';
}
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldInfo>}
*/
proto.google.protobuf.MethodOptions.extensions = {};
/**
* The extensions registered with this message class. This is a map of
* extension field number to fieldInfo object.
*
* For example:
* { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} }
*
* fieldName contains the JsCompiler renamed field name property so that it
* works in OPTIMIZED mode.
*
* @type {!Object<number, jspb.ExtensionFieldBinaryInfo>}
*/
proto.google.protobuf.MethodOptions.extensionsBinary = {};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.UninterpretedOption = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.UninterpretedOption.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.UninterpretedOption, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.UninterpretedOption.displayName = 'proto.google.protobuf.UninterpretedOption';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.UninterpretedOption.NamePart = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.protobuf.UninterpretedOption.NamePart, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.UninterpretedOption.NamePart.displayName = 'proto.google.protobuf.UninterpretedOption.NamePart';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.SourceCodeInfo = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.SourceCodeInfo.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.SourceCodeInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.SourceCodeInfo.displayName = 'proto.google.protobuf.SourceCodeInfo';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.SourceCodeInfo.Location = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.SourceCodeInfo.Location, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.SourceCodeInfo.Location.displayName = 'proto.google.protobuf.SourceCodeInfo.Location';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.GeneratedCodeInfo = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.GeneratedCodeInfo.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.GeneratedCodeInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.GeneratedCodeInfo.displayName = 'proto.google.protobuf.GeneratedCodeInfo';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.protobuf.GeneratedCodeInfo.Annotation = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_, null);
};
goog.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName = 'proto.google.protobuf.GeneratedCodeInfo.Annotation';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.google.protobuf.FileDescriptorSet.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.protobuf.FileDescriptorSet.prototype.toObject = function (opt_includeInstance) {
return proto.google.protobuf.FileDescriptorSet.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.protobuf.FileDescriptorSet} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.protobuf.FileDescriptorSet.toObject = function (includeInstance, msg) {
var f,
obj = {
fileList: jspb.Message.toObjectList(msg.getFileList(), proto.google.protobuf.FileDescriptorProto.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.protobuf.FileDescriptorSet}
*/
proto.google.protobuf.FileDescriptorSet.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.protobuf.FileDescriptorSet();
return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.protobuf.FileDescriptorSet} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.protobuf.FileDescriptorSet}
*/
proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader = function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.google.protobuf.FileDescriptorProto();
reader.readMessage(value, proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader);
msg.addFile(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter();
proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.protobuf.FileDescriptorSet} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter = function (message, writer) {
var f = undefined;
f = message.getFileList();
if (f.length > 0) {
writer.writeRepeatedMessage(1, f, proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter);
}
};
/**
* repeated FileDescriptorProto file = 1;
* @return {!Array<!proto.google.protobuf.FileDescriptorProto>}
*/
proto.google.protobuf.FileDescriptorSet.prototype.getFileList = function () {
return (
/** @type{!Array<!proto.google.protobuf.FileDescriptorProto>} */
jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FileDescriptorProto, 1)
);
};
/**
* @param {!Array<!proto.google.protobuf.FileDescriptorProto>} value
* @return {!proto.google.protobuf.FileDescriptorSet} returns this
*/
proto.google.protobuf.FileDescriptorSet.prototype.setFileList = function (value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.google.protobuf.FileDescriptorProto=} opt_value
* @param {number=} opt_index
* @return {!proto.google.protobuf.FileDescriptorProto}
*/
proto.google.protobuf.FileDescriptorSet.prototype.addFile = function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.FileDescriptorProto, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.google.protobuf.FileDescriptorSet} returns this
*/
proto.google.protobuf.FileDescriptorSet.prototype.clearFileList = function () {
return this.setFileList([]);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.google.protobuf.FileDescriptorProto.repeatedFields_ = [3, 10, 11, 4, 5, 6, 7];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.protobuf.FileDescriptorProto.prototype.toObject = function (opt_includeInstance) {
return proto.google.protobuf.FileDescriptorProto.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.protobuf.FileDescriptorProto} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.protobuf.FileDescriptorProto.toObject = function (includeInstance, msg) {
var f,
obj = {
name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
pb_package: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
dependencyList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
publicDependencyList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
weakDependencyList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
messageTypeList: jspb.Message.toObjectList(msg.getMessageTypeList(), proto.google.protobuf.DescriptorProto.toObject, includeInstance),
enumTypeList: jspb.Message.toObjectList(msg.getEnumTypeList(), proto.google.protobuf.EnumDescriptorProto.toObject, includeInstance),
serviceList: jspb.Message.toObjectList(msg.getServiceList(), proto.google.protobuf.ServiceDescriptorProto.toObject, includeInstance),
extensionList: jspb.Message.toObjectList(msg.getExtensionList(), proto.google.protobuf.FieldDescriptorProto.toObject, includeInstance),
options: (f = msg.getOptions()) && proto.google.protobuf.FileOptions.toObject(includeInstance, f),
sourceCodeInfo: (f = msg.getSourceCodeInfo()) && proto.google.protobuf.SourceCodeInfo.toObject(includeInstance, f),
syntax: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.protobuf.FileDescriptorProto}
*/
proto.google.protobuf.FileDescriptorProto.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.protobuf.FileDescriptorProto();
return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.protobuf.FileDescriptorProto} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.protobuf.FileDescriptorProto}
*/
proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader = function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value =
/** @type {string} */
reader.readString();
msg.setName(value);
break;
case 2:
var value =
/** @type {string} */
reader.readString();
msg.setPackage(value);
break;
case 3:
var value =
/** @type {string} */
reader.readString();
msg.addDependency(value);
break;
case 10:
var values =
/** @type {!Array<number>} */
reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()];
for (var i = 0; i < values.length; i++) {
msg.addPublicDependency(values[i]);
}
break;
case 11:
var values =
/** @type {!Array<number>} */
reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()];
for (var i = 0; i < values.length; i++) {
msg.addWeakDependency(values[i]);
}
break;
case 4:
var value = new proto.google.protobuf.DescriptorProto();
reader.readMessage(value, proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader);
msg.addMessageType(value);
break;
case 5:
var value = new proto.google.protobuf.EnumDescriptorProto();
reader.readMessage(value, proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader);
msg.addEnumType(value);
break;
case 6:
var value = new proto.google.protobuf.ServiceDescriptorProto();
reader.readMessage(value, proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader);
msg.addService(value);
break;
case 7:
var value = new proto.google.protobuf.FieldDescriptorProto();
reader.readMessage(value, proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader);
msg.addExtension$(value);
break;
case 8:
var value = new proto.google.protobuf.FileOptions();
reader.readMessage(value, proto.google.protobuf.FileOptions.deserializeBinaryFromReader);
msg.setOptions(value);
break;
case 9:
var value = new proto.google.protobuf.SourceCodeInfo();
reader.readMessage(value, proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader);
msg.setSourceCodeInfo(value);
break;
case 12:
var value =
/** @type {string} */
reader.readString();
msg.setSyntax(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter();
proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.protobuf.FileDescriptorProto} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter = function (message, writer) {
var f = undefined;
f =
/** @type {string} */
jspb.Message.getField(message, 1);
if (f != null) {
writer.writeString(1, f);
}
f =
/** @type {string} */
jspb.Message.getField(message, 2);
if (f != null) {
writer.writeString(2, f);
}
f = message.getDependencyList();
if (f.length > 0) {
writer.writeRepeatedString(3, f);
}
f = message.getPublicDependencyList();
if (f.length > 0) {
writer.writeRepeatedInt32(10, f);
}
f = message.getWeakDependencyList();
if (f.length > 0) {
writer.writeRepeatedInt32(11, f);
}
f = message.getMessageTypeList();
if (f.length > 0) {
writer.writeRepeatedMessage(4, f, proto.google.protobuf.DescriptorProto.serializeBinaryToWriter);
}
f = message.getEnumTypeList();
if (f.length > 0) {
writer.writeRepeatedMessage(5, f, proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter);
}
f = message.getServiceList();
if (f.length > 0) {
writer.writeRepeatedMessage(6, f, proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter);
}
f = message.getExtensionList();
if (f.length > 0) {
writer.writeRepeatedMessage(7, f, proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter);
}
f = message.getOptions();
if (f != null) {
writer.writeMessage(8, f, proto.google.protobuf.FileOptions.serializeBinaryToWriter);
}
f = message.getSourceCodeInfo();
if (f != null) {
writer.writeMessage(9, f, proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter);
}
f =
/** @type {string} */
jspb.Message.getField(message, 12);
if (f != null) {
writer.writeString(12, f);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.protobuf.FileDescriptorProto.prototype.getName = function () {
return (
/** @type {string} */
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.google.protobuf.FileDescriptorProto} returns this
*/
proto.google.protobuf.FileDescriptorProto.prototype.setName = function (value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.google.protobuf.FileDescriptorProto} returns this
*/
proto.google.protobuf.FileDescriptorProto.prototype.clearName = function () {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.protobuf.FileDescriptorProto.prototype.hasName = function () {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string package = 2;
* @return {string}
*/
proto.google.protobuf.FileDescriptorProto.prototype.getPackage = function () {
return (
/** @type {string} */
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.google.protobuf.FileDescriptorProto} returns this
*/
proto.google.protobuf.FileDescriptorProto.prototype.setPackage = function (value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.google.protobuf.FileDescriptorProto} returns this
*/
proto.google.protobuf.FileDescriptorProto.prototype.clearPackage = function () {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.protobuf.FileDescriptorProto.prototype.hasPackage = function () {
return jspb.Message.getField(this, 2) != null;
};
/**
* repeated string dependency = 3;
* @return {!Array<string>}
*/
proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList = function () {
return (
/** @type {!Array<string>} */