protobuf-platform 1.0.262 → 1.0.263

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 CHANGED
@@ -76,6 +76,9 @@ service Game {
76
76
  rpc getPoorWagerLists(WagerSearchRequest) returns (WagerListItemsResponse);
77
77
  //Dashboard
78
78
  rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
79
+ //SEO
80
+ rpc setSEOInstanceAttributes(SEOInstanceRequest) returns (GameStatusResponse);
81
+ rpc readSEOInstanceAttributes(SEOInstanceRequest) returns (SEOInstanceResponse);
79
82
  }
80
83
 
81
84
  message PingRequest { string ping = 1; }
@@ -548,4 +551,18 @@ message DashboardRequest {
548
551
  message DashboardResponse {
549
552
  int32 free_spins_total = 1;
550
553
  int32 free_spins_played = 2;
554
+ }
555
+ //SEO
556
+ message SEOAttribute {
557
+ string key = 1;
558
+ string value = 2;
559
+ }
560
+ message SEOInstanceRequest {
561
+ int32 instance_id = 1;
562
+ string instance_type = 2;
563
+ string locale = 3;
564
+ repeated SEOAttribute attributes = 4;
565
+ }
566
+ message SEOInstanceResponse {
567
+ repeated SEOAttribute attributes = 1;
551
568
  }
@@ -576,6 +576,28 @@ function deserialize_game_ProviderStatusResponse(buffer_arg) {
576
576
  return game_pb.ProviderStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
577
577
  }
578
578
 
579
+ function serialize_game_SEOInstanceRequest(arg) {
580
+ if (!(arg instanceof game_pb.SEOInstanceRequest)) {
581
+ throw new Error('Expected argument of type game.SEOInstanceRequest');
582
+ }
583
+ return Buffer.from(arg.serializeBinary());
584
+ }
585
+
586
+ function deserialize_game_SEOInstanceRequest(buffer_arg) {
587
+ return game_pb.SEOInstanceRequest.deserializeBinary(new Uint8Array(buffer_arg));
588
+ }
589
+
590
+ function serialize_game_SEOInstanceResponse(arg) {
591
+ if (!(arg instanceof game_pb.SEOInstanceResponse)) {
592
+ throw new Error('Expected argument of type game.SEOInstanceResponse');
593
+ }
594
+ return Buffer.from(arg.serializeBinary());
595
+ }
596
+
597
+ function deserialize_game_SEOInstanceResponse(buffer_arg) {
598
+ return game_pb.SEOInstanceResponse.deserializeBinary(new Uint8Array(buffer_arg));
599
+ }
600
+
579
601
  function serialize_game_ScopeRequest(arg) {
580
602
  if (!(arg instanceof game_pb.ScopeRequest)) {
581
603
  throw new Error('Expected argument of type game.ScopeRequest');
@@ -1457,6 +1479,29 @@ getDashboardInfo: {
1457
1479
  responseSerialize: serialize_game_DashboardResponse,
1458
1480
  responseDeserialize: deserialize_game_DashboardResponse,
1459
1481
  },
1482
+ // SEO
1483
+ setSEOInstanceAttributes: {
1484
+ path: '/game.Game/setSEOInstanceAttributes',
1485
+ requestStream: false,
1486
+ responseStream: false,
1487
+ requestType: game_pb.SEOInstanceRequest,
1488
+ responseType: game_pb.GameStatusResponse,
1489
+ requestSerialize: serialize_game_SEOInstanceRequest,
1490
+ requestDeserialize: deserialize_game_SEOInstanceRequest,
1491
+ responseSerialize: serialize_game_GameStatusResponse,
1492
+ responseDeserialize: deserialize_game_GameStatusResponse,
1493
+ },
1494
+ readSEOInstanceAttributes: {
1495
+ path: '/game.Game/readSEOInstanceAttributes',
1496
+ requestStream: false,
1497
+ responseStream: false,
1498
+ requestType: game_pb.SEOInstanceRequest,
1499
+ responseType: game_pb.SEOInstanceResponse,
1500
+ requestSerialize: serialize_game_SEOInstanceRequest,
1501
+ requestDeserialize: deserialize_game_SEOInstanceRequest,
1502
+ responseSerialize: serialize_game_SEOInstanceResponse,
1503
+ responseDeserialize: deserialize_game_SEOInstanceResponse,
1504
+ },
1460
1505
  };
1461
1506
 
1462
1507
  exports.GameClient = grpc.makeGenericClientConstructor(GameService);
package/game/game_pb.js CHANGED
@@ -88,6 +88,9 @@ goog.exportSymbol('proto.game.ProviderRequest', null, global);
88
88
  goog.exportSymbol('proto.game.ProviderRequest.RequestCase', null, global);
89
89
  goog.exportSymbol('proto.game.ProviderResponse', null, global);
90
90
  goog.exportSymbol('proto.game.ProviderStatusResponse', null, global);
91
+ goog.exportSymbol('proto.game.SEOAttribute', null, global);
92
+ goog.exportSymbol('proto.game.SEOInstanceRequest', null, global);
93
+ goog.exportSymbol('proto.game.SEOInstanceResponse', null, global);
91
94
  goog.exportSymbol('proto.game.ScopeRequest', null, global);
92
95
  goog.exportSymbol('proto.game.ScopeResponse', null, global);
93
96
  goog.exportSymbol('proto.game.SearchGamesIntoCollectionsRequest', null, global);
@@ -1852,6 +1855,69 @@ if (goog.DEBUG && !COMPILED) {
1852
1855
  */
1853
1856
  proto.game.DashboardResponse.displayName = 'proto.game.DashboardResponse';
1854
1857
  }
1858
+ /**
1859
+ * Generated by JsPbCodeGenerator.
1860
+ * @param {Array=} opt_data Optional initial data array, typically from a
1861
+ * server response, or constructed directly in Javascript. The array is used
1862
+ * in place and becomes part of the constructed object. It is not cloned.
1863
+ * If no data is provided, the constructed object will be empty, but still
1864
+ * valid.
1865
+ * @extends {jspb.Message}
1866
+ * @constructor
1867
+ */
1868
+ proto.game.SEOAttribute = function(opt_data) {
1869
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1870
+ };
1871
+ goog.inherits(proto.game.SEOAttribute, jspb.Message);
1872
+ if (goog.DEBUG && !COMPILED) {
1873
+ /**
1874
+ * @public
1875
+ * @override
1876
+ */
1877
+ proto.game.SEOAttribute.displayName = 'proto.game.SEOAttribute';
1878
+ }
1879
+ /**
1880
+ * Generated by JsPbCodeGenerator.
1881
+ * @param {Array=} opt_data Optional initial data array, typically from a
1882
+ * server response, or constructed directly in Javascript. The array is used
1883
+ * in place and becomes part of the constructed object. It is not cloned.
1884
+ * If no data is provided, the constructed object will be empty, but still
1885
+ * valid.
1886
+ * @extends {jspb.Message}
1887
+ * @constructor
1888
+ */
1889
+ proto.game.SEOInstanceRequest = function(opt_data) {
1890
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SEOInstanceRequest.repeatedFields_, null);
1891
+ };
1892
+ goog.inherits(proto.game.SEOInstanceRequest, jspb.Message);
1893
+ if (goog.DEBUG && !COMPILED) {
1894
+ /**
1895
+ * @public
1896
+ * @override
1897
+ */
1898
+ proto.game.SEOInstanceRequest.displayName = 'proto.game.SEOInstanceRequest';
1899
+ }
1900
+ /**
1901
+ * Generated by JsPbCodeGenerator.
1902
+ * @param {Array=} opt_data Optional initial data array, typically from a
1903
+ * server response, or constructed directly in Javascript. The array is used
1904
+ * in place and becomes part of the constructed object. It is not cloned.
1905
+ * If no data is provided, the constructed object will be empty, but still
1906
+ * valid.
1907
+ * @extends {jspb.Message}
1908
+ * @constructor
1909
+ */
1910
+ proto.game.SEOInstanceResponse = function(opt_data) {
1911
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SEOInstanceResponse.repeatedFields_, null);
1912
+ };
1913
+ goog.inherits(proto.game.SEOInstanceResponse, jspb.Message);
1914
+ if (goog.DEBUG && !COMPILED) {
1915
+ /**
1916
+ * @public
1917
+ * @override
1918
+ */
1919
+ proto.game.SEOInstanceResponse.displayName = 'proto.game.SEOInstanceResponse';
1920
+ }
1855
1921
 
