@google-cloud/agones-sdk 1.28.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,14 +13,18 @@
13
13
  // limitations under the License.
14
14
 
15
15
  // This code was autogenerated. Do not edit directly.
16
+ // source: google/api/http.proto
16
17
  /**
17
18
  * @fileoverview
18
19
  * @enhanceable
20
+ * @suppress {missingRequire} reports error on implicit type usages.
19
21
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
20
22
  * field starts with 'MSG_' and isn't a translatable message.
21
23
  * @public
22
24
  */
23
25
  // GENERATED CODE -- DO NOT EDIT!
26
+ /* eslint-disable */
27
+ // @ts-nocheck
24
28
 
25
29
  var jspb = require('google-protobuf');
26
30
  var goog = jspb;
@@ -29,7 +33,7 @@ var global = Function('return this')();
29
33
  goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global);
30
34
  goog.exportSymbol('proto.google.api.Http', null, global);
31
35
  goog.exportSymbol('proto.google.api.HttpRule', null, global);
32
-
36
+ goog.exportSymbol('proto.google.api.HttpRule.PatternCase', null, global);
33
37
  /**
34
38
  * Generated by JsPbCodeGenerator.
35
39
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -45,8 +49,55 @@ proto.google.api.Http = function(opt_data) {
45
49
  };
46
50
  goog.inherits(proto.google.api.Http, jspb.Message);
47
51
  if (goog.DEBUG && !COMPILED) {
52
+ /**
53
+ * @public
54
+ * @override
55
+ */
48
56
  proto.google.api.Http.displayName = 'proto.google.api.Http';
49
57
  }
58
+ /**
59
+ * Generated by JsPbCodeGenerator.
60
+ * @param {Array=} opt_data Optional initial data array, typically from a
61
+ * server response, or constructed directly in Javascript. The array is used
62
+ * in place and becomes part of the constructed object. It is not cloned.
63
+ * If no data is provided, the constructed object will be empty, but still
64
+ * valid.
65
+ * @extends {jspb.Message}
66
+ * @constructor
67
+ */
68
+ proto.google.api.HttpRule = function(opt_data) {
69
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_);
70
+ };
71
+ goog.inherits(proto.google.api.HttpRule, jspb.Message);
72
+ if (goog.DEBUG && !COMPILED) {
73
+ /**
74
+ * @public
75
+ * @override
76
+ */
77
+ proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule';
78
+ }
79
+ /**
80
+ * Generated by JsPbCodeGenerator.
81
+ * @param {Array=} opt_data Optional initial data array, typically from a
82
+ * server response, or constructed directly in Javascript. The array is used
83
+ * in place and becomes part of the constructed object. It is not cloned.
84
+ * If no data is provided, the constructed object will be empty, but still
85
+ * valid.
86
+ * @extends {jspb.Message}
87
+ * @constructor
88
+ */
89
+ proto.google.api.CustomHttpPattern = function(opt_data) {
90
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
91
+ };
92
+ goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message);
93
+ if (goog.DEBUG && !COMPILED) {
94
+ /**
95
+ * @public
96
+ * @override
97
+ */
98
+ proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern';
99
+ }
100
+
50
101
  /**
51
102
  * List of repeated fields within this message type.
52
103
  * @private {!Array<number>}
@@ -58,13 +109,15 @@ proto.google.api.Http.repeatedFields_ = [1];
58
109
 
59
110
  if (jspb.Message.GENERATE_TO_OBJECT) {
60
111
  /**
61
- * Creates an object representation of this proto suitable for use in Soy templates.
112
+ * Creates an object representation of this proto.
62
113
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
114
+ * Optional fields that are not set will be set to undefined.
63
115
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64
116
  * For the list of reserved names please see:
65
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
66
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
67
- * for transitional soy proto support: http://goto/soy-param-migration
117
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
118
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
119
+ * JSPB instance for transitional soy proto support:
120
+ * http://goto/soy-param-migration
68
121
  * @return {!Object}
69
122
  */
