@google-cloud/agones-sdk 1.28.0 → 1.29.0-rc
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.
- package/lib/alpha/alpha_grpc_pb.js +16 -0
- package/lib/alpha/alpha_pb.js +165 -114
- package/lib/alpha/google/api/annotations_pb.js +4 -0
- package/lib/alpha/google/api/http_pb.js +188 -93
- package/lib/alpha/protoc-gen-openapiv2/options/annotations_pb.js +167 -0
- package/lib/alpha/protoc-gen-openapiv2/options/openapiv2_pb.js +5618 -0
- package/lib/google/api/annotations_pb.js +4 -0
- package/lib/google/api/http_pb.js +188 -93
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +167 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +5618 -0
- package/lib/sdk_grpc_pb.js +16 -0
- package/lib/sdk_pb.js +467 -285
- package/package.json +1 -1
|
@@ -1,3 +1,18 @@
|
|
|
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.
|
|
1
16
|
// GENERATED CODE -- DO NOT EDIT!
|
|
2
17
|
|
|
3
18
|
// Original file comments:
|
|
@@ -18,6 +33,7 @@
|
|
|
18
33
|
'use strict';
|
|
19
34
|
var alpha_pb = require('./alpha_pb.js');
|
|
20
35
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
36
|
+
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
21
37
|
|
|
22
38
|
function serialize_agones_dev_sdk_alpha_Bool(arg) {
|
|
23
39
|
if (!(arg instanceof alpha_pb.Bool)) {
|
package/lib/alpha/alpha_pb.js
CHANGED
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
15
|
// This code was autogenerated. Do not edit directly.
|
|
16
|
+
// source: alpha.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;
|
|
@@ -28,12 +32,13 @@ var global = Function('return this')();
|
|
|
28
32
|
|
|
29
33
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
30
34
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
35
|
+
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
36
|
+
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
31
37
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Bool', null, global);
|
|
32
38
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Count', null, global);
|
|
33
39
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Empty', null, global);
|
|
34
40
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.PlayerID', null, global);
|
|
35
41
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.PlayerIDList', null, global);
|
|
36
|
-
|
|
37
42
|
/**
|
|
38
43
|
* Generated by JsPbCodeGenerator.
|
|
39
44
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -49,19 +54,110 @@ proto.agones.dev.sdk.alpha.Empty = function(opt_data) {
|
|
|
49
54
|
};
|
|
50
55
|
goog.inherits(proto.agones.dev.sdk.alpha.Empty, jspb.Message);
|
|
51
56
|
if (goog.DEBUG && !COMPILED) {
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* @override
|
|
60
|
+
*/
|
|
52
61
|
proto.agones.dev.sdk.alpha.Empty.displayName = 'proto.agones.dev.sdk.alpha.Empty';
|
|
53
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Generated by JsPbCodeGenerator.
|
|
65
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
66
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
67
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
68
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
69
|
+
* valid.
|
|
70
|
+
* @extends {jspb.Message}
|
|
71
|
+
* @constructor
|
|
72
|
+
*/
|
|
73
|
+
proto.agones.dev.sdk.alpha.Count = function(opt_data) {
|
|
74
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
75
|
+
};
|
|
76
|
+
goog.inherits(proto.agones.dev.sdk.alpha.Count, jspb.Message);
|
|
77
|
+
if (goog.DEBUG && !COMPILED) {
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @override
|
|
81
|
+
*/
|
|
82
|
+
proto.agones.dev.sdk.alpha.Count.displayName = 'proto.agones.dev.sdk.alpha.Count';
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Generated by JsPbCodeGenerator.
|
|
86
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
87
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
88
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
89
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
90
|
+
* valid.
|
|
91
|
+
* @extends {jspb.Message}
|
|
92
|
+
* @constructor
|
|
93
|
+
*/
|
|
94
|
+
proto.agones.dev.sdk.alpha.Bool = function(opt_data) {
|
|
95
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
96
|
+
};
|
|
97
|
+
goog.inherits(proto.agones.dev.sdk.alpha.Bool, jspb.Message);
|
|
98
|
+
if (goog.DEBUG && !COMPILED) {
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* @override
|
|
102
|
+
*/
|
|
103
|
+
proto.agones.dev.sdk.alpha.Bool.displayName = 'proto.agones.dev.sdk.alpha.Bool';
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Generated by JsPbCodeGenerator.
|
|
107
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
108
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
109
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
110
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
111
|
+
* valid.
|
|
112
|
+
* @extends {jspb.Message}
|
|
113
|
+
* @constructor
|
|
114
|
+
*/
|
|
115
|
+
proto.agones.dev.sdk.alpha.PlayerID = function(opt_data) {
|
|
116
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
117
|
+
};
|
|
118
|
+
goog.inherits(proto.agones.dev.sdk.alpha.PlayerID, jspb.Message);
|
|
119
|
+
if (goog.DEBUG && !COMPILED) {
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @override
|
|
123
|
+
*/
|
|
124
|
+
proto.agones.dev.sdk.alpha.PlayerID.displayName = 'proto.agones.dev.sdk.alpha.PlayerID';
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Generated by JsPbCodeGenerator.
|
|
128
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
129
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
130
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
131
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
132
|
+
* valid.
|
|
133
|
+
* @extends {jspb.Message}
|
|
134
|
+
* @constructor
|
|
135
|
+
*/
|
|
136
|
+
proto.agones.dev.sdk.alpha.PlayerIDList = function(opt_data) {
|
|
137
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agones.dev.sdk.alpha.PlayerIDList.repeatedFields_, null);
|
|
138
|
+
};
|
|
139
|
+
goog.inherits(proto.agones.dev.sdk.alpha.PlayerIDList, jspb.Message);
|
|
140
|
+
if (goog.DEBUG && !COMPILED) {
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* @override
|
|
144
|
+
*/
|
|
145
|
+
proto.agones.dev.sdk.alpha.PlayerIDList.displayName = 'proto.agones.dev.sdk.alpha.PlayerIDList';
|
|
146
|
+
}
|
|
147
|
+
|
|
54
148
|
|
|
55
149
|
|
|
56
150
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57
151
|
/**
|
|
58
|
-
* Creates an object representation of this proto
|
|
152
|
+
* Creates an object representation of this proto.
|
|
59
153
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
154
|
+
* Optional fields that are not set will be set to undefined.
|
|
60
155
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61
156
|
* For the list of reserved names please see:
|
|
62
|
-
*
|
|
63
|
-
* @param {boolean=} opt_includeInstance
|
|
64
|
-
* for transitional soy proto support:
|
|
157
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
158
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
159
|
+
* JSPB instance for transitional soy proto support:
|
|
160
|
+
* http://goto/soy-param-migration
|
|
65
161
|
* @return {!Object}
|
|
66
162
|
*/
|
|
67
163
|
proto.agones.dev.sdk.alpha.Empty.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -71,8 +167,8 @@ proto.agones.dev.sdk.alpha.Empty.prototype.toObject = function(opt_includeInstan
|
|
|
71
167
|
|
|
72
168
|
/**
|
|
73
169
|
* Static version of the {@see toObject} method.
|
|
74
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
75
|
-
* instance for transitional soy proto support:
|
|
170
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
171
|
+
* the JSPB instance for transitional soy proto support:
|
|
76
172
|
* http://goto/soy-param-migration
|
|
77
173
|
* @param {!proto.agones.dev.sdk.alpha.Empty} msg The msg instance to transform.
|
|
78
174
|
* @return {!Object}
|
|
@@ -150,34 +246,19 @@ proto.agones.dev.sdk.alpha.Empty.serializeBinaryToWriter = function(message, wri
|
|
|
150
246
|
|
|
151
247
|
|
|
152
248
|
|
|
153
|
-
/**
|
|
154
|
-
* Generated by JsPbCodeGenerator.
|
|
155
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
156
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
157
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
158
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
159
|
-
* valid.
|
|
160
|
-
* @extends {jspb.Message}
|
|
161
|
-
* @constructor
|
|
162
|
-
*/
|
|
163
|
-
proto.agones.dev.sdk.alpha.Count = function(opt_data) {
|
|
164
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
165
|
-
};
|
|
166
|
-
goog.inherits(proto.agones.dev.sdk.alpha.Count, jspb.Message);
|
|
167
|
-
if (goog.DEBUG && !COMPILED) {
|
|
168
|
-
proto.agones.dev.sdk.alpha.Count.displayName = 'proto.agones.dev.sdk.alpha.Count';
|
|
169
|
-
}
|
|
170
249
|
|
|
171
250
|
|
|
172
251
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
173
252
|
/**
|
|
174
|
-
* Creates an object representation of this proto
|
|
253
|
+
* Creates an object representation of this proto.
|
|
175
254
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
255
|
+
* Optional fields that are not set will be set to undefined.
|
|
176
256
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
177
257
|
* For the list of reserved names please see:
|
|
178
|
-
*
|
|
179
|
-
* @param {boolean=} opt_includeInstance
|
|
180
|
-
* for transitional soy proto support:
|
|
258
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
259
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
260
|
+
* JSPB instance for transitional soy proto support:
|
|
261
|
+
* http://goto/soy-param-migration
|
|
181
262
|
* @return {!Object}
|
|
182
263
|
*/
|
|
183
264
|
proto.agones.dev.sdk.alpha.Count.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -187,8 +268,8 @@ proto.agones.dev.sdk.alpha.Count.prototype.toObject = function(opt_includeInstan
|
|
|
187
268
|
|
|
188
269
|
/**
|
|
189
270
|
* Static version of the {@see toObject} method.
|
|
190
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
191
|
-
* instance for transitional soy proto support:
|
|
271
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
272
|
+
* the JSPB instance for transitional soy proto support:
|
|
192
273
|
* http://goto/soy-param-migration
|
|
193
274
|
* @param {!proto.agones.dev.sdk.alpha.Count} msg The msg instance to transform.
|
|
194
275
|
* @return {!Object}
|
|
@@ -285,41 +366,29 @@ proto.agones.dev.sdk.alpha.Count.prototype.getCount = function() {
|
|
|
285
366
|
};
|
|
286
367
|
|
|
287
368
|
|
|
288
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* @param {number} value
|
|
371
|
+
* @return {!proto.agones.dev.sdk.alpha.Count} returns this
|
|
372
|
+
*/
|
|
289
373
|
proto.agones.dev.sdk.alpha.Count.prototype.setCount = function(value) {
|
|
290
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
374
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
291
375
|
};
|
|
292
376
|
|
|
293
377
|
|
|
294
378
|
|
|
295
|
-
/**
|
|
296
|
-
* Generated by JsPbCodeGenerator.
|
|
297
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
298
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
299
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
300
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
301
|
-
* valid.
|
|
302
|
-
* @extends {jspb.Message}
|
|
303
|
-
* @constructor
|
|
304
|
-
*/
|
|
305
|
-
proto.agones.dev.sdk.alpha.Bool = function(opt_data) {
|
|
306
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
307
|
-
};
|
|
308
|
-
goog.inherits(proto.agones.dev.sdk.alpha.Bool, jspb.Message);
|
|
309
|
-
if (goog.DEBUG && !COMPILED) {
|
|
310
|
-
proto.agones.dev.sdk.alpha.Bool.displayName = 'proto.agones.dev.sdk.alpha.Bool';
|
|
311
|
-
}
|
|
312
379
|
|
|
313
380
|
|
|
314
381
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
315
382
|
/**
|
|
316
|
-
* Creates an object representation of this proto
|
|
383
|
+
* Creates an object representation of this proto.
|
|
317
384
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
385
|
+
* Optional fields that are not set will be set to undefined.
|
|
318
386
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
319
387
|
* For the list of reserved names please see:
|
|
320
|
-
*
|
|
321
|
-
* @param {boolean=} opt_includeInstance
|
|
322
|
-
* for transitional soy proto support:
|
|
388
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
389
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
390
|
+
* JSPB instance for transitional soy proto support:
|
|
391
|
+
* http://goto/soy-param-migration
|
|
323
392
|
* @return {!Object}
|
|
324
393
|
*/
|
|
325
394
|
proto.agones.dev.sdk.alpha.Bool.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -329,8 +398,8 @@ proto.agones.dev.sdk.alpha.Bool.prototype.toObject = function(opt_includeInstanc
|
|
|
329
398
|
|
|
330
399
|
/**
|
|
331
400
|
* Static version of the {@see toObject} method.
|
|
332
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
333
|
-
* instance for transitional soy proto support:
|
|
401
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
402
|
+
* the JSPB instance for transitional soy proto support:
|
|
334
403
|
* http://goto/soy-param-migration
|
|
335
404
|
* @param {!proto.agones.dev.sdk.alpha.Bool} msg The msg instance to transform.
|
|
336
405
|
* @return {!Object}
|
|
@@ -338,7 +407,7 @@ proto.agones.dev.sdk.alpha.Bool.prototype.toObject = function(opt_includeInstanc
|
|
|
338
407
|
*/
|
|
339
408
|
proto.agones.dev.sdk.alpha.Bool.toObject = function(includeInstance, msg) {
|
|
340
409
|
var f, obj = {
|
|
341
|
-
bool: jspb.Message.
|
|
410
|
+
bool: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
342
411
|
};
|
|
343
412
|
|
|
344
413
|
if (includeInstance) {
|
|
@@ -420,50 +489,36 @@ proto.agones.dev.sdk.alpha.Bool.serializeBinaryToWriter = function(message, writ
|
|
|
420
489
|
|
|
421
490
|
/**
|
|
422
491
|
* optional bool bool = 1;
|
|
423
|
-
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
424
|
-
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
425
492
|
* @return {boolean}
|
|
426
493
|
*/
|
|
427
494
|
proto.agones.dev.sdk.alpha.Bool.prototype.getBool = function() {
|
|
428
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
495
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
429
496
|
};
|
|
430
497
|
|
|
431
498
|
|
|
432
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* @param {boolean} value
|
|
501
|
+
* @return {!proto.agones.dev.sdk.alpha.Bool} returns this
|
|
502
|
+
*/
|
|
433
503
|
proto.agones.dev.sdk.alpha.Bool.prototype.setBool = function(value) {
|
|
434
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
504
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
435
505
|
};
|
|
436
506
|
|
|
437
507
|
|
|
438
508
|
|
|
439
|
-
/**
|
|
440
|
-
* Generated by JsPbCodeGenerator.
|
|
441
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
442
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
443
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
444
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
445
|
-
* valid.
|
|
446
|
-
* @extends {jspb.Message}
|
|
447
|
-
* @constructor
|
|
448
|
-
*/
|
|
449
|
-
proto.agones.dev.sdk.alpha.PlayerID = function(opt_data) {
|
|
450
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
451
|
-
};
|
|
452
|
-
goog.inherits(proto.agones.dev.sdk.alpha.PlayerID, jspb.Message);
|
|
453
|
-
if (goog.DEBUG && !COMPILED) {
|
|
454
|
-
proto.agones.dev.sdk.alpha.PlayerID.displayName = 'proto.agones.dev.sdk.alpha.PlayerID';
|
|
455
|
-
}
|
|
456
509
|
|
|
457
510
|
|
|
458
511
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
459
512
|
/**
|
|
460
|
-
* Creates an object representation of this proto
|
|
513
|
+
* Creates an object representation of this proto.
|
|
461
514
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
515
|
+
* Optional fields that are not set will be set to undefined.
|
|
462
516
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
463
517
|
* For the list of reserved names please see:
|
|
464
|
-
*
|
|
465
|
-
* @param {boolean=} opt_includeInstance
|
|
466
|
-
* for transitional soy proto support:
|
|
518
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
519
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
520
|
+
* JSPB instance for transitional soy proto support:
|
|
521
|
+
* http://goto/soy-param-migration
|
|
467
522
|
* @return {!Object}
|
|
468
523
|
*/
|
|
469
524
|
proto.agones.dev.sdk.alpha.PlayerID.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -473,8 +528,8 @@ proto.agones.dev.sdk.alpha.PlayerID.prototype.toObject = function(opt_includeIns
|
|
|
473
528
|
|
|
474
529
|
/**
|
|
475
530
|
* Static version of the {@see toObject} method.
|
|
476
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
477
|
-
* instance for transitional soy proto support:
|
|
531
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
532
|
+
* the JSPB instance for transitional soy proto support:
|
|
478
533
|
* http://goto/soy-param-migration
|
|
479
534
|
* @param {!proto.agones.dev.sdk.alpha.PlayerID} msg The msg instance to transform.
|
|
480
535
|
* @return {!Object}
|
|
@@ -571,30 +626,16 @@ proto.agones.dev.sdk.alpha.PlayerID.prototype.getPlayerid = function() {
|
|
|
571
626
|
};
|
|
572
627
|
|
|
573
628
|
|
|
574
|
-
/**
|
|
629
|
+
/**
|
|
630
|
+
* @param {string} value
|
|
631
|
+
* @return {!proto.agones.dev.sdk.alpha.PlayerID} returns this
|
|
632
|
+
*/
|
|
575
633
|
proto.agones.dev.sdk.alpha.PlayerID.prototype.setPlayerid = function(value) {
|
|
576
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
634
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
577
635
|
};
|
|
578
636
|
|
|
579
637
|
|
|
580
638
|
|
|
581
|
-
/**
|
|
582
|
-
* Generated by JsPbCodeGenerator.
|
|
583
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
584
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
585
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
586
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
587
|
-
* valid.
|
|
588
|
-
* @extends {jspb.Message}
|
|
589
|
-
* @constructor
|
|
590
|
-
*/
|
|
591
|
-
proto.agones.dev.sdk.alpha.PlayerIDList = function(opt_data) {
|
|
592
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.agones.dev.sdk.alpha.PlayerIDList.repeatedFields_, null);
|
|
593
|
-
};
|
|
594
|
-
goog.inherits(proto.agones.dev.sdk.alpha.PlayerIDList, jspb.Message);
|
|
595
|
-
if (goog.DEBUG && !COMPILED) {
|
|
596
|
-
proto.agones.dev.sdk.alpha.PlayerIDList.displayName = 'proto.agones.dev.sdk.alpha.PlayerIDList';
|
|
597
|
-
}
|
|
598
639
|
/**
|
|
599
640
|
* List of repeated fields within this message type.
|
|
600
641
|
* @private {!Array<number>}
|
|
@@ -606,13 +647,15 @@ proto.agones.dev.sdk.alpha.PlayerIDList.repeatedFields_ = [1];
|
|
|
606
647
|
|
|
607
648
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
608
649
|
/**
|
|
609
|
-
* Creates an object representation of this proto
|
|
650
|
+
* Creates an object representation of this proto.
|
|
610
651
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
652
|
+
* Optional fields that are not set will be set to undefined.
|
|
611
653
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
612
654
|
* For the list of reserved names please see:
|
|
613
|
-
*
|
|
614
|
-
* @param {boolean=} opt_includeInstance
|
|
615
|
-
* for transitional soy proto support:
|
|
655
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
656
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
657
|
+
* JSPB instance for transitional soy proto support:
|
|
658
|
+
* http://goto/soy-param-migration
|
|
616
659
|
* @return {!Object}
|
|
617
660
|
*/
|
|
618
661
|
proto.agones.dev.sdk.alpha.PlayerIDList.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -622,8 +665,8 @@ proto.agones.dev.sdk.alpha.PlayerIDList.prototype.toObject = function(opt_includ
|
|
|
622
665
|
|
|
623
666
|
/**
|
|
624
667
|
* Static version of the {@see toObject} method.
|
|
625
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
626
|
-
* instance for transitional soy proto support:
|
|
668
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
669
|
+
* the JSPB instance for transitional soy proto support:
|
|
627
670
|
* http://goto/soy-param-migration
|
|
628
671
|
* @param {!proto.agones.dev.sdk.alpha.PlayerIDList} msg The msg instance to transform.
|
|
629
672
|
* @return {!Object}
|
|
@@ -631,7 +674,7 @@ proto.agones.dev.sdk.alpha.PlayerIDList.prototype.toObject = function(opt_includ
|
|
|
631
674
|
*/
|
|
632
675
|
proto.agones.dev.sdk.alpha.PlayerIDList.toObject = function(includeInstance, msg) {
|
|
633
676
|
var f, obj = {
|
|
634
|
-
listList: jspb.Message.getRepeatedField(msg, 1)
|
|
677
|
+
listList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
635
678
|
};
|
|
636
679
|
|
|
637
680
|
if (includeInstance) {
|
|
@@ -720,23 +763,31 @@ proto.agones.dev.sdk.alpha.PlayerIDList.prototype.getListList = function() {
|
|
|
720
763
|
};
|
|
721
764
|
|
|
722
765
|
|
|
723
|
-
/**
|
|
766
|
+
/**
|
|
767
|
+
* @param {!Array<string>} value
|
|
768
|
+
* @return {!proto.agones.dev.sdk.alpha.PlayerIDList} returns this
|
|
769
|
+
*/
|
|
724
770
|
proto.agones.dev.sdk.alpha.PlayerIDList.prototype.setListList = function(value) {
|
|
725
|
-
jspb.Message.setField(this, 1, value || []);
|
|
771
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
726
772
|
};
|
|
727
773
|
|
|
728
774
|
|
|
729
775
|
/**
|
|
730
776
|
* @param {string} value
|
|
731
777
|
* @param {number=} opt_index
|
|
778
|
+
* @return {!proto.agones.dev.sdk.alpha.PlayerIDList} returns this
|
|
732
779
|
*/
|
|
733
780
|
proto.agones.dev.sdk.alpha.PlayerIDList.prototype.addList = function(value, opt_index) {
|
|
734
|
-
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
781
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
735
782
|
};
|
|
736
783
|
|
|
737
784
|
|
|
785
|
+
/**
|
|
786
|
+
* Clears the list making it empty but non-null.
|
|
787
|
+
* @return {!proto.agones.dev.sdk.alpha.PlayerIDList} returns this
|
|
788
|
+
*/
|
|
738
789
|
proto.agones.dev.sdk.alpha.PlayerIDList.prototype.clearListList = function() {
|
|
739
|
-
this.setListList([]);
|
|
790
|
+
return this.setListList([]);
|
|
740
791
|
};
|
|
741
792
|
|
|
742
793
|
|
|
@@ -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/annotations.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;
|