protobuf-platform 1.2.598 → 1.2.599
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/game/game.proto +8 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +334 -0
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -56,6 +56,7 @@ service Game {
|
|
|
56
56
|
rpc getProviderCutoverSnapshot(ProviderCutoverRequest) returns (ProviderCutoverSnapshotResponse);
|
|
57
57
|
rpc prepareProviderCutover(ProviderCutoverRequest) returns (ProviderCutoverAcceptedResponse);
|
|
58
58
|
rpc replaceProviderCutoverPlacements(ProviderCutoverRequest) returns (ProviderCutoverAcceptedResponse);
|
|
59
|
+
rpc startProviderDemoAvailabilityCheck(ProviderDemoAvailabilityCheckRequest) returns (ProviderDemoAvailabilityCheckAcceptedResponse);
|
|
59
60
|
//Games
|
|
60
61
|
rpc parseGames(ParseGamesRequest) returns (ParseGamesResponse);
|
|
61
62
|
rpc readSingleGame(GetGameRequest) returns (GameResponse);
|
|
@@ -552,6 +553,13 @@ message ProviderCutoverSnapshotResponse {
|
|
|
552
553
|
int32 problems_total = 17;
|
|
553
554
|
repeated ProviderCutoverProblemItem problems = 18;
|
|
554
555
|
}
|
|
556
|
+
message ProviderDemoAvailabilityCheckRequest {
|
|
557
|
+
string provider_slug = 1;
|
|
558
|
+
}
|
|
559
|
+
message ProviderDemoAvailabilityCheckAcceptedResponse {
|
|
560
|
+
string status = 1;
|
|
561
|
+
string job_id = 2;
|
|
562
|
+
}
|
|
555
563
|
|
|
556
564
|
//Games Common
|
|
557
565
|
message ParseGamesRequest { string vendor = 1; }
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -983,6 +983,28 @@ function deserialize_game_ProviderCutoverSnapshotResponse(buffer_arg) {
|
|
|
983
983
|
return game_pb.ProviderCutoverSnapshotResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
984
984
|
}
|
|
985
985
|
|
|
986
|
+
function serialize_game_ProviderDemoAvailabilityCheckAcceptedResponse(arg) {
|
|
987
|
+
if (!(arg instanceof game_pb.ProviderDemoAvailabilityCheckAcceptedResponse)) {
|
|
988
|
+
throw new Error('Expected argument of type game.ProviderDemoAvailabilityCheckAcceptedResponse');
|
|
989
|
+
}
|
|
990
|
+
return Buffer.from(arg.serializeBinary());
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function deserialize_game_ProviderDemoAvailabilityCheckAcceptedResponse(buffer_arg) {
|
|
994
|
+
return game_pb.ProviderDemoAvailabilityCheckAcceptedResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function serialize_game_ProviderDemoAvailabilityCheckRequest(arg) {
|
|
998
|
+
if (!(arg instanceof game_pb.ProviderDemoAvailabilityCheckRequest)) {
|
|
999
|
+
throw new Error('Expected argument of type game.ProviderDemoAvailabilityCheckRequest');
|
|
1000
|
+
}
|
|
1001
|
+
return Buffer.from(arg.serializeBinary());
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
function deserialize_game_ProviderDemoAvailabilityCheckRequest(buffer_arg) {
|
|
1005
|
+
return game_pb.ProviderDemoAvailabilityCheckRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1006
|
+
}
|
|
1007
|
+
|
|
986
1008
|
function serialize_game_ProviderItemsResponse(arg) {
|
|
987
1009
|
if (!(arg instanceof game_pb.ProviderItemsResponse)) {
|
|
988
1010
|
throw new Error('Expected argument of type game.ProviderItemsResponse');
|
|
@@ -1959,6 +1981,17 @@ createSingleProvider: {
|
|
|
1959
1981
|
responseSerialize: serialize_game_ProviderCutoverAcceptedResponse,
|
|
1960
1982
|
responseDeserialize: deserialize_game_ProviderCutoverAcceptedResponse,
|
|
1961
1983
|
},
|
|
1984
|
+
startProviderDemoAvailabilityCheck: {
|
|
1985
|
+
path: '/game.Game/startProviderDemoAvailabilityCheck',
|
|
1986
|
+
requestStream: false,
|
|
1987
|
+
responseStream: false,
|
|
1988
|
+
requestType: game_pb.ProviderDemoAvailabilityCheckRequest,
|
|
1989
|
+
responseType: game_pb.ProviderDemoAvailabilityCheckAcceptedResponse,
|
|
1990
|
+
requestSerialize: serialize_game_ProviderDemoAvailabilityCheckRequest,
|
|
1991
|
+
requestDeserialize: deserialize_game_ProviderDemoAvailabilityCheckRequest,
|
|
1992
|
+
responseSerialize: serialize_game_ProviderDemoAvailabilityCheckAcceptedResponse,
|
|
1993
|
+
responseDeserialize: deserialize_game_ProviderDemoAvailabilityCheckAcceptedResponse,
|
|
1994
|
+
},
|
|
1962
1995
|
// Games
|
|
1963
1996
|
parseGames: {
|
|
1964
1997
|
path: '/game.Game/parseGames',
|
package/game/game_pb.js
CHANGED
|
@@ -146,6 +146,8 @@ goog.exportSymbol('proto.game.ProviderCutoverProblemItem', null, global);
|
|
|
146
146
|
goog.exportSymbol('proto.game.ProviderCutoverProviderItem', null, global);
|
|
147
147
|
goog.exportSymbol('proto.game.ProviderCutoverRequest', null, global);
|
|
148
148
|
goog.exportSymbol('proto.game.ProviderCutoverSnapshotResponse', null, global);
|
|
149
|
+
goog.exportSymbol('proto.game.ProviderDemoAvailabilityCheckAcceptedResponse', null, global);
|
|
150
|
+
goog.exportSymbol('proto.game.ProviderDemoAvailabilityCheckRequest', null, global);
|
|
149
151
|
goog.exportSymbol('proto.game.ProviderItem', null, global);
|
|
150
152
|
goog.exportSymbol('proto.game.ProviderItemRequest', null, global);
|
|
151
153
|
goog.exportSymbol('proto.game.ProviderItemsResponse', null, global);
|
|
@@ -1469,6 +1471,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1469
1471
|
*/
|
|
1470
1472
|
proto.game.ProviderCutoverSnapshotResponse.displayName = 'proto.game.ProviderCutoverSnapshotResponse';
|
|
1471
1473
|
}
|
|
1474
|
+
/**
|
|
1475
|
+
* Generated by JsPbCodeGenerator.
|
|
1476
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1477
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1478
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1479
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1480
|
+
* valid.
|
|
1481
|
+
* @extends {jspb.Message}
|
|
1482
|
+
* @constructor
|
|
1483
|
+
*/
|
|
1484
|
+
proto.game.ProviderDemoAvailabilityCheckRequest = function(opt_data) {
|
|
1485
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1486
|
+
};
|
|
1487
|
+
goog.inherits(proto.game.ProviderDemoAvailabilityCheckRequest, jspb.Message);
|
|
1488
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1489
|
+
/**
|
|
1490
|
+
* @public
|
|
1491
|
+
* @override
|
|
1492
|
+
*/
|
|
1493
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.displayName = 'proto.game.ProviderDemoAvailabilityCheckRequest';
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Generated by JsPbCodeGenerator.
|
|
1497
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1498
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1499
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1500
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1501
|
+
* valid.
|
|
1502
|
+
* @extends {jspb.Message}
|
|
1503
|
+
* @constructor
|
|
1504
|
+
*/
|
|
1505
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse = function(opt_data) {
|
|
1506
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1507
|
+
};
|
|
1508
|
+
goog.inherits(proto.game.ProviderDemoAvailabilityCheckAcceptedResponse, jspb.Message);
|
|
1509
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1510
|
+
/**
|
|
1511
|
+
* @public
|
|
1512
|
+
* @override
|
|
1513
|
+
*/
|
|
1514
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.displayName = 'proto.game.ProviderDemoAvailabilityCheckAcceptedResponse';
|
|
1515
|
+
}
|
|
1472
1516
|
/**
|
|
1473
1517
|
* Generated by JsPbCodeGenerator.
|
|
1474
1518
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -22182,6 +22226,296 @@ proto.game.ProviderCutoverSnapshotResponse.prototype.clearProblemsList = functio
|
|
|
22182
22226
|
|
|
22183
22227
|
|
|
22184
22228
|
|
|
22229
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22230
|
+
/**
|
|
22231
|
+
* Creates an object representation of this proto.
|
|
22232
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22233
|
+
* Optional fields that are not set will be set to undefined.
|
|
22234
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22235
|
+
* For the list of reserved names please see:
|
|
22236
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22237
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22238
|
+
* JSPB instance for transitional soy proto support:
|
|
22239
|
+
* http://goto/soy-param-migration
|
|
22240
|
+
* @return {!Object}
|
|
22241
|
+
*/
|
|
22242
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22243
|
+
return proto.game.ProviderDemoAvailabilityCheckRequest.toObject(opt_includeInstance, this);
|
|
22244
|
+
};
|
|
22245
|
+
|
|
22246
|
+
|
|
22247
|
+
/**
|
|
22248
|
+
* Static version of the {@see toObject} method.
|
|
22249
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22250
|
+
* the JSPB instance for transitional soy proto support:
|
|
22251
|
+
* http://goto/soy-param-migration
|
|
22252
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckRequest} msg The msg instance to transform.
|
|
22253
|
+
* @return {!Object}
|
|
22254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22255
|
+
*/
|
|
22256
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.toObject = function(includeInstance, msg) {
|
|
22257
|
+
var f, obj = {
|
|
22258
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
22259
|
+
};
|
|
22260
|
+
|
|
22261
|
+
if (includeInstance) {
|
|
22262
|
+
obj.$jspbMessageInstance = msg;
|
|
22263
|
+
}
|
|
22264
|
+
return obj;
|
|
22265
|
+
};
|
|
22266
|
+
}
|
|
22267
|
+
|
|
22268
|
+
|
|
22269
|
+
/**
|
|
22270
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22271
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22272
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckRequest}
|
|
22273
|
+
*/
|
|
22274
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.deserializeBinary = function(bytes) {
|
|
22275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22276
|
+
var msg = new proto.game.ProviderDemoAvailabilityCheckRequest;
|
|
22277
|
+
return proto.game.ProviderDemoAvailabilityCheckRequest.deserializeBinaryFromReader(msg, reader);
|
|
22278
|
+
};
|
|
22279
|
+
|
|
22280
|
+
|
|
22281
|
+
/**
|
|
22282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22283
|
+
* given reader into the given message object.
|
|
22284
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckRequest} msg The message object to deserialize into.
|
|
22285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22286
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckRequest}
|
|
22287
|
+
*/
|
|
22288
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22289
|
+
while (reader.nextField()) {
|
|
22290
|
+
if (reader.isEndGroup()) {
|
|
22291
|
+
break;
|
|
22292
|
+
}
|
|
22293
|
+
var field = reader.getFieldNumber();
|
|
22294
|
+
switch (field) {
|
|
22295
|
+
case 1:
|
|
22296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22297
|
+
msg.setProviderSlug(value);
|
|
22298
|
+
break;
|
|
22299
|
+
default:
|
|
22300
|
+
reader.skipField();
|
|
22301
|
+
break;
|
|
22302
|
+
}
|
|
22303
|
+
}
|
|
22304
|
+
return msg;
|
|
22305
|
+
};
|
|
22306
|
+
|
|
22307
|
+
|
|
22308
|
+
/**
|
|
22309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22310
|
+
* @return {!Uint8Array}
|
|
22311
|
+
*/
|
|
22312
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.prototype.serializeBinary = function() {
|
|
22313
|
+
var writer = new jspb.BinaryWriter();
|
|
22314
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.serializeBinaryToWriter(this, writer);
|
|
22315
|
+
return writer.getResultBuffer();
|
|
22316
|
+
};
|
|
22317
|
+
|
|
22318
|
+
|
|
22319
|
+
/**
|
|
22320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22321
|
+
* format), writing to the given BinaryWriter.
|
|
22322
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckRequest} message
|
|
22323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22325
|
+
*/
|
|
22326
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22327
|
+
var f = undefined;
|
|
22328
|
+
f = message.getProviderSlug();
|
|
22329
|
+
if (f.length > 0) {
|
|
22330
|
+
writer.writeString(
|
|
22331
|
+
1,
|
|
22332
|
+
f
|
|
22333
|
+
);
|
|
22334
|
+
}
|
|
22335
|
+
};
|
|
22336
|
+
|
|
22337
|
+
|
|
22338
|
+
/**
|
|
22339
|
+
* optional string provider_slug = 1;
|
|
22340
|
+
* @return {string}
|
|
22341
|
+
*/
|
|
22342
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.prototype.getProviderSlug = function() {
|
|
22343
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22344
|
+
};
|
|
22345
|
+
|
|
22346
|
+
|
|
22347
|
+
/**
|
|
22348
|
+
* @param {string} value
|
|
22349
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckRequest} returns this
|
|
22350
|
+
*/
|
|
22351
|
+
proto.game.ProviderDemoAvailabilityCheckRequest.prototype.setProviderSlug = function(value) {
|
|
22352
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
22353
|
+
};
|
|
22354
|
+
|
|
22355
|
+
|
|
22356
|
+
|
|
22357
|
+
|
|
22358
|
+
|
|
22359
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22360
|
+
/**
|
|
22361
|
+
* Creates an object representation of this proto.
|
|
22362
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22363
|
+
* Optional fields that are not set will be set to undefined.
|
|
22364
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22365
|
+
* For the list of reserved names please see:
|
|
22366
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22367
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22368
|
+
* JSPB instance for transitional soy proto support:
|
|
22369
|
+
* http://goto/soy-param-migration
|
|
22370
|
+
* @return {!Object}
|
|
22371
|
+
*/
|
|
22372
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22373
|
+
return proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.toObject(opt_includeInstance, this);
|
|
22374
|
+
};
|
|
22375
|
+
|
|
22376
|
+
|
|
22377
|
+
/**
|
|
22378
|
+
* Static version of the {@see toObject} method.
|
|
22379
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22380
|
+
* the JSPB instance for transitional soy proto support:
|
|
22381
|
+
* http://goto/soy-param-migration
|
|
22382
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse} msg The msg instance to transform.
|
|
22383
|
+
* @return {!Object}
|
|
22384
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22385
|
+
*/
|
|
22386
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.toObject = function(includeInstance, msg) {
|
|
22387
|
+
var f, obj = {
|
|
22388
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22389
|
+
jobId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
22390
|
+
};
|
|
22391
|
+
|
|
22392
|
+
if (includeInstance) {
|
|
22393
|
+
obj.$jspbMessageInstance = msg;
|
|
22394
|
+
}
|
|
22395
|
+
return obj;
|
|
22396
|
+
};
|
|
22397
|
+
}
|
|
22398
|
+
|
|
22399
|
+
|
|
22400
|
+
/**
|
|
22401
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22402
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22403
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse}
|
|
22404
|
+
*/
|
|
22405
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.deserializeBinary = function(bytes) {
|
|
22406
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22407
|
+
var msg = new proto.game.ProviderDemoAvailabilityCheckAcceptedResponse;
|
|
22408
|
+
return proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.deserializeBinaryFromReader(msg, reader);
|
|
22409
|
+
};
|
|
22410
|
+
|
|
22411
|
+
|
|
22412
|
+
/**
|
|
22413
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22414
|
+
* given reader into the given message object.
|
|
22415
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse} msg The message object to deserialize into.
|
|
22416
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22417
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse}
|
|
22418
|
+
*/
|
|
22419
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22420
|
+
while (reader.nextField()) {
|
|
22421
|
+
if (reader.isEndGroup()) {
|
|
22422
|
+
break;
|
|
22423
|
+
}
|
|
22424
|
+
var field = reader.getFieldNumber();
|
|
22425
|
+
switch (field) {
|
|
22426
|
+
case 1:
|
|
22427
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22428
|
+
msg.setStatus(value);
|
|
22429
|
+
break;
|
|
22430
|
+
case 2:
|
|
22431
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22432
|
+
msg.setJobId(value);
|
|
22433
|
+
break;
|
|
22434
|
+
default:
|
|
22435
|
+
reader.skipField();
|
|
22436
|
+
break;
|
|
22437
|
+
}
|
|
22438
|
+
}
|
|
22439
|
+
return msg;
|
|
22440
|
+
};
|
|
22441
|
+
|
|
22442
|
+
|
|
22443
|
+
/**
|
|
22444
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22445
|
+
* @return {!Uint8Array}
|
|
22446
|
+
*/
|
|
22447
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.serializeBinary = function() {
|
|
22448
|
+
var writer = new jspb.BinaryWriter();
|
|
22449
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.serializeBinaryToWriter(this, writer);
|
|
22450
|
+
return writer.getResultBuffer();
|
|
22451
|
+
};
|
|
22452
|
+
|
|
22453
|
+
|
|
22454
|
+
/**
|
|
22455
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22456
|
+
* format), writing to the given BinaryWriter.
|
|
22457
|
+
* @param {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse} message
|
|
22458
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22459
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22460
|
+
*/
|
|
22461
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22462
|
+
var f = undefined;
|
|
22463
|
+
f = message.getStatus();
|
|
22464
|
+
if (f.length > 0) {
|
|
22465
|
+
writer.writeString(
|
|
22466
|
+
1,
|
|
22467
|
+
f
|
|
22468
|
+
);
|
|
22469
|
+
}
|
|
22470
|
+
f = message.getJobId();
|
|
22471
|
+
if (f.length > 0) {
|
|
22472
|
+
writer.writeString(
|
|
22473
|
+
2,
|
|
22474
|
+
f
|
|
22475
|
+
);
|
|
22476
|
+
}
|
|
22477
|
+
};
|
|
22478
|
+
|
|
22479
|
+
|
|
22480
|
+
/**
|
|
22481
|
+
* optional string status = 1;
|
|
22482
|
+
* @return {string}
|
|
22483
|
+
*/
|
|
22484
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.getStatus = function() {
|
|
22485
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22486
|
+
};
|
|
22487
|
+
|
|
22488
|
+
|
|
22489
|
+
/**
|
|
22490
|
+
* @param {string} value
|
|
22491
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse} returns this
|
|
22492
|
+
*/
|
|
22493
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.setStatus = function(value) {
|
|
22494
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
22495
|
+
};
|
|
22496
|
+
|
|
22497
|
+
|
|
22498
|
+
/**
|
|
22499
|
+
* optional string job_id = 2;
|
|
22500
|
+
* @return {string}
|
|
22501
|
+
*/
|
|
22502
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.getJobId = function() {
|
|
22503
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
22504
|
+
};
|
|
22505
|
+
|
|
22506
|
+
|
|
22507
|
+
/**
|
|
22508
|
+
* @param {string} value
|
|
22509
|
+
* @return {!proto.game.ProviderDemoAvailabilityCheckAcceptedResponse} returns this
|
|
22510
|
+
*/
|
|
22511
|
+
proto.game.ProviderDemoAvailabilityCheckAcceptedResponse.prototype.setJobId = function(value) {
|
|
22512
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
22513
|
+
};
|
|
22514
|
+
|
|
22515
|
+
|
|
22516
|
+
|
|
22517
|
+
|
|
22518
|
+
|
|
22185
22519
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22186
22520
|
/**
|
|
22187
22521
|
* Creates an object representation of this proto.
|