70
123
  proto.google.api.Http.prototype.toObject = function(opt_includeInstance) {
@@ -74,8 +127,8 @@ proto.google.api.Http.prototype.toObject = function(opt_includeInstance) {
74
127
 
75
128
  /**
76
129
  * Static version of the {@see toObject} method.
77
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
78
- * instance for transitional soy proto support:
130
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
131
+ * the JSPB instance for transitional soy proto support:
79
132
  * http://goto/soy-param-migration
80
133
  * @param {!proto.google.api.Http} msg The msg instance to transform.
81
134
  * @return {!Object}
@@ -85,7 +138,7 @@ proto.google.api.Http.toObject = function(includeInstance, msg) {
85
138
  var f, obj = {
86
139
  rulesList: jspb.Message.toObjectList(msg.getRulesList(),
87
140
  proto.google.api.HttpRule.toObject, includeInstance),
88
- fullyDecodeReservedExpansion: jspb.Message.getFieldWithDefault(msg, 2, false)
141
+ fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
89
142
  };
90
143
 
91
144
  if (includeInstance) {
@@ -188,9 +241,12 @@ proto.google.api.Http.prototype.getRulesList = function() {
188
241
  };
189
242
 
190
243
 
191
- /** @param {!Array<!proto.google.api.HttpRule>} value */
244
+ /**
245
+ * @param {!Array<!proto.google.api.HttpRule>} value
246
+ * @return {!proto.google.api.Http} returns this
247
+ */
192
248
  proto.google.api.Http.prototype.setRulesList = function(value) {
193
- jspb.Message.setRepeatedWrapperField(this, 1, value);
249
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
194
250
  };
195
251
 
196
252
 
@@ -204,46 +260,34 @@ proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) {
204
260
  };
205
261
 
206
262
 
263
+ /**
264
+ * Clears the list making it empty but non-null.
265
+ * @return {!proto.google.api.Http} returns this
266
+ */
207
267
  proto.google.api.Http.prototype.clearRulesList = function() {
208
- this.setRulesList([]);
268
+ return this.setRulesList([]);
209
269
  };
210
270
 
211
271
 
212
272
  /**
213
273
  * optional bool fully_decode_reserved_expansion = 2;
214
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
215
- * You should avoid comparisons like {@code val === true/false} in those cases.
216
274
  * @return {boolean}
217
275
  */
218
276
  proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() {
219
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
277
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
220
278
  };
221
279
 
222
280
 
223
- /** @param {boolean} value */
281
+ /**
282
+ * @param {boolean} value
283
+ * @return {!proto.google.api.Http} returns this
284
+ */
224
285
  proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) {
225
- jspb.Message.setProto3BooleanField(this, 2, value);
286
+ return jspb.Message.setProto3BooleanField(this, 2, value);
226
287
  };
227
288
 
228
289
 
229
290
 
230
- /**
231
- * Generated by JsPbCodeGenerator.
232
- * @param {Array=} opt_data Optional initial data array, typically from a
233
- * server response, or constructed directly in Javascript. The array is used
234
- * in place and becomes part of the constructed object. It is not cloned.
235
- * If no data is provided, the constructed object will be empty, but still
236
- * valid.
237
- * @extends {jspb.Message}
238
- * @constructor
239
- */
240
- proto.google.api.HttpRule = function(opt_data) {
241
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_);
242
- };
243
- goog.inherits(proto.google.api.HttpRule, jspb.Message);
244
- if (goog.DEBUG && !COMPILED) {
245
- proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule';
246
- }
247
291
  /**
248
292
  * List of repeated fields within this message type.
249
293
  * @private {!Array<number>}
@@ -285,13 +329,15 @@ proto.google.api.HttpRule.prototype.getPatternCase = function() {
285
329
 
286
330
  if (jspb.Message.GENERATE_TO_OBJECT) {
287
331
  /**
288
- * Creates an object representation of this proto suitable for use in Soy templates.
332
+ * Creates an object representation of this proto.
289
333
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
334
+ * Optional fields that are not set will be set to undefined.
290
335
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
291
336
  * For the list of reserved names please see:
292
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
293
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
294
- * for transitional soy proto support: http://goto/soy-param-migration
337
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
338
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
339
+ * JSPB instance for transitional soy proto support:
340
+ * http://goto/soy-param-migration
295
341
  * @return {!Object}
296
342
  */
