protobuf-platform 1.2.292 → 1.2.293

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
@@ -71,6 +71,7 @@ service Game {
71
71
  rpc parseGameImagesForProvider(ParseGameImagesForProviderRequest) returns (GameImagesParsingTechnicalResponse);
72
72
  rpc parseGameImagesForAllInbound(ParseGameImagesForAllInboundRequest) returns (GameImagesParsingTechnicalResponse);
73
73
  rpc syncGameImageUrls(SyncGameImageUrlsRequest) returns (GameImagesParsingTechnicalResponse);
74
+ rpc syncGameImageUrlsForProvider(SyncGameImageUrlsForProviderRequest) returns (GameImagesParsingTechnicalResponse);
74
75
  rpc searchGames(PaginationRequest) returns (SearchGamesResponse);
75
76
  //Vendor
76
77
  rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
@@ -424,6 +425,9 @@ message ParseGameImagesForProviderRequest {
424
425
  }
425
426
  message ParseGameImagesForAllInboundRequest {}
426
427
  message SyncGameImageUrlsRequest {}
428
+ message SyncGameImageUrlsForProviderRequest {
429
+ string provider = 1;
430
+ }
427
431
  message GameImagesParsingTechnicalResponse {
428
432
  string status = 1;
429
433
  int32 total = 2;
@@ -928,6 +928,17 @@ function deserialize_game_SegmentedUserResponse(buffer_arg) {
928
928
  return game_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
929
929
  }
930
930
 
931
+ function serialize_game_SyncGameImageUrlsForProviderRequest(arg) {
932
+ if (!(arg instanceof game_pb.SyncGameImageUrlsForProviderRequest)) {
933
+ throw new Error('Expected argument of type game.SyncGameImageUrlsForProviderRequest');
934
+ }
935
+ return Buffer.from(arg.serializeBinary());
936
+ }
937
+
938
+ function deserialize_game_SyncGameImageUrlsForProviderRequest(buffer_arg) {
939
+ return game_pb.SyncGameImageUrlsForProviderRequest.deserializeBinary(new Uint8Array(buffer_arg));
940
+ }
941
+
931
942
  function serialize_game_SyncGameImageUrlsRequest(arg) {
932
943
  if (!(arg instanceof game_pb.SyncGameImageUrlsRequest)) {
933
944
  throw new Error('Expected argument of type game.SyncGameImageUrlsRequest');
@@ -1785,6 +1796,17 @@ parseGameImagesForProvider: {
1785
1796
  responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1786
1797
  responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1787
1798
  },
1799
+ syncGameImageUrlsForProvider: {
1800
+ path: '/game.Game/syncGameImageUrlsForProvider',
1801
+ requestStream: false,
1802
+ responseStream: false,
1803
+ requestType: game_pb.SyncGameImageUrlsForProviderRequest,
1804
+ responseType: game_pb.GameImagesParsingTechnicalResponse,
1805
+ requestSerialize: serialize_game_SyncGameImageUrlsForProviderRequest,
1806
+ requestDeserialize: deserialize_game_SyncGameImageUrlsForProviderRequest,
1807
+ responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1808
+ responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1809
+ },
1788
1810
  searchGames: {
1789
1811
  path: '/game.Game/searchGames',
1790
1812
  requestStream: false,
package/game/game_pb.js CHANGED
@@ -132,6 +132,7 @@ goog.exportSymbol('proto.game.SearchGamesIntoTagsRequest', null, global);
132
132
  goog.exportSymbol('proto.game.SearchGamesResponse', null, global);
133
133
  goog.exportSymbol('proto.game.SegmentedUserRequest', null, global);
134
134
  goog.exportSymbol('proto.game.SegmentedUserResponse', null, global);
135
+ goog.exportSymbol('proto.game.SyncGameImageUrlsForProviderRequest', null, global);
135
136
  goog.exportSymbol('proto.game.SyncGameImageUrlsRequest', null, global);
136
137
  goog.exportSymbol('proto.game.SyncImagesRequest', null, global);
137
138
  goog.exportSymbol('proto.game.TagGamesRequest', null, global);
@@ -1292,6 +1293,27 @@ if (goog.DEBUG && !COMPILED) {
1292
1293
  */
1293
1294
  proto.game.SyncGameImageUrlsRequest.displayName = 'proto.game.SyncGameImageUrlsRequest';
1294
1295
  }
1296
+ /**
1297
+ * Generated by JsPbCodeGenerator.
1298
+ * @param {Array=} opt_data Optional initial data array, typically from a
1299
+ * server response, or constructed directly in Javascript. The array is used
1300
+ * in place and becomes part of the constructed object. It is not cloned.
1301
+ * If no data is provided, the constructed object will be empty, but still
1302
+ * valid.
1303
+ * @extends {jspb.Message}
1304
+ * @constructor
1305
+ */
1306
+ proto.game.SyncGameImageUrlsForProviderRequest = function(opt_data) {
1307
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1308
+ };
1309
+ goog.inherits(proto.game.SyncGameImageUrlsForProviderRequest, jspb.Message);
1310
+ if (goog.DEBUG && !COMPILED) {
1311
+ /**
1312
+ * @public
1313
+ * @override
1314
+ */
1315
+ proto.game.SyncGameImageUrlsForProviderRequest.displayName = 'proto.game.SyncGameImageUrlsForProviderRequest';
1316
+ }
1295
1317
  /**
1296
1318
  * Generated by JsPbCodeGenerator.
1297
1319
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17039,6 +17061,136 @@ proto.game.SyncGameImageUrlsRequest.serializeBinaryToWriter = function(message,
17039
17061
 
17040
17062
 
17041
17063
 
17064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17065
+ /**
17066
+ * Creates an object representation of this proto.
17067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17068
+ * Optional fields that are not set will be set to undefined.
17069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17070
+ * For the list of reserved names please see:
17071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17073
+ * JSPB instance for transitional soy proto support:
17074
+ * http://goto/soy-param-migration
17075
+ * @return {!Object}
17076
+ */
17077
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.toObject = function(opt_includeInstance) {
17078
+ return proto.game.SyncGameImageUrlsForProviderRequest.toObject(opt_includeInstance, this);
17079
+ };
17080
+
17081
+
17082
+ /**
17083
+ * Static version of the {@see toObject} method.
17084
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17085
+ * the JSPB instance for transitional soy proto support:
17086
+ * http://goto/soy-param-migration
17087
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} msg The msg instance to transform.
17088
+ * @return {!Object}
17089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17090
+ */
17091
+ proto.game.SyncGameImageUrlsForProviderRequest.toObject = function(includeInstance, msg) {
17092
+ var f, obj = {
17093
+ provider: jspb.Message.getFieldWithDefault(msg, 1, "")
17094
+ };
17095
+
17096
+ if (includeInstance) {
17097
+ obj.$jspbMessageInstance = msg;
17098
+ }
17099
+ return obj;
17100
+ };
17101
+ }
17102
+
17103
+
17104
+ /**
17105
+ * Deserializes binary data (in protobuf wire format).
17106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17107
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest}
17108
+ */
17109
+ proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinary = function(bytes) {
17110
+ var reader = new jspb.BinaryReader(bytes);
17111
+ var msg = new proto.game.SyncGameImageUrlsForProviderRequest;
17112
+ return proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinaryFromReader(msg, reader);
17113
+ };
17114
+
17115
+
17116
+ /**
17117
+ * Deserializes binary data (in protobuf wire format) from the
17118
+ * given reader into the given message object.
17119
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} msg The message object to deserialize into.
17120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17121
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest}
17122
+ */
17123
+ proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinaryFromReader = function(msg, reader) {
17124
+ while (reader.nextField()) {
17125
+ if (reader.isEndGroup()) {
17126
+ break;
17127
+ }
17128
+ var field = reader.getFieldNumber();
17129
+ switch (field) {
17130
+ case 1:
17131
+ var value = /** @type {string} */ (reader.readString());
17132
+ msg.setProvider(value);
17133
+ break;
17134
+ default:
17135
+ reader.skipField();
17136
+ break;
17137
+ }
17138
+ }
17139
+ return msg;
17140
+ };
17141
+
17142
+
17143
+ /**
17144
+ * Serializes the message to binary data (in protobuf wire format).
17145
+ * @return {!Uint8Array}
17146
+ */
17147
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.serializeBinary = function() {
17148
+ var writer = new jspb.BinaryWriter();
17149
+ proto.game.SyncGameImageUrlsForProviderRequest.serializeBinaryToWriter(this, writer);
17150
+ return writer.getResultBuffer();
17151
+ };
17152
+
17153
+
17154
+ /**
17155
+ * Serializes the given message to binary data (in protobuf wire
17156
+ * format), writing to the given BinaryWriter.
17157
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} message
17158
+ * @param {!jspb.BinaryWriter} writer
17159
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17160
+ */
17161
+ proto.game.SyncGameImageUrlsForProviderRequest.serializeBinaryToWriter = function(message, writer) {
17162
+ var f = undefined;
17163
+ f = message.getProvider();
17164
+ if (f.length > 0) {
17165
+ writer.writeString(
17166
+ 1,
17167
+ f
17168
+ );
17169
+ }
17170
+ };
17171
+
17172
+
17173
+ /**
17174
+ * optional string provider = 1;
17175
+ * @return {string}
17176
+ */
17177
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.getProvider = function() {
17178
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17179
+ };
17180
+
17181
+
17182
+ /**
17183
+ * @param {string} value
17184
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest} returns this
17185
+ */
17186
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.setProvider = function(value) {
17187
+ return jspb.Message.setProto3StringField(this, 1, value);
17188
+ };
17189
+
17190
+
17191
+
17192
+
17193
+
17042
17194
  if (jspb.Message.GENERATE_TO_OBJECT) {
17043
17195
  /**
17044
17196
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.292",
3
+ "version": "1.2.293",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {