@google-cloud/agones-sdk 1.34.0 → 1.36.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.
- package/lib/alpha/alpha_grpc_pb.js +2 -4
- package/lib/alpha/alpha_pb.js +303 -68
- package/lib/alpha/google/api/annotations_pb.js +1 -1
- package/lib/alpha/google/api/http_pb.js +1 -1
- package/lib/alpha/protoc-gen-openapiv2/options/annotations_pb.js +1 -1
- package/lib/alpha/protoc-gen-openapiv2/options/openapiv2_pb.js +1 -1
- package/lib/google/api/annotations_pb.js +1 -1
- package/lib/google/api/http_pb.js +1 -1
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +1 -1
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +1 -1
- package/lib/sdk_grpc_pb.js +1 -1
- package/lib/sdk_pb.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2023 Google LLC All Rights Reserved.
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -38,6 +38,7 @@ var google_api_field_behavior_pb = require('./google/api/field_behavior_pb.js');
|
|
|
38
38
|
var google_api_resource_pb = require('./google/api/resource_pb.js');
|
|
39
39
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
40
40
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
41
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
41
42
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
42
43
|
|
|
43
44
|
function serialize_agones_dev_sdk_alpha_AddListValueRequest(arg) {
|
|
@@ -323,9 +324,6 @@ getCounter: {
|
|
|
323
324
|
},
|
|
324
325
|
// UpdateCounter returns the updated Counter. Returns NOT_FOUND if the Counter does not exist (name cannot be updated).
|
|
325
326
|
// Returns OUT_OF_RANGE if the Count is out of range [0,Capacity].
|
|
326
|
-
// Returns INVALID_ARGUMENT if the field mask path(s) are not field(s) of the Counter.
|
|
327
|
-
// If a field mask path(s) is specified, but the value is not set in the request Counter object,
|
|
328
|
-
// then the default value for the variable will be set (i.e. 0 for "capacity" or "count").
|
|
329
327
|
updateCounter: {
|
|
330
328
|
path: '/agones.dev.sdk.alpha.SDK/UpdateCounter',
|
|
331
329
|
requestStream: false,
|
package/lib/alpha/alpha_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2023 Google LLC All Rights Reserved.
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -42,12 +42,15 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
42
42
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
43
43
|
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
44
44
|
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
45
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
46
|
+
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
45
47
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
46
48
|
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
47
49
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.AddListValueRequest', null, global);
|
|
48
50
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Bool', null, global);
|
|
49
51
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Count', null, global);
|
|
50
52
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Counter', null, global);
|
|
53
|
+
goog.exportSymbol('proto.agones.dev.sdk.alpha.CounterUpdateRequest', null, global);
|
|
51
54
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.Empty', null, global);
|
|
52
55
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.GetCounterRequest', null, global);
|
|
53
56
|
goog.exportSymbol('proto.agones.dev.sdk.alpha.GetListRequest', null, global);
|
|
@@ -183,6 +186,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
183
186
|
*/
|
|
184
187
|
proto.agones.dev.sdk.alpha.Counter.displayName = 'proto.agones.dev.sdk.alpha.Counter';
|
|
185
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Generated by JsPbCodeGenerator.
|
|
191
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
192
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
193
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
194
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
195
|
+
* valid.
|
|
196
|
+
* @extends {jspb.Message}
|
|
197
|
+
* @constructor
|
|
198
|
+
*/
|
|
199
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest = function(opt_data) {
|
|
200
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
201
|
+
};
|
|
202
|
+
goog.inherits(proto.agones.dev.sdk.alpha.CounterUpdateRequest, jspb.Message);
|
|
203
|
+
if (goog.DEBUG && !COMPILED) {
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
* @override
|
|
207
|
+
*/
|
|
208
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.displayName = 'proto.agones.dev.sdk.alpha.CounterUpdateRequest';
|
|
209
|
+
}
|
|
186
210
|
/**
|
|
187
211
|
* Generated by JsPbCodeGenerator.
|
|
188
212
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1170,6 +1194,268 @@ proto.agones.dev.sdk.alpha.Counter.prototype.setCapacity = function(value) {
|
|
|
1170
1194
|
|
|
1171
1195
|
|
|
1172
1196
|
|
|
1197
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1198
|
+
/**
|
|
1199
|
+
* Creates an object representation of this proto.
|
|
1200
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1201
|
+
* Optional fields that are not set will be set to undefined.
|
|
1202
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1203
|
+
* For the list of reserved names please see:
|
|
1204
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1205
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1206
|
+
* JSPB instance for transitional soy proto support:
|
|
1207
|
+
* http://goto/soy-param-migration
|
|
1208
|
+
* @return {!Object}
|
|
1209
|
+
*/
|
|
1210
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1211
|
+
return proto.agones.dev.sdk.alpha.CounterUpdateRequest.toObject(opt_includeInstance, this);
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Static version of the {@see toObject} method.
|
|
1217
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1218
|
+
* the JSPB instance for transitional soy proto support:
|
|
1219
|
+
* http://goto/soy-param-migration
|
|
1220
|
+
* @param {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} msg The msg instance to transform.
|
|
1221
|
+
* @return {!Object}
|
|
1222
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1223
|
+
*/
|
|
1224
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.toObject = function(includeInstance, msg) {
|
|
1225
|
+
var f, obj = {
|
|
1226
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1227
|
+
count: (f = msg.getCount()) && google_protobuf_wrappers_pb.Int64Value.toObject(includeInstance, f),
|
|
1228
|
+
capacity: (f = msg.getCapacity()) && google_protobuf_wrappers_pb.Int64Value.toObject(includeInstance, f),
|
|
1229
|
+
countdiff: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
if (includeInstance) {
|
|
1233
|
+
obj.$jspbMessageInstance = msg;
|
|
1234
|
+
}
|
|
1235
|
+
return obj;
|
|
1236
|
+
};
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1242
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1243
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest}
|
|
1244
|
+
*/
|
|
1245
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.deserializeBinary = function(bytes) {
|
|
1246
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1247
|
+
var msg = new proto.agones.dev.sdk.alpha.CounterUpdateRequest;
|
|
1248
|
+
return proto.agones.dev.sdk.alpha.CounterUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1254
|
+
* given reader into the given message object.
|
|
1255
|
+
* @param {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} msg The message object to deserialize into.
|
|
1256
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1257
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest}
|
|
1258
|
+
*/
|
|
1259
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1260
|
+
while (reader.nextField()) {
|
|
1261
|
+
if (reader.isEndGroup()) {
|
|
1262
|
+
break;
|
|
1263
|
+
}
|
|
1264
|
+
var field = reader.getFieldNumber();
|
|
1265
|
+
switch (field) {
|
|
1266
|
+
case 1:
|
|
1267
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1268
|
+
msg.setName(value);
|
|
1269
|
+
break;
|
|
1270
|
+
case 2:
|
|
1271
|
+
var value = new google_protobuf_wrappers_pb.Int64Value;
|
|
1272
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
|
|
1273
|
+
msg.setCount(value);
|
|
1274
|
+
break;
|
|
1275
|
+
case 3:
|
|
1276
|
+
var value = new google_protobuf_wrappers_pb.Int64Value;
|
|
1277
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int64Value.deserializeBinaryFromReader);
|
|
1278
|
+
msg.setCapacity(value);
|
|
1279
|
+
break;
|
|
1280
|
+
case 4:
|
|
1281
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1282
|
+
msg.setCountdiff(value);
|
|
1283
|
+
break;
|
|
1284
|
+
default:
|
|
1285
|
+
reader.skipField();
|
|
1286
|
+
break;
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
return msg;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1295
|
+
* @return {!Uint8Array}
|
|
1296
|
+
*/
|
|
1297
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.serializeBinary = function() {
|
|
1298
|
+
var writer = new jspb.BinaryWriter();
|
|
1299
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.serializeBinaryToWriter(this, writer);
|
|
1300
|
+
return writer.getResultBuffer();
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1306
|
+
* format), writing to the given BinaryWriter.
|
|
1307
|
+
* @param {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} message
|
|
1308
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1309
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1310
|
+
*/
|
|
1311
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1312
|
+
var f = undefined;
|
|
1313
|
+
f = message.getName();
|
|
1314
|
+
if (f.length > 0) {
|
|
1315
|
+
writer.writeString(
|
|
1316
|
+
1,
|
|
1317
|
+
f
|
|
1318
|
+
);
|
|
1319
|
+
}
|
|
1320
|
+
f = message.getCount();
|
|
1321
|
+
if (f != null) {
|
|
1322
|
+
writer.writeMessage(
|
|
1323
|
+
2,
|
|
1324
|
+
f,
|
|
1325
|
+
google_protobuf_wrappers_pb.Int64Value.serializeBinaryToWriter
|
|
1326
|
+
);
|
|
1327
|
+
}
|
|
1328
|
+
f = message.getCapacity();
|
|
1329
|
+
if (f != null) {
|
|
1330
|
+
writer.writeMessage(
|
|
1331
|
+
3,
|
|
1332
|
+
f,
|
|
1333
|
+
google_protobuf_wrappers_pb.Int64Value.serializeBinaryToWriter
|
|
1334
|
+
);
|
|
1335
|
+
}
|
|
1336
|
+
f = message.getCountdiff();
|
|
1337
|
+
if (f !== 0) {
|
|
1338
|
+
writer.writeInt64(
|
|
1339
|
+
4,
|
|
1340
|
+
f
|
|
1341
|
+
);
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* optional string name = 1;
|
|
1348
|
+
* @return {string}
|
|
1349
|
+
*/
|
|
1350
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.getName = function() {
|
|
1351
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* @param {string} value
|
|
1357
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1358
|
+
*/
|
|
1359
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.setName = function(value) {
|
|
1360
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* optional google.protobuf.Int64Value count = 2;
|
|
1366
|
+
* @return {?proto.google.protobuf.Int64Value}
|
|
1367
|
+
*/
|
|
1368
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.getCount = function() {
|
|
1369
|
+
return /** @type{?proto.google.protobuf.Int64Value} */ (
|
|
1370
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int64Value, 2));
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* @param {?proto.google.protobuf.Int64Value|undefined} value
|
|
1376
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1377
|
+
*/
|
|
1378
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.setCount = function(value) {
|
|
1379
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Clears the message field making it undefined.
|
|
1385
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1386
|
+
*/
|
|
1387
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.clearCount = function() {
|
|
1388
|
+
return this.setCount(undefined);
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Returns whether this field is set.
|
|
1394
|
+
* @return {boolean}
|
|
1395
|
+
*/
|
|
1396
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.hasCount = function() {
|
|
1397
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* optional google.protobuf.Int64Value capacity = 3;
|
|
1403
|
+
* @return {?proto.google.protobuf.Int64Value}
|
|
1404
|
+
*/
|
|
1405
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.getCapacity = function() {
|
|
1406
|
+
return /** @type{?proto.google.protobuf.Int64Value} */ (
|
|
1407
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int64Value, 3));
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @param {?proto.google.protobuf.Int64Value|undefined} value
|
|
1413
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1414
|
+
*/
|
|
1415
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.setCapacity = function(value) {
|
|
1416
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Clears the message field making it undefined.
|
|
1422
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1423
|
+
*/
|
|
1424
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.clearCapacity = function() {
|
|
1425
|
+
return this.setCapacity(undefined);
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Returns whether this field is set.
|
|
1431
|
+
* @return {boolean}
|
|
1432
|
+
*/
|
|
1433
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.hasCapacity = function() {
|
|
1434
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* optional int64 countDiff = 4;
|
|
1440
|
+
* @return {number}
|
|
1441
|
+
*/
|
|
1442
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.getCountdiff = function() {
|
|
1443
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* @param {number} value
|
|
1449
|
+
* @return {!proto.agones.dev.sdk.alpha.CounterUpdateRequest} returns this
|
|
1450
|
+
*/
|
|
1451
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.prototype.setCountdiff = function(value) {
|
|
1452
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
|
|
1173
1459
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1174
1460
|
/**
|
|
1175
1461
|
* Creates an object representation of this proto.
|
|
@@ -1329,8 +1615,7 @@ proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.toObject = function(op
|
|
|
1329
1615
|
*/
|
|
1330
1616
|
proto.agones.dev.sdk.alpha.UpdateCounterRequest.toObject = function(includeInstance, msg) {
|
|
1331
1617
|
var f, obj = {
|
|
1332
|
-
|
|
1333
|
-
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1618
|
+
counterupdaterequest: (f = msg.getCounterupdaterequest()) && proto.agones.dev.sdk.alpha.CounterUpdateRequest.toObject(includeInstance, f)
|
|
1334
1619
|
};
|
|
1335
1620
|
|
|
1336
1621
|
if (includeInstance) {
|
|
@@ -1368,14 +1653,9 @@ proto.agones.dev.sdk.alpha.UpdateCounterRequest.deserializeBinaryFromReader = fu
|
|
|
1368
1653
|
var field = reader.getFieldNumber();
|
|
1369
1654
|
switch (field) {
|
|
1370
1655
|
case 1:
|
|
1371
|
-
var value = new proto.agones.dev.sdk.alpha.
|
|
1372
|
-
reader.readMessage(value,proto.agones.dev.sdk.alpha.
|
|
1373
|
-
msg.
|
|
1374
|
-
break;
|
|
1375
|
-
case 2:
|
|
1376
|
-
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1377
|
-
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1378
|
-
msg.setUpdateMask(value);
|
|
1656
|
+
var value = new proto.agones.dev.sdk.alpha.CounterUpdateRequest;
|
|
1657
|
+
reader.readMessage(value,proto.agones.dev.sdk.alpha.CounterUpdateRequest.deserializeBinaryFromReader);
|
|
1658
|
+
msg.setCounterupdaterequest(value);
|
|
1379
1659
|
break;
|
|
1380
1660
|
default:
|
|
1381
1661
|
reader.skipField();
|
|
@@ -1406,40 +1686,32 @@ proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.serializeBinary = func
|
|
|
1406
1686
|
*/
|
|
1407
1687
|
proto.agones.dev.sdk.alpha.UpdateCounterRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1408
1688
|
var f = undefined;
|
|
1409
|
-
f = message.
|
|
1689
|
+
f = message.getCounterupdaterequest();
|
|
1410
1690
|
if (f != null) {
|
|
1411
1691
|
writer.writeMessage(
|
|
1412
1692
|
1,
|
|
1413
1693
|
f,
|
|
1414
|
-
proto.agones.dev.sdk.alpha.
|
|
1415
|
-
);
|
|
1416
|
-
}
|
|
1417
|
-
f = message.getUpdateMask();
|
|
1418
|
-
if (f != null) {
|
|
1419
|
-
writer.writeMessage(
|
|
1420
|
-
2,
|
|
1421
|
-
f,
|
|
1422
|
-
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1694
|
+
proto.agones.dev.sdk.alpha.CounterUpdateRequest.serializeBinaryToWriter
|
|
1423
1695
|
);
|
|
1424
1696
|
}
|
|
1425
1697
|
};
|
|
1426
1698
|
|
|
1427
1699
|
|
|
1428
1700
|
/**
|
|
1429
|
-
* optional
|
|
1430
|
-
* @return {?proto.agones.dev.sdk.alpha.
|
|
1701
|
+
* optional CounterUpdateRequest counterUpdateRequest = 1;
|
|
1702
|
+
* @return {?proto.agones.dev.sdk.alpha.CounterUpdateRequest}
|
|
1431
1703
|
*/
|
|
1432
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.
|
|
1433
|
-
return /** @type{?proto.agones.dev.sdk.alpha.
|
|
1434
|
-
jspb.Message.getWrapperField(this, proto.agones.dev.sdk.alpha.
|
|
1704
|
+
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.getCounterupdaterequest = function() {
|
|
1705
|
+
return /** @type{?proto.agones.dev.sdk.alpha.CounterUpdateRequest} */ (
|
|
1706
|
+
jspb.Message.getWrapperField(this, proto.agones.dev.sdk.alpha.CounterUpdateRequest, 1));
|
|
1435
1707
|
};
|
|
1436
1708
|
|
|
1437
1709
|
|
|
1438
1710
|
/**
|
|
1439
|
-
* @param {?proto.agones.dev.sdk.alpha.
|
|
1711
|
+
* @param {?proto.agones.dev.sdk.alpha.CounterUpdateRequest|undefined} value
|
|
1440
1712
|
* @return {!proto.agones.dev.sdk.alpha.UpdateCounterRequest} returns this
|
|
1441
1713
|
*/
|
|
1442
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.
|
|
1714
|
+
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.setCounterupdaterequest = function(value) {
|
|
1443
1715
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1444
1716
|
};
|
|
1445
1717
|
|
|
@@ -1448,8 +1720,8 @@ proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.setCounter = function(
|
|
|
1448
1720
|
* Clears the message field making it undefined.
|
|
1449
1721
|
* @return {!proto.agones.dev.sdk.alpha.UpdateCounterRequest} returns this
|
|
1450
1722
|
*/
|
|
1451
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.
|
|
1452
|
-
return this.
|
|
1723
|
+
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.clearCounterupdaterequest = function() {
|
|
1724
|
+
return this.setCounterupdaterequest(undefined);
|
|
1453
1725
|
};
|
|
1454
1726
|
|
|
1455
1727
|
|
|
@@ -1457,48 +1729,11 @@ proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.clearCounter = functio
|
|
|
1457
1729
|
* Returns whether this field is set.
|
|
1458
1730
|
* @return {boolean}
|
|
1459
1731
|
*/
|
|
1460
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.
|
|
1732
|
+
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.hasCounterupdaterequest = function() {
|
|
1461
1733
|
return jspb.Message.getField(this, 1) != null;
|
|
1462
1734
|
};
|
|
1463
1735
|
|
|
1464
1736
|
|
|
1465
|
-
/**
|
|
1466
|
-
* optional google.protobuf.FieldMask update_mask = 2;
|
|
1467
|
-
* @return {?proto.google.protobuf.FieldMask}
|
|
1468
|
-
*/
|
|
1469
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.getUpdateMask = function() {
|
|
1470
|
-
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1471
|
-
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
1472
|
-
};
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1477
|
-
* @return {!proto.agones.dev.sdk.alpha.UpdateCounterRequest} returns this
|
|
1478
|
-
*/
|
|
1479
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.setUpdateMask = function(value) {
|
|
1480
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
1481
|
-
};
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* Clears the message field making it undefined.
|
|
1486
|
-
* @return {!proto.agones.dev.sdk.alpha.UpdateCounterRequest} returns this
|
|
1487
|
-
*/
|
|
1488
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.clearUpdateMask = function() {
|
|
1489
|
-
return this.setUpdateMask(undefined);
|
|
1490
|
-
};
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* Returns whether this field is set.
|
|
1495
|
-
* @return {boolean}
|
|
1496
|
-
*/
|
|
1497
|
-
proto.agones.dev.sdk.alpha.UpdateCounterRequest.prototype.hasUpdateMask = function() {
|
|
1498
|
-
return jspb.Message.getField(this, 2) != null;
|
|
1499
|
-
};
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
1737
|
|
|
1503
1738
|
/**
|
|
1504
1739
|
* List of repeated fields within this message type.
|
package/lib/sdk_grpc_pb.js
CHANGED
package/lib/sdk_pb.js
CHANGED
package/package.json
CHANGED