297
343
  proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) {
@@ -301,8 +347,8 @@ proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) {
301
347
 
302
348
  /**
303
349
  * Static version of the {@see toObject} method.
304
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
305
- * instance for transitional soy proto support:
350
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
351
+ * the JSPB instance for transitional soy proto support:
306
352
  * http://goto/soy-param-migration
307
353
  * @param {!proto.google.api.HttpRule} msg The msg instance to transform.
308
354
  * @return {!Object}
@@ -512,9 +558,12 @@ proto.google.api.HttpRule.prototype.getSelector = function() {
512
558
  };
513
559
 
514
560
 
515
- /** @param {string} value */
561
+ /**
562
+ * @param {string} value
563
+ * @return {!proto.google.api.HttpRule} returns this
564
+ */
516
565
  proto.google.api.HttpRule.prototype.setSelector = function(value) {
517
- jspb.Message.setProto3StringField(this, 1, value);
566
+ return jspb.Message.setProto3StringField(this, 1, value);
518
567
  };
519
568
 
520
569
 
@@ -527,14 +576,21 @@ proto.google.api.HttpRule.prototype.getGet = function() {
527
576
  };
528
577
 
529
578
 
530
- /** @param {string} value */
579
+ /**
580
+ * @param {string} value
581
+ * @return {!proto.google.api.HttpRule} returns this
582
+ */
531
583
  proto.google.api.HttpRule.prototype.setGet = function(value) {
532
- jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value);
584
+ return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value);
533
585
  };
534
586
 
535
587
 
588
+ /**
589
+ * Clears the field making it undefined.
590
+ * @return {!proto.google.api.HttpRule} returns this
591
+ */
536
592
  proto.google.api.HttpRule.prototype.clearGet = function() {
537
- jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined);
593
+ return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined);
538
594
  };
539
595
 
540
596
 
@@ -556,14 +612,21 @@ proto.google.api.HttpRule.prototype.getPut = function() {
556
612
  };
557
613
 
558
614
 
559
- /** @param {string} value */
615
+ /**
616
+ * @param {string} value
617
+ * @return {!proto.google.api.HttpRule} returns this
618
+ */
560
619
  proto.google.api.HttpRule.prototype.setPut = function(value) {
561
- jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value);
620
+ return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value);
562
621
  };
563
622
 
564
623
 
624
+ /**
625
+ * Clears the field making it undefined.
626
+ * @return {!proto.google.api.HttpRule} returns this
627
+ */
565
628
  proto.google.api.HttpRule.prototype.clearPut = function() {
566
- jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined);
629
+ return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined);
567
630
  };
568
631
 
569
632
 
@@ -585,14 +648,21 @@ proto.google.api.HttpRule.prototype.getPost = function() {
585
648
  };
586
649
 
587
650
 
588
- /** @param {string} value */
651
+ /**
652
+ * @param {string} value
653
+ * @return {!proto.google.api.HttpRule} returns this
654
+ */
589
655
  proto.google.api.HttpRule.prototype.setPost = function(value) {
590
- jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value);
656
+ return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value);
591
657
  };
592
658
 
593
659
 
660
+ /**
661
+ * Clears the field making it undefined.
662
+ * @return {!proto.google.api.HttpRule} returns this
663
+ */
594
664
  proto.google.api.HttpRule.prototype.clearPost = function() {
595
- jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined);
665
+ return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined);
596
666
  };
