agones.dev/agones@v1.53.0/sdks/nodejs/lib/google/api/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: google/api/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_api_http_pb = require('../../google/api/http_pb.js');
    34  goog.object.extend(proto, google_api_http_pb);
    35  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
    36  goog.object.extend(proto, google_protobuf_descriptor_pb);
    37  goog.exportSymbol('proto.google.api.http', null, global);
    38  
    39  /**
    40   * A tuple of {field number, class constructor} for the extension
    41   * field named `http`.
    42   * @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
    43   */
    44  proto.google.api.http = new jspb.ExtensionFieldInfo(
    45      72295728,
    46      {http: 0},
    47      google_api_http_pb.HttpRule,
    48       /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
    49           google_api_http_pb.HttpRule.toObject),
    50      0);
    51  
    52  google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(
    53      proto.google.api.http,
    54      jspb.BinaryReader.prototype.readMessage,
    55      jspb.BinaryWriter.prototype.writeMessage,
    56      google_api_http_pb.HttpRule.serializeBinaryToWriter,
    57      google_api_http_pb.HttpRule.deserializeBinaryFromReader,
    58      false);
    59  // This registers the extension field with the extended class, so that
    60  // toObject() will function correctly.
    61  google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
    62  
    63  goog.object.extend(exports, proto.google.api);