agones.dev/agones@v1.53.0/sdks/nodejs/lib/protoc-gen-openapiv2/options/annotations_pb.js (about)

     1  // Copyright 2024 Google LLC All Rights Reserved.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // This code was autogenerated. Do not edit directly.
    16  // source: protoc-gen-openapiv2/options/annotations.proto
    17  /**
    18   * @fileoverview
    19   * @enhanceable
    20   * @suppress {missingRequire} reports error on implicit type usages.
    21   * @suppress {messageConventions} JS Compiler reports an error if a variable or
    22   *     field starts with 'MSG_' and isn't a translatable message.
    23   * @public
    24   */
    25  // GENERATED CODE -- DO NOT EDIT!
    26  /* eslint-disable */
    27  // @ts-nocheck
    28  
    29  var jspb = require('google-protobuf');
    30  var goog = jspb;
    31  var global = Function('return this')();
    32  
    33  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
    34  goog.object.extend(proto, google_protobuf_descriptor_pb);
    35  var protoc$gen$openapiv2_options_openapiv2_pb = require('../../protoc-gen-openapiv2/options/openapiv2_pb.js');
    36  goog.object.extend(proto, protoc$gen$openapiv2_options_openapiv2_pb);
    37  goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field', null, global);
    38  goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation', null, global);
    39  goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema', null, global);
    40  goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger', null, global);
    41  goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag', null, global);
    42  
    43  /**
    44   * A tuple of {field number, class constructor} for the extension
    45   * field named `openapiv2Swagger`.
    46   * @type {!jspb.ExtensionFieldInfo<!proto.grpc.gateway.protoc_gen_openapiv2.options.Swagger>}
    47   */
    48  proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger = new jspb.ExtensionFieldInfo(
    49      1042,
    50      {openapiv2Swagger: 0},
    51      protoc$gen$openapiv2_options_openapiv2_pb.Swagger,
    52       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
    53           protoc$gen$openapiv2_options_openapiv2_pb.Swagger.toObject),
    54      0);
    55  
    56  google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo(
    57      proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger,
    58      jspb.BinaryReader.prototype.readMessage,
    59      jspb.BinaryWriter.prototype.writeMessage,
    60      protoc$gen$openapiv2_options_openapiv2_pb.Swagger.serializeBinaryToWriter,
    61      protoc$gen$openapiv2_options_openapiv2_pb.Swagger.deserializeBinaryFromReader,
    62      false);
    63  // This registers the extension field with the extended class, so that
    64  // toObject() will function correctly.
    65  google_protobuf_descriptor_pb.FileOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Swagger;
    66  
    67  
    68  /**
    69   * A tuple of {field number, class constructor} for the extension
    70   * field named `openapiv2Operation`.
    71   * @type {!jspb.ExtensionFieldInfo<!proto.grpc.gateway.protoc_gen_openapiv2.options.Operation>}
    72   */
    73  proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation = new jspb.ExtensionFieldInfo(
    74      1042,
    75      {openapiv2Operation: 0},
    76      protoc$gen$openapiv2_options_openapiv2_pb.Operation,
    77       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
    78           protoc$gen$openapiv2_options_openapiv2_pb.Operation.toObject),
    79      0);
    80  
    81  google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo(
    82      proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation,
    83      jspb.BinaryReader.prototype.readMessage,
    84      jspb.BinaryWriter.prototype.writeMessage,
    85      protoc$gen$openapiv2_options_openapiv2_pb.Operation.serializeBinaryToWriter,
    86      protoc$gen$openapiv2_options_openapiv2_pb.Operation.deserializeBinaryFromReader,
    87      false);
    88  // This registers the extension field with the extended class, so that
    89  // toObject() will function correctly.
    90  google_protobuf_descriptor_pb.MethodOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Operation;
    91  
    92  
    93  /**
    94   * A tuple of {field number, class constructor} for the extension
    95   * field named `openapiv2Schema`.
    96   * @type {!jspb.ExtensionFieldInfo<!proto.grpc.gateway.protoc_gen_openapiv2.options.Schema>}
    97   */
    98  proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema = new jspb.ExtensionFieldInfo(
    99      1042,
   100      {openapiv2Schema: 0},
   101      protoc$gen$openapiv2_options_openapiv2_pb.Schema,
   102       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
   103           protoc$gen$openapiv2_options_openapiv2_pb.Schema.toObject),
   104      0);
   105  
   106  google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo(
   107      proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema,
   108      jspb.BinaryReader.prototype.readMessage,
   109      jspb.BinaryWriter.prototype.writeMessage,
   110      protoc$gen$openapiv2_options_openapiv2_pb.Schema.serializeBinaryToWriter,
   111      protoc$gen$openapiv2_options_openapiv2_pb.Schema.deserializeBinaryFromReader,
   112      false);
   113  // This registers the extension field with the extended class, so that
   114  // toObject() will function correctly.
   115  google_protobuf_descriptor_pb.MessageOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Schema;
   116  
   117  
   118  /**
   119   * A tuple of {field number, class constructor} for the extension
   120   * field named `openapiv2Tag`.
   121   * @type {!jspb.ExtensionFieldInfo<!proto.grpc.gateway.protoc_gen_openapiv2.options.Tag>}
   122   */
   123  proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag = new jspb.ExtensionFieldInfo(
   124      1042,
   125      {openapiv2Tag: 0},
   126      protoc$gen$openapiv2_options_openapiv2_pb.Tag,
   127       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
   128           protoc$gen$openapiv2_options_openapiv2_pb.Tag.toObject),
   129      0);
   130  
   131  google_protobuf_descriptor_pb.ServiceOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo(
   132      proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag,
   133      jspb.BinaryReader.prototype.readMessage,
   134      jspb.BinaryWriter.prototype.writeMessage,
   135      protoc$gen$openapiv2_options_openapiv2_pb.Tag.serializeBinaryToWriter,
   136      protoc$gen$openapiv2_options_openapiv2_pb.Tag.deserializeBinaryFromReader,
   137      false);
   138  // This registers the extension field with the extended class, so that
   139  // toObject() will function correctly.
   140  google_protobuf_descriptor_pb.ServiceOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Tag;
   141  
   142  
   143  /**
   144   * A tuple of {field number, class constructor} for the extension
   145   * field named `openapiv2Field`.
   146   * @type {!jspb.ExtensionFieldInfo<!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema>}
   147   */
   148  proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field = new jspb.ExtensionFieldInfo(
   149      1042,
   150      {openapiv2Field: 0},
   151      protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema,
   152       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
   153           protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.toObject),
   154      0);
   155  
   156  google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1042] = new jspb.ExtensionFieldBinaryInfo(
   157      proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field,
   158      jspb.BinaryReader.prototype.readMessage,
   159      jspb.BinaryWriter.prototype.writeMessage,
   160      protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.serializeBinaryToWriter,
   161      protoc$gen$openapiv2_options_openapiv2_pb.JSONSchema.deserializeBinaryFromReader,
   162      false);
   163  // This registers the extension field with the extended class, so that
   164  // toObject() will function correctly.
   165  google_protobuf_descriptor_pb.FieldOptions.extensions[1042] = proto.grpc.gateway.protoc_gen_openapiv2.options.openapiv2Field;
   166  
   167  goog.object.extend(exports, proto.grpc.gateway.protoc_gen_openapiv2.options);