597
667
 
598
668
 
@@ -614,14 +684,21 @@ proto.google.api.HttpRule.prototype.getDelete = function() {
614
684
  };
615
685
 
616
686
 
617
- /** @param {string} value */
687
+ /**
688
+ * @param {string} value
689
+ * @return {!proto.google.api.HttpRule} returns this
690
+ */
618
691
  proto.google.api.HttpRule.prototype.setDelete = function(value) {
619
- jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value);
692
+ return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value);
620
693
  };
621
694
 
622
695
 
696
+ /**
697
+ * Clears the field making it undefined.
698
+ * @return {!proto.google.api.HttpRule} returns this
699
+ */
623
700
  proto.google.api.HttpRule.prototype.clearDelete = function() {
624
- jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined);
701
+ return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined);
625
702
  };
626
703
 
627
704
 
@@ -643,14 +720,21 @@ proto.google.api.HttpRule.prototype.getPatch = function() {
643
720
  };
644
721
 
645
722
 
646
- /** @param {string} value */
723
+ /**
724
+ * @param {string} value
725
+ * @return {!proto.google.api.HttpRule} returns this
726
+ */
647
727
  proto.google.api.HttpRule.prototype.setPatch = function(value) {
648
- jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value);
728
+ return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value);
649
729
  };
650
730
 
651
731
 
732
+ /**
733
+ * Clears the field making it undefined.
734
+ * @return {!proto.google.api.HttpRule} returns this
735
+ */
652
736
  proto.google.api.HttpRule.prototype.clearPatch = function() {
653
- jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined);
737
+ return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined);
654
738
  };
655
739
 
656
740
 
@@ -673,14 +757,21 @@ proto.google.api.HttpRule.prototype.getCustom = function() {
673
757
  };
674
758
 
675
759
 
676
- /** @param {?proto.google.api.CustomHttpPattern|undefined} value */
760
+ /**
761
+ * @param {?proto.google.api.CustomHttpPattern|undefined} value
762
+ * @return {!proto.google.api.HttpRule} returns this
763
+ */
677
764
  proto.google.api.HttpRule.prototype.setCustom = function(value) {
678
- jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value);
765
+ return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value);
679
766
  };
680
767
 
681
768
 
769
+ /**
770
+ * Clears the message field making it undefined.
771
+ * @return {!proto.google.api.HttpRule} returns this
772
+ */
682
773
  proto.google.api.HttpRule.prototype.clearCustom = function() {
683
- this.setCustom(undefined);
774
+ return this.setCustom(undefined);
684
775
  };
685
776
 
686
777
 
@@ -702,9 +793,12 @@ proto.google.api.HttpRule.prototype.getBody = function() {
702
793
  };
703
794
 
704
795
 
705
- /** @param {string} value */
796
+ /**
797
+ * @param {string} value
798
+ * @return {!proto.google.api.HttpRule} returns this
799
+ */
706
800
  proto.google.api.HttpRule.prototype.setBody = function(value) {
707
- jspb.Message.setProto3StringField(this, 7, value);
801
+ return jspb.Message.setProto3StringField(this, 7, value);
708
802
  };
709
803
 
710
804
 
@@ -717,9 +811,12 @@ proto.google.api.HttpRule.prototype.getResponseBody = function() {
717
811
  };
718
812
 
719
813
 
720
- /** @param {string} value */
814
+ /**
815
+ * @param {string} value
816
+ * @return {!proto.google.api.HttpRule} returns this
817
+ */
721
818
  proto.google.api.HttpRule.prototype.setResponseBody = function(value) {
722
- jspb.Message.setProto3StringField(this, 12, value);
819
+ return jspb.Message.setProto3StringField(this, 12, value);
723
820
  };
724
821
 
725
822
 
@@ -733,9 +830,12 @@ proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() {
733
830
  };
734
831
 
735
832
 
