UNPKG

xud

Version:
45 lines (39 loc) 1.67 kB
/** * @fileoverview * @enhanceable * @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! var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); var google_api_http_pb = require('./google/api/http_pb.js'); goog.object.extend(proto, google_api_http_pb); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); goog.exportSymbol('proto.google.api.http', null, global); /** * A tuple of {field number, class constructor} for the extension * field named `http`. * @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>} */ proto.google.api.http = new jspb.ExtensionFieldInfo( 72295728, {http: 0}, google_api_http_pb.HttpRule, /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( google_api_http_pb.HttpRule.toObject), 0); google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( proto.google.api.http, jspb.BinaryReader.prototype.readMessage, jspb.BinaryWriter.prototype.writeMessage, google_api_http_pb.HttpRule.serializeBinaryToWriter, google_api_http_pb.HttpRule.deserializeBinaryFromReader, false); // This registers the extension field with the extended class, so that // toObject() will function correctly. google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; goog.object.extend(exports, proto.google.api);