agones.dev/agones@v1.53.0/sdks/nodejs/lib/beta/google/api/field_behavior_pb.js (about) 1 // source: google/api/field_behavior.proto 2 /** 3 * @fileoverview 4 * @enhanceable 5 * @suppress {missingRequire} reports error on implicit type usages. 6 * @suppress {messageConventions} JS Compiler reports an error if a variable or 7 * field starts with 'MSG_' and isn't a translatable message. 8 * @public 9 */ 10 // GENERATED CODE -- DO NOT EDIT! 11 /* eslint-disable */ 12 // @ts-nocheck 13 14 var jspb = require('google-protobuf'); 15 var goog = jspb; 16 var global = Function('return this')(); 17 18 var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); 19 goog.object.extend(proto, google_protobuf_descriptor_pb); 20 goog.exportSymbol('proto.google.api.FieldBehavior', null, global); 21 goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global); 22 /** 23 * @enum {number} 24 */ 25 proto.google.api.FieldBehavior = { 26 FIELD_BEHAVIOR_UNSPECIFIED: 0, 27 OPTIONAL: 1, 28 REQUIRED: 2, 29 OUTPUT_ONLY: 3, 30 INPUT_ONLY: 4, 31 IMMUTABLE: 5, 32 UNORDERED_LIST: 6, 33 NON_EMPTY_DEFAULT: 7 34 }; 35 36 37 /** 38 * A tuple of {field number, class constructor} for the extension 39 * field named `fieldBehaviorList`. 40 * @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.FieldBehavior>>} 41 */ 42 proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo( 43 1052, 44 {fieldBehaviorList: 0}, 45 null, 46 /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( 47 null), 48 1); 49 50 google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo( 51 proto.google.api.fieldBehaviorList, 52 jspb.BinaryReader.prototype.readPackedEnum, 53 jspb.BinaryWriter.prototype.writePackedEnum, 54 undefined, 55 undefined, 56 true); 57 // This registers the extension field with the extended class, so that 58 // toObject() will function correctly. 59 google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList; 60 61 goog.object.extend(exports, proto.google.api);