736
- /** @param {!Array<!proto.google.api.HttpRule>} value */
833
+ /**
834
+ * @param {!Array<!proto.google.api.HttpRule>} value
835
+ * @return {!proto.google.api.HttpRule} returns this
836
+ */
737
837
  proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) {
738
- jspb.Message.setRepeatedWrapperField(this, 11, value);
838
+ return jspb.Message.setRepeatedWrapperField(this, 11, value);
739
839
  };
740
840
 
741
841
 
@@ -749,40 +849,29 @@ proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value,
749
849
  };
750
850
 
751
851
 
852
+ /**
853
+ * Clears the list making it empty but non-null.
854
+ * @return {!proto.google.api.HttpRule} returns this
855
+ */
752
856
  proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() {
753
- this.setAdditionalBindingsList([]);
857
+ return this.setAdditionalBindingsList([]);
754
858
  };
755
859
 
756
860
 
757
861
 
758
- /**
759
- * Generated by JsPbCodeGenerator.
760
- * @param {Array=} opt_data Optional initial data array, typically from a
761
- * server response, or constructed directly in Javascript. The array is used
762
- * in place and becomes part of the constructed object. It is not cloned.
763
- * If no data is provided, the constructed object will be empty, but still
764
- * valid.
765
- * @extends {jspb.Message}
766
- * @constructor
767
- */
768
- proto.google.api.CustomHttpPattern = function(opt_data) {
769
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
770
- };
771
- goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message);
772
- if (goog.DEBUG && !COMPILED) {
773
- proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern';
774
- }
775
862
 
776
863
 
777
864
  if (jspb.Message.GENERATE_TO_OBJECT) {
778
865
  /**
779
- * Creates an object representation of this proto suitable for use in Soy templates.
866
+ * Creates an object representation of this proto.
780
867
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
868
+ * Optional fields that are not set will be set to undefined.
781
869
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
782
870
  * For the list of reserved names please see:
783
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
784
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
785
- * for transitional soy proto support: http://goto/soy-param-migration
871
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
872
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
873
+ * JSPB instance for transitional soy proto support:
874
+ * http://goto/soy-param-migration
786
875
  * @return {!Object}
787
876
  */
788
877
  proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) {
@@ -792,8 +881,8 @@ proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInst
792
881
 
793
882
  /**
794
883
  * Static version of the {@see toObject} method.
795
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
796
- * instance for transitional soy proto support:
884
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
885
+ * the JSPB instance for transitional soy proto support:
797
886
  * http://goto/soy-param-migration
798
887
  * @param {!proto.google.api.CustomHttpPattern} msg The msg instance to transform.
799
888
  * @return {!Object}
@@ -902,9 +991,12 @@ proto.google.api.CustomHttpPattern.prototype.getKind = function() {
902
991
  };
903
992
 
904
993
 
905
- /** @param {string} value */
994
+ /**
995
+ * @param {string} value
996
+ * @return {!proto.google.api.CustomHttpPattern} returns this
997
+ */
906
998
  proto.google.api.CustomHttpPattern.prototype.setKind = function(value) {
907
- jspb.Message.setProto3StringField(this, 1, value);
999
+ return jspb.Message.setProto3StringField(this, 1, value);
908
1000
  };
909
1001
 
910
1002
 
@@ -917,9 +1009,12 @@ proto.google.api.CustomHttpPattern.prototype.getPath = function() {
917
1009
  };
918
1010
 
919
1011
 
920
- /** @param {string} value */
1012
+ /**
1013
+ * @param {string} value
1014
+ * @return {!proto.google.api.CustomHttpPattern} returns this
1015
+ */
921
1016
  proto.google.api.CustomHttpPattern.prototype.setPath = function(value) {
922
- jspb.Message.setProto3StringField(this, 2, value);
1017
+ return jspb.Message.setProto3StringField(this, 2, value);
923
1018
  };
924
1019
 
925
1020
 
@@ -0,0 +1,167 @@
1
+ // Copyright 2022 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);