protobuf-platform 1.2.369 → 1.2.370
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 +40 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +2070 -0
- package/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_grpc_pb.js +11 -0
package/game/game_pb.js
CHANGED
|
@@ -130,6 +130,12 @@ goog.exportSymbol('proto.game.SEOInstanceRequest', null, global);
|
|
|
130
130
|
goog.exportSymbol('proto.game.SEOInstanceResponse', null, global);
|
|
131
131
|
goog.exportSymbol('proto.game.ScopeRequest', null, global);
|
|
132
132
|
goog.exportSymbol('proto.game.ScopeResponse', null, global);
|
|
133
|
+
goog.exportSymbol('proto.game.SearchGamesFullCategoryItem', null, global);
|
|
134
|
+
goog.exportSymbol('proto.game.SearchGamesFullCategorySection', null, global);
|
|
135
|
+
goog.exportSymbol('proto.game.SearchGamesFullGameSection', null, global);
|
|
136
|
+
goog.exportSymbol('proto.game.SearchGamesFullProviderSection', null, global);
|
|
137
|
+
goog.exportSymbol('proto.game.SearchGamesFullRequest', null, global);
|
|
138
|
+
goog.exportSymbol('proto.game.SearchGamesFullResponse', null, global);
|
|
133
139
|
goog.exportSymbol('proto.game.SearchGamesIntoCategoriesRequest', null, global);
|
|
134
140
|
goog.exportSymbol('proto.game.SearchGamesIntoCollectionsRequest', null, global);
|
|
135
141
|
goog.exportSymbol('proto.game.SearchGamesIntoProvidersRequest', null, global);
|
|
@@ -1781,6 +1787,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1781
1787
|
*/
|
|
1782
1788
|
proto.game.SearchGamesResponse.displayName = 'proto.game.SearchGamesResponse';
|
|
1783
1789
|
}
|
|
1790
|
+
/**
|
|
1791
|
+
* Generated by JsPbCodeGenerator.
|
|
1792
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1793
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1794
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1795
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1796
|
+
* valid.
|
|
1797
|
+
* @extends {jspb.Message}
|
|
1798
|
+
* @constructor
|
|
1799
|
+
*/
|
|
1800
|
+
proto.game.SearchGamesFullRequest = function(opt_data) {
|
|
1801
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1802
|
+
};
|
|
1803
|
+
goog.inherits(proto.game.SearchGamesFullRequest, jspb.Message);
|
|
1804
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1805
|
+
/**
|
|
1806
|
+
* @public
|
|
1807
|
+
* @override
|
|
1808
|
+
*/
|
|
1809
|
+
proto.game.SearchGamesFullRequest.displayName = 'proto.game.SearchGamesFullRequest';
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Generated by JsPbCodeGenerator.
|
|
1813
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1814
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1815
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1816
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1817
|
+
* valid.
|
|
1818
|
+
* @extends {jspb.Message}
|
|
1819
|
+
* @constructor
|
|
1820
|
+
*/
|
|
1821
|
+
proto.game.SearchGamesFullGameSection = function(opt_data) {
|
|
1822
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesFullGameSection.repeatedFields_, null);
|
|
1823
|
+
};
|
|
1824
|
+
goog.inherits(proto.game.SearchGamesFullGameSection, jspb.Message);
|
|
1825
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1826
|
+
/**
|
|
1827
|
+
* @public
|
|
1828
|
+
* @override
|
|
1829
|
+
*/
|
|
1830
|
+
proto.game.SearchGamesFullGameSection.displayName = 'proto.game.SearchGamesFullGameSection';
|
|
1831
|
+
}
|
|
1832
|
+
/**
|
|
1833
|
+
* Generated by JsPbCodeGenerator.
|
|
1834
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1835
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1836
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1837
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1838
|
+
* valid.
|
|
1839
|
+
* @extends {jspb.Message}
|
|
1840
|
+
* @constructor
|
|
1841
|
+
*/
|
|
1842
|
+
proto.game.SearchGamesFullProviderSection = function(opt_data) {
|
|
1843
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesFullProviderSection.repeatedFields_, null);
|
|
1844
|
+
};
|
|
1845
|
+
goog.inherits(proto.game.SearchGamesFullProviderSection, jspb.Message);
|
|
1846
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1847
|
+
/**
|
|
1848
|
+
* @public
|
|
1849
|
+
* @override
|
|
1850
|
+
*/
|
|
1851
|
+
proto.game.SearchGamesFullProviderSection.displayName = 'proto.game.SearchGamesFullProviderSection';
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* Generated by JsPbCodeGenerator.
|
|
1855
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1856
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1857
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1858
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1859
|
+
* valid.
|
|
1860
|
+
* @extends {jspb.Message}
|
|
1861
|
+
* @constructor
|
|
1862
|
+
*/
|
|
1863
|
+
proto.game.SearchGamesFullCategoryItem = function(opt_data) {
|
|
1864
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesFullCategoryItem.repeatedFields_, null);
|
|
1865
|
+
};
|
|
1866
|
+
goog.inherits(proto.game.SearchGamesFullCategoryItem, jspb.Message);
|
|
1867
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1868
|
+
/**
|
|
1869
|
+
* @public
|
|
1870
|
+
* @override
|
|
1871
|
+
*/
|
|
1872
|
+
proto.game.SearchGamesFullCategoryItem.displayName = 'proto.game.SearchGamesFullCategoryItem';
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* Generated by JsPbCodeGenerator.
|
|
1876
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1877
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1878
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1879
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1880
|
+
* valid.
|
|
1881
|
+
* @extends {jspb.Message}
|
|
1882
|
+
* @constructor
|
|
1883
|
+
*/
|
|
1884
|
+
proto.game.SearchGamesFullCategorySection = function(opt_data) {
|
|
1885
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesFullCategorySection.repeatedFields_, null);
|
|
1886
|
+
};
|
|
1887
|
+
goog.inherits(proto.game.SearchGamesFullCategorySection, jspb.Message);
|
|
1888
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1889
|
+
/**
|
|
1890
|
+
* @public
|
|
1891
|
+
* @override
|
|
1892
|
+
*/
|
|
1893
|
+
proto.game.SearchGamesFullCategorySection.displayName = 'proto.game.SearchGamesFullCategorySection';
|
|
1894
|
+
}
|
|
1895
|
+
/**
|
|
1896
|
+
* Generated by JsPbCodeGenerator.
|
|
1897
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1898
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1899
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1900
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1901
|
+
* valid.
|
|
1902
|
+
* @extends {jspb.Message}
|
|
1903
|
+
* @constructor
|
|
1904
|
+
*/
|
|
1905
|
+
proto.game.SearchGamesFullResponse = function(opt_data) {
|
|
1906
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1907
|
+
};
|
|
1908
|
+
goog.inherits(proto.game.SearchGamesFullResponse, jspb.Message);
|
|
1909
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1910
|
+
/**
|
|
1911
|
+
* @public
|
|
1912
|
+
* @override
|
|
1913
|
+
*/
|
|
1914
|
+
proto.game.SearchGamesFullResponse.displayName = 'proto.game.SearchGamesFullResponse';
|
|
1915
|
+
}
|
|
1784
1916
|
/**
|
|
1785
1917
|
* Generated by JsPbCodeGenerator.
|
|
1786
1918
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -23695,6 +23827,1944 @@ proto.game.SearchGamesResponse.prototype.clearProviderGamesList = function() {
|
|
|
23695
23827
|
|
|
23696
23828
|
|
|
23697
23829
|
|
|
23830
|
+
|
|
23831
|
+
|
|
23832
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23833
|
+
/**
|
|
23834
|
+
* Creates an object representation of this proto.
|
|
23835
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23836
|
+
* Optional fields that are not set will be set to undefined.
|
|
23837
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23838
|
+
* For the list of reserved names please see:
|
|
23839
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23840
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23841
|
+
* JSPB instance for transitional soy proto support:
|
|
23842
|
+
* http://goto/soy-param-migration
|
|
23843
|
+
* @return {!Object}
|
|
23844
|
+
*/
|
|
23845
|
+
proto.game.SearchGamesFullRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23846
|
+
return proto.game.SearchGamesFullRequest.toObject(opt_includeInstance, this);
|
|
23847
|
+
};
|
|
23848
|
+
|
|
23849
|
+
|
|
23850
|
+
/**
|
|
23851
|
+
* Static version of the {@see toObject} method.
|
|
23852
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23853
|
+
* the JSPB instance for transitional soy proto support:
|
|
23854
|
+
* http://goto/soy-param-migration
|
|
23855
|
+
* @param {!proto.game.SearchGamesFullRequest} msg The msg instance to transform.
|
|
23856
|
+
* @return {!Object}
|
|
23857
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23858
|
+
*/
|
|
23859
|
+
proto.game.SearchGamesFullRequest.toObject = function(includeInstance, msg) {
|
|
23860
|
+
var f, obj = {
|
|
23861
|
+
query: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23862
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23863
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23864
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
23865
|
+
order: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23866
|
+
isMobile: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
23867
|
+
userGeo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
23868
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
23869
|
+
popular: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
23870
|
+
favourites: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
23871
|
+
lastPlayed: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
23872
|
+
userId: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
23873
|
+
};
|
|
23874
|
+
|
|
23875
|
+
if (includeInstance) {
|
|
23876
|
+
obj.$jspbMessageInstance = msg;
|
|
23877
|
+
}
|
|
23878
|
+
return obj;
|
|
23879
|
+
};
|
|
23880
|
+
}
|
|
23881
|
+
|
|
23882
|
+
|
|
23883
|
+
/**
|
|
23884
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23885
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23886
|
+
* @return {!proto.game.SearchGamesFullRequest}
|
|
23887
|
+
*/
|
|
23888
|
+
proto.game.SearchGamesFullRequest.deserializeBinary = function(bytes) {
|
|
23889
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23890
|
+
var msg = new proto.game.SearchGamesFullRequest;
|
|
23891
|
+
return proto.game.SearchGamesFullRequest.deserializeBinaryFromReader(msg, reader);
|
|
23892
|
+
};
|
|
23893
|
+
|
|
23894
|
+
|
|
23895
|
+
/**
|
|
23896
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23897
|
+
* given reader into the given message object.
|
|
23898
|
+
* @param {!proto.game.SearchGamesFullRequest} msg The message object to deserialize into.
|
|
23899
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23900
|
+
* @return {!proto.game.SearchGamesFullRequest}
|
|
23901
|
+
*/
|
|
23902
|
+
proto.game.SearchGamesFullRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23903
|
+
while (reader.nextField()) {
|
|
23904
|
+
if (reader.isEndGroup()) {
|
|
23905
|
+
break;
|
|
23906
|
+
}
|
|
23907
|
+
var field = reader.getFieldNumber();
|
|
23908
|
+
switch (field) {
|
|
23909
|
+
case 1:
|
|
23910
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23911
|
+
msg.setQuery(value);
|
|
23912
|
+
break;
|
|
23913
|
+
case 2:
|
|
23914
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23915
|
+
msg.setType(value);
|
|
23916
|
+
break;
|
|
23917
|
+
case 3:
|
|
23918
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23919
|
+
msg.setLimit(value);
|
|
23920
|
+
break;
|
|
23921
|
+
case 4:
|
|
23922
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23923
|
+
msg.setOffset(value);
|
|
23924
|
+
break;
|
|
23925
|
+
case 5:
|
|
23926
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23927
|
+
msg.setOrder(value);
|
|
23928
|
+
break;
|
|
23929
|
+
case 6:
|
|
23930
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23931
|
+
msg.setIsMobile(value);
|
|
23932
|
+
break;
|
|
23933
|
+
case 7:
|
|
23934
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23935
|
+
msg.setUserGeo(value);
|
|
23936
|
+
break;
|
|
23937
|
+
case 8:
|
|
23938
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23939
|
+
msg.setIsActive(value);
|
|
23940
|
+
break;
|
|
23941
|
+
case 9:
|
|
23942
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23943
|
+
msg.setPopular(value);
|
|
23944
|
+
break;
|
|
23945
|
+
case 10:
|
|
23946
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23947
|
+
msg.setFavourites(value);
|
|
23948
|
+
break;
|
|
23949
|
+
case 11:
|
|
23950
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23951
|
+
msg.setLastPlayed(value);
|
|
23952
|
+
break;
|
|
23953
|
+
case 12:
|
|
23954
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23955
|
+
msg.setUserId(value);
|
|
23956
|
+
break;
|
|
23957
|
+
default:
|
|
23958
|
+
reader.skipField();
|
|
23959
|
+
break;
|
|
23960
|
+
}
|
|
23961
|
+
}
|
|
23962
|
+
return msg;
|
|
23963
|
+
};
|
|
23964
|
+
|
|
23965
|
+
|
|
23966
|
+
/**
|
|
23967
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23968
|
+
* @return {!Uint8Array}
|
|
23969
|
+
*/
|
|
23970
|
+
proto.game.SearchGamesFullRequest.prototype.serializeBinary = function() {
|
|
23971
|
+
var writer = new jspb.BinaryWriter();
|
|
23972
|
+
proto.game.SearchGamesFullRequest.serializeBinaryToWriter(this, writer);
|
|
23973
|
+
return writer.getResultBuffer();
|
|
23974
|
+
};
|
|
23975
|
+
|
|
23976
|
+
|
|
23977
|
+
/**
|
|
23978
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23979
|
+
* format), writing to the given BinaryWriter.
|
|
23980
|
+
* @param {!proto.game.SearchGamesFullRequest} message
|
|
23981
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23982
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23983
|
+
*/
|
|
23984
|
+
proto.game.SearchGamesFullRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23985
|
+
var f = undefined;
|
|
23986
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
23987
|
+
if (f != null) {
|
|
23988
|
+
writer.writeString(
|
|
23989
|
+
1,
|
|
23990
|
+
f
|
|
23991
|
+
);
|
|
23992
|
+
}
|
|
23993
|
+
f = message.getType();
|
|
23994
|
+
if (f.length > 0) {
|
|
23995
|
+
writer.writeString(
|
|
23996
|
+
2,
|
|
23997
|
+
f
|
|
23998
|
+
);
|
|
23999
|
+
}
|
|
24000
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
24001
|
+
if (f != null) {
|
|
24002
|
+
writer.writeInt32(
|
|
24003
|
+
3,
|
|
24004
|
+
f
|
|
24005
|
+
);
|
|
24006
|
+
}
|
|
24007
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
24008
|
+
if (f != null) {
|
|
24009
|
+
writer.writeInt32(
|
|
24010
|
+
4,
|
|
24011
|
+
f
|
|
24012
|
+
);
|
|
24013
|
+
}
|
|
24014
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
24015
|
+
if (f != null) {
|
|
24016
|
+
writer.writeString(
|
|
24017
|
+
5,
|
|
24018
|
+
f
|
|
24019
|
+
);
|
|
24020
|
+
}
|
|
24021
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
24022
|
+
if (f != null) {
|
|
24023
|
+
writer.writeInt32(
|
|
24024
|
+
6,
|
|
24025
|
+
f
|
|
24026
|
+
);
|
|
24027
|
+
}
|
|
24028
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
24029
|
+
if (f != null) {
|
|
24030
|
+
writer.writeString(
|
|
24031
|
+
7,
|
|
24032
|
+
f
|
|
24033
|
+
);
|
|
24034
|
+
}
|
|
24035
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
24036
|
+
if (f != null) {
|
|
24037
|
+
writer.writeInt32(
|
|
24038
|
+
8,
|
|
24039
|
+
f
|
|
24040
|
+
);
|
|
24041
|
+
}
|
|
24042
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
24043
|
+
if (f != null) {
|
|
24044
|
+
writer.writeBool(
|
|
24045
|
+
9,
|
|
24046
|
+
f
|
|
24047
|
+
);
|
|
24048
|
+
}
|
|
24049
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
24050
|
+
if (f != null) {
|
|
24051
|
+
writer.writeBool(
|
|
24052
|
+
10,
|
|
24053
|
+
f
|
|
24054
|
+
);
|
|
24055
|
+
}
|
|
24056
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
|
24057
|
+
if (f != null) {
|
|
24058
|
+
writer.writeBool(
|
|
24059
|
+
11,
|
|
24060
|
+
f
|
|
24061
|
+
);
|
|
24062
|
+
}
|
|
24063
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
24064
|
+
if (f != null) {
|
|
24065
|
+
writer.writeInt32(
|
|
24066
|
+
12,
|
|
24067
|
+
f
|
|
24068
|
+
);
|
|
24069
|
+
}
|
|
24070
|
+
};
|
|
24071
|
+
|
|
24072
|
+
|
|
24073
|
+
/**
|
|
24074
|
+
* optional string query = 1;
|
|
24075
|
+
* @return {string}
|
|
24076
|
+
*/
|
|
24077
|
+
proto.game.SearchGamesFullRequest.prototype.getQuery = function() {
|
|
24078
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24079
|
+
};
|
|
24080
|
+
|
|
24081
|
+
|
|
24082
|
+
/**
|
|
24083
|
+
* @param {string} value
|
|
24084
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24085
|
+
*/
|
|
24086
|
+
proto.game.SearchGamesFullRequest.prototype.setQuery = function(value) {
|
|
24087
|
+
return jspb.Message.setField(this, 1, value);
|
|
24088
|
+
};
|
|
24089
|
+
|
|
24090
|
+
|
|
24091
|
+
/**
|
|
24092
|
+
* Clears the field making it undefined.
|
|
24093
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24094
|
+
*/
|
|
24095
|
+
proto.game.SearchGamesFullRequest.prototype.clearQuery = function() {
|
|
24096
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
24097
|
+
};
|
|
24098
|
+
|
|
24099
|
+
|
|
24100
|
+
/**
|
|
24101
|
+
* Returns whether this field is set.
|
|
24102
|
+
* @return {boolean}
|
|
24103
|
+
*/
|
|
24104
|
+
proto.game.SearchGamesFullRequest.prototype.hasQuery = function() {
|
|
24105
|
+
return jspb.Message.getField(this, 1) != null;
|
|
24106
|
+
};
|
|
24107
|
+
|
|
24108
|
+
|
|
24109
|
+
/**
|
|
24110
|
+
* optional string type = 2;
|
|
24111
|
+
* @return {string}
|
|
24112
|
+
*/
|
|
24113
|
+
proto.game.SearchGamesFullRequest.prototype.getType = function() {
|
|
24114
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24115
|
+
};
|
|
24116
|
+
|
|
24117
|
+
|
|
24118
|
+
/**
|
|
24119
|
+
* @param {string} value
|
|
24120
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24121
|
+
*/
|
|
24122
|
+
proto.game.SearchGamesFullRequest.prototype.setType = function(value) {
|
|
24123
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
24124
|
+
};
|
|
24125
|
+
|
|
24126
|
+
|
|
24127
|
+
/**
|
|
24128
|
+
* optional int32 limit = 3;
|
|
24129
|
+
* @return {number}
|
|
24130
|
+
*/
|
|
24131
|
+
proto.game.SearchGamesFullRequest.prototype.getLimit = function() {
|
|
24132
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24133
|
+
};
|
|
24134
|
+
|
|
24135
|
+
|
|
24136
|
+
/**
|
|
24137
|
+
* @param {number} value
|
|
24138
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24139
|
+
*/
|
|
24140
|
+
proto.game.SearchGamesFullRequest.prototype.setLimit = function(value) {
|
|
24141
|
+
return jspb.Message.setField(this, 3, value);
|
|
24142
|
+
};
|
|
24143
|
+
|
|
24144
|
+
|
|
24145
|
+
/**
|
|
24146
|
+
* Clears the field making it undefined.
|
|
24147
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24148
|
+
*/
|
|
24149
|
+
proto.game.SearchGamesFullRequest.prototype.clearLimit = function() {
|
|
24150
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
24151
|
+
};
|
|
24152
|
+
|
|
24153
|
+
|
|
24154
|
+
/**
|
|
24155
|
+
* Returns whether this field is set.
|
|
24156
|
+
* @return {boolean}
|
|
24157
|
+
*/
|
|
24158
|
+
proto.game.SearchGamesFullRequest.prototype.hasLimit = function() {
|
|
24159
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24160
|
+
};
|
|
24161
|
+
|
|
24162
|
+
|
|
24163
|
+
/**
|
|
24164
|
+
* optional int32 offset = 4;
|
|
24165
|
+
* @return {number}
|
|
24166
|
+
*/
|
|
24167
|
+
proto.game.SearchGamesFullRequest.prototype.getOffset = function() {
|
|
24168
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
24169
|
+
};
|
|
24170
|
+
|
|
24171
|
+
|
|
24172
|
+
/**
|
|
24173
|
+
* @param {number} value
|
|
24174
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24175
|
+
*/
|
|
24176
|
+
proto.game.SearchGamesFullRequest.prototype.setOffset = function(value) {
|
|
24177
|
+
return jspb.Message.setField(this, 4, value);
|
|
24178
|
+
};
|
|
24179
|
+
|
|
24180
|
+
|
|
24181
|
+
/**
|
|
24182
|
+
* Clears the field making it undefined.
|
|
24183
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24184
|
+
*/
|
|
24185
|
+
proto.game.SearchGamesFullRequest.prototype.clearOffset = function() {
|
|
24186
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
24187
|
+
};
|
|
24188
|
+
|
|
24189
|
+
|
|
24190
|
+
/**
|
|
24191
|
+
* Returns whether this field is set.
|
|
24192
|
+
* @return {boolean}
|
|
24193
|
+
*/
|
|
24194
|
+
proto.game.SearchGamesFullRequest.prototype.hasOffset = function() {
|
|
24195
|
+
return jspb.Message.getField(this, 4) != null;
|
|
24196
|
+
};
|
|
24197
|
+
|
|
24198
|
+
|
|
24199
|
+
/**
|
|
24200
|
+
* optional string order = 5;
|
|
24201
|
+
* @return {string}
|
|
24202
|
+
*/
|
|
24203
|
+
proto.game.SearchGamesFullRequest.prototype.getOrder = function() {
|
|
24204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
24205
|
+
};
|
|
24206
|
+
|
|
24207
|
+
|
|
24208
|
+
/**
|
|
24209
|
+
* @param {string} value
|
|
24210
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24211
|
+
*/
|
|
24212
|
+
proto.game.SearchGamesFullRequest.prototype.setOrder = function(value) {
|
|
24213
|
+
return jspb.Message.setField(this, 5, value);
|
|
24214
|
+
};
|
|
24215
|
+
|
|
24216
|
+
|
|
24217
|
+
/**
|
|
24218
|
+
* Clears the field making it undefined.
|
|
24219
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24220
|
+
*/
|
|
24221
|
+
proto.game.SearchGamesFullRequest.prototype.clearOrder = function() {
|
|
24222
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
24223
|
+
};
|
|
24224
|
+
|
|
24225
|
+
|
|
24226
|
+
/**
|
|
24227
|
+
* Returns whether this field is set.
|
|
24228
|
+
* @return {boolean}
|
|
24229
|
+
*/
|
|
24230
|
+
proto.game.SearchGamesFullRequest.prototype.hasOrder = function() {
|
|
24231
|
+
return jspb.Message.getField(this, 5) != null;
|
|
24232
|
+
};
|
|
24233
|
+
|
|
24234
|
+
|
|
24235
|
+
/**
|
|
24236
|
+
* optional int32 is_mobile = 6;
|
|
24237
|
+
* @return {number}
|
|
24238
|
+
*/
|
|
24239
|
+
proto.game.SearchGamesFullRequest.prototype.getIsMobile = function() {
|
|
24240
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
24241
|
+
};
|
|
24242
|
+
|
|
24243
|
+
|
|
24244
|
+
/**
|
|
24245
|
+
* @param {number} value
|
|
24246
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24247
|
+
*/
|
|
24248
|
+
proto.game.SearchGamesFullRequest.prototype.setIsMobile = function(value) {
|
|
24249
|
+
return jspb.Message.setField(this, 6, value);
|
|
24250
|
+
};
|
|
24251
|
+
|
|
24252
|
+
|
|
24253
|
+
/**
|
|
24254
|
+
* Clears the field making it undefined.
|
|
24255
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24256
|
+
*/
|
|
24257
|
+
proto.game.SearchGamesFullRequest.prototype.clearIsMobile = function() {
|
|
24258
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
24259
|
+
};
|
|
24260
|
+
|
|
24261
|
+
|
|
24262
|
+
/**
|
|
24263
|
+
* Returns whether this field is set.
|
|
24264
|
+
* @return {boolean}
|
|
24265
|
+
*/
|
|
24266
|
+
proto.game.SearchGamesFullRequest.prototype.hasIsMobile = function() {
|
|
24267
|
+
return jspb.Message.getField(this, 6) != null;
|
|
24268
|
+
};
|
|
24269
|
+
|
|
24270
|
+
|
|
24271
|
+
/**
|
|
24272
|
+
* optional string user_geo = 7;
|
|
24273
|
+
* @return {string}
|
|
24274
|
+
*/
|
|
24275
|
+
proto.game.SearchGamesFullRequest.prototype.getUserGeo = function() {
|
|
24276
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
24277
|
+
};
|
|
24278
|
+
|
|
24279
|
+
|
|
24280
|
+
/**
|
|
24281
|
+
* @param {string} value
|
|
24282
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24283
|
+
*/
|
|
24284
|
+
proto.game.SearchGamesFullRequest.prototype.setUserGeo = function(value) {
|
|
24285
|
+
return jspb.Message.setField(this, 7, value);
|
|
24286
|
+
};
|
|
24287
|
+
|
|
24288
|
+
|
|
24289
|
+
/**
|
|
24290
|
+
* Clears the field making it undefined.
|
|
24291
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24292
|
+
*/
|
|
24293
|
+
proto.game.SearchGamesFullRequest.prototype.clearUserGeo = function() {
|
|
24294
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
24295
|
+
};
|
|
24296
|
+
|
|
24297
|
+
|
|
24298
|
+
/**
|
|
24299
|
+
* Returns whether this field is set.
|
|
24300
|
+
* @return {boolean}
|
|
24301
|
+
*/
|
|
24302
|
+
proto.game.SearchGamesFullRequest.prototype.hasUserGeo = function() {
|
|
24303
|
+
return jspb.Message.getField(this, 7) != null;
|
|
24304
|
+
};
|
|
24305
|
+
|
|
24306
|
+
|
|
24307
|
+
/**
|
|
24308
|
+
* optional int32 is_active = 8;
|
|
24309
|
+
* @return {number}
|
|
24310
|
+
*/
|
|
24311
|
+
proto.game.SearchGamesFullRequest.prototype.getIsActive = function() {
|
|
24312
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
24313
|
+
};
|
|
24314
|
+
|
|
24315
|
+
|
|
24316
|
+
/**
|
|
24317
|
+
* @param {number} value
|
|
24318
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24319
|
+
*/
|
|
24320
|
+
proto.game.SearchGamesFullRequest.prototype.setIsActive = function(value) {
|
|
24321
|
+
return jspb.Message.setField(this, 8, value);
|
|
24322
|
+
};
|
|
24323
|
+
|
|
24324
|
+
|
|
24325
|
+
/**
|
|
24326
|
+
* Clears the field making it undefined.
|
|
24327
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24328
|
+
*/
|
|
24329
|
+
proto.game.SearchGamesFullRequest.prototype.clearIsActive = function() {
|
|
24330
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
24331
|
+
};
|
|
24332
|
+
|
|
24333
|
+
|
|
24334
|
+
/**
|
|
24335
|
+
* Returns whether this field is set.
|
|
24336
|
+
* @return {boolean}
|
|
24337
|
+
*/
|
|
24338
|
+
proto.game.SearchGamesFullRequest.prototype.hasIsActive = function() {
|
|
24339
|
+
return jspb.Message.getField(this, 8) != null;
|
|
24340
|
+
};
|
|
24341
|
+
|
|
24342
|
+
|
|
24343
|
+
/**
|
|
24344
|
+
* optional bool popular = 9;
|
|
24345
|
+
* @return {boolean}
|
|
24346
|
+
*/
|
|
24347
|
+
proto.game.SearchGamesFullRequest.prototype.getPopular = function() {
|
|
24348
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
24349
|
+
};
|
|
24350
|
+
|
|
24351
|
+
|
|
24352
|
+
/**
|
|
24353
|
+
* @param {boolean} value
|
|
24354
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24355
|
+
*/
|
|
24356
|
+
proto.game.SearchGamesFullRequest.prototype.setPopular = function(value) {
|
|
24357
|
+
return jspb.Message.setField(this, 9, value);
|
|
24358
|
+
};
|
|
24359
|
+
|
|
24360
|
+
|
|
24361
|
+
/**
|
|
24362
|
+
* Clears the field making it undefined.
|
|
24363
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24364
|
+
*/
|
|
24365
|
+
proto.game.SearchGamesFullRequest.prototype.clearPopular = function() {
|
|
24366
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
24367
|
+
};
|
|
24368
|
+
|
|
24369
|
+
|
|
24370
|
+
/**
|
|
24371
|
+
* Returns whether this field is set.
|
|
24372
|
+
* @return {boolean}
|
|
24373
|
+
*/
|
|
24374
|
+
proto.game.SearchGamesFullRequest.prototype.hasPopular = function() {
|
|
24375
|
+
return jspb.Message.getField(this, 9) != null;
|
|
24376
|
+
};
|
|
24377
|
+
|
|
24378
|
+
|
|
24379
|
+
/**
|
|
24380
|
+
* optional bool favourites = 10;
|
|
24381
|
+
* @return {boolean}
|
|
24382
|
+
*/
|
|
24383
|
+
proto.game.SearchGamesFullRequest.prototype.getFavourites = function() {
|
|
24384
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
24385
|
+
};
|
|
24386
|
+
|
|
24387
|
+
|
|
24388
|
+
/**
|
|
24389
|
+
* @param {boolean} value
|
|
24390
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24391
|
+
*/
|
|
24392
|
+
proto.game.SearchGamesFullRequest.prototype.setFavourites = function(value) {
|
|
24393
|
+
return jspb.Message.setField(this, 10, value);
|
|
24394
|
+
};
|
|
24395
|
+
|
|
24396
|
+
|
|
24397
|
+
/**
|
|
24398
|
+
* Clears the field making it undefined.
|
|
24399
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24400
|
+
*/
|
|
24401
|
+
proto.game.SearchGamesFullRequest.prototype.clearFavourites = function() {
|
|
24402
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
24403
|
+
};
|
|
24404
|
+
|
|
24405
|
+
|
|
24406
|
+
/**
|
|
24407
|
+
* Returns whether this field is set.
|
|
24408
|
+
* @return {boolean}
|
|
24409
|
+
*/
|
|
24410
|
+
proto.game.SearchGamesFullRequest.prototype.hasFavourites = function() {
|
|
24411
|
+
return jspb.Message.getField(this, 10) != null;
|
|
24412
|
+
};
|
|
24413
|
+
|
|
24414
|
+
|
|
24415
|
+
/**
|
|
24416
|
+
* optional bool last_played = 11;
|
|
24417
|
+
* @return {boolean}
|
|
24418
|
+
*/
|
|
24419
|
+
proto.game.SearchGamesFullRequest.prototype.getLastPlayed = function() {
|
|
24420
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
24421
|
+
};
|
|
24422
|
+
|
|
24423
|
+
|
|
24424
|
+
/**
|
|
24425
|
+
* @param {boolean} value
|
|
24426
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24427
|
+
*/
|
|
24428
|
+
proto.game.SearchGamesFullRequest.prototype.setLastPlayed = function(value) {
|
|
24429
|
+
return jspb.Message.setField(this, 11, value);
|
|
24430
|
+
};
|
|
24431
|
+
|
|
24432
|
+
|
|
24433
|
+
/**
|
|
24434
|
+
* Clears the field making it undefined.
|
|
24435
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24436
|
+
*/
|
|
24437
|
+
proto.game.SearchGamesFullRequest.prototype.clearLastPlayed = function() {
|
|
24438
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
24439
|
+
};
|
|
24440
|
+
|
|
24441
|
+
|
|
24442
|
+
/**
|
|
24443
|
+
* Returns whether this field is set.
|
|
24444
|
+
* @return {boolean}
|
|
24445
|
+
*/
|
|
24446
|
+
proto.game.SearchGamesFullRequest.prototype.hasLastPlayed = function() {
|
|
24447
|
+
return jspb.Message.getField(this, 11) != null;
|
|
24448
|
+
};
|
|
24449
|
+
|
|
24450
|
+
|
|
24451
|
+
/**
|
|
24452
|
+
* optional int32 user_id = 12;
|
|
24453
|
+
* @return {number}
|
|
24454
|
+
*/
|
|
24455
|
+
proto.game.SearchGamesFullRequest.prototype.getUserId = function() {
|
|
24456
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
24457
|
+
};
|
|
24458
|
+
|
|
24459
|
+
|
|
24460
|
+
/**
|
|
24461
|
+
* @param {number} value
|
|
24462
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24463
|
+
*/
|
|
24464
|
+
proto.game.SearchGamesFullRequest.prototype.setUserId = function(value) {
|
|
24465
|
+
return jspb.Message.setField(this, 12, value);
|
|
24466
|
+
};
|
|
24467
|
+
|
|
24468
|
+
|
|
24469
|
+
/**
|
|
24470
|
+
* Clears the field making it undefined.
|
|
24471
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
24472
|
+
*/
|
|
24473
|
+
proto.game.SearchGamesFullRequest.prototype.clearUserId = function() {
|
|
24474
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
24475
|
+
};
|
|
24476
|
+
|
|
24477
|
+
|
|
24478
|
+
/**
|
|
24479
|
+
* Returns whether this field is set.
|
|
24480
|
+
* @return {boolean}
|
|
24481
|
+
*/
|
|
24482
|
+
proto.game.SearchGamesFullRequest.prototype.hasUserId = function() {
|
|
24483
|
+
return jspb.Message.getField(this, 12) != null;
|
|
24484
|
+
};
|
|
24485
|
+
|
|
24486
|
+
|
|
24487
|
+
|
|
24488
|
+
/**
|
|
24489
|
+
* List of repeated fields within this message type.
|
|
24490
|
+
* @private {!Array<number>}
|
|
24491
|
+
* @const
|
|
24492
|
+
*/
|
|
24493
|
+
proto.game.SearchGamesFullGameSection.repeatedFields_ = [1];
|
|
24494
|
+
|
|
24495
|
+
|
|
24496
|
+
|
|
24497
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24498
|
+
/**
|
|
24499
|
+
* Creates an object representation of this proto.
|
|
24500
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24501
|
+
* Optional fields that are not set will be set to undefined.
|
|
24502
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24503
|
+
* For the list of reserved names please see:
|
|
24504
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24505
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24506
|
+
* JSPB instance for transitional soy proto support:
|
|
24507
|
+
* http://goto/soy-param-migration
|
|
24508
|
+
* @return {!Object}
|
|
24509
|
+
*/
|
|
24510
|
+
proto.game.SearchGamesFullGameSection.prototype.toObject = function(opt_includeInstance) {
|
|
24511
|
+
return proto.game.SearchGamesFullGameSection.toObject(opt_includeInstance, this);
|
|
24512
|
+
};
|
|
24513
|
+
|
|
24514
|
+
|
|
24515
|
+
/**
|
|
24516
|
+
* Static version of the {@see toObject} method.
|
|
24517
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24518
|
+
* the JSPB instance for transitional soy proto support:
|
|
24519
|
+
* http://goto/soy-param-migration
|
|
24520
|
+
* @param {!proto.game.SearchGamesFullGameSection} msg The msg instance to transform.
|
|
24521
|
+
* @return {!Object}
|
|
24522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24523
|
+
*/
|
|
24524
|
+
proto.game.SearchGamesFullGameSection.toObject = function(includeInstance, msg) {
|
|
24525
|
+
var f, obj = {
|
|
24526
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
24527
|
+
proto.game.GameItem.toObject, includeInstance),
|
|
24528
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24529
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
24530
|
+
};
|
|
24531
|
+
|
|
24532
|
+
if (includeInstance) {
|
|
24533
|
+
obj.$jspbMessageInstance = msg;
|
|
24534
|
+
}
|
|
24535
|
+
return obj;
|
|
24536
|
+
};
|
|
24537
|
+
}
|
|
24538
|
+
|
|
24539
|
+
|
|
24540
|
+
/**
|
|
24541
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24542
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24543
|
+
* @return {!proto.game.SearchGamesFullGameSection}
|
|
24544
|
+
*/
|
|
24545
|
+
proto.game.SearchGamesFullGameSection.deserializeBinary = function(bytes) {
|
|
24546
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24547
|
+
var msg = new proto.game.SearchGamesFullGameSection;
|
|
24548
|
+
return proto.game.SearchGamesFullGameSection.deserializeBinaryFromReader(msg, reader);
|
|
24549
|
+
};
|
|
24550
|
+
|
|
24551
|
+
|
|
24552
|
+
/**
|
|
24553
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24554
|
+
* given reader into the given message object.
|
|
24555
|
+
* @param {!proto.game.SearchGamesFullGameSection} msg The message object to deserialize into.
|
|
24556
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24557
|
+
* @return {!proto.game.SearchGamesFullGameSection}
|
|
24558
|
+
*/
|
|
24559
|
+
proto.game.SearchGamesFullGameSection.deserializeBinaryFromReader = function(msg, reader) {
|
|
24560
|
+
while (reader.nextField()) {
|
|
24561
|
+
if (reader.isEndGroup()) {
|
|
24562
|
+
break;
|
|
24563
|
+
}
|
|
24564
|
+
var field = reader.getFieldNumber();
|
|
24565
|
+
switch (field) {
|
|
24566
|
+
case 1:
|
|
24567
|
+
var value = new proto.game.GameItem;
|
|
24568
|
+
reader.readMessage(value,proto.game.GameItem.deserializeBinaryFromReader);
|
|
24569
|
+
msg.addItems(value);
|
|
24570
|
+
break;
|
|
24571
|
+
case 2:
|
|
24572
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24573
|
+
msg.setTotalItems(value);
|
|
24574
|
+
break;
|
|
24575
|
+
case 3:
|
|
24576
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24577
|
+
msg.setTotalPages(value);
|
|
24578
|
+
break;
|
|
24579
|
+
default:
|
|
24580
|
+
reader.skipField();
|
|
24581
|
+
break;
|
|
24582
|
+
}
|
|
24583
|
+
}
|
|
24584
|
+
return msg;
|
|
24585
|
+
};
|
|
24586
|
+
|
|
24587
|
+
|
|
24588
|
+
/**
|
|
24589
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24590
|
+
* @return {!Uint8Array}
|
|
24591
|
+
*/
|
|
24592
|
+
proto.game.SearchGamesFullGameSection.prototype.serializeBinary = function() {
|
|
24593
|
+
var writer = new jspb.BinaryWriter();
|
|
24594
|
+
proto.game.SearchGamesFullGameSection.serializeBinaryToWriter(this, writer);
|
|
24595
|
+
return writer.getResultBuffer();
|
|
24596
|
+
};
|
|
24597
|
+
|
|
24598
|
+
|
|
24599
|
+
/**
|
|
24600
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24601
|
+
* format), writing to the given BinaryWriter.
|
|
24602
|
+
* @param {!proto.game.SearchGamesFullGameSection} message
|
|
24603
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24604
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24605
|
+
*/
|
|
24606
|
+
proto.game.SearchGamesFullGameSection.serializeBinaryToWriter = function(message, writer) {
|
|
24607
|
+
var f = undefined;
|
|
24608
|
+
f = message.getItemsList();
|
|
24609
|
+
if (f.length > 0) {
|
|
24610
|
+
writer.writeRepeatedMessage(
|
|
24611
|
+
1,
|
|
24612
|
+
f,
|
|
24613
|
+
proto.game.GameItem.serializeBinaryToWriter
|
|
24614
|
+
);
|
|
24615
|
+
}
|
|
24616
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
24617
|
+
if (f != null) {
|
|
24618
|
+
writer.writeInt32(
|
|
24619
|
+
2,
|
|
24620
|
+
f
|
|
24621
|
+
);
|
|
24622
|
+
}
|
|
24623
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
24624
|
+
if (f != null) {
|
|
24625
|
+
writer.writeInt32(
|
|
24626
|
+
3,
|
|
24627
|
+
f
|
|
24628
|
+
);
|
|
24629
|
+
}
|
|
24630
|
+
};
|
|
24631
|
+
|
|
24632
|
+
|
|
24633
|
+
/**
|
|
24634
|
+
* repeated GameItem items = 1;
|
|
24635
|
+
* @return {!Array<!proto.game.GameItem>}
|
|
24636
|
+
*/
|
|
24637
|
+
proto.game.SearchGamesFullGameSection.prototype.getItemsList = function() {
|
|
24638
|
+
return /** @type{!Array<!proto.game.GameItem>} */ (
|
|
24639
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameItem, 1));
|
|
24640
|
+
};
|
|
24641
|
+
|
|
24642
|
+
|
|
24643
|
+
/**
|
|
24644
|
+
* @param {!Array<!proto.game.GameItem>} value
|
|
24645
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24646
|
+
*/
|
|
24647
|
+
proto.game.SearchGamesFullGameSection.prototype.setItemsList = function(value) {
|
|
24648
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
24649
|
+
};
|
|
24650
|
+
|
|
24651
|
+
|
|
24652
|
+
/**
|
|
24653
|
+
* @param {!proto.game.GameItem=} opt_value
|
|
24654
|
+
* @param {number=} opt_index
|
|
24655
|
+
* @return {!proto.game.GameItem}
|
|
24656
|
+
*/
|
|
24657
|
+
proto.game.SearchGamesFullGameSection.prototype.addItems = function(opt_value, opt_index) {
|
|
24658
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.GameItem, opt_index);
|
|
24659
|
+
};
|
|
24660
|
+
|
|
24661
|
+
|
|
24662
|
+
/**
|
|
24663
|
+
* Clears the list making it empty but non-null.
|
|
24664
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24665
|
+
*/
|
|
24666
|
+
proto.game.SearchGamesFullGameSection.prototype.clearItemsList = function() {
|
|
24667
|
+
return this.setItemsList([]);
|
|
24668
|
+
};
|
|
24669
|
+
|
|
24670
|
+
|
|
24671
|
+
/**
|
|
24672
|
+
* optional int32 total_items = 2;
|
|
24673
|
+
* @return {number}
|
|
24674
|
+
*/
|
|
24675
|
+
proto.game.SearchGamesFullGameSection.prototype.getTotalItems = function() {
|
|
24676
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
24677
|
+
};
|
|
24678
|
+
|
|
24679
|
+
|
|
24680
|
+
/**
|
|
24681
|
+
* @param {number} value
|
|
24682
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24683
|
+
*/
|
|
24684
|
+
proto.game.SearchGamesFullGameSection.prototype.setTotalItems = function(value) {
|
|
24685
|
+
return jspb.Message.setField(this, 2, value);
|
|
24686
|
+
};
|
|
24687
|
+
|
|
24688
|
+
|
|
24689
|
+
/**
|
|
24690
|
+
* Clears the field making it undefined.
|
|
24691
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24692
|
+
*/
|
|
24693
|
+
proto.game.SearchGamesFullGameSection.prototype.clearTotalItems = function() {
|
|
24694
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
24695
|
+
};
|
|
24696
|
+
|
|
24697
|
+
|
|
24698
|
+
/**
|
|
24699
|
+
* Returns whether this field is set.
|
|
24700
|
+
* @return {boolean}
|
|
24701
|
+
*/
|
|
24702
|
+
proto.game.SearchGamesFullGameSection.prototype.hasTotalItems = function() {
|
|
24703
|
+
return jspb.Message.getField(this, 2) != null;
|
|
24704
|
+
};
|
|
24705
|
+
|
|
24706
|
+
|
|
24707
|
+
/**
|
|
24708
|
+
* optional int32 total_pages = 3;
|
|
24709
|
+
* @return {number}
|
|
24710
|
+
*/
|
|
24711
|
+
proto.game.SearchGamesFullGameSection.prototype.getTotalPages = function() {
|
|
24712
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24713
|
+
};
|
|
24714
|
+
|
|
24715
|
+
|
|
24716
|
+
/**
|
|
24717
|
+
* @param {number} value
|
|
24718
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24719
|
+
*/
|
|
24720
|
+
proto.game.SearchGamesFullGameSection.prototype.setTotalPages = function(value) {
|
|
24721
|
+
return jspb.Message.setField(this, 3, value);
|
|
24722
|
+
};
|
|
24723
|
+
|
|
24724
|
+
|
|
24725
|
+
/**
|
|
24726
|
+
* Clears the field making it undefined.
|
|
24727
|
+
* @return {!proto.game.SearchGamesFullGameSection} returns this
|
|
24728
|
+
*/
|
|
24729
|
+
proto.game.SearchGamesFullGameSection.prototype.clearTotalPages = function() {
|
|
24730
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
24731
|
+
};
|
|
24732
|
+
|
|
24733
|
+
|
|
24734
|
+
/**
|
|
24735
|
+
* Returns whether this field is set.
|
|
24736
|
+
* @return {boolean}
|
|
24737
|
+
*/
|
|
24738
|
+
proto.game.SearchGamesFullGameSection.prototype.hasTotalPages = function() {
|
|
24739
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24740
|
+
};
|
|
24741
|
+
|
|
24742
|
+
|
|
24743
|
+
|
|
24744
|
+
/**
|
|
24745
|
+
* List of repeated fields within this message type.
|
|
24746
|
+
* @private {!Array<number>}
|
|
24747
|
+
* @const
|
|
24748
|
+
*/
|
|
24749
|
+
proto.game.SearchGamesFullProviderSection.repeatedFields_ = [1];
|
|
24750
|
+
|
|
24751
|
+
|
|
24752
|
+
|
|
24753
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24754
|
+
/**
|
|
24755
|
+
* Creates an object representation of this proto.
|
|
24756
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24757
|
+
* Optional fields that are not set will be set to undefined.
|
|
24758
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24759
|
+
* For the list of reserved names please see:
|
|
24760
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24761
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24762
|
+
* JSPB instance for transitional soy proto support:
|
|
24763
|
+
* http://goto/soy-param-migration
|
|
24764
|
+
* @return {!Object}
|
|
24765
|
+
*/
|
|
24766
|
+
proto.game.SearchGamesFullProviderSection.prototype.toObject = function(opt_includeInstance) {
|
|
24767
|
+
return proto.game.SearchGamesFullProviderSection.toObject(opt_includeInstance, this);
|
|
24768
|
+
};
|
|
24769
|
+
|
|
24770
|
+
|
|
24771
|
+
/**
|
|
24772
|
+
* Static version of the {@see toObject} method.
|
|
24773
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24774
|
+
* the JSPB instance for transitional soy proto support:
|
|
24775
|
+
* http://goto/soy-param-migration
|
|
24776
|
+
* @param {!proto.game.SearchGamesFullProviderSection} msg The msg instance to transform.
|
|
24777
|
+
* @return {!Object}
|
|
24778
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24779
|
+
*/
|
|
24780
|
+
proto.game.SearchGamesFullProviderSection.toObject = function(includeInstance, msg) {
|
|
24781
|
+
var f, obj = {
|
|
24782
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
24783
|
+
proto.game.ProviderItem.toObject, includeInstance),
|
|
24784
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24785
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
24786
|
+
};
|
|
24787
|
+
|
|
24788
|
+
if (includeInstance) {
|
|
24789
|
+
obj.$jspbMessageInstance = msg;
|
|
24790
|
+
}
|
|
24791
|
+
return obj;
|
|
24792
|
+
};
|
|
24793
|
+
}
|
|
24794
|
+
|
|
24795
|
+
|
|
24796
|
+
/**
|
|
24797
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24798
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24799
|
+
* @return {!proto.game.SearchGamesFullProviderSection}
|
|
24800
|
+
*/
|
|
24801
|
+
proto.game.SearchGamesFullProviderSection.deserializeBinary = function(bytes) {
|
|
24802
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24803
|
+
var msg = new proto.game.SearchGamesFullProviderSection;
|
|
24804
|
+
return proto.game.SearchGamesFullProviderSection.deserializeBinaryFromReader(msg, reader);
|
|
24805
|
+
};
|
|
24806
|
+
|
|
24807
|
+
|
|
24808
|
+
/**
|
|
24809
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24810
|
+
* given reader into the given message object.
|
|
24811
|
+
* @param {!proto.game.SearchGamesFullProviderSection} msg The message object to deserialize into.
|
|
24812
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24813
|
+
* @return {!proto.game.SearchGamesFullProviderSection}
|
|
24814
|
+
*/
|
|
24815
|
+
proto.game.SearchGamesFullProviderSection.deserializeBinaryFromReader = function(msg, reader) {
|
|
24816
|
+
while (reader.nextField()) {
|
|
24817
|
+
if (reader.isEndGroup()) {
|
|
24818
|
+
break;
|
|
24819
|
+
}
|
|
24820
|
+
var field = reader.getFieldNumber();
|
|
24821
|
+
switch (field) {
|
|
24822
|
+
case 1:
|
|
24823
|
+
var value = new proto.game.ProviderItem;
|
|
24824
|
+
reader.readMessage(value,proto.game.ProviderItem.deserializeBinaryFromReader);
|
|
24825
|
+
msg.addItems(value);
|
|
24826
|
+
break;
|
|
24827
|
+
case 2:
|
|
24828
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24829
|
+
msg.setTotalItems(value);
|
|
24830
|
+
break;
|
|
24831
|
+
case 3:
|
|
24832
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24833
|
+
msg.setTotalPages(value);
|
|
24834
|
+
break;
|
|
24835
|
+
default:
|
|
24836
|
+
reader.skipField();
|
|
24837
|
+
break;
|
|
24838
|
+
}
|
|
24839
|
+
}
|
|
24840
|
+
return msg;
|
|
24841
|
+
};
|
|
24842
|
+
|
|
24843
|
+
|
|
24844
|
+
/**
|
|
24845
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24846
|
+
* @return {!Uint8Array}
|
|
24847
|
+
*/
|
|
24848
|
+
proto.game.SearchGamesFullProviderSection.prototype.serializeBinary = function() {
|
|
24849
|
+
var writer = new jspb.BinaryWriter();
|
|
24850
|
+
proto.game.SearchGamesFullProviderSection.serializeBinaryToWriter(this, writer);
|
|
24851
|
+
return writer.getResultBuffer();
|
|
24852
|
+
};
|
|
24853
|
+
|
|
24854
|
+
|
|
24855
|
+
/**
|
|
24856
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24857
|
+
* format), writing to the given BinaryWriter.
|
|
24858
|
+
* @param {!proto.game.SearchGamesFullProviderSection} message
|
|
24859
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24860
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24861
|
+
*/
|
|
24862
|
+
proto.game.SearchGamesFullProviderSection.serializeBinaryToWriter = function(message, writer) {
|
|
24863
|
+
var f = undefined;
|
|
24864
|
+
f = message.getItemsList();
|
|
24865
|
+
if (f.length > 0) {
|
|
24866
|
+
writer.writeRepeatedMessage(
|
|
24867
|
+
1,
|
|
24868
|
+
f,
|
|
24869
|
+
proto.game.ProviderItem.serializeBinaryToWriter
|
|
24870
|
+
);
|
|
24871
|
+
}
|
|
24872
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
24873
|
+
if (f != null) {
|
|
24874
|
+
writer.writeInt32(
|
|
24875
|
+
2,
|
|
24876
|
+
f
|
|
24877
|
+
);
|
|
24878
|
+
}
|
|
24879
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
24880
|
+
if (f != null) {
|
|
24881
|
+
writer.writeInt32(
|
|
24882
|
+
3,
|
|
24883
|
+
f
|
|
24884
|
+
);
|
|
24885
|
+
}
|
|
24886
|
+
};
|
|
24887
|
+
|
|
24888
|
+
|
|
24889
|
+
/**
|
|
24890
|
+
* repeated ProviderItem items = 1;
|
|
24891
|
+
* @return {!Array<!proto.game.ProviderItem>}
|
|
24892
|
+
*/
|
|
24893
|
+
proto.game.SearchGamesFullProviderSection.prototype.getItemsList = function() {
|
|
24894
|
+
return /** @type{!Array<!proto.game.ProviderItem>} */ (
|
|
24895
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.ProviderItem, 1));
|
|
24896
|
+
};
|
|
24897
|
+
|
|
24898
|
+
|
|
24899
|
+
/**
|
|
24900
|
+
* @param {!Array<!proto.game.ProviderItem>} value
|
|
24901
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24902
|
+
*/
|
|
24903
|
+
proto.game.SearchGamesFullProviderSection.prototype.setItemsList = function(value) {
|
|
24904
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
24905
|
+
};
|
|
24906
|
+
|
|
24907
|
+
|
|
24908
|
+
/**
|
|
24909
|
+
* @param {!proto.game.ProviderItem=} opt_value
|
|
24910
|
+
* @param {number=} opt_index
|
|
24911
|
+
* @return {!proto.game.ProviderItem}
|
|
24912
|
+
*/
|
|
24913
|
+
proto.game.SearchGamesFullProviderSection.prototype.addItems = function(opt_value, opt_index) {
|
|
24914
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.ProviderItem, opt_index);
|
|
24915
|
+
};
|
|
24916
|
+
|
|
24917
|
+
|
|
24918
|
+
/**
|
|
24919
|
+
* Clears the list making it empty but non-null.
|
|
24920
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24921
|
+
*/
|
|
24922
|
+
proto.game.SearchGamesFullProviderSection.prototype.clearItemsList = function() {
|
|
24923
|
+
return this.setItemsList([]);
|
|
24924
|
+
};
|
|
24925
|
+
|
|
24926
|
+
|
|
24927
|
+
/**
|
|
24928
|
+
* optional int32 total_items = 2;
|
|
24929
|
+
* @return {number}
|
|
24930
|
+
*/
|
|
24931
|
+
proto.game.SearchGamesFullProviderSection.prototype.getTotalItems = function() {
|
|
24932
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
24933
|
+
};
|
|
24934
|
+
|
|
24935
|
+
|
|
24936
|
+
/**
|
|
24937
|
+
* @param {number} value
|
|
24938
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24939
|
+
*/
|
|
24940
|
+
proto.game.SearchGamesFullProviderSection.prototype.setTotalItems = function(value) {
|
|
24941
|
+
return jspb.Message.setField(this, 2, value);
|
|
24942
|
+
};
|
|
24943
|
+
|
|
24944
|
+
|
|
24945
|
+
/**
|
|
24946
|
+
* Clears the field making it undefined.
|
|
24947
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24948
|
+
*/
|
|
24949
|
+
proto.game.SearchGamesFullProviderSection.prototype.clearTotalItems = function() {
|
|
24950
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
24951
|
+
};
|
|
24952
|
+
|
|
24953
|
+
|
|
24954
|
+
/**
|
|
24955
|
+
* Returns whether this field is set.
|
|
24956
|
+
* @return {boolean}
|
|
24957
|
+
*/
|
|
24958
|
+
proto.game.SearchGamesFullProviderSection.prototype.hasTotalItems = function() {
|
|
24959
|
+
return jspb.Message.getField(this, 2) != null;
|
|
24960
|
+
};
|
|
24961
|
+
|
|
24962
|
+
|
|
24963
|
+
/**
|
|
24964
|
+
* optional int32 total_pages = 3;
|
|
24965
|
+
* @return {number}
|
|
24966
|
+
*/
|
|
24967
|
+
proto.game.SearchGamesFullProviderSection.prototype.getTotalPages = function() {
|
|
24968
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24969
|
+
};
|
|
24970
|
+
|
|
24971
|
+
|
|
24972
|
+
/**
|
|
24973
|
+
* @param {number} value
|
|
24974
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24975
|
+
*/
|
|
24976
|
+
proto.game.SearchGamesFullProviderSection.prototype.setTotalPages = function(value) {
|
|
24977
|
+
return jspb.Message.setField(this, 3, value);
|
|
24978
|
+
};
|
|
24979
|
+
|
|
24980
|
+
|
|
24981
|
+
/**
|
|
24982
|
+
* Clears the field making it undefined.
|
|
24983
|
+
* @return {!proto.game.SearchGamesFullProviderSection} returns this
|
|
24984
|
+
*/
|
|
24985
|
+
proto.game.SearchGamesFullProviderSection.prototype.clearTotalPages = function() {
|
|
24986
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
24987
|
+
};
|
|
24988
|
+
|
|
24989
|
+
|
|
24990
|
+
/**
|
|
24991
|
+
* Returns whether this field is set.
|
|
24992
|
+
* @return {boolean}
|
|
24993
|
+
*/
|
|
24994
|
+
proto.game.SearchGamesFullProviderSection.prototype.hasTotalPages = function() {
|
|
24995
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24996
|
+
};
|
|
24997
|
+
|
|
24998
|
+
|
|
24999
|
+
|
|
25000
|
+
/**
|
|
25001
|
+
* List of repeated fields within this message type.
|
|
25002
|
+
* @private {!Array<number>}
|
|
25003
|
+
* @const
|
|
25004
|
+
*/
|
|
25005
|
+
proto.game.SearchGamesFullCategoryItem.repeatedFields_ = [2];
|
|
25006
|
+
|
|
25007
|
+
|
|
25008
|
+
|
|
25009
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25010
|
+
/**
|
|
25011
|
+
* Creates an object representation of this proto.
|
|
25012
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25013
|
+
* Optional fields that are not set will be set to undefined.
|
|
25014
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25015
|
+
* For the list of reserved names please see:
|
|
25016
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25017
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25018
|
+
* JSPB instance for transitional soy proto support:
|
|
25019
|
+
* http://goto/soy-param-migration
|
|
25020
|
+
* @return {!Object}
|
|
25021
|
+
*/
|
|
25022
|
+
proto.game.SearchGamesFullCategoryItem.prototype.toObject = function(opt_includeInstance) {
|
|
25023
|
+
return proto.game.SearchGamesFullCategoryItem.toObject(opt_includeInstance, this);
|
|
25024
|
+
};
|
|
25025
|
+
|
|
25026
|
+
|
|
25027
|
+
/**
|
|
25028
|
+
* Static version of the {@see toObject} method.
|
|
25029
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25030
|
+
* the JSPB instance for transitional soy proto support:
|
|
25031
|
+
* http://goto/soy-param-migration
|
|
25032
|
+
* @param {!proto.game.SearchGamesFullCategoryItem} msg The msg instance to transform.
|
|
25033
|
+
* @return {!Object}
|
|
25034
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25035
|
+
*/
|
|
25036
|
+
proto.game.SearchGamesFullCategoryItem.toObject = function(includeInstance, msg) {
|
|
25037
|
+
var f, obj = {
|
|
25038
|
+
category: (f = msg.getCategory()) && proto.game.CategoryItem.toObject(includeInstance, f),
|
|
25039
|
+
gamesList: jspb.Message.toObjectList(msg.getGamesList(),
|
|
25040
|
+
proto.game.GameItem.toObject, includeInstance),
|
|
25041
|
+
totalGames: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
25042
|
+
};
|
|
25043
|
+
|
|
25044
|
+
if (includeInstance) {
|
|
25045
|
+
obj.$jspbMessageInstance = msg;
|
|
25046
|
+
}
|
|
25047
|
+
return obj;
|
|
25048
|
+
};
|
|
25049
|
+
}
|
|
25050
|
+
|
|
25051
|
+
|
|
25052
|
+
/**
|
|
25053
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25054
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25055
|
+
* @return {!proto.game.SearchGamesFullCategoryItem}
|
|
25056
|
+
*/
|
|
25057
|
+
proto.game.SearchGamesFullCategoryItem.deserializeBinary = function(bytes) {
|
|
25058
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25059
|
+
var msg = new proto.game.SearchGamesFullCategoryItem;
|
|
25060
|
+
return proto.game.SearchGamesFullCategoryItem.deserializeBinaryFromReader(msg, reader);
|
|
25061
|
+
};
|
|
25062
|
+
|
|
25063
|
+
|
|
25064
|
+
/**
|
|
25065
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25066
|
+
* given reader into the given message object.
|
|
25067
|
+
* @param {!proto.game.SearchGamesFullCategoryItem} msg The message object to deserialize into.
|
|
25068
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25069
|
+
* @return {!proto.game.SearchGamesFullCategoryItem}
|
|
25070
|
+
*/
|
|
25071
|
+
proto.game.SearchGamesFullCategoryItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
25072
|
+
while (reader.nextField()) {
|
|
25073
|
+
if (reader.isEndGroup()) {
|
|
25074
|
+
break;
|
|
25075
|
+
}
|
|
25076
|
+
var field = reader.getFieldNumber();
|
|
25077
|
+
switch (field) {
|
|
25078
|
+
case 1:
|
|
25079
|
+
var value = new proto.game.CategoryItem;
|
|
25080
|
+
reader.readMessage(value,proto.game.CategoryItem.deserializeBinaryFromReader);
|
|
25081
|
+
msg.setCategory(value);
|
|
25082
|
+
break;
|
|
25083
|
+
case 2:
|
|
25084
|
+
var value = new proto.game.GameItem;
|
|
25085
|
+
reader.readMessage(value,proto.game.GameItem.deserializeBinaryFromReader);
|
|
25086
|
+
msg.addGames(value);
|
|
25087
|
+
break;
|
|
25088
|
+
case 3:
|
|
25089
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
25090
|
+
msg.setTotalGames(value);
|
|
25091
|
+
break;
|
|
25092
|
+
default:
|
|
25093
|
+
reader.skipField();
|
|
25094
|
+
break;
|
|
25095
|
+
}
|
|
25096
|
+
}
|
|
25097
|
+
return msg;
|
|
25098
|
+
};
|
|
25099
|
+
|
|
25100
|
+
|
|
25101
|
+
/**
|
|
25102
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25103
|
+
* @return {!Uint8Array}
|
|
25104
|
+
*/
|
|
25105
|
+
proto.game.SearchGamesFullCategoryItem.prototype.serializeBinary = function() {
|
|
25106
|
+
var writer = new jspb.BinaryWriter();
|
|
25107
|
+
proto.game.SearchGamesFullCategoryItem.serializeBinaryToWriter(this, writer);
|
|
25108
|
+
return writer.getResultBuffer();
|
|
25109
|
+
};
|
|
25110
|
+
|
|
25111
|
+
|
|
25112
|
+
/**
|
|
25113
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25114
|
+
* format), writing to the given BinaryWriter.
|
|
25115
|
+
* @param {!proto.game.SearchGamesFullCategoryItem} message
|
|
25116
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25117
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25118
|
+
*/
|
|
25119
|
+
proto.game.SearchGamesFullCategoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
25120
|
+
var f = undefined;
|
|
25121
|
+
f = message.getCategory();
|
|
25122
|
+
if (f != null) {
|
|
25123
|
+
writer.writeMessage(
|
|
25124
|
+
1,
|
|
25125
|
+
f,
|
|
25126
|
+
proto.game.CategoryItem.serializeBinaryToWriter
|
|
25127
|
+
);
|
|
25128
|
+
}
|
|
25129
|
+
f = message.getGamesList();
|
|
25130
|
+
if (f.length > 0) {
|
|
25131
|
+
writer.writeRepeatedMessage(
|
|
25132
|
+
2,
|
|
25133
|
+
f,
|
|
25134
|
+
proto.game.GameItem.serializeBinaryToWriter
|
|
25135
|
+
);
|
|
25136
|
+
}
|
|
25137
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
25138
|
+
if (f != null) {
|
|
25139
|
+
writer.writeInt32(
|
|
25140
|
+
3,
|
|
25141
|
+
f
|
|
25142
|
+
);
|
|
25143
|
+
}
|
|
25144
|
+
};
|
|
25145
|
+
|
|
25146
|
+
|
|
25147
|
+
/**
|
|
25148
|
+
* optional CategoryItem category = 1;
|
|
25149
|
+
* @return {?proto.game.CategoryItem}
|
|
25150
|
+
*/
|
|
25151
|
+
proto.game.SearchGamesFullCategoryItem.prototype.getCategory = function() {
|
|
25152
|
+
return /** @type{?proto.game.CategoryItem} */ (
|
|
25153
|
+
jspb.Message.getWrapperField(this, proto.game.CategoryItem, 1));
|
|
25154
|
+
};
|
|
25155
|
+
|
|
25156
|
+
|
|
25157
|
+
/**
|
|
25158
|
+
* @param {?proto.game.CategoryItem|undefined} value
|
|
25159
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25160
|
+
*/
|
|
25161
|
+
proto.game.SearchGamesFullCategoryItem.prototype.setCategory = function(value) {
|
|
25162
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
25163
|
+
};
|
|
25164
|
+
|
|
25165
|
+
|
|
25166
|
+
/**
|
|
25167
|
+
* Clears the message field making it undefined.
|
|
25168
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25169
|
+
*/
|
|
25170
|
+
proto.game.SearchGamesFullCategoryItem.prototype.clearCategory = function() {
|
|
25171
|
+
return this.setCategory(undefined);
|
|
25172
|
+
};
|
|
25173
|
+
|
|
25174
|
+
|
|
25175
|
+
/**
|
|
25176
|
+
* Returns whether this field is set.
|
|
25177
|
+
* @return {boolean}
|
|
25178
|
+
*/
|
|
25179
|
+
proto.game.SearchGamesFullCategoryItem.prototype.hasCategory = function() {
|
|
25180
|
+
return jspb.Message.getField(this, 1) != null;
|
|
25181
|
+
};
|
|
25182
|
+
|
|
25183
|
+
|
|
25184
|
+
/**
|
|
25185
|
+
* repeated GameItem games = 2;
|
|
25186
|
+
* @return {!Array<!proto.game.GameItem>}
|
|
25187
|
+
*/
|
|
25188
|
+
proto.game.SearchGamesFullCategoryItem.prototype.getGamesList = function() {
|
|
25189
|
+
return /** @type{!Array<!proto.game.GameItem>} */ (
|
|
25190
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameItem, 2));
|
|
25191
|
+
};
|
|
25192
|
+
|
|
25193
|
+
|
|
25194
|
+
/**
|
|
25195
|
+
* @param {!Array<!proto.game.GameItem>} value
|
|
25196
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25197
|
+
*/
|
|
25198
|
+
proto.game.SearchGamesFullCategoryItem.prototype.setGamesList = function(value) {
|
|
25199
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
25200
|
+
};
|
|
25201
|
+
|
|
25202
|
+
|
|
25203
|
+
/**
|
|
25204
|
+
* @param {!proto.game.GameItem=} opt_value
|
|
25205
|
+
* @param {number=} opt_index
|
|
25206
|
+
* @return {!proto.game.GameItem}
|
|
25207
|
+
*/
|
|
25208
|
+
proto.game.SearchGamesFullCategoryItem.prototype.addGames = function(opt_value, opt_index) {
|
|
25209
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.game.GameItem, opt_index);
|
|
25210
|
+
};
|
|
25211
|
+
|
|
25212
|
+
|
|
25213
|
+
/**
|
|
25214
|
+
* Clears the list making it empty but non-null.
|
|
25215
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25216
|
+
*/
|
|
25217
|
+
proto.game.SearchGamesFullCategoryItem.prototype.clearGamesList = function() {
|
|
25218
|
+
return this.setGamesList([]);
|
|
25219
|
+
};
|
|
25220
|
+
|
|
25221
|
+
|
|
25222
|
+
/**
|
|
25223
|
+
* optional int32 total_games = 3;
|
|
25224
|
+
* @return {number}
|
|
25225
|
+
*/
|
|
25226
|
+
proto.game.SearchGamesFullCategoryItem.prototype.getTotalGames = function() {
|
|
25227
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
25228
|
+
};
|
|
25229
|
+
|
|
25230
|
+
|
|
25231
|
+
/**
|
|
25232
|
+
* @param {number} value
|
|
25233
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25234
|
+
*/
|
|
25235
|
+
proto.game.SearchGamesFullCategoryItem.prototype.setTotalGames = function(value) {
|
|
25236
|
+
return jspb.Message.setField(this, 3, value);
|
|
25237
|
+
};
|
|
25238
|
+
|
|
25239
|
+
|
|
25240
|
+
/**
|
|
25241
|
+
* Clears the field making it undefined.
|
|
25242
|
+
* @return {!proto.game.SearchGamesFullCategoryItem} returns this
|
|
25243
|
+
*/
|
|
25244
|
+
proto.game.SearchGamesFullCategoryItem.prototype.clearTotalGames = function() {
|
|
25245
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
25246
|
+
};
|
|
25247
|
+
|
|
25248
|
+
|
|
25249
|
+
/**
|
|
25250
|
+
* Returns whether this field is set.
|
|
25251
|
+
* @return {boolean}
|
|
25252
|
+
*/
|
|
25253
|
+
proto.game.SearchGamesFullCategoryItem.prototype.hasTotalGames = function() {
|
|
25254
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25255
|
+
};
|
|
25256
|
+
|
|
25257
|
+
|
|
25258
|
+
|
|
25259
|
+
/**
|
|
25260
|
+
* List of repeated fields within this message type.
|
|
25261
|
+
* @private {!Array<number>}
|
|
25262
|
+
* @const
|
|
25263
|
+
*/
|
|
25264
|
+
proto.game.SearchGamesFullCategorySection.repeatedFields_ = [1];
|
|
25265
|
+
|
|
25266
|
+
|
|
25267
|
+
|
|
25268
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25269
|
+
/**
|
|
25270
|
+
* Creates an object representation of this proto.
|
|
25271
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25272
|
+
* Optional fields that are not set will be set to undefined.
|
|
25273
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25274
|
+
* For the list of reserved names please see:
|
|
25275
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25276
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25277
|
+
* JSPB instance for transitional soy proto support:
|
|
25278
|
+
* http://goto/soy-param-migration
|
|
25279
|
+
* @return {!Object}
|
|
25280
|
+
*/
|
|
25281
|
+
proto.game.SearchGamesFullCategorySection.prototype.toObject = function(opt_includeInstance) {
|
|
25282
|
+
return proto.game.SearchGamesFullCategorySection.toObject(opt_includeInstance, this);
|
|
25283
|
+
};
|
|
25284
|
+
|
|
25285
|
+
|
|
25286
|
+
/**
|
|
25287
|
+
* Static version of the {@see toObject} method.
|
|
25288
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25289
|
+
* the JSPB instance for transitional soy proto support:
|
|
25290
|
+
* http://goto/soy-param-migration
|
|
25291
|
+
* @param {!proto.game.SearchGamesFullCategorySection} msg The msg instance to transform.
|
|
25292
|
+
* @return {!Object}
|
|
25293
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25294
|
+
*/
|
|
25295
|
+
proto.game.SearchGamesFullCategorySection.toObject = function(includeInstance, msg) {
|
|
25296
|
+
var f, obj = {
|
|
25297
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
25298
|
+
proto.game.SearchGamesFullCategoryItem.toObject, includeInstance),
|
|
25299
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
25300
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
25301
|
+
};
|
|
25302
|
+
|
|
25303
|
+
if (includeInstance) {
|
|
25304
|
+
obj.$jspbMessageInstance = msg;
|
|
25305
|
+
}
|
|
25306
|
+
return obj;
|
|
25307
|
+
};
|
|
25308
|
+
}
|
|
25309
|
+
|
|
25310
|
+
|
|
25311
|
+
/**
|
|
25312
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25313
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25314
|
+
* @return {!proto.game.SearchGamesFullCategorySection}
|
|
25315
|
+
*/
|
|
25316
|
+
proto.game.SearchGamesFullCategorySection.deserializeBinary = function(bytes) {
|
|
25317
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25318
|
+
var msg = new proto.game.SearchGamesFullCategorySection;
|
|
25319
|
+
return proto.game.SearchGamesFullCategorySection.deserializeBinaryFromReader(msg, reader);
|
|
25320
|
+
};
|
|
25321
|
+
|
|
25322
|
+
|
|
25323
|
+
/**
|
|
25324
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25325
|
+
* given reader into the given message object.
|
|
25326
|
+
* @param {!proto.game.SearchGamesFullCategorySection} msg The message object to deserialize into.
|
|
25327
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25328
|
+
* @return {!proto.game.SearchGamesFullCategorySection}
|
|
25329
|
+
*/
|
|
25330
|
+
proto.game.SearchGamesFullCategorySection.deserializeBinaryFromReader = function(msg, reader) {
|
|
25331
|
+
while (reader.nextField()) {
|
|
25332
|
+
if (reader.isEndGroup()) {
|
|
25333
|
+
break;
|
|
25334
|
+
}
|
|
25335
|
+
var field = reader.getFieldNumber();
|
|
25336
|
+
switch (field) {
|
|
25337
|
+
case 1:
|
|
25338
|
+
var value = new proto.game.SearchGamesFullCategoryItem;
|
|
25339
|
+
reader.readMessage(value,proto.game.SearchGamesFullCategoryItem.deserializeBinaryFromReader);
|
|
25340
|
+
msg.addItems(value);
|
|
25341
|
+
break;
|
|
25342
|
+
case 2:
|
|
25343
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
25344
|
+
msg.setTotalItems(value);
|
|
25345
|
+
break;
|
|
25346
|
+
case 3:
|
|
25347
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
25348
|
+
msg.setTotalPages(value);
|
|
25349
|
+
break;
|
|
25350
|
+
default:
|
|
25351
|
+
reader.skipField();
|
|
25352
|
+
break;
|
|
25353
|
+
}
|
|
25354
|
+
}
|
|
25355
|
+
return msg;
|
|
25356
|
+
};
|
|
25357
|
+
|
|
25358
|
+
|
|
25359
|
+
/**
|
|
25360
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25361
|
+
* @return {!Uint8Array}
|
|
25362
|
+
*/
|
|
25363
|
+
proto.game.SearchGamesFullCategorySection.prototype.serializeBinary = function() {
|
|
25364
|
+
var writer = new jspb.BinaryWriter();
|
|
25365
|
+
proto.game.SearchGamesFullCategorySection.serializeBinaryToWriter(this, writer);
|
|
25366
|
+
return writer.getResultBuffer();
|
|
25367
|
+
};
|
|
25368
|
+
|
|
25369
|
+
|
|
25370
|
+
/**
|
|
25371
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25372
|
+
* format), writing to the given BinaryWriter.
|
|
25373
|
+
* @param {!proto.game.SearchGamesFullCategorySection} message
|
|
25374
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25375
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25376
|
+
*/
|
|
25377
|
+
proto.game.SearchGamesFullCategorySection.serializeBinaryToWriter = function(message, writer) {
|
|
25378
|
+
var f = undefined;
|
|
25379
|
+
f = message.getItemsList();
|
|
25380
|
+
if (f.length > 0) {
|
|
25381
|
+
writer.writeRepeatedMessage(
|
|
25382
|
+
1,
|
|
25383
|
+
f,
|
|
25384
|
+
proto.game.SearchGamesFullCategoryItem.serializeBinaryToWriter
|
|
25385
|
+
);
|
|
25386
|
+
}
|
|
25387
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
25388
|
+
if (f != null) {
|
|
25389
|
+
writer.writeInt32(
|
|
25390
|
+
2,
|
|
25391
|
+
f
|
|
25392
|
+
);
|
|
25393
|
+
}
|
|
25394
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
25395
|
+
if (f != null) {
|
|
25396
|
+
writer.writeInt32(
|
|
25397
|
+
3,
|
|
25398
|
+
f
|
|
25399
|
+
);
|
|
25400
|
+
}
|
|
25401
|
+
};
|
|
25402
|
+
|
|
25403
|
+
|
|
25404
|
+
/**
|
|
25405
|
+
* repeated SearchGamesFullCategoryItem items = 1;
|
|
25406
|
+
* @return {!Array<!proto.game.SearchGamesFullCategoryItem>}
|
|
25407
|
+
*/
|
|
25408
|
+
proto.game.SearchGamesFullCategorySection.prototype.getItemsList = function() {
|
|
25409
|
+
return /** @type{!Array<!proto.game.SearchGamesFullCategoryItem>} */ (
|
|
25410
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.SearchGamesFullCategoryItem, 1));
|
|
25411
|
+
};
|
|
25412
|
+
|
|
25413
|
+
|
|
25414
|
+
/**
|
|
25415
|
+
* @param {!Array<!proto.game.SearchGamesFullCategoryItem>} value
|
|
25416
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25417
|
+
*/
|
|
25418
|
+
proto.game.SearchGamesFullCategorySection.prototype.setItemsList = function(value) {
|
|
25419
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
25420
|
+
};
|
|
25421
|
+
|
|
25422
|
+
|
|
25423
|
+
/**
|
|
25424
|
+
* @param {!proto.game.SearchGamesFullCategoryItem=} opt_value
|
|
25425
|
+
* @param {number=} opt_index
|
|
25426
|
+
* @return {!proto.game.SearchGamesFullCategoryItem}
|
|
25427
|
+
*/
|
|
25428
|
+
proto.game.SearchGamesFullCategorySection.prototype.addItems = function(opt_value, opt_index) {
|
|
25429
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.SearchGamesFullCategoryItem, opt_index);
|
|
25430
|
+
};
|
|
25431
|
+
|
|
25432
|
+
|
|
25433
|
+
/**
|
|
25434
|
+
* Clears the list making it empty but non-null.
|
|
25435
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25436
|
+
*/
|
|
25437
|
+
proto.game.SearchGamesFullCategorySection.prototype.clearItemsList = function() {
|
|
25438
|
+
return this.setItemsList([]);
|
|
25439
|
+
};
|
|
25440
|
+
|
|
25441
|
+
|
|
25442
|
+
/**
|
|
25443
|
+
* optional int32 total_items = 2;
|
|
25444
|
+
* @return {number}
|
|
25445
|
+
*/
|
|
25446
|
+
proto.game.SearchGamesFullCategorySection.prototype.getTotalItems = function() {
|
|
25447
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
25448
|
+
};
|
|
25449
|
+
|
|
25450
|
+
|
|
25451
|
+
/**
|
|
25452
|
+
* @param {number} value
|
|
25453
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25454
|
+
*/
|
|
25455
|
+
proto.game.SearchGamesFullCategorySection.prototype.setTotalItems = function(value) {
|
|
25456
|
+
return jspb.Message.setField(this, 2, value);
|
|
25457
|
+
};
|
|
25458
|
+
|
|
25459
|
+
|
|
25460
|
+
/**
|
|
25461
|
+
* Clears the field making it undefined.
|
|
25462
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25463
|
+
*/
|
|
25464
|
+
proto.game.SearchGamesFullCategorySection.prototype.clearTotalItems = function() {
|
|
25465
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
25466
|
+
};
|
|
25467
|
+
|
|
25468
|
+
|
|
25469
|
+
/**
|
|
25470
|
+
* Returns whether this field is set.
|
|
25471
|
+
* @return {boolean}
|
|
25472
|
+
*/
|
|
25473
|
+
proto.game.SearchGamesFullCategorySection.prototype.hasTotalItems = function() {
|
|
25474
|
+
return jspb.Message.getField(this, 2) != null;
|
|
25475
|
+
};
|
|
25476
|
+
|
|
25477
|
+
|
|
25478
|
+
/**
|
|
25479
|
+
* optional int32 total_pages = 3;
|
|
25480
|
+
* @return {number}
|
|
25481
|
+
*/
|
|
25482
|
+
proto.game.SearchGamesFullCategorySection.prototype.getTotalPages = function() {
|
|
25483
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
25484
|
+
};
|
|
25485
|
+
|
|
25486
|
+
|
|
25487
|
+
/**
|
|
25488
|
+
* @param {number} value
|
|
25489
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25490
|
+
*/
|
|
25491
|
+
proto.game.SearchGamesFullCategorySection.prototype.setTotalPages = function(value) {
|
|
25492
|
+
return jspb.Message.setField(this, 3, value);
|
|
25493
|
+
};
|
|
25494
|
+
|
|
25495
|
+
|
|
25496
|
+
/**
|
|
25497
|
+
* Clears the field making it undefined.
|
|
25498
|
+
* @return {!proto.game.SearchGamesFullCategorySection} returns this
|
|
25499
|
+
*/
|
|
25500
|
+
proto.game.SearchGamesFullCategorySection.prototype.clearTotalPages = function() {
|
|
25501
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
25502
|
+
};
|
|
25503
|
+
|
|
25504
|
+
|
|
25505
|
+
/**
|
|
25506
|
+
* Returns whether this field is set.
|
|
25507
|
+
* @return {boolean}
|
|
25508
|
+
*/
|
|
25509
|
+
proto.game.SearchGamesFullCategorySection.prototype.hasTotalPages = function() {
|
|
25510
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25511
|
+
};
|
|
25512
|
+
|
|
25513
|
+
|
|
25514
|
+
|
|
25515
|
+
|
|
25516
|
+
|
|
25517
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25518
|
+
/**
|
|
25519
|
+
* Creates an object representation of this proto.
|
|
25520
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25521
|
+
* Optional fields that are not set will be set to undefined.
|
|
25522
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25523
|
+
* For the list of reserved names please see:
|
|
25524
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25525
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25526
|
+
* JSPB instance for transitional soy proto support:
|
|
25527
|
+
* http://goto/soy-param-migration
|
|
25528
|
+
* @return {!Object}
|
|
25529
|
+
*/
|
|
25530
|
+
proto.game.SearchGamesFullResponse.prototype.toObject = function(opt_includeInstance) {
|
|
25531
|
+
return proto.game.SearchGamesFullResponse.toObject(opt_includeInstance, this);
|
|
25532
|
+
};
|
|
25533
|
+
|
|
25534
|
+
|
|
25535
|
+
/**
|
|
25536
|
+
* Static version of the {@see toObject} method.
|
|
25537
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25538
|
+
* the JSPB instance for transitional soy proto support:
|
|
25539
|
+
* http://goto/soy-param-migration
|
|
25540
|
+
* @param {!proto.game.SearchGamesFullResponse} msg The msg instance to transform.
|
|
25541
|
+
* @return {!Object}
|
|
25542
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25543
|
+
*/
|
|
25544
|
+
proto.game.SearchGamesFullResponse.toObject = function(includeInstance, msg) {
|
|
25545
|
+
var f, obj = {
|
|
25546
|
+
games: (f = msg.getGames()) && proto.game.SearchGamesFullGameSection.toObject(includeInstance, f),
|
|
25547
|
+
providers: (f = msg.getProviders()) && proto.game.SearchGamesFullProviderSection.toObject(includeInstance, f),
|
|
25548
|
+
categories: (f = msg.getCategories()) && proto.game.SearchGamesFullCategorySection.toObject(includeInstance, f)
|
|
25549
|
+
};
|
|
25550
|
+
|
|
25551
|
+
if (includeInstance) {
|
|
25552
|
+
obj.$jspbMessageInstance = msg;
|
|
25553
|
+
}
|
|
25554
|
+
return obj;
|
|
25555
|
+
};
|
|
25556
|
+
}
|
|
25557
|
+
|
|
25558
|
+
|
|
25559
|
+
/**
|
|
25560
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25561
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25562
|
+
* @return {!proto.game.SearchGamesFullResponse}
|
|
25563
|
+
*/
|
|
25564
|
+
proto.game.SearchGamesFullResponse.deserializeBinary = function(bytes) {
|
|
25565
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25566
|
+
var msg = new proto.game.SearchGamesFullResponse;
|
|
25567
|
+
return proto.game.SearchGamesFullResponse.deserializeBinaryFromReader(msg, reader);
|
|
25568
|
+
};
|
|
25569
|
+
|
|
25570
|
+
|
|
25571
|
+
/**
|
|
25572
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25573
|
+
* given reader into the given message object.
|
|
25574
|
+
* @param {!proto.game.SearchGamesFullResponse} msg The message object to deserialize into.
|
|
25575
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25576
|
+
* @return {!proto.game.SearchGamesFullResponse}
|
|
25577
|
+
*/
|
|
25578
|
+
proto.game.SearchGamesFullResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
25579
|
+
while (reader.nextField()) {
|
|
25580
|
+
if (reader.isEndGroup()) {
|
|
25581
|
+
break;
|
|
25582
|
+
}
|
|
25583
|
+
var field = reader.getFieldNumber();
|
|
25584
|
+
switch (field) {
|
|
25585
|
+
case 1:
|
|
25586
|
+
var value = new proto.game.SearchGamesFullGameSection;
|
|
25587
|
+
reader.readMessage(value,proto.game.SearchGamesFullGameSection.deserializeBinaryFromReader);
|
|
25588
|
+
msg.setGames(value);
|
|
25589
|
+
break;
|
|
25590
|
+
case 2:
|
|
25591
|
+
var value = new proto.game.SearchGamesFullProviderSection;
|
|
25592
|
+
reader.readMessage(value,proto.game.SearchGamesFullProviderSection.deserializeBinaryFromReader);
|
|
25593
|
+
msg.setProviders(value);
|
|
25594
|
+
break;
|
|
25595
|
+
case 3:
|
|
25596
|
+
var value = new proto.game.SearchGamesFullCategorySection;
|
|
25597
|
+
reader.readMessage(value,proto.game.SearchGamesFullCategorySection.deserializeBinaryFromReader);
|
|
25598
|
+
msg.setCategories(value);
|
|
25599
|
+
break;
|
|
25600
|
+
default:
|
|
25601
|
+
reader.skipField();
|
|
25602
|
+
break;
|
|
25603
|
+
}
|
|
25604
|
+
}
|
|
25605
|
+
return msg;
|
|
25606
|
+
};
|
|
25607
|
+
|
|
25608
|
+
|
|
25609
|
+
/**
|
|
25610
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25611
|
+
* @return {!Uint8Array}
|
|
25612
|
+
*/
|
|
25613
|
+
proto.game.SearchGamesFullResponse.prototype.serializeBinary = function() {
|
|
25614
|
+
var writer = new jspb.BinaryWriter();
|
|
25615
|
+
proto.game.SearchGamesFullResponse.serializeBinaryToWriter(this, writer);
|
|
25616
|
+
return writer.getResultBuffer();
|
|
25617
|
+
};
|
|
25618
|
+
|
|
25619
|
+
|
|
25620
|
+
/**
|
|
25621
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25622
|
+
* format), writing to the given BinaryWriter.
|
|
25623
|
+
* @param {!proto.game.SearchGamesFullResponse} message
|
|
25624
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25625
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25626
|
+
*/
|
|
25627
|
+
proto.game.SearchGamesFullResponse.serializeBinaryToWriter = function(message, writer) {
|
|
25628
|
+
var f = undefined;
|
|
25629
|
+
f = message.getGames();
|
|
25630
|
+
if (f != null) {
|
|
25631
|
+
writer.writeMessage(
|
|
25632
|
+
1,
|
|
25633
|
+
f,
|
|
25634
|
+
proto.game.SearchGamesFullGameSection.serializeBinaryToWriter
|
|
25635
|
+
);
|
|
25636
|
+
}
|
|
25637
|
+
f = message.getProviders();
|
|
25638
|
+
if (f != null) {
|
|
25639
|
+
writer.writeMessage(
|
|
25640
|
+
2,
|
|
25641
|
+
f,
|
|
25642
|
+
proto.game.SearchGamesFullProviderSection.serializeBinaryToWriter
|
|
25643
|
+
);
|
|
25644
|
+
}
|
|
25645
|
+
f = message.getCategories();
|
|
25646
|
+
if (f != null) {
|
|
25647
|
+
writer.writeMessage(
|
|
25648
|
+
3,
|
|
25649
|
+
f,
|
|
25650
|
+
proto.game.SearchGamesFullCategorySection.serializeBinaryToWriter
|
|
25651
|
+
);
|
|
25652
|
+
}
|
|
25653
|
+
};
|
|
25654
|
+
|
|
25655
|
+
|
|
25656
|
+
/**
|
|
25657
|
+
* optional SearchGamesFullGameSection games = 1;
|
|
25658
|
+
* @return {?proto.game.SearchGamesFullGameSection}
|
|
25659
|
+
*/
|
|
25660
|
+
proto.game.SearchGamesFullResponse.prototype.getGames = function() {
|
|
25661
|
+
return /** @type{?proto.game.SearchGamesFullGameSection} */ (
|
|
25662
|
+
jspb.Message.getWrapperField(this, proto.game.SearchGamesFullGameSection, 1));
|
|
25663
|
+
};
|
|
25664
|
+
|
|
25665
|
+
|
|
25666
|
+
/**
|
|
25667
|
+
* @param {?proto.game.SearchGamesFullGameSection|undefined} value
|
|
25668
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25669
|
+
*/
|
|
25670
|
+
proto.game.SearchGamesFullResponse.prototype.setGames = function(value) {
|
|
25671
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
25672
|
+
};
|
|
25673
|
+
|
|
25674
|
+
|
|
25675
|
+
/**
|
|
25676
|
+
* Clears the message field making it undefined.
|
|
25677
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25678
|
+
*/
|
|
25679
|
+
proto.game.SearchGamesFullResponse.prototype.clearGames = function() {
|
|
25680
|
+
return this.setGames(undefined);
|
|
25681
|
+
};
|
|
25682
|
+
|
|
25683
|
+
|
|
25684
|
+
/**
|
|
25685
|
+
* Returns whether this field is set.
|
|
25686
|
+
* @return {boolean}
|
|
25687
|
+
*/
|
|
25688
|
+
proto.game.SearchGamesFullResponse.prototype.hasGames = function() {
|
|
25689
|
+
return jspb.Message.getField(this, 1) != null;
|
|
25690
|
+
};
|
|
25691
|
+
|
|
25692
|
+
|
|
25693
|
+
/**
|
|
25694
|
+
* optional SearchGamesFullProviderSection providers = 2;
|
|
25695
|
+
* @return {?proto.game.SearchGamesFullProviderSection}
|
|
25696
|
+
*/
|
|
25697
|
+
proto.game.SearchGamesFullResponse.prototype.getProviders = function() {
|
|
25698
|
+
return /** @type{?proto.game.SearchGamesFullProviderSection} */ (
|
|
25699
|
+
jspb.Message.getWrapperField(this, proto.game.SearchGamesFullProviderSection, 2));
|
|
25700
|
+
};
|
|
25701
|
+
|
|
25702
|
+
|
|
25703
|
+
/**
|
|
25704
|
+
* @param {?proto.game.SearchGamesFullProviderSection|undefined} value
|
|
25705
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25706
|
+
*/
|
|
25707
|
+
proto.game.SearchGamesFullResponse.prototype.setProviders = function(value) {
|
|
25708
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
25709
|
+
};
|
|
25710
|
+
|
|
25711
|
+
|
|
25712
|
+
/**
|
|
25713
|
+
* Clears the message field making it undefined.
|
|
25714
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25715
|
+
*/
|
|
25716
|
+
proto.game.SearchGamesFullResponse.prototype.clearProviders = function() {
|
|
25717
|
+
return this.setProviders(undefined);
|
|
25718
|
+
};
|
|
25719
|
+
|
|
25720
|
+
|
|
25721
|
+
/**
|
|
25722
|
+
* Returns whether this field is set.
|
|
25723
|
+
* @return {boolean}
|
|
25724
|
+
*/
|
|
25725
|
+
proto.game.SearchGamesFullResponse.prototype.hasProviders = function() {
|
|
25726
|
+
return jspb.Message.getField(this, 2) != null;
|
|
25727
|
+
};
|
|
25728
|
+
|
|
25729
|
+
|
|
25730
|
+
/**
|
|
25731
|
+
* optional SearchGamesFullCategorySection categories = 3;
|
|
25732
|
+
* @return {?proto.game.SearchGamesFullCategorySection}
|
|
25733
|
+
*/
|
|
25734
|
+
proto.game.SearchGamesFullResponse.prototype.getCategories = function() {
|
|
25735
|
+
return /** @type{?proto.game.SearchGamesFullCategorySection} */ (
|
|
25736
|
+
jspb.Message.getWrapperField(this, proto.game.SearchGamesFullCategorySection, 3));
|
|
25737
|
+
};
|
|
25738
|
+
|
|
25739
|
+
|
|
25740
|
+
/**
|
|
25741
|
+
* @param {?proto.game.SearchGamesFullCategorySection|undefined} value
|
|
25742
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25743
|
+
*/
|
|
25744
|
+
proto.game.SearchGamesFullResponse.prototype.setCategories = function(value) {
|
|
25745
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
25746
|
+
};
|
|
25747
|
+
|
|
25748
|
+
|
|
25749
|
+
/**
|
|
25750
|
+
* Clears the message field making it undefined.
|
|
25751
|
+
* @return {!proto.game.SearchGamesFullResponse} returns this
|
|
25752
|
+
*/
|
|
25753
|
+
proto.game.SearchGamesFullResponse.prototype.clearCategories = function() {
|
|
25754
|
+
return this.setCategories(undefined);
|
|
25755
|
+
};
|
|
25756
|
+
|
|
25757
|
+
|
|
25758
|
+
/**
|
|
25759
|
+
* Returns whether this field is set.
|
|
25760
|
+
* @return {boolean}
|
|
25761
|
+
*/
|
|
25762
|
+
proto.game.SearchGamesFullResponse.prototype.hasCategories = function() {
|
|
25763
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25764
|
+
};
|
|
25765
|
+
|
|
25766
|
+
|
|
25767
|
+
|
|
23698
25768
|
/**
|
|
23699
25769
|
* List of repeated fields within this message type.
|
|
23700
25770
|
* @private {!Array<number>}
|