1856
1922
 
1857
1923
 
@@ -22843,4 +22909,574 @@ proto.game.DashboardResponse.prototype.setFreeSpinsPlayed = function(value) {
22843
22909
  };
22844
22910
 
22845
22911
 
22912
+
22913
+
22914
+
22915
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22916
+ /**
22917
+ * Creates an object representation of this proto.
22918
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22919
+ * Optional fields that are not set will be set to undefined.
22920
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22921
+ * For the list of reserved names please see:
22922
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22923
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22924
+ * JSPB instance for transitional soy proto support:
22925
+ * http://goto/soy-param-migration
22926
+ * @return {!Object}
22927
+ */
22928
+ proto.game.SEOAttribute.prototype.toObject = function(opt_includeInstance) {
22929
+ return proto.game.SEOAttribute.toObject(opt_includeInstance, this);
22930
+ };
22931
+
22932
+
22933
+ /**
22934
+ * Static version of the {@see toObject} method.
22935
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22936
+ * the JSPB instance for transitional soy proto support:
22937
+ * http://goto/soy-param-migration
22938
+ * @param {!proto.game.SEOAttribute} msg The msg instance to transform.
22939
+ * @return {!Object}
22940
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22941
+ */
22942
+ proto.game.SEOAttribute.toObject = function(includeInstance, msg) {
22943
+ var f, obj = {
22944
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
22945
+ value: jspb.Message.getFieldWithDefault(msg, 2, "")
22946
+ };
22947
+
22948
+ if (includeInstance) {
22949
+ obj.$jspbMessageInstance = msg;
22950
+ }
22951
+ return obj;
22952
+ };
22953
+ }
22954
+
22955
+
22956
+ /**
22957
+ * Deserializes binary data (in protobuf wire format).
22958
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22959
+ * @return {!proto.game.SEOAttribute}
22960
+ */
22961
+ proto.game.SEOAttribute.deserializeBinary = function(bytes) {
22962
+ var reader = new jspb.BinaryReader(bytes);
22963
+ var msg = new proto.game.SEOAttribute;
22964
+ return proto.game.SEOAttribute.deserializeBinaryFromReader(msg, reader);
22965
+ };
22966
+
22967
+
22968
+ /**
22969
+ * Deserializes binary data (in protobuf wire format) from the
22970
+ * given reader into the given message object.
22971
+ * @param {!proto.game.SEOAttribute} msg The message object to deserialize into.
22972
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22973
+ * @return {!proto.game.SEOAttribute}
22974
+ */
22975
+ proto.game.SEOAttribute.deserializeBinaryFromReader = function(msg, reader) {
22976
+ while (reader.nextField()) {
22977
+ if (reader.isEndGroup()) {
22978
+ break;
22979
+ }
22980
+ var field = reader.getFieldNumber();
22981
+ switch (field) {
22982
+ case 1:
22983
+ var value = /** @type {string} */ (reader.readString());
22984
+ msg.setKey(value);
22985
+ break;
22986
+ case 2:
22987
+ var value = /** @type {string} */ (reader.readString());
22988
+ msg.setValue(value);
22989
+ break;
22990
+ default:
22991
+ reader.skipField();
22992
+ break;
22993
+ }
22994
+ }
22995
+ return msg;
22996
+ };
22997
+
22998
+
22999
+ /**
23000
+ * Serializes the message to binary data (in protobuf wire format).
23001
+ * @return {!Uint8Array}
23002
+ */
23003
+ proto.game.SEOAttribute.prototype.serializeBinary = function() {
23004
+ var writer = new jspb.BinaryWriter();
23005
+ proto.game.SEOAttribute.serializeBinaryToWriter(this, writer);
23006
+ return writer.getResultBuffer();
23007
+ };
23008
+
23009
+
23010
+ /**
23011
+ * Serializes the given message to binary data (in protobuf wire
23012
+ * format), writing to the given BinaryWriter.
23013
+ * @param {!proto.game.SEOAttribute} message
23014
+ * @param {!jspb.BinaryWriter} writer
23015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23016
+ */
23017
+ proto.game.SEOAttribute.serializeBinaryToWriter = function(message, writer) {
23018
+ var f = undefined;
23019
+ f = message.getKey();
23020
+ if (f.length > 0) {
23021
+ writer.writeString(
23022
+ 1,
23023
+ f
23024
+ );
23025
+ }
23026
+ f = message.getValue();
23027
+ if (f.length > 0) {
23028
+ writer.writeString(
23029
+ 2,
23030
+ f
23031
+ );
23032
+ }
23033
+ };
23034
+
23035
+
23036
+ /**
23037
+ * optional string key = 1;
23038
+ * @return {string}
23039
+ */
23040
+ proto.game.SEOAttribute.prototype.getKey = function() {
23041
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23042
+ };
23043
+
23044
+
23045
+ /**
23046
+ * @param {string} value
23047
+ * @return {!proto.game.SEOAttribute} returns this
23048
+ */
23049
+ proto.game.SEOAttribute.prototype.setKey = function(value) {
23050
+ return jspb.Message.setProto3StringField(this, 1, value);
23051
+ };
23052
+
23053
+
23054
+ /**
23055
+ * optional string value = 2;
23056
+ * @return {string}
23057
+ */
23058
+ proto.game.SEOAttribute.prototype.getValue = function() {
23059
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23060
+ };
23061
+
23062
+
23063
+ /**
23064
+ * @param {string} value
23065
+ * @return {!proto.game.SEOAttribute} returns this
23066
+ */
23067
+ proto.game.SEOAttribute.prototype.setValue = function(value) {
23068
+ return jspb.Message.setProto3StringField(this, 2, value);
23069
+ };
23070
+
23071
+
23072
+
23073
+ /**
23074
+ * List of repeated fields within this message type.
23075
+ * @private {!Array<number>}
23076
+ * @const
23077
+ */
23078
+ proto.game.SEOInstanceRequest.repeatedFields_ = [4];
23079
+
23080
+
23081
+
23082
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23083
+ /**
23084
+ * Creates an object representation of this proto.
23085
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23086
+ * Optional fields that are not set will be set to undefined.
23087
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23088
+ * For the list of reserved names please see:
23089
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23090
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23091
+ * JSPB instance for transitional soy proto support:
23092
+ * http://goto/soy-param-migration
23093
+ * @return {!Object}
23094
+ */
23095
+ proto.game.SEOInstanceRequest.prototype.toObject = function(opt_includeInstance) {
23096
+ return proto.game.SEOInstanceRequest.toObject(opt_includeInstance, this);
23097
+ };
23098
+
23099
+
23100
+ /**
23101
+ * Static version of the {@see toObject} method.
23102
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23103
+ * the JSPB instance for transitional soy proto support:
23104
+ * http://goto/soy-param-migration
23105
+ * @param {!proto.game.SEOInstanceRequest} msg The msg instance to transform.
23106
+ * @return {!Object}
23107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23108
+ */
23109
+ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
23110
+ var f, obj = {
23111
+ instanceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
23112
+ instanceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
23113
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
23114
+ attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
23115
+ proto.game.SEOAttribute.toObject, includeInstance)
23116
+ };
23117
+
23118
+ if (includeInstance) {
23119
+ obj.$jspbMessageInstance = msg;
23120
+ }
23121
+ return obj;
23122
+ };
23123
+ }
23124
+
23125
+
23126
+ /**
23127
+ * Deserializes binary data (in protobuf wire format).
23128
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23129
+ * @return {!proto.game.SEOInstanceRequest}
23130
+ */
23131
+ proto.game.SEOInstanceRequest.deserializeBinary = function(bytes) {
23132
+ var reader = new jspb.BinaryReader(bytes);
23133
+ var msg = new proto.game.SEOInstanceRequest;
23134
+ return proto.game.SEOInstanceRequest.deserializeBinaryFromReader(msg, reader);
23135
+ };
23136
+
23137
+
23138
+ /**
23139
+ * Deserializes binary data (in protobuf wire format) from the
23140
+ * given reader into the given message object.
23141
+ * @param {!proto.game.SEOInstanceRequest} msg The message object to deserialize into.
23142
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23143
+ * @return {!proto.game.SEOInstanceRequest}
23144
+ */
23145
+ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader) {
23146
+ while (reader.nextField()) {
23147
+ if (reader.isEndGroup()) {
23148
+ break;
23149
+ }
23150
+ var field = reader.getFieldNumber();
23151
+ switch (field) {
23152
+ case 1:
23153
+ var value = /** @type {number} */ (reader.readInt32());
23154
+ msg.setInstanceId(value);
23155
+ break;
23156
+ case 2:
23157
+ var value = /** @type {string} */ (reader.readString());
23158
+ msg.setInstanceType(value);
23159
+ break;
23160
+ case 3:
23161
+ var value = /** @type {string} */ (reader.readString());
23162
+ msg.setLocale(value);
23163
+ break;
23164
+ case 4:
23165
+ var value = new proto.game.SEOAttribute;
23166
+ reader.readMessage(value,proto.game.SEOAttribute.deserializeBinaryFromReader);
23167
+ msg.addAttributes(value);
23168
+ break;
23169
+ default:
23170
+ reader.skipField();
23171
+ break;
23172
+ }
23173
+ }
23174
+ return msg;
23175
+ };
23176
+
23177
+
23178
+ /**
23179
+ * Serializes the message to binary data (in protobuf wire format).
23180
+ * @return {!Uint8Array}
23181
+ */
23182
+ proto.game.SEOInstanceRequest.prototype.serializeBinary = function() {
23183
+ var writer = new jspb.BinaryWriter();
23184
+ proto.game.SEOInstanceRequest.serializeBinaryToWriter(this, writer);
23185
+ return writer.getResultBuffer();
23186
+ };
23187
+
23188
+
23189
+ /**
23190
+ * Serializes the given message to binary data (in protobuf wire
23191
+ * format), writing to the given BinaryWriter.
23192
+ * @param {!proto.game.SEOInstanceRequest} message
23193
+ * @param {!jspb.BinaryWriter} writer
23194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23195
+ */
23196
+ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer) {
23197
+ var f = undefined;
23198
+ f = message.getInstanceId();
23199
+ if (f !== 0) {
23200
+ writer.writeInt32(
23201
+ 1,
23202
+ f
23203
+ );
23204
+ }
23205
+ f = message.getInstanceType();
23206
+ if (f.length > 0) {
23207
+ writer.writeString(
23208
+ 2,
23209
+ f
23210
+ );
23211
+ }
23212
+ f = message.getLocale();
23213
+ if (f.length > 0) {
23214
+ writer.writeString(
23215
+ 3,
23216
+ f
23217
+ );
23218
+ }
23219
+ f = message.getAttributesList();
23220
+ if (f.length > 0) {
23221
+ writer.writeRepeatedMessage(
23222
+ 4,
23223
+ f,
23224
+ proto.game.SEOAttribute.serializeBinaryToWriter
23225
+ );
23226
+ }
23227
+ };
23228
+
23229
+
23230
+ /**
23231
+ * optional int32 instance_id = 1;
23232
+ * @return {number}
23233
+ */
23234
+ proto.game.SEOInstanceRequest.prototype.getInstanceId = function() {
23235
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
23236
+ };
23237
+
23238
+
23239
+ /**
23240
+ * @param {number} value
23241
+ * @return {!proto.game.SEOInstanceRequest} returns this
23242
+ */
23243
+ proto.game.SEOInstanceRequest.prototype.setInstanceId = function(value) {
23244
+ return jspb.Message.setProto3IntField(this, 1, value);
23245
+ };
23246
+
23247
+
23248
+ /**
23249
+ * optional string instance_type = 2;
23250
+ * @return {string}
23251
+ */
23252
+ proto.game.SEOInstanceRequest.prototype.getInstanceType = function() {
23253
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23254
+ };
23255
+
23256
+
23257
+ /**
23258
+ * @param {string} value
23259
+ * @return {!proto.game.SEOInstanceRequest} returns this
23260
+ */
23261
+ proto.game.SEOInstanceRequest.prototype.setInstanceType = function(value) {
23262
+ return jspb.Message.setProto3StringField(this, 2, value);
23263
+ };
23264
+
23265
+
23266
+ /**
23267
+ * optional string locale = 3;
23268
+ * @return {string}
23269
+ */
23270
+ proto.game.SEOInstanceRequest.prototype.getLocale = function() {
23271
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23272
+ };
23273
+
23274
+
23275
+ /**
23276
+ * @param {string} value
23277
+ * @return {!proto.game.SEOInstanceRequest} returns this
23278
+ */
23279
+ proto.game.SEOInstanceRequest.prototype.setLocale = function(value) {
23280
+ return jspb.Message.setProto3StringField(this, 3, value);
23281
+ };
23282
+
23283
+
23284
+ /**
23285
+ * repeated SEOAttribute attributes = 4;
23286
+ * @return {!Array<!proto.game.SEOAttribute>}
23287
+ */
23288
+ proto.game.SEOInstanceRequest.prototype.getAttributesList = function() {
23289
+ return /** @type{!Array<!proto.game.SEOAttribute>} */ (
23290
+ jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute, 4));
23291
+ };
23292
+
23293
+
23294
+ /**
23295
+ * @param {!Array<!proto.game.SEOAttribute>} value
23296
+ * @return {!proto.game.SEOInstanceRequest} returns this
23297
+ */
23298
+ proto.game.SEOInstanceRequest.prototype.setAttributesList = function(value) {
23299
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
23300
+ };
23301
+
23302
+
23303
+ /**
23304
+ * @param {!proto.game.SEOAttribute=} opt_value
23305
+ * @param {number=} opt_index
23306
+ * @return {!proto.game.SEOAttribute}
23307
+ */
23308
+ proto.game.SEOInstanceRequest.prototype.addAttributes = function(opt_value, opt_index) {
23309
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.game.SEOAttribute, opt_index);
23310
+ };
23311
+
23312
+
23313
+ /**
23314
+ * Clears the list making it empty but non-null.
23315
+ * @return {!proto.game.SEOInstanceRequest} returns this
23316
+ */
23317
+ proto.game.SEOInstanceRequest.prototype.clearAttributesList = function() {
23318
+ return this.setAttributesList([]);
23319
+ };
23320
+
23321
+
23322
+
23323
+ /**
23324
+ * List of repeated fields within this message type.
23325
+ * @private {!Array<number>}
23326
+ * @const
23327
+ */
23328
+ proto.game.SEOInstanceResponse.repeatedFields_ = [1];
23329
+
23330
+
23331
+
23332
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23333
+ /**
23334
+ * Creates an object representation of this proto.
23335
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23336
+ * Optional fields that are not set will be set to undefined.
23337
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23338
+ * For the list of reserved names please see:
23339
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23340
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23341
+ * JSPB instance for transitional soy proto support:
23342
+ * http://goto/soy-param-migration
23343
+ * @return {!Object}
23344
+ */
23345
+ proto.game.SEOInstanceResponse.prototype.toObject = function(opt_includeInstance) {
23346
+ return proto.game.SEOInstanceResponse.toObject(opt_includeInstance, this);
23347
+ };
23348
+
23349
+
23350
+ /**
23351
+ * Static version of the {@see toObject} method.
23352
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23353
+ * the JSPB instance for transitional soy proto support:
23354
+ * http://goto/soy-param-migration
23355
+ * @param {!proto.game.SEOInstanceResponse} msg The msg instance to transform.
23356
+ * @return {!Object}
23357
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23358
+ */
23359
+ proto.game.SEOInstanceResponse.toObject = function(includeInstance, msg) {
23360
+ var f, obj = {
23361
+ attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
23362
+ proto.game.SEOAttribute.toObject, includeInstance)
23363
+ };
23364
+
23365
+ if (includeInstance) {
23366
+ obj.$jspbMessageInstance = msg;
23367
+ }
23368
+ return obj;
23369
+ };
23370
+ }
23371
+
23372
+
23373
+ /**
23374
+ * Deserializes binary data (in protobuf wire format).
23375
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23376
+ * @return {!proto.game.SEOInstanceResponse}
23377
+ */
23378
+ proto.game.SEOInstanceResponse.deserializeBinary = function(bytes) {
23379
+ var reader = new jspb.BinaryReader(bytes);
23380
+ var msg = new proto.game.SEOInstanceResponse;
23381
+ return proto.game.SEOInstanceResponse.deserializeBinaryFromReader(msg, reader);
23382
+ };
23383
+
23384
+
23385
+ /**
23386
+ * Deserializes binary data (in protobuf wire format) from the
23387
+ * given reader into the given message object.
23388
+ * @param {!proto.game.SEOInstanceResponse} msg The message object to deserialize into.
23389
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23390
+ * @return {!proto.game.SEOInstanceResponse}
23391
+ */
23392
+ proto.game.SEOInstanceResponse.deserializeBinaryFromReader = function(msg, reader) {
23393
+ while (reader.nextField()) {
23394
+ if (reader.isEndGroup()) {
23395
+ break;
23396
+ }
23397
+ var field = reader.getFieldNumber();
23398
+ switch (field) {
23399
+ case 1:
23400
+ var value = new proto.game.SEOAttribute;
23401
+ reader.readMessage(value,proto.game.SEOAttribute.deserializeBinaryFromReader);
23402
+ msg.addAttributes(value);
23403
+ break;
23404
+ default:
23405
+ reader.skipField();
23406
+ break;
23407
+ }
23408
+ }
23409
+ return msg;
23410
+ };
23411
+
23412
+
23413
+ /**
23414
+ * Serializes the message to binary data (in protobuf wire format).
23415
+ * @return {!Uint8Array}
23416
+ */
23417
+ proto.game.SEOInstanceResponse.prototype.serializeBinary = function() {
23418
+ var writer = new jspb.BinaryWriter();
23419
+ proto.game.SEOInstanceResponse.serializeBinaryToWriter(this, writer);
23420
+ return writer.getResultBuffer();
23421
+ };
23422
+
23423
+
23424
+ /**
23425
+ * Serializes the given message to binary data (in protobuf wire
23426
+ * format), writing to the given BinaryWriter.
23427
+ * @param {!proto.game.SEOInstanceResponse} message
23428
+ * @param {!jspb.BinaryWriter} writer
23429
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23430
+ */
23431
+ proto.game.SEOInstanceResponse.serializeBinaryToWriter = function(message, writer) {
23432
+ var f = undefined;
23433
+ f = message.getAttributesList();
23434
+ if (f.length > 0) {
23435
+ writer.writeRepeatedMessage(
23436
+ 1,
23437
+ f,
23438
+ proto.game.SEOAttribute.serializeBinaryToWriter
23439
+ );
23440
+ }
23441
+ };
23442
+
23443
+
23444
+ /**
23445
+ * repeated SEOAttribute attributes = 1;
23446
+ * @return {!Array<!proto.game.SEOAttribute>}
23447
+ */
23448
+ proto.game.SEOInstanceResponse.prototype.getAttributesList = function() {
23449
+ return /** @type{!Array<!proto.game.SEOAttribute>} */ (
23450
+ jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute, 1));
23451
+ };
23452
+
23453
+
23454
+ /**
23455
+ * @param {!Array<!proto.game.SEOAttribute>} value
23456
+ * @return {!proto.game.SEOInstanceResponse} returns this
23457
+ */
23458
+ proto.game.SEOInstanceResponse.prototype.setAttributesList = function(value) {
23459
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
23460
+ };
23461
+
23462
+
23463
+ /**
23464
+ * @param {!proto.game.SEOAttribute=} opt_value
23465
+ * @param {number=} opt_index
23466
+ * @return {!proto.game.SEOAttribute}
23467
+ */
23468
+ proto.game.SEOInstanceResponse.prototype.addAttributes = function(opt_value, opt_index) {
23469
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.SEOAttribute, opt_index);
23470
+ };
23471
+
23472
+
23473
+ /**
23474
+ * Clears the list making it empty but non-null.
23475
+ * @return {!proto.game.SEOInstanceResponse} returns this
23476
+ */
23477
+ proto.game.SEOInstanceResponse.prototype.clearAttributesList = function() {
23478
+ return this.setAttributesList([]);
23479
+ };
23480
+
23481
+
22846
23482
  goog.object.extend(exports, proto.game);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.262",
3
+ "version": "1.0.263",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {