protobuf-platform 1.2.333 → 1.2.335
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 +7 -0
- package/game/game_pb.js +316 -3
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -902,10 +902,17 @@ message SEOInstanceRequest {
|
|
|
902
902
|
optional bool with_main_info = 6;
|
|
903
903
|
optional string instance_slug = 7;
|
|
904
904
|
optional string full_description = 8;
|
|
905
|
+
optional string geo = 9;
|
|
906
|
+
}
|
|
907
|
+
message SEOInstanceRelation {
|
|
908
|
+
string type = 1;
|
|
909
|
+
string slug = 2;
|
|
910
|
+
string title = 3;
|
|
905
911
|
}
|
|
906
912
|
message SEOInstanceResponse {
|
|
907
913
|
repeated SEOAttribute attributes = 1;
|
|
908
914
|
optional string full_description = 2;
|
|
915
|
+
repeated SEOInstanceRelation relations = 3;
|
|
909
916
|
}
|
|
910
917
|
//Segmentation
|
|
911
918
|
message SegmentedUserRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -125,6 +125,7 @@ goog.exportSymbol('proto.game.ProviderSearchRequest', null, global);
|
|
|
125
125
|
goog.exportSymbol('proto.game.ProviderStatusResponse', null, global);
|
|
126
126
|
goog.exportSymbol('proto.game.ProvidersIds', null, global);
|
|
127
127
|
goog.exportSymbol('proto.game.SEOAttribute', null, global);
|
|
128
|
+
goog.exportSymbol('proto.game.SEOInstanceRelation', null, global);
|
|
128
129
|
goog.exportSymbol('proto.game.SEOInstanceRequest', null, global);
|
|
129
130
|
goog.exportSymbol('proto.game.SEOInstanceResponse', null, global);
|
|
130
131
|
goog.exportSymbol('proto.game.ScopeRequest', null, global);
|
|
@@ -2893,6 +2894,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2893
2894
|
*/
|
|
2894
2895
|
proto.game.SEOInstanceRequest.displayName = 'proto.game.SEOInstanceRequest';
|
|
2895
2896
|
}
|
|
2897
|
+
/**
|
|
2898
|
+
* Generated by JsPbCodeGenerator.
|
|
2899
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2900
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2901
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2902
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2903
|
+
* valid.
|
|
2904
|
+
* @extends {jspb.Message}
|
|
2905
|
+
* @constructor
|
|
2906
|
+
*/
|
|
2907
|
+
proto.game.SEOInstanceRelation = function(opt_data) {
|
|
2908
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2909
|
+
};
|
|
2910
|
+
goog.inherits(proto.game.SEOInstanceRelation, jspb.Message);
|
|
2911
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2912
|
+
/**
|
|
2913
|
+
* @public
|
|
2914
|
+
* @override
|
|
2915
|
+
*/
|
|
2916
|
+
proto.game.SEOInstanceRelation.displayName = 'proto.game.SEOInstanceRelation';
|
|
2917
|
+
}
|
|
2896
2918
|
/**
|
|
2897
2919
|
* Generated by JsPbCodeGenerator.
|
|
2898
2920
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -37588,7 +37610,8 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
|
|
|
37588
37610
|
proto.game.SEOAttribute.toObject, includeInstance),
|
|
37589
37611
|
withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
37590
37612
|
instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
37591
|
-
fullDescription: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
37613
|
+
fullDescription: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
37614
|
+
geo: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
37592
37615
|
};
|
|
37593
37616
|
|
|
37594
37617
|
if (includeInstance) {
|
|
@@ -37658,6 +37681,10 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
37658
37681
|
var value = /** @type {string} */ (reader.readString());
|
|
37659
37682
|
msg.setFullDescription(value);
|
|
37660
37683
|
break;
|
|
37684
|
+
case 9:
|
|
37685
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37686
|
+
msg.setGeo(value);
|
|
37687
|
+
break;
|
|
37661
37688
|
default:
|
|
37662
37689
|
reader.skipField();
|
|
37663
37690
|
break;
|
|
@@ -37744,6 +37771,13 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
|
|
|
37744
37771
|
f
|
|
37745
37772
|
);
|
|
37746
37773
|
}
|
|
37774
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
37775
|
+
if (f != null) {
|
|
37776
|
+
writer.writeString(
|
|
37777
|
+
9,
|
|
37778
|
+
f
|
|
37779
|
+
);
|
|
37780
|
+
}
|
|
37747
37781
|
};
|
|
37748
37782
|
|
|
37749
37783
|
|
|
@@ -38001,13 +38035,239 @@ proto.game.SEOInstanceRequest.prototype.hasFullDescription = function() {
|
|
|
38001
38035
|
};
|
|
38002
38036
|
|
|
38003
38037
|
|
|
38038
|
+
/**
|
|
38039
|
+
* optional string geo = 9;
|
|
38040
|
+
* @return {string}
|
|
38041
|
+
*/
|
|
38042
|
+
proto.game.SEOInstanceRequest.prototype.getGeo = function() {
|
|
38043
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
38044
|
+
};
|
|
38045
|
+
|
|
38046
|
+
|
|
38047
|
+
/**
|
|
38048
|
+
* @param {string} value
|
|
38049
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
|
38050
|
+
*/
|
|
38051
|
+
proto.game.SEOInstanceRequest.prototype.setGeo = function(value) {
|
|
38052
|
+
return jspb.Message.setField(this, 9, value);
|
|
38053
|
+
};
|
|
38054
|
+
|
|
38055
|
+
|
|
38056
|
+
/**
|
|
38057
|
+
* Clears the field making it undefined.
|
|
38058
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
|
38059
|
+
*/
|
|
38060
|
+
proto.game.SEOInstanceRequest.prototype.clearGeo = function() {
|
|
38061
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
38062
|
+
};
|
|
38063
|
+
|
|
38064
|
+
|
|
38065
|
+
/**
|
|
38066
|
+
* Returns whether this field is set.
|
|
38067
|
+
* @return {boolean}
|
|
38068
|
+
*/
|
|
38069
|
+
proto.game.SEOInstanceRequest.prototype.hasGeo = function() {
|
|
38070
|
+
return jspb.Message.getField(this, 9) != null;
|
|
38071
|
+
};
|
|
38072
|
+
|
|
38073
|
+
|
|
38074
|
+
|
|
38075
|
+
|
|
38076
|
+
|
|
38077
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38078
|
+
/**
|
|
38079
|
+
* Creates an object representation of this proto.
|
|
38080
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38081
|
+
* Optional fields that are not set will be set to undefined.
|
|
38082
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38083
|
+
* For the list of reserved names please see:
|
|
38084
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38085
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38086
|
+
* JSPB instance for transitional soy proto support:
|
|
38087
|
+
* http://goto/soy-param-migration
|
|
38088
|
+
* @return {!Object}
|
|
38089
|
+
*/
|
|
38090
|
+
proto.game.SEOInstanceRelation.prototype.toObject = function(opt_includeInstance) {
|
|
38091
|
+
return proto.game.SEOInstanceRelation.toObject(opt_includeInstance, this);
|
|
38092
|
+
};
|
|
38093
|
+
|
|
38094
|
+
|
|
38095
|
+
/**
|
|
38096
|
+
* Static version of the {@see toObject} method.
|
|
38097
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38098
|
+
* the JSPB instance for transitional soy proto support:
|
|
38099
|
+
* http://goto/soy-param-migration
|
|
38100
|
+
* @param {!proto.game.SEOInstanceRelation} msg The msg instance to transform.
|
|
38101
|
+
* @return {!Object}
|
|
38102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38103
|
+
*/
|
|
38104
|
+
proto.game.SEOInstanceRelation.toObject = function(includeInstance, msg) {
|
|
38105
|
+
var f, obj = {
|
|
38106
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38107
|
+
slug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
38108
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
38109
|
+
};
|
|
38110
|
+
|
|
38111
|
+
if (includeInstance) {
|
|
38112
|
+
obj.$jspbMessageInstance = msg;
|
|
38113
|
+
}
|
|
38114
|
+
return obj;
|
|
38115
|
+
};
|
|
38116
|
+
}
|
|
38117
|
+
|
|
38118
|
+
|
|
38119
|
+
/**
|
|
38120
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38121
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38122
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38123
|
+
*/
|
|
38124
|
+
proto.game.SEOInstanceRelation.deserializeBinary = function(bytes) {
|
|
38125
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38126
|
+
var msg = new proto.game.SEOInstanceRelation;
|
|
38127
|
+
return proto.game.SEOInstanceRelation.deserializeBinaryFromReader(msg, reader);
|
|
38128
|
+
};
|
|
38129
|
+
|
|
38130
|
+
|
|
38131
|
+
/**
|
|
38132
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38133
|
+
* given reader into the given message object.
|
|
38134
|
+
* @param {!proto.game.SEOInstanceRelation} msg The message object to deserialize into.
|
|
38135
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38136
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38137
|
+
*/
|
|
38138
|
+
proto.game.SEOInstanceRelation.deserializeBinaryFromReader = function(msg, reader) {
|
|
38139
|
+
while (reader.nextField()) {
|
|
38140
|
+
if (reader.isEndGroup()) {
|
|
38141
|
+
break;
|
|
38142
|
+
}
|
|
38143
|
+
var field = reader.getFieldNumber();
|
|
38144
|
+
switch (field) {
|
|
38145
|
+
case 1:
|
|
38146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38147
|
+
msg.setType(value);
|
|
38148
|
+
break;
|
|
38149
|
+
case 2:
|
|
38150
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38151
|
+
msg.setSlug(value);
|
|
38152
|
+
break;
|
|
38153
|
+
case 3:
|
|
38154
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38155
|
+
msg.setTitle(value);
|
|
38156
|
+
break;
|
|
38157
|
+
default:
|
|
38158
|
+
reader.skipField();
|
|
38159
|
+
break;
|
|
38160
|
+
}
|
|
38161
|
+
}
|
|
38162
|
+
return msg;
|
|
38163
|
+
};
|
|
38164
|
+
|
|
38165
|
+
|
|
38166
|
+
/**
|
|
38167
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38168
|
+
* @return {!Uint8Array}
|
|
38169
|
+
*/
|
|
38170
|
+
proto.game.SEOInstanceRelation.prototype.serializeBinary = function() {
|
|
38171
|
+
var writer = new jspb.BinaryWriter();
|
|
38172
|
+
proto.game.SEOInstanceRelation.serializeBinaryToWriter(this, writer);
|
|
38173
|
+
return writer.getResultBuffer();
|
|
38174
|
+
};
|
|
38175
|
+
|
|
38176
|
+
|
|
38177
|
+
/**
|
|
38178
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38179
|
+
* format), writing to the given BinaryWriter.
|
|
38180
|
+
* @param {!proto.game.SEOInstanceRelation} message
|
|
38181
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38182
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38183
|
+
*/
|
|
38184
|
+
proto.game.SEOInstanceRelation.serializeBinaryToWriter = function(message, writer) {
|
|
38185
|
+
var f = undefined;
|
|
38186
|
+
f = message.getType();
|
|
38187
|
+
if (f.length > 0) {
|
|
38188
|
+
writer.writeString(
|
|
38189
|
+
1,
|
|
38190
|
+
f
|
|
38191
|
+
);
|
|
38192
|
+
}
|
|
38193
|
+
f = message.getSlug();
|
|
38194
|
+
if (f.length > 0) {
|
|
38195
|
+
writer.writeString(
|
|
38196
|
+
2,
|
|
38197
|
+
f
|
|
38198
|
+
);
|
|
38199
|
+
}
|
|
38200
|
+
f = message.getTitle();
|
|
38201
|
+
if (f.length > 0) {
|
|
38202
|
+
writer.writeString(
|
|
38203
|
+
3,
|
|
38204
|
+
f
|
|
38205
|
+
);
|
|
38206
|
+
}
|
|
38207
|
+
};
|
|
38208
|
+
|
|
38209
|
+
|
|
38210
|
+
/**
|
|
38211
|
+
* optional string type = 1;
|
|
38212
|
+
* @return {string}
|
|
38213
|
+
*/
|
|
38214
|
+
proto.game.SEOInstanceRelation.prototype.getType = function() {
|
|
38215
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
38216
|
+
};
|
|
38217
|
+
|
|
38218
|
+
|
|
38219
|
+
/**
|
|
38220
|
+
* @param {string} value
|
|
38221
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38222
|
+
*/
|
|
38223
|
+
proto.game.SEOInstanceRelation.prototype.setType = function(value) {
|
|
38224
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
38225
|
+
};
|
|
38226
|
+
|
|
38227
|
+
|
|
38228
|
+
/**
|
|
38229
|
+
* optional string slug = 2;
|
|
38230
|
+
* @return {string}
|
|
38231
|
+
*/
|
|
38232
|
+
proto.game.SEOInstanceRelation.prototype.getSlug = function() {
|
|
38233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38234
|
+
};
|
|
38235
|
+
|
|
38236
|
+
|
|
38237
|
+
/**
|
|
38238
|
+
* @param {string} value
|
|
38239
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38240
|
+
*/
|
|
38241
|
+
proto.game.SEOInstanceRelation.prototype.setSlug = function(value) {
|
|
38242
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
38243
|
+
};
|
|
38244
|
+
|
|
38245
|
+
|
|
38246
|
+
/**
|
|
38247
|
+
* optional string title = 3;
|
|
38248
|
+
* @return {string}
|
|
38249
|
+
*/
|
|
38250
|
+
proto.game.SEOInstanceRelation.prototype.getTitle = function() {
|
|
38251
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
38252
|
+
};
|
|
38253
|
+
|
|
38254
|
+
|
|
38255
|
+
/**
|
|
38256
|
+
* @param {string} value
|
|
38257
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38258
|
+
*/
|
|
38259
|
+
proto.game.SEOInstanceRelation.prototype.setTitle = function(value) {
|
|
38260
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
38261
|
+
};
|
|
38262
|
+
|
|
38263
|
+
|
|
38004
38264
|
|
|
38005
38265
|
/**
|
|
38006
38266
|
* List of repeated fields within this message type.
|
|
38007
38267
|
* @private {!Array<number>}
|
|
38008
38268
|
* @const
|
|
38009
38269
|
*/
|
|
38010
|
-
proto.game.SEOInstanceResponse.repeatedFields_ = [1];
|
|
38270
|
+
proto.game.SEOInstanceResponse.repeatedFields_ = [1,3];
|
|
38011
38271
|
|
|
38012
38272
|
|
|
38013
38273
|
|
|
@@ -38042,7 +38302,9 @@ proto.game.SEOInstanceResponse.toObject = function(includeInstance, msg) {
|
|
|
38042
38302
|
var f, obj = {
|
|
38043
38303
|
attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
|
|
38044
38304
|
proto.game.SEOAttribute.toObject, includeInstance),
|
|
38045
|
-
fullDescription: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
38305
|
+
fullDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
38306
|
+
relationsList: jspb.Message.toObjectList(msg.getRelationsList(),
|
|
38307
|
+
proto.game.SEOInstanceRelation.toObject, includeInstance)
|
|
38046
38308
|
};
|
|
38047
38309
|
|
|
38048
38310
|
if (includeInstance) {
|
|
@@ -38088,6 +38350,11 @@ proto.game.SEOInstanceResponse.deserializeBinaryFromReader = function(msg, reade
|
|
|
38088
38350
|
var value = /** @type {string} */ (reader.readString());
|
|
38089
38351
|
msg.setFullDescription(value);
|
|
38090
38352
|
break;
|
|
38353
|
+
case 3:
|
|
38354
|
+
var value = new proto.game.SEOInstanceRelation;
|
|
38355
|
+
reader.readMessage(value,proto.game.SEOInstanceRelation.deserializeBinaryFromReader);
|
|
38356
|
+
msg.addRelations(value);
|
|
38357
|
+
break;
|
|
38091
38358
|
default:
|
|
38092
38359
|
reader.skipField();
|
|
38093
38360
|
break;
|
|
@@ -38132,6 +38399,14 @@ proto.game.SEOInstanceResponse.serializeBinaryToWriter = function(message, write
|
|
|
38132
38399
|
f
|
|
38133
38400
|
);
|
|
38134
38401
|
}
|
|
38402
|
+
f = message.getRelationsList();
|
|
38403
|
+
if (f.length > 0) {
|
|
38404
|
+
writer.writeRepeatedMessage(
|
|
38405
|
+
3,
|
|
38406
|
+
f,
|
|
38407
|
+
proto.game.SEOInstanceRelation.serializeBinaryToWriter
|
|
38408
|
+
);
|
|
38409
|
+
}
|
|
38135
38410
|
};
|
|
38136
38411
|
|
|
38137
38412
|
|
|
@@ -38209,6 +38484,44 @@ proto.game.SEOInstanceResponse.prototype.hasFullDescription = function() {
|
|
|
38209
38484
|
};
|
|
38210
38485
|
|
|
38211
38486
|
|
|
38487
|
+
/**
|
|
38488
|
+
* repeated SEOInstanceRelation relations = 3;
|
|
38489
|
+
* @return {!Array<!proto.game.SEOInstanceRelation>}
|
|
38490
|
+
*/
|
|
38491
|
+
proto.game.SEOInstanceResponse.prototype.getRelationsList = function() {
|
|
38492
|
+
return /** @type{!Array<!proto.game.SEOInstanceRelation>} */ (
|
|
38493
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.SEOInstanceRelation, 3));
|
|
38494
|
+
};
|
|
38495
|
+
|
|
38496
|
+
|
|
38497
|
+
/**
|
|
38498
|
+
* @param {!Array<!proto.game.SEOInstanceRelation>} value
|
|
38499
|
+
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38500
|
+
*/
|
|
38501
|
+
proto.game.SEOInstanceResponse.prototype.setRelationsList = function(value) {
|
|
38502
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
38503
|
+
};
|
|
38504
|
+
|
|
38505
|
+
|
|
38506
|
+
/**
|
|
38507
|
+
* @param {!proto.game.SEOInstanceRelation=} opt_value
|
|
38508
|
+
* @param {number=} opt_index
|
|
38509
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38510
|
+
*/
|
|
38511
|
+
proto.game.SEOInstanceResponse.prototype.addRelations = function(opt_value, opt_index) {
|
|
38512
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.game.SEOInstanceRelation, opt_index);
|
|
38513
|
+
};
|
|
38514
|
+
|
|
38515
|
+
|
|
38516
|
+
/**
|
|
38517
|
+
* Clears the list making it empty but non-null.
|
|
38518
|
+
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38519
|
+
*/
|
|
38520
|
+
proto.game.SEOInstanceResponse.prototype.clearRelationsList = function() {
|
|
38521
|
+
return this.setRelationsList([]);
|
|
38522
|
+
};
|
|
38523
|
+
|
|
38524
|
+
|
|
38212
38525
|
|
|
38213
38526
|
/**
|
|
38214
38527
|
* List of repeated fields within this message type.
|