protobuf-platform 1.2.628 → 1.2.629
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/AGENTS.md +7 -4
- package/game/game.proto +71 -0
- package/game/game_grpc_pb.js +154 -0
- package/game/game_pb.js +2974 -0
- package/package.json +1 -1
package/game/game_pb.js
CHANGED
|
@@ -118,6 +118,7 @@ goog.exportSymbol('proto.game.GetFileRequest', null, global);
|
|
|
118
118
|
goog.exportSymbol('proto.game.GetGameConfigCheckRequest', null, global);
|
|
119
119
|
goog.exportSymbol('proto.game.GetGameRequest', null, global);
|
|
120
120
|
goog.exportSymbol('proto.game.GetGameSnapshotsByIdsRequest', null, global);
|
|
121
|
+
goog.exportSymbol('proto.game.GetMultiScopeRequest', null, global);
|
|
121
122
|
goog.exportSymbol('proto.game.GetProviderRequest', null, global);
|
|
122
123
|
goog.exportSymbol('proto.game.GetTagRequest', null, global);
|
|
123
124
|
goog.exportSymbol('proto.game.GetTagSnapshotsByIdsRequest', null, global);
|
|
@@ -134,6 +135,16 @@ goog.exportSymbol('proto.game.ItemsBunchRequest', null, global);
|
|
|
134
135
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitItem', null, global);
|
|
135
136
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsRequest', null, global);
|
|
136
137
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsResponse', null, global);
|
|
138
|
+
goog.exportSymbol('proto.game.MultiScopeItem', null, global);
|
|
139
|
+
goog.exportSymbol('proto.game.MultiScopeItemRequest', null, global);
|
|
140
|
+
goog.exportSymbol('proto.game.MultiScopeItemsResponse', null, global);
|
|
141
|
+
goog.exportSymbol('proto.game.MultiScopeListRequest', null, global);
|
|
142
|
+
goog.exportSymbol('proto.game.MultiScopeMember', null, global);
|
|
143
|
+
goog.exportSymbol('proto.game.MultiScopeMembersRequest', null, global);
|
|
144
|
+
goog.exportSymbol('proto.game.MultiScopeRequest', null, global);
|
|
145
|
+
goog.exportSymbol('proto.game.MultiScopeRequest.RequestCase', null, global);
|
|
146
|
+
goog.exportSymbol('proto.game.MultiScopeResponse', null, global);
|
|
147
|
+
goog.exportSymbol('proto.game.MultiScopeStatusResponse', null, global);
|
|
137
148
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersRequest', null, global);
|
|
138
149
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersResponse', null, global);
|
|
139
150
|
goog.exportSymbol('proto.game.PaginationRequest', null, global);
|
|
@@ -2735,6 +2746,216 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2735
2746
|
*/
|
|
2736
2747
|
proto.game.GamePoorItemsResponse.displayName = 'proto.game.GamePoorItemsResponse';
|
|
2737
2748
|
}
|
|
2749
|
+
/**
|
|
2750
|
+
* Generated by JsPbCodeGenerator.
|
|
2751
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2752
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2753
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2754
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2755
|
+
* valid.
|
|
2756
|
+
* @extends {jspb.Message}
|
|
2757
|
+
* @constructor
|
|
2758
|
+
*/
|
|
2759
|
+
proto.game.MultiScopeMember = function(opt_data) {
|
|
2760
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2761
|
+
};
|
|
2762
|
+
goog.inherits(proto.game.MultiScopeMember, jspb.Message);
|
|
2763
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2764
|
+
/**
|
|
2765
|
+
* @public
|
|
2766
|
+
* @override
|
|
2767
|
+
*/
|
|
2768
|
+
proto.game.MultiScopeMember.displayName = 'proto.game.MultiScopeMember';
|
|
2769
|
+
}
|
|
2770
|
+
/**
|
|
2771
|
+
* Generated by JsPbCodeGenerator.
|
|
2772
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2773
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2774
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2775
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2776
|
+
* valid.
|
|
2777
|
+
* @extends {jspb.Message}
|
|
2778
|
+
* @constructor
|
|
2779
|
+
*/
|
|
2780
|
+
proto.game.MultiScopeItem = function(opt_data) {
|
|
2781
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeItem.repeatedFields_, null);
|
|
2782
|
+
};
|
|
2783
|
+
goog.inherits(proto.game.MultiScopeItem, jspb.Message);
|
|
2784
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2785
|
+
/**
|
|
2786
|
+
* @public
|
|
2787
|
+
* @override
|
|
2788
|
+
*/
|
|
2789
|
+
proto.game.MultiScopeItem.displayName = 'proto.game.MultiScopeItem';
|
|
2790
|
+
}
|
|
2791
|
+
/**
|
|
2792
|
+
* Generated by JsPbCodeGenerator.
|
|
2793
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2794
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2795
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2796
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2797
|
+
* valid.
|
|
2798
|
+
* @extends {jspb.Message}
|
|
2799
|
+
* @constructor
|
|
2800
|
+
*/
|
|
2801
|
+
proto.game.MultiScopeItemRequest = function(opt_data) {
|
|
2802
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2803
|
+
};
|
|
2804
|
+
goog.inherits(proto.game.MultiScopeItemRequest, jspb.Message);
|
|
2805
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2806
|
+
/**
|
|
2807
|
+
* @public
|
|
2808
|
+
* @override
|
|
2809
|
+
*/
|
|
2810
|
+
proto.game.MultiScopeItemRequest.displayName = 'proto.game.MultiScopeItemRequest';
|
|
2811
|
+
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Generated by JsPbCodeGenerator.
|
|
2814
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2815
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2816
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2817
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2818
|
+
* valid.
|
|
2819
|
+
* @extends {jspb.Message}
|
|
2820
|
+
* @constructor
|
|
2821
|
+
*/
|
|
2822
|
+
proto.game.MultiScopeRequest = function(opt_data) {
|
|
2823
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.game.MultiScopeRequest.oneofGroups_);
|
|
2824
|
+
};
|
|
2825
|
+
goog.inherits(proto.game.MultiScopeRequest, jspb.Message);
|
|
2826
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2827
|
+
/**
|
|
2828
|
+
* @public
|
|
2829
|
+
* @override
|
|
2830
|
+
*/
|
|
2831
|
+
proto.game.MultiScopeRequest.displayName = 'proto.game.MultiScopeRequest';
|
|
2832
|
+
}
|
|
2833
|
+
/**
|
|
2834
|
+
* Generated by JsPbCodeGenerator.
|
|
2835
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2836
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2837
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2838
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2839
|
+
* valid.
|
|
2840
|
+
* @extends {jspb.Message}
|
|
2841
|
+
* @constructor
|
|
2842
|
+
*/
|
|
2843
|
+
proto.game.GetMultiScopeRequest = function(opt_data) {
|
|
2844
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2845
|
+
};
|
|
2846
|
+
goog.inherits(proto.game.GetMultiScopeRequest, jspb.Message);
|
|
2847
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2848
|
+
/**
|
|
2849
|
+
* @public
|
|
2850
|
+
* @override
|
|
2851
|
+
*/
|
|
2852
|
+
proto.game.GetMultiScopeRequest.displayName = 'proto.game.GetMultiScopeRequest';
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
* Generated by JsPbCodeGenerator.
|
|
2856
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2857
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2858
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2859
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2860
|
+
* valid.
|
|
2861
|
+
* @extends {jspb.Message}
|
|
2862
|
+
* @constructor
|
|
2863
|
+
*/
|
|
2864
|
+
proto.game.MultiScopeListRequest = function(opt_data) {
|
|
2865
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeListRequest.repeatedFields_, null);
|
|
2866
|
+
};
|
|
2867
|
+
goog.inherits(proto.game.MultiScopeListRequest, jspb.Message);
|
|
2868
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2869
|
+
/**
|
|
2870
|
+
* @public
|
|
2871
|
+
* @override
|
|
2872
|
+
*/
|
|
2873
|
+
proto.game.MultiScopeListRequest.displayName = 'proto.game.MultiScopeListRequest';
|
|
2874
|
+
}
|
|
2875
|
+
/**
|
|
2876
|
+
* Generated by JsPbCodeGenerator.
|
|
2877
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2878
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2879
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2880
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2881
|
+
* valid.
|
|
2882
|
+
* @extends {jspb.Message}
|
|
2883
|
+
* @constructor
|
|
2884
|
+
*/
|
|
2885
|
+
proto.game.MultiScopeMembersRequest = function(opt_data) {
|
|
2886
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeMembersRequest.repeatedFields_, null);
|
|
2887
|
+
};
|
|
2888
|
+
goog.inherits(proto.game.MultiScopeMembersRequest, jspb.Message);
|
|
2889
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2890
|
+
/**
|
|
2891
|
+
* @public
|
|
2892
|
+
* @override
|
|
2893
|
+
*/
|
|
2894
|
+
proto.game.MultiScopeMembersRequest.displayName = 'proto.game.MultiScopeMembersRequest';
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* Generated by JsPbCodeGenerator.
|
|
2898
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2899
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2900
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2901
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2902
|
+
* valid.
|
|
2903
|
+
* @extends {jspb.Message}
|
|
2904
|
+
* @constructor
|
|
2905
|
+
*/
|
|
2906
|
+
proto.game.MultiScopeResponse = function(opt_data) {
|
|
2907
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2908
|
+
};
|
|
2909
|
+
goog.inherits(proto.game.MultiScopeResponse, jspb.Message);
|
|
2910
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2911
|
+
/**
|
|
2912
|
+
* @public
|
|
2913
|
+
* @override
|
|
2914
|
+
*/
|
|
2915
|
+
proto.game.MultiScopeResponse.displayName = 'proto.game.MultiScopeResponse';
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* Generated by JsPbCodeGenerator.
|
|
2919
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2920
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2921
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2922
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2923
|
+
* valid.
|
|
2924
|
+
* @extends {jspb.Message}
|
|
2925
|
+
* @constructor
|
|
2926
|
+
*/
|
|
2927
|
+
proto.game.MultiScopeItemsResponse = function(opt_data) {
|
|
2928
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeItemsResponse.repeatedFields_, null);
|
|
2929
|
+
};
|
|
2930
|
+
goog.inherits(proto.game.MultiScopeItemsResponse, jspb.Message);
|
|
2931
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2932
|
+
/**
|
|
2933
|
+
* @public
|
|
2934
|
+
* @override
|
|
2935
|
+
*/
|
|
2936
|
+
proto.game.MultiScopeItemsResponse.displayName = 'proto.game.MultiScopeItemsResponse';
|
|
2937
|
+
}
|
|
2938
|
+
/**
|
|
2939
|
+
* Generated by JsPbCodeGenerator.
|
|
2940
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2941
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2942
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2943
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2944
|
+
* valid.
|
|
2945
|
+
* @extends {jspb.Message}
|
|
2946
|
+
* @constructor
|
|
2947
|
+
*/
|
|
2948
|
+
proto.game.MultiScopeStatusResponse = function(opt_data) {
|
|
2949
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2950
|
+
};
|
|
2951
|
+
goog.inherits(proto.game.MultiScopeStatusResponse, jspb.Message);
|
|
2952
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2953
|
+
/**
|
|
2954
|
+
* @public
|
|
2955
|
+
* @override
|
|
2956
|
+
*/
|
|
2957
|
+
proto.game.MultiScopeStatusResponse.displayName = 'proto.game.MultiScopeStatusResponse';
|
|
2958
|
+
}
|
|
2738
2959
|
/**
|
|
2739
2960
|
* Generated by JsPbCodeGenerator.
|
|
2740
2961
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -40823,6 +41044,2759 @@ proto.game.GamePoorItemsResponse.prototype.clearItemsList = function() {
|
|
|
40823
41044
|
|
|
40824
41045
|
|
|
40825
41046
|
|
|
41047
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41048
|
+
/**
|
|
41049
|
+
* Creates an object representation of this proto.
|
|
41050
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41051
|
+
* Optional fields that are not set will be set to undefined.
|
|
41052
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41053
|
+
* For the list of reserved names please see:
|
|
41054
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41055
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41056
|
+
* JSPB instance for transitional soy proto support:
|
|
41057
|
+
* http://goto/soy-param-migration
|
|
41058
|
+
* @return {!Object}
|
|
41059
|
+
*/
|
|
41060
|
+
proto.game.MultiScopeMember.prototype.toObject = function(opt_includeInstance) {
|
|
41061
|
+
return proto.game.MultiScopeMember.toObject(opt_includeInstance, this);
|
|
41062
|
+
};
|
|
41063
|
+
|
|
41064
|
+
|
|
41065
|
+
/**
|
|
41066
|
+
* Static version of the {@see toObject} method.
|
|
41067
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41068
|
+
* the JSPB instance for transitional soy proto support:
|
|
41069
|
+
* http://goto/soy-param-migration
|
|
41070
|
+
* @param {!proto.game.MultiScopeMember} msg The msg instance to transform.
|
|
41071
|
+
* @return {!Object}
|
|
41072
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41073
|
+
*/
|
|
41074
|
+
proto.game.MultiScopeMember.toObject = function(includeInstance, msg) {
|
|
41075
|
+
var f, obj = {
|
|
41076
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
41077
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
41078
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
41079
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
41080
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
41081
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41082
|
+
icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41083
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
41084
|
+
};
|
|
41085
|
+
|
|
41086
|
+
if (includeInstance) {
|
|
41087
|
+
obj.$jspbMessageInstance = msg;
|
|
41088
|
+
}
|
|
41089
|
+
return obj;
|
|
41090
|
+
};
|
|
41091
|
+
}
|
|
41092
|
+
|
|
41093
|
+
|
|
41094
|
+
/**
|
|
41095
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41096
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41097
|
+
* @return {!proto.game.MultiScopeMember}
|
|
41098
|
+
*/
|
|
41099
|
+
proto.game.MultiScopeMember.deserializeBinary = function(bytes) {
|
|
41100
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41101
|
+
var msg = new proto.game.MultiScopeMember;
|
|
41102
|
+
return proto.game.MultiScopeMember.deserializeBinaryFromReader(msg, reader);
|
|
41103
|
+
};
|
|
41104
|
+
|
|
41105
|
+
|
|
41106
|
+
/**
|
|
41107
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41108
|
+
* given reader into the given message object.
|
|
41109
|
+
* @param {!proto.game.MultiScopeMember} msg The message object to deserialize into.
|
|
41110
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41111
|
+
* @return {!proto.game.MultiScopeMember}
|
|
41112
|
+
*/
|
|
41113
|
+
proto.game.MultiScopeMember.deserializeBinaryFromReader = function(msg, reader) {
|
|
41114
|
+
while (reader.nextField()) {
|
|
41115
|
+
if (reader.isEndGroup()) {
|
|
41116
|
+
break;
|
|
41117
|
+
}
|
|
41118
|
+
var field = reader.getFieldNumber();
|
|
41119
|
+
switch (field) {
|
|
41120
|
+
case 1:
|
|
41121
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41122
|
+
msg.setId(value);
|
|
41123
|
+
break;
|
|
41124
|
+
case 2:
|
|
41125
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41126
|
+
msg.setTitle(value);
|
|
41127
|
+
break;
|
|
41128
|
+
case 3:
|
|
41129
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41130
|
+
msg.setSlug(value);
|
|
41131
|
+
break;
|
|
41132
|
+
case 4:
|
|
41133
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
41134
|
+
msg.setIsActive(value);
|
|
41135
|
+
break;
|
|
41136
|
+
case 5:
|
|
41137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41138
|
+
msg.setImage(value);
|
|
41139
|
+
break;
|
|
41140
|
+
case 6:
|
|
41141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41142
|
+
msg.setImageCdn(value);
|
|
41143
|
+
break;
|
|
41144
|
+
case 7:
|
|
41145
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41146
|
+
msg.setIcon(value);
|
|
41147
|
+
break;
|
|
41148
|
+
case 8:
|
|
41149
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41150
|
+
msg.setIconCdn(value);
|
|
41151
|
+
break;
|
|
41152
|
+
default:
|
|
41153
|
+
reader.skipField();
|
|
41154
|
+
break;
|
|
41155
|
+
}
|
|
41156
|
+
}
|
|
41157
|
+
return msg;
|
|
41158
|
+
};
|
|
41159
|
+
|
|
41160
|
+
|
|
41161
|
+
/**
|
|
41162
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41163
|
+
* @return {!Uint8Array}
|
|
41164
|
+
*/
|
|
41165
|
+
proto.game.MultiScopeMember.prototype.serializeBinary = function() {
|
|
41166
|
+
var writer = new jspb.BinaryWriter();
|
|
41167
|
+
proto.game.MultiScopeMember.serializeBinaryToWriter(this, writer);
|
|
41168
|
+
return writer.getResultBuffer();
|
|
41169
|
+
};
|
|
41170
|
+
|
|
41171
|
+
|
|
41172
|
+
/**
|
|
41173
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41174
|
+
* format), writing to the given BinaryWriter.
|
|
41175
|
+
* @param {!proto.game.MultiScopeMember} message
|
|
41176
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41177
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41178
|
+
*/
|
|
41179
|
+
proto.game.MultiScopeMember.serializeBinaryToWriter = function(message, writer) {
|
|
41180
|
+
var f = undefined;
|
|
41181
|
+
f = message.getId();
|
|
41182
|
+
if (f !== 0) {
|
|
41183
|
+
writer.writeInt32(
|
|
41184
|
+
1,
|
|
41185
|
+
f
|
|
41186
|
+
);
|
|
41187
|
+
}
|
|
41188
|
+
f = message.getTitle();
|
|
41189
|
+
if (f.length > 0) {
|
|
41190
|
+
writer.writeString(
|
|
41191
|
+
2,
|
|
41192
|
+
f
|
|
41193
|
+
);
|
|
41194
|
+
}
|
|
41195
|
+
f = message.getSlug();
|
|
41196
|
+
if (f.length > 0) {
|
|
41197
|
+
writer.writeString(
|
|
41198
|
+
3,
|
|
41199
|
+
f
|
|
41200
|
+
);
|
|
41201
|
+
}
|
|
41202
|
+
f = message.getIsActive();
|
|
41203
|
+
if (f) {
|
|
41204
|
+
writer.writeBool(
|
|
41205
|
+
4,
|
|
41206
|
+
f
|
|
41207
|
+
);
|
|
41208
|
+
}
|
|
41209
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
41210
|
+
if (f != null) {
|
|
41211
|
+
writer.writeString(
|
|
41212
|
+
5,
|
|
41213
|
+
f
|
|
41214
|
+
);
|
|
41215
|
+
}
|
|
41216
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
41217
|
+
if (f != null) {
|
|
41218
|
+
writer.writeString(
|
|
41219
|
+
6,
|
|
41220
|
+
f
|
|
41221
|
+
);
|
|
41222
|
+
}
|
|
41223
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
41224
|
+
if (f != null) {
|
|
41225
|
+
writer.writeString(
|
|
41226
|
+
7,
|
|
41227
|
+
f
|
|
41228
|
+
);
|
|
41229
|
+
}
|
|
41230
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
41231
|
+
if (f != null) {
|
|
41232
|
+
writer.writeString(
|
|
41233
|
+
8,
|
|
41234
|
+
f
|
|
41235
|
+
);
|
|
41236
|
+
}
|
|
41237
|
+
};
|
|
41238
|
+
|
|
41239
|
+
|
|
41240
|
+
/**
|
|
41241
|
+
* optional int32 id = 1;
|
|
41242
|
+
* @return {number}
|
|
41243
|
+
*/
|
|
41244
|
+
proto.game.MultiScopeMember.prototype.getId = function() {
|
|
41245
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41246
|
+
};
|
|
41247
|
+
|
|
41248
|
+
|
|
41249
|
+
/**
|
|
41250
|
+
* @param {number} value
|
|
41251
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41252
|
+
*/
|
|
41253
|
+
proto.game.MultiScopeMember.prototype.setId = function(value) {
|
|
41254
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
41255
|
+
};
|
|
41256
|
+
|
|
41257
|
+
|
|
41258
|
+
/**
|
|
41259
|
+
* optional string title = 2;
|
|
41260
|
+
* @return {string}
|
|
41261
|
+
*/
|
|
41262
|
+
proto.game.MultiScopeMember.prototype.getTitle = function() {
|
|
41263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
41264
|
+
};
|
|
41265
|
+
|
|
41266
|
+
|
|
41267
|
+
/**
|
|
41268
|
+
* @param {string} value
|
|
41269
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41270
|
+
*/
|
|
41271
|
+
proto.game.MultiScopeMember.prototype.setTitle = function(value) {
|
|
41272
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
41273
|
+
};
|
|
41274
|
+
|
|
41275
|
+
|
|
41276
|
+
/**
|
|
41277
|
+
* optional string slug = 3;
|
|
41278
|
+
* @return {string}
|
|
41279
|
+
*/
|
|
41280
|
+
proto.game.MultiScopeMember.prototype.getSlug = function() {
|
|
41281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
41282
|
+
};
|
|
41283
|
+
|
|
41284
|
+
|
|
41285
|
+
/**
|
|
41286
|
+
* @param {string} value
|
|
41287
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41288
|
+
*/
|
|
41289
|
+
proto.game.MultiScopeMember.prototype.setSlug = function(value) {
|
|
41290
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
41291
|
+
};
|
|
41292
|
+
|
|
41293
|
+
|
|
41294
|
+
/**
|
|
41295
|
+
* optional bool is_active = 4;
|
|
41296
|
+
* @return {boolean}
|
|
41297
|
+
*/
|
|
41298
|
+
proto.game.MultiScopeMember.prototype.getIsActive = function() {
|
|
41299
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
41300
|
+
};
|
|
41301
|
+
|
|
41302
|
+
|
|
41303
|
+
/**
|
|
41304
|
+
* @param {boolean} value
|
|
41305
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41306
|
+
*/
|
|
41307
|
+
proto.game.MultiScopeMember.prototype.setIsActive = function(value) {
|
|
41308
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
41309
|
+
};
|
|
41310
|
+
|
|
41311
|
+
|
|
41312
|
+
/**
|
|
41313
|
+
* optional string image = 5;
|
|
41314
|
+
* @return {string}
|
|
41315
|
+
*/
|
|
41316
|
+
proto.game.MultiScopeMember.prototype.getImage = function() {
|
|
41317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
41318
|
+
};
|
|
41319
|
+
|
|
41320
|
+
|
|
41321
|
+
/**
|
|
41322
|
+
* @param {string} value
|
|
41323
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41324
|
+
*/
|
|
41325
|
+
proto.game.MultiScopeMember.prototype.setImage = function(value) {
|
|
41326
|
+
return jspb.Message.setField(this, 5, value);
|
|
41327
|
+
};
|
|
41328
|
+
|
|
41329
|
+
|
|
41330
|
+
/**
|
|
41331
|
+
* Clears the field making it undefined.
|
|
41332
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41333
|
+
*/
|
|
41334
|
+
proto.game.MultiScopeMember.prototype.clearImage = function() {
|
|
41335
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
41336
|
+
};
|
|
41337
|
+
|
|
41338
|
+
|
|
41339
|
+
/**
|
|
41340
|
+
* Returns whether this field is set.
|
|
41341
|
+
* @return {boolean}
|
|
41342
|
+
*/
|
|
41343
|
+
proto.game.MultiScopeMember.prototype.hasImage = function() {
|
|
41344
|
+
return jspb.Message.getField(this, 5) != null;
|
|
41345
|
+
};
|
|
41346
|
+
|
|
41347
|
+
|
|
41348
|
+
/**
|
|
41349
|
+
* optional string image_cdn = 6;
|
|
41350
|
+
* @return {string}
|
|
41351
|
+
*/
|
|
41352
|
+
proto.game.MultiScopeMember.prototype.getImageCdn = function() {
|
|
41353
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
41354
|
+
};
|
|
41355
|
+
|
|
41356
|
+
|
|
41357
|
+
/**
|
|
41358
|
+
* @param {string} value
|
|
41359
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41360
|
+
*/
|
|
41361
|
+
proto.game.MultiScopeMember.prototype.setImageCdn = function(value) {
|
|
41362
|
+
return jspb.Message.setField(this, 6, value);
|
|
41363
|
+
};
|
|
41364
|
+
|
|
41365
|
+
|
|
41366
|
+
/**
|
|
41367
|
+
* Clears the field making it undefined.
|
|
41368
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41369
|
+
*/
|
|
41370
|
+
proto.game.MultiScopeMember.prototype.clearImageCdn = function() {
|
|
41371
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
41372
|
+
};
|
|
41373
|
+
|
|
41374
|
+
|
|
41375
|
+
/**
|
|
41376
|
+
* Returns whether this field is set.
|
|
41377
|
+
* @return {boolean}
|
|
41378
|
+
*/
|
|
41379
|
+
proto.game.MultiScopeMember.prototype.hasImageCdn = function() {
|
|
41380
|
+
return jspb.Message.getField(this, 6) != null;
|
|
41381
|
+
};
|
|
41382
|
+
|
|
41383
|
+
|
|
41384
|
+
/**
|
|
41385
|
+
* optional string icon = 7;
|
|
41386
|
+
* @return {string}
|
|
41387
|
+
*/
|
|
41388
|
+
proto.game.MultiScopeMember.prototype.getIcon = function() {
|
|
41389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
41390
|
+
};
|
|
41391
|
+
|
|
41392
|
+
|
|
41393
|
+
/**
|
|
41394
|
+
* @param {string} value
|
|
41395
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41396
|
+
*/
|
|
41397
|
+
proto.game.MultiScopeMember.prototype.setIcon = function(value) {
|
|
41398
|
+
return jspb.Message.setField(this, 7, value);
|
|
41399
|
+
};
|
|
41400
|
+
|
|
41401
|
+
|
|
41402
|
+
/**
|
|
41403
|
+
* Clears the field making it undefined.
|
|
41404
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41405
|
+
*/
|
|
41406
|
+
proto.game.MultiScopeMember.prototype.clearIcon = function() {
|
|
41407
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
41408
|
+
};
|
|
41409
|
+
|
|
41410
|
+
|
|
41411
|
+
/**
|
|
41412
|
+
* Returns whether this field is set.
|
|
41413
|
+
* @return {boolean}
|
|
41414
|
+
*/
|
|
41415
|
+
proto.game.MultiScopeMember.prototype.hasIcon = function() {
|
|
41416
|
+
return jspb.Message.getField(this, 7) != null;
|
|
41417
|
+
};
|
|
41418
|
+
|
|
41419
|
+
|
|
41420
|
+
/**
|
|
41421
|
+
* optional string icon_cdn = 8;
|
|
41422
|
+
* @return {string}
|
|
41423
|
+
*/
|
|
41424
|
+
proto.game.MultiScopeMember.prototype.getIconCdn = function() {
|
|
41425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
41426
|
+
};
|
|
41427
|
+
|
|
41428
|
+
|
|
41429
|
+
/**
|
|
41430
|
+
* @param {string} value
|
|
41431
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41432
|
+
*/
|
|
41433
|
+
proto.game.MultiScopeMember.prototype.setIconCdn = function(value) {
|
|
41434
|
+
return jspb.Message.setField(this, 8, value);
|
|
41435
|
+
};
|
|
41436
|
+
|
|
41437
|
+
|
|
41438
|
+
/**
|
|
41439
|
+
* Clears the field making it undefined.
|
|
41440
|
+
* @return {!proto.game.MultiScopeMember} returns this
|
|
41441
|
+
*/
|
|
41442
|
+
proto.game.MultiScopeMember.prototype.clearIconCdn = function() {
|
|
41443
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
41444
|
+
};
|
|
41445
|
+
|
|
41446
|
+
|
|
41447
|
+
/**
|
|
41448
|
+
* Returns whether this field is set.
|
|
41449
|
+
* @return {boolean}
|
|
41450
|
+
*/
|
|
41451
|
+
proto.game.MultiScopeMember.prototype.hasIconCdn = function() {
|
|
41452
|
+
return jspb.Message.getField(this, 8) != null;
|
|
41453
|
+
};
|
|
41454
|
+
|
|
41455
|
+
|
|
41456
|
+
|
|
41457
|
+
/**
|
|
41458
|
+
* List of repeated fields within this message type.
|
|
41459
|
+
* @private {!Array<number>}
|
|
41460
|
+
* @const
|
|
41461
|
+
*/
|
|
41462
|
+
proto.game.MultiScopeItem.repeatedFields_ = [11,12];
|
|
41463
|
+
|
|
41464
|
+
|
|
41465
|
+
|
|
41466
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41467
|
+
/**
|
|
41468
|
+
* Creates an object representation of this proto.
|
|
41469
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41470
|
+
* Optional fields that are not set will be set to undefined.
|
|
41471
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41472
|
+
* For the list of reserved names please see:
|
|
41473
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41474
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41475
|
+
* JSPB instance for transitional soy proto support:
|
|
41476
|
+
* http://goto/soy-param-migration
|
|
41477
|
+
* @return {!Object}
|
|
41478
|
+
*/
|
|
41479
|
+
proto.game.MultiScopeItem.prototype.toObject = function(opt_includeInstance) {
|
|
41480
|
+
return proto.game.MultiScopeItem.toObject(opt_includeInstance, this);
|
|
41481
|
+
};
|
|
41482
|
+
|
|
41483
|
+
|
|
41484
|
+
/**
|
|
41485
|
+
* Static version of the {@see toObject} method.
|
|
41486
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41487
|
+
* the JSPB instance for transitional soy proto support:
|
|
41488
|
+
* http://goto/soy-param-migration
|
|
41489
|
+
* @param {!proto.game.MultiScopeItem} msg The msg instance to transform.
|
|
41490
|
+
* @return {!Object}
|
|
41491
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41492
|
+
*/
|
|
41493
|
+
proto.game.MultiScopeItem.toObject = function(includeInstance, msg) {
|
|
41494
|
+
var f, obj = {
|
|
41495
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
41496
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
41497
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
41498
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
41499
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
41500
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41501
|
+
icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41502
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
41503
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
41504
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
41505
|
+
collectionsList: jspb.Message.toObjectList(msg.getCollectionsList(),
|
|
41506
|
+
proto.game.MultiScopeMember.toObject, includeInstance),
|
|
41507
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
41508
|
+
proto.game.MultiScopeMember.toObject, includeInstance)
|
|
41509
|
+
};
|
|
41510
|
+
|
|
41511
|
+
if (includeInstance) {
|
|
41512
|
+
obj.$jspbMessageInstance = msg;
|
|
41513
|
+
}
|
|
41514
|
+
return obj;
|
|
41515
|
+
};
|
|
41516
|
+
}
|
|
41517
|
+
|
|
41518
|
+
|
|
41519
|
+
/**
|
|
41520
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41521
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41522
|
+
* @return {!proto.game.MultiScopeItem}
|
|
41523
|
+
*/
|
|
41524
|
+
proto.game.MultiScopeItem.deserializeBinary = function(bytes) {
|
|
41525
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41526
|
+
var msg = new proto.game.MultiScopeItem;
|
|
41527
|
+
return proto.game.MultiScopeItem.deserializeBinaryFromReader(msg, reader);
|
|
41528
|
+
};
|
|
41529
|
+
|
|
41530
|
+
|
|
41531
|
+
/**
|
|
41532
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41533
|
+
* given reader into the given message object.
|
|
41534
|
+
* @param {!proto.game.MultiScopeItem} msg The message object to deserialize into.
|
|
41535
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41536
|
+
* @return {!proto.game.MultiScopeItem}
|
|
41537
|
+
*/
|
|
41538
|
+
proto.game.MultiScopeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
41539
|
+
while (reader.nextField()) {
|
|
41540
|
+
if (reader.isEndGroup()) {
|
|
41541
|
+
break;
|
|
41542
|
+
}
|
|
41543
|
+
var field = reader.getFieldNumber();
|
|
41544
|
+
switch (field) {
|
|
41545
|
+
case 1:
|
|
41546
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41547
|
+
msg.setId(value);
|
|
41548
|
+
break;
|
|
41549
|
+
case 2:
|
|
41550
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41551
|
+
msg.setTitle(value);
|
|
41552
|
+
break;
|
|
41553
|
+
case 3:
|
|
41554
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41555
|
+
msg.setSlug(value);
|
|
41556
|
+
break;
|
|
41557
|
+
case 4:
|
|
41558
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
41559
|
+
msg.setIsActive(value);
|
|
41560
|
+
break;
|
|
41561
|
+
case 5:
|
|
41562
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41563
|
+
msg.setImage(value);
|
|
41564
|
+
break;
|
|
41565
|
+
case 6:
|
|
41566
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41567
|
+
msg.setImageCdn(value);
|
|
41568
|
+
break;
|
|
41569
|
+
case 7:
|
|
41570
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41571
|
+
msg.setIcon(value);
|
|
41572
|
+
break;
|
|
41573
|
+
case 8:
|
|
41574
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41575
|
+
msg.setIconCdn(value);
|
|
41576
|
+
break;
|
|
41577
|
+
case 9:
|
|
41578
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41579
|
+
msg.setCreatedAt(value);
|
|
41580
|
+
break;
|
|
41581
|
+
case 10:
|
|
41582
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41583
|
+
msg.setUpdatedAt(value);
|
|
41584
|
+
break;
|
|
41585
|
+
case 11:
|
|
41586
|
+
var value = new proto.game.MultiScopeMember;
|
|
41587
|
+
reader.readMessage(value,proto.game.MultiScopeMember.deserializeBinaryFromReader);
|
|
41588
|
+
msg.addCollections(value);
|
|
41589
|
+
break;
|
|
41590
|
+
case 12:
|
|
41591
|
+
var value = new proto.game.MultiScopeMember;
|
|
41592
|
+
reader.readMessage(value,proto.game.MultiScopeMember.deserializeBinaryFromReader);
|
|
41593
|
+
msg.addTags(value);
|
|
41594
|
+
break;
|
|
41595
|
+
default:
|
|
41596
|
+
reader.skipField();
|
|
41597
|
+
break;
|
|
41598
|
+
}
|
|
41599
|
+
}
|
|
41600
|
+
return msg;
|
|
41601
|
+
};
|
|
41602
|
+
|
|
41603
|
+
|
|
41604
|
+
/**
|
|
41605
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41606
|
+
* @return {!Uint8Array}
|
|
41607
|
+
*/
|
|
41608
|
+
proto.game.MultiScopeItem.prototype.serializeBinary = function() {
|
|
41609
|
+
var writer = new jspb.BinaryWriter();
|
|
41610
|
+
proto.game.MultiScopeItem.serializeBinaryToWriter(this, writer);
|
|
41611
|
+
return writer.getResultBuffer();
|
|
41612
|
+
};
|
|
41613
|
+
|
|
41614
|
+
|
|
41615
|
+
/**
|
|
41616
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41617
|
+
* format), writing to the given BinaryWriter.
|
|
41618
|
+
* @param {!proto.game.MultiScopeItem} message
|
|
41619
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41620
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41621
|
+
*/
|
|
41622
|
+
proto.game.MultiScopeItem.serializeBinaryToWriter = function(message, writer) {
|
|
41623
|
+
var f = undefined;
|
|
41624
|
+
f = message.getId();
|
|
41625
|
+
if (f !== 0) {
|
|
41626
|
+
writer.writeInt32(
|
|
41627
|
+
1,
|
|
41628
|
+
f
|
|
41629
|
+
);
|
|
41630
|
+
}
|
|
41631
|
+
f = message.getTitle();
|
|
41632
|
+
if (f.length > 0) {
|
|
41633
|
+
writer.writeString(
|
|
41634
|
+
2,
|
|
41635
|
+
f
|
|
41636
|
+
);
|
|
41637
|
+
}
|
|
41638
|
+
f = message.getSlug();
|
|
41639
|
+
if (f.length > 0) {
|
|
41640
|
+
writer.writeString(
|
|
41641
|
+
3,
|
|
41642
|
+
f
|
|
41643
|
+
);
|
|
41644
|
+
}
|
|
41645
|
+
f = message.getIsActive();
|
|
41646
|
+
if (f) {
|
|
41647
|
+
writer.writeBool(
|
|
41648
|
+
4,
|
|
41649
|
+
f
|
|
41650
|
+
);
|
|
41651
|
+
}
|
|
41652
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
41653
|
+
if (f != null) {
|
|
41654
|
+
writer.writeString(
|
|
41655
|
+
5,
|
|
41656
|
+
f
|
|
41657
|
+
);
|
|
41658
|
+
}
|
|
41659
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
41660
|
+
if (f != null) {
|
|
41661
|
+
writer.writeString(
|
|
41662
|
+
6,
|
|
41663
|
+
f
|
|
41664
|
+
);
|
|
41665
|
+
}
|
|
41666
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
41667
|
+
if (f != null) {
|
|
41668
|
+
writer.writeString(
|
|
41669
|
+
7,
|
|
41670
|
+
f
|
|
41671
|
+
);
|
|
41672
|
+
}
|
|
41673
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
41674
|
+
if (f != null) {
|
|
41675
|
+
writer.writeString(
|
|
41676
|
+
8,
|
|
41677
|
+
f
|
|
41678
|
+
);
|
|
41679
|
+
}
|
|
41680
|
+
f = message.getCreatedAt();
|
|
41681
|
+
if (f.length > 0) {
|
|
41682
|
+
writer.writeString(
|
|
41683
|
+
9,
|
|
41684
|
+
f
|
|
41685
|
+
);
|
|
41686
|
+
}
|
|
41687
|
+
f = message.getUpdatedAt();
|
|
41688
|
+
if (f.length > 0) {
|
|
41689
|
+
writer.writeString(
|
|
41690
|
+
10,
|
|
41691
|
+
f
|
|
41692
|
+
);
|
|
41693
|
+
}
|
|
41694
|
+
f = message.getCollectionsList();
|
|
41695
|
+
if (f.length > 0) {
|
|
41696
|
+
writer.writeRepeatedMessage(
|
|
41697
|
+
11,
|
|
41698
|
+
f,
|
|
41699
|
+
proto.game.MultiScopeMember.serializeBinaryToWriter
|
|
41700
|
+
);
|
|
41701
|
+
}
|
|
41702
|
+
f = message.getTagsList();
|
|
41703
|
+
if (f.length > 0) {
|
|
41704
|
+
writer.writeRepeatedMessage(
|
|
41705
|
+
12,
|
|
41706
|
+
f,
|
|
41707
|
+
proto.game.MultiScopeMember.serializeBinaryToWriter
|
|
41708
|
+
);
|
|
41709
|
+
}
|
|
41710
|
+
};
|
|
41711
|
+
|
|
41712
|
+
|
|
41713
|
+
/**
|
|
41714
|
+
* optional int32 id = 1;
|
|
41715
|
+
* @return {number}
|
|
41716
|
+
*/
|
|
41717
|
+
proto.game.MultiScopeItem.prototype.getId = function() {
|
|
41718
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41719
|
+
};
|
|
41720
|
+
|
|
41721
|
+
|
|
41722
|
+
/**
|
|
41723
|
+
* @param {number} value
|
|
41724
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41725
|
+
*/
|
|
41726
|
+
proto.game.MultiScopeItem.prototype.setId = function(value) {
|
|
41727
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
41728
|
+
};
|
|
41729
|
+
|
|
41730
|
+
|
|
41731
|
+
/**
|
|
41732
|
+
* optional string title = 2;
|
|
41733
|
+
* @return {string}
|
|
41734
|
+
*/
|
|
41735
|
+
proto.game.MultiScopeItem.prototype.getTitle = function() {
|
|
41736
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
41737
|
+
};
|
|
41738
|
+
|
|
41739
|
+
|
|
41740
|
+
/**
|
|
41741
|
+
* @param {string} value
|
|
41742
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41743
|
+
*/
|
|
41744
|
+
proto.game.MultiScopeItem.prototype.setTitle = function(value) {
|
|
41745
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
41746
|
+
};
|
|
41747
|
+
|
|
41748
|
+
|
|
41749
|
+
/**
|
|
41750
|
+
* optional string slug = 3;
|
|
41751
|
+
* @return {string}
|
|
41752
|
+
*/
|
|
41753
|
+
proto.game.MultiScopeItem.prototype.getSlug = function() {
|
|
41754
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
41755
|
+
};
|
|
41756
|
+
|
|
41757
|
+
|
|
41758
|
+
/**
|
|
41759
|
+
* @param {string} value
|
|
41760
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41761
|
+
*/
|
|
41762
|
+
proto.game.MultiScopeItem.prototype.setSlug = function(value) {
|
|
41763
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
41764
|
+
};
|
|
41765
|
+
|
|
41766
|
+
|
|
41767
|
+
/**
|
|
41768
|
+
* optional bool is_active = 4;
|
|
41769
|
+
* @return {boolean}
|
|
41770
|
+
*/
|
|
41771
|
+
proto.game.MultiScopeItem.prototype.getIsActive = function() {
|
|
41772
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
41773
|
+
};
|
|
41774
|
+
|
|
41775
|
+
|
|
41776
|
+
/**
|
|
41777
|
+
* @param {boolean} value
|
|
41778
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41779
|
+
*/
|
|
41780
|
+
proto.game.MultiScopeItem.prototype.setIsActive = function(value) {
|
|
41781
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
41782
|
+
};
|
|
41783
|
+
|
|
41784
|
+
|
|
41785
|
+
/**
|
|
41786
|
+
* optional string image = 5;
|
|
41787
|
+
* @return {string}
|
|
41788
|
+
*/
|
|
41789
|
+
proto.game.MultiScopeItem.prototype.getImage = function() {
|
|
41790
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
41791
|
+
};
|
|
41792
|
+
|
|
41793
|
+
|
|
41794
|
+
/**
|
|
41795
|
+
* @param {string} value
|
|
41796
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41797
|
+
*/
|
|
41798
|
+
proto.game.MultiScopeItem.prototype.setImage = function(value) {
|
|
41799
|
+
return jspb.Message.setField(this, 5, value);
|
|
41800
|
+
};
|
|
41801
|
+
|
|
41802
|
+
|
|
41803
|
+
/**
|
|
41804
|
+
* Clears the field making it undefined.
|
|
41805
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41806
|
+
*/
|
|
41807
|
+
proto.game.MultiScopeItem.prototype.clearImage = function() {
|
|
41808
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
41809
|
+
};
|
|
41810
|
+
|
|
41811
|
+
|
|
41812
|
+
/**
|
|
41813
|
+
* Returns whether this field is set.
|
|
41814
|
+
* @return {boolean}
|
|
41815
|
+
*/
|
|
41816
|
+
proto.game.MultiScopeItem.prototype.hasImage = function() {
|
|
41817
|
+
return jspb.Message.getField(this, 5) != null;
|
|
41818
|
+
};
|
|
41819
|
+
|
|
41820
|
+
|
|
41821
|
+
/**
|
|
41822
|
+
* optional string image_cdn = 6;
|
|
41823
|
+
* @return {string}
|
|
41824
|
+
*/
|
|
41825
|
+
proto.game.MultiScopeItem.prototype.getImageCdn = function() {
|
|
41826
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
41827
|
+
};
|
|
41828
|
+
|
|
41829
|
+
|
|
41830
|
+
/**
|
|
41831
|
+
* @param {string} value
|
|
41832
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41833
|
+
*/
|
|
41834
|
+
proto.game.MultiScopeItem.prototype.setImageCdn = function(value) {
|
|
41835
|
+
return jspb.Message.setField(this, 6, value);
|
|
41836
|
+
};
|
|
41837
|
+
|
|
41838
|
+
|
|
41839
|
+
/**
|
|
41840
|
+
* Clears the field making it undefined.
|
|
41841
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41842
|
+
*/
|
|
41843
|
+
proto.game.MultiScopeItem.prototype.clearImageCdn = function() {
|
|
41844
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
41845
|
+
};
|
|
41846
|
+
|
|
41847
|
+
|
|
41848
|
+
/**
|
|
41849
|
+
* Returns whether this field is set.
|
|
41850
|
+
* @return {boolean}
|
|
41851
|
+
*/
|
|
41852
|
+
proto.game.MultiScopeItem.prototype.hasImageCdn = function() {
|
|
41853
|
+
return jspb.Message.getField(this, 6) != null;
|
|
41854
|
+
};
|
|
41855
|
+
|
|
41856
|
+
|
|
41857
|
+
/**
|
|
41858
|
+
* optional string icon = 7;
|
|
41859
|
+
* @return {string}
|
|
41860
|
+
*/
|
|
41861
|
+
proto.game.MultiScopeItem.prototype.getIcon = function() {
|
|
41862
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
41863
|
+
};
|
|
41864
|
+
|
|
41865
|
+
|
|
41866
|
+
/**
|
|
41867
|
+
* @param {string} value
|
|
41868
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41869
|
+
*/
|
|
41870
|
+
proto.game.MultiScopeItem.prototype.setIcon = function(value) {
|
|
41871
|
+
return jspb.Message.setField(this, 7, value);
|
|
41872
|
+
};
|
|
41873
|
+
|
|
41874
|
+
|
|
41875
|
+
/**
|
|
41876
|
+
* Clears the field making it undefined.
|
|
41877
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41878
|
+
*/
|
|
41879
|
+
proto.game.MultiScopeItem.prototype.clearIcon = function() {
|
|
41880
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
41881
|
+
};
|
|
41882
|
+
|
|
41883
|
+
|
|
41884
|
+
/**
|
|
41885
|
+
* Returns whether this field is set.
|
|
41886
|
+
* @return {boolean}
|
|
41887
|
+
*/
|
|
41888
|
+
proto.game.MultiScopeItem.prototype.hasIcon = function() {
|
|
41889
|
+
return jspb.Message.getField(this, 7) != null;
|
|
41890
|
+
};
|
|
41891
|
+
|
|
41892
|
+
|
|
41893
|
+
/**
|
|
41894
|
+
* optional string icon_cdn = 8;
|
|
41895
|
+
* @return {string}
|
|
41896
|
+
*/
|
|
41897
|
+
proto.game.MultiScopeItem.prototype.getIconCdn = function() {
|
|
41898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
41899
|
+
};
|
|
41900
|
+
|
|
41901
|
+
|
|
41902
|
+
/**
|
|
41903
|
+
* @param {string} value
|
|
41904
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41905
|
+
*/
|
|
41906
|
+
proto.game.MultiScopeItem.prototype.setIconCdn = function(value) {
|
|
41907
|
+
return jspb.Message.setField(this, 8, value);
|
|
41908
|
+
};
|
|
41909
|
+
|
|
41910
|
+
|
|
41911
|
+
/**
|
|
41912
|
+
* Clears the field making it undefined.
|
|
41913
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41914
|
+
*/
|
|
41915
|
+
proto.game.MultiScopeItem.prototype.clearIconCdn = function() {
|
|
41916
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
41917
|
+
};
|
|
41918
|
+
|
|
41919
|
+
|
|
41920
|
+
/**
|
|
41921
|
+
* Returns whether this field is set.
|
|
41922
|
+
* @return {boolean}
|
|
41923
|
+
*/
|
|
41924
|
+
proto.game.MultiScopeItem.prototype.hasIconCdn = function() {
|
|
41925
|
+
return jspb.Message.getField(this, 8) != null;
|
|
41926
|
+
};
|
|
41927
|
+
|
|
41928
|
+
|
|
41929
|
+
/**
|
|
41930
|
+
* optional string created_at = 9;
|
|
41931
|
+
* @return {string}
|
|
41932
|
+
*/
|
|
41933
|
+
proto.game.MultiScopeItem.prototype.getCreatedAt = function() {
|
|
41934
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
41935
|
+
};
|
|
41936
|
+
|
|
41937
|
+
|
|
41938
|
+
/**
|
|
41939
|
+
* @param {string} value
|
|
41940
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41941
|
+
*/
|
|
41942
|
+
proto.game.MultiScopeItem.prototype.setCreatedAt = function(value) {
|
|
41943
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
41944
|
+
};
|
|
41945
|
+
|
|
41946
|
+
|
|
41947
|
+
/**
|
|
41948
|
+
* optional string updated_at = 10;
|
|
41949
|
+
* @return {string}
|
|
41950
|
+
*/
|
|
41951
|
+
proto.game.MultiScopeItem.prototype.getUpdatedAt = function() {
|
|
41952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
41953
|
+
};
|
|
41954
|
+
|
|
41955
|
+
|
|
41956
|
+
/**
|
|
41957
|
+
* @param {string} value
|
|
41958
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41959
|
+
*/
|
|
41960
|
+
proto.game.MultiScopeItem.prototype.setUpdatedAt = function(value) {
|
|
41961
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
41962
|
+
};
|
|
41963
|
+
|
|
41964
|
+
|
|
41965
|
+
/**
|
|
41966
|
+
* repeated MultiScopeMember collections = 11;
|
|
41967
|
+
* @return {!Array<!proto.game.MultiScopeMember>}
|
|
41968
|
+
*/
|
|
41969
|
+
proto.game.MultiScopeItem.prototype.getCollectionsList = function() {
|
|
41970
|
+
return /** @type{!Array<!proto.game.MultiScopeMember>} */ (
|
|
41971
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeMember, 11));
|
|
41972
|
+
};
|
|
41973
|
+
|
|
41974
|
+
|
|
41975
|
+
/**
|
|
41976
|
+
* @param {!Array<!proto.game.MultiScopeMember>} value
|
|
41977
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41978
|
+
*/
|
|
41979
|
+
proto.game.MultiScopeItem.prototype.setCollectionsList = function(value) {
|
|
41980
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
41981
|
+
};
|
|
41982
|
+
|
|
41983
|
+
|
|
41984
|
+
/**
|
|
41985
|
+
* @param {!proto.game.MultiScopeMember=} opt_value
|
|
41986
|
+
* @param {number=} opt_index
|
|
41987
|
+
* @return {!proto.game.MultiScopeMember}
|
|
41988
|
+
*/
|
|
41989
|
+
proto.game.MultiScopeItem.prototype.addCollections = function(opt_value, opt_index) {
|
|
41990
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.game.MultiScopeMember, opt_index);
|
|
41991
|
+
};
|
|
41992
|
+
|
|
41993
|
+
|
|
41994
|
+
/**
|
|
41995
|
+
* Clears the list making it empty but non-null.
|
|
41996
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
41997
|
+
*/
|
|
41998
|
+
proto.game.MultiScopeItem.prototype.clearCollectionsList = function() {
|
|
41999
|
+
return this.setCollectionsList([]);
|
|
42000
|
+
};
|
|
42001
|
+
|
|
42002
|
+
|
|
42003
|
+
/**
|
|
42004
|
+
* repeated MultiScopeMember tags = 12;
|
|
42005
|
+
* @return {!Array<!proto.game.MultiScopeMember>}
|
|
42006
|
+
*/
|
|
42007
|
+
proto.game.MultiScopeItem.prototype.getTagsList = function() {
|
|
42008
|
+
return /** @type{!Array<!proto.game.MultiScopeMember>} */ (
|
|
42009
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeMember, 12));
|
|
42010
|
+
};
|
|
42011
|
+
|
|
42012
|
+
|
|
42013
|
+
/**
|
|
42014
|
+
* @param {!Array<!proto.game.MultiScopeMember>} value
|
|
42015
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
42016
|
+
*/
|
|
42017
|
+
proto.game.MultiScopeItem.prototype.setTagsList = function(value) {
|
|
42018
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
42019
|
+
};
|
|
42020
|
+
|
|
42021
|
+
|
|
42022
|
+
/**
|
|
42023
|
+
* @param {!proto.game.MultiScopeMember=} opt_value
|
|
42024
|
+
* @param {number=} opt_index
|
|
42025
|
+
* @return {!proto.game.MultiScopeMember}
|
|
42026
|
+
*/
|
|
42027
|
+
proto.game.MultiScopeItem.prototype.addTags = function(opt_value, opt_index) {
|
|
42028
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.game.MultiScopeMember, opt_index);
|
|
42029
|
+
};
|
|
42030
|
+
|
|
42031
|
+
|
|
42032
|
+
/**
|
|
42033
|
+
* Clears the list making it empty but non-null.
|
|
42034
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
42035
|
+
*/
|
|
42036
|
+
proto.game.MultiScopeItem.prototype.clearTagsList = function() {
|
|
42037
|
+
return this.setTagsList([]);
|
|
42038
|
+
};
|
|
42039
|
+
|
|
42040
|
+
|
|
42041
|
+
|
|
42042
|
+
|
|
42043
|
+
|
|
42044
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42045
|
+
/**
|
|
42046
|
+
* Creates an object representation of this proto.
|
|
42047
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42048
|
+
* Optional fields that are not set will be set to undefined.
|
|
42049
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42050
|
+
* For the list of reserved names please see:
|
|
42051
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42052
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42053
|
+
* JSPB instance for transitional soy proto support:
|
|
42054
|
+
* http://goto/soy-param-migration
|
|
42055
|
+
* @return {!Object}
|
|
42056
|
+
*/
|
|
42057
|
+
proto.game.MultiScopeItemRequest.prototype.toObject = function(opt_includeInstance) {
|
|
42058
|
+
return proto.game.MultiScopeItemRequest.toObject(opt_includeInstance, this);
|
|
42059
|
+
};
|
|
42060
|
+
|
|
42061
|
+
|
|
42062
|
+
/**
|
|
42063
|
+
* Static version of the {@see toObject} method.
|
|
42064
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42065
|
+
* the JSPB instance for transitional soy proto support:
|
|
42066
|
+
* http://goto/soy-param-migration
|
|
42067
|
+
* @param {!proto.game.MultiScopeItemRequest} msg The msg instance to transform.
|
|
42068
|
+
* @return {!Object}
|
|
42069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42070
|
+
*/
|
|
42071
|
+
proto.game.MultiScopeItemRequest.toObject = function(includeInstance, msg) {
|
|
42072
|
+
var f, obj = {
|
|
42073
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
42074
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42075
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
42076
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
42077
|
+
};
|
|
42078
|
+
|
|
42079
|
+
if (includeInstance) {
|
|
42080
|
+
obj.$jspbMessageInstance = msg;
|
|
42081
|
+
}
|
|
42082
|
+
return obj;
|
|
42083
|
+
};
|
|
42084
|
+
}
|
|
42085
|
+
|
|
42086
|
+
|
|
42087
|
+
/**
|
|
42088
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42089
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42090
|
+
* @return {!proto.game.MultiScopeItemRequest}
|
|
42091
|
+
*/
|
|
42092
|
+
proto.game.MultiScopeItemRequest.deserializeBinary = function(bytes) {
|
|
42093
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42094
|
+
var msg = new proto.game.MultiScopeItemRequest;
|
|
42095
|
+
return proto.game.MultiScopeItemRequest.deserializeBinaryFromReader(msg, reader);
|
|
42096
|
+
};
|
|
42097
|
+
|
|
42098
|
+
|
|
42099
|
+
/**
|
|
42100
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42101
|
+
* given reader into the given message object.
|
|
42102
|
+
* @param {!proto.game.MultiScopeItemRequest} msg The message object to deserialize into.
|
|
42103
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42104
|
+
* @return {!proto.game.MultiScopeItemRequest}
|
|
42105
|
+
*/
|
|
42106
|
+
proto.game.MultiScopeItemRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
42107
|
+
while (reader.nextField()) {
|
|
42108
|
+
if (reader.isEndGroup()) {
|
|
42109
|
+
break;
|
|
42110
|
+
}
|
|
42111
|
+
var field = reader.getFieldNumber();
|
|
42112
|
+
switch (field) {
|
|
42113
|
+
case 1:
|
|
42114
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42115
|
+
msg.setId(value);
|
|
42116
|
+
break;
|
|
42117
|
+
case 2:
|
|
42118
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42119
|
+
msg.setTitle(value);
|
|
42120
|
+
break;
|
|
42121
|
+
case 3:
|
|
42122
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42123
|
+
msg.setSlug(value);
|
|
42124
|
+
break;
|
|
42125
|
+
case 4:
|
|
42126
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
42127
|
+
msg.setIsActive(value);
|
|
42128
|
+
break;
|
|
42129
|
+
default:
|
|
42130
|
+
reader.skipField();
|
|
42131
|
+
break;
|
|
42132
|
+
}
|
|
42133
|
+
}
|
|
42134
|
+
return msg;
|
|
42135
|
+
};
|
|
42136
|
+
|
|
42137
|
+
|
|
42138
|
+
/**
|
|
42139
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42140
|
+
* @return {!Uint8Array}
|
|
42141
|
+
*/
|
|
42142
|
+
proto.game.MultiScopeItemRequest.prototype.serializeBinary = function() {
|
|
42143
|
+
var writer = new jspb.BinaryWriter();
|
|
42144
|
+
proto.game.MultiScopeItemRequest.serializeBinaryToWriter(this, writer);
|
|
42145
|
+
return writer.getResultBuffer();
|
|
42146
|
+
};
|
|
42147
|
+
|
|
42148
|
+
|
|
42149
|
+
/**
|
|
42150
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42151
|
+
* format), writing to the given BinaryWriter.
|
|
42152
|
+
* @param {!proto.game.MultiScopeItemRequest} message
|
|
42153
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42154
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42155
|
+
*/
|
|
42156
|
+
proto.game.MultiScopeItemRequest.serializeBinaryToWriter = function(message, writer) {
|
|
42157
|
+
var f = undefined;
|
|
42158
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
42159
|
+
if (f != null) {
|
|
42160
|
+
writer.writeInt32(
|
|
42161
|
+
1,
|
|
42162
|
+
f
|
|
42163
|
+
);
|
|
42164
|
+
}
|
|
42165
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
42166
|
+
if (f != null) {
|
|
42167
|
+
writer.writeString(
|
|
42168
|
+
2,
|
|
42169
|
+
f
|
|
42170
|
+
);
|
|
42171
|
+
}
|
|
42172
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
42173
|
+
if (f != null) {
|
|
42174
|
+
writer.writeString(
|
|
42175
|
+
3,
|
|
42176
|
+
f
|
|
42177
|
+
);
|
|
42178
|
+
}
|
|
42179
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
42180
|
+
if (f != null) {
|
|
42181
|
+
writer.writeBool(
|
|
42182
|
+
4,
|
|
42183
|
+
f
|
|
42184
|
+
);
|
|
42185
|
+
}
|
|
42186
|
+
};
|
|
42187
|
+
|
|
42188
|
+
|
|
42189
|
+
/**
|
|
42190
|
+
* optional int32 id = 1;
|
|
42191
|
+
* @return {number}
|
|
42192
|
+
*/
|
|
42193
|
+
proto.game.MultiScopeItemRequest.prototype.getId = function() {
|
|
42194
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
42195
|
+
};
|
|
42196
|
+
|
|
42197
|
+
|
|
42198
|
+
/**
|
|
42199
|
+
* @param {number} value
|
|
42200
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42201
|
+
*/
|
|
42202
|
+
proto.game.MultiScopeItemRequest.prototype.setId = function(value) {
|
|
42203
|
+
return jspb.Message.setField(this, 1, value);
|
|
42204
|
+
};
|
|
42205
|
+
|
|
42206
|
+
|
|
42207
|
+
/**
|
|
42208
|
+
* Clears the field making it undefined.
|
|
42209
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42210
|
+
*/
|
|
42211
|
+
proto.game.MultiScopeItemRequest.prototype.clearId = function() {
|
|
42212
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
42213
|
+
};
|
|
42214
|
+
|
|
42215
|
+
|
|
42216
|
+
/**
|
|
42217
|
+
* Returns whether this field is set.
|
|
42218
|
+
* @return {boolean}
|
|
42219
|
+
*/
|
|
42220
|
+
proto.game.MultiScopeItemRequest.prototype.hasId = function() {
|
|
42221
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42222
|
+
};
|
|
42223
|
+
|
|
42224
|
+
|
|
42225
|
+
/**
|
|
42226
|
+
* optional string title = 2;
|
|
42227
|
+
* @return {string}
|
|
42228
|
+
*/
|
|
42229
|
+
proto.game.MultiScopeItemRequest.prototype.getTitle = function() {
|
|
42230
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
42231
|
+
};
|
|
42232
|
+
|
|
42233
|
+
|
|
42234
|
+
/**
|
|
42235
|
+
* @param {string} value
|
|
42236
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42237
|
+
*/
|
|
42238
|
+
proto.game.MultiScopeItemRequest.prototype.setTitle = function(value) {
|
|
42239
|
+
return jspb.Message.setField(this, 2, value);
|
|
42240
|
+
};
|
|
42241
|
+
|
|
42242
|
+
|
|
42243
|
+
/**
|
|
42244
|
+
* Clears the field making it undefined.
|
|
42245
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42246
|
+
*/
|
|
42247
|
+
proto.game.MultiScopeItemRequest.prototype.clearTitle = function() {
|
|
42248
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
42249
|
+
};
|
|
42250
|
+
|
|
42251
|
+
|
|
42252
|
+
/**
|
|
42253
|
+
* Returns whether this field is set.
|
|
42254
|
+
* @return {boolean}
|
|
42255
|
+
*/
|
|
42256
|
+
proto.game.MultiScopeItemRequest.prototype.hasTitle = function() {
|
|
42257
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42258
|
+
};
|
|
42259
|
+
|
|
42260
|
+
|
|
42261
|
+
/**
|
|
42262
|
+
* optional string slug = 3;
|
|
42263
|
+
* @return {string}
|
|
42264
|
+
*/
|
|
42265
|
+
proto.game.MultiScopeItemRequest.prototype.getSlug = function() {
|
|
42266
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
42267
|
+
};
|
|
42268
|
+
|
|
42269
|
+
|
|
42270
|
+
/**
|
|
42271
|
+
* @param {string} value
|
|
42272
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42273
|
+
*/
|
|
42274
|
+
proto.game.MultiScopeItemRequest.prototype.setSlug = function(value) {
|
|
42275
|
+
return jspb.Message.setField(this, 3, value);
|
|
42276
|
+
};
|
|
42277
|
+
|
|
42278
|
+
|
|
42279
|
+
/**
|
|
42280
|
+
* Clears the field making it undefined.
|
|
42281
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42282
|
+
*/
|
|
42283
|
+
proto.game.MultiScopeItemRequest.prototype.clearSlug = function() {
|
|
42284
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
42285
|
+
};
|
|
42286
|
+
|
|
42287
|
+
|
|
42288
|
+
/**
|
|
42289
|
+
* Returns whether this field is set.
|
|
42290
|
+
* @return {boolean}
|
|
42291
|
+
*/
|
|
42292
|
+
proto.game.MultiScopeItemRequest.prototype.hasSlug = function() {
|
|
42293
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42294
|
+
};
|
|
42295
|
+
|
|
42296
|
+
|
|
42297
|
+
/**
|
|
42298
|
+
* optional bool is_active = 4;
|
|
42299
|
+
* @return {boolean}
|
|
42300
|
+
*/
|
|
42301
|
+
proto.game.MultiScopeItemRequest.prototype.getIsActive = function() {
|
|
42302
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
42303
|
+
};
|
|
42304
|
+
|
|
42305
|
+
|
|
42306
|
+
/**
|
|
42307
|
+
* @param {boolean} value
|
|
42308
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42309
|
+
*/
|
|
42310
|
+
proto.game.MultiScopeItemRequest.prototype.setIsActive = function(value) {
|
|
42311
|
+
return jspb.Message.setField(this, 4, value);
|
|
42312
|
+
};
|
|
42313
|
+
|
|
42314
|
+
|
|
42315
|
+
/**
|
|
42316
|
+
* Clears the field making it undefined.
|
|
42317
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
42318
|
+
*/
|
|
42319
|
+
proto.game.MultiScopeItemRequest.prototype.clearIsActive = function() {
|
|
42320
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
42321
|
+
};
|
|
42322
|
+
|
|
42323
|
+
|
|
42324
|
+
/**
|
|
42325
|
+
* Returns whether this field is set.
|
|
42326
|
+
* @return {boolean}
|
|
42327
|
+
*/
|
|
42328
|
+
proto.game.MultiScopeItemRequest.prototype.hasIsActive = function() {
|
|
42329
|
+
return jspb.Message.getField(this, 4) != null;
|
|
42330
|
+
};
|
|
42331
|
+
|
|
42332
|
+
|
|
42333
|
+
|
|
42334
|
+
/**
|
|
42335
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
42336
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
42337
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
42338
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
42339
|
+
* @private {!Array<!Array<number>>}
|
|
42340
|
+
* @const
|
|
42341
|
+
*/
|
|
42342
|
+
proto.game.MultiScopeRequest.oneofGroups_ = [[1,2,3]];
|
|
42343
|
+
|
|
42344
|
+
/**
|
|
42345
|
+
* @enum {number}
|
|
42346
|
+
*/
|
|
42347
|
+
proto.game.MultiScopeRequest.RequestCase = {
|
|
42348
|
+
REQUEST_NOT_SET: 0,
|
|
42349
|
+
MULTI_SCOPE_DATA: 1,
|
|
42350
|
+
FILE: 2,
|
|
42351
|
+
FILE_METADATA: 3
|
|
42352
|
+
};
|
|
42353
|
+
|
|
42354
|
+
/**
|
|
42355
|
+
* @return {proto.game.MultiScopeRequest.RequestCase}
|
|
42356
|
+
*/
|
|
42357
|
+
proto.game.MultiScopeRequest.prototype.getRequestCase = function() {
|
|
42358
|
+
return /** @type {proto.game.MultiScopeRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.game.MultiScopeRequest.oneofGroups_[0]));
|
|
42359
|
+
};
|
|
42360
|
+
|
|
42361
|
+
|
|
42362
|
+
|
|
42363
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42364
|
+
/**
|
|
42365
|
+
* Creates an object representation of this proto.
|
|
42366
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42367
|
+
* Optional fields that are not set will be set to undefined.
|
|
42368
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42369
|
+
* For the list of reserved names please see:
|
|
42370
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42371
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42372
|
+
* JSPB instance for transitional soy proto support:
|
|
42373
|
+
* http://goto/soy-param-migration
|
|
42374
|
+
* @return {!Object}
|
|
42375
|
+
*/
|
|
42376
|
+
proto.game.MultiScopeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
42377
|
+
return proto.game.MultiScopeRequest.toObject(opt_includeInstance, this);
|
|
42378
|
+
};
|
|
42379
|
+
|
|
42380
|
+
|
|
42381
|
+
/**
|
|
42382
|
+
* Static version of the {@see toObject} method.
|
|
42383
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42384
|
+
* the JSPB instance for transitional soy proto support:
|
|
42385
|
+
* http://goto/soy-param-migration
|
|
42386
|
+
* @param {!proto.game.MultiScopeRequest} msg The msg instance to transform.
|
|
42387
|
+
* @return {!Object}
|
|
42388
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42389
|
+
*/
|
|
42390
|
+
proto.game.MultiScopeRequest.toObject = function(includeInstance, msg) {
|
|
42391
|
+
var f, obj = {
|
|
42392
|
+
multiScopeData: (f = msg.getMultiScopeData()) && proto.game.MultiScopeItemRequest.toObject(includeInstance, f),
|
|
42393
|
+
file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
|
|
42394
|
+
fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
|
|
42395
|
+
};
|
|
42396
|
+
|
|
42397
|
+
if (includeInstance) {
|
|
42398
|
+
obj.$jspbMessageInstance = msg;
|
|
42399
|
+
}
|
|
42400
|
+
return obj;
|
|
42401
|
+
};
|
|
42402
|
+
}
|
|
42403
|
+
|
|
42404
|
+
|
|
42405
|
+
/**
|
|
42406
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42407
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42408
|
+
* @return {!proto.game.MultiScopeRequest}
|
|
42409
|
+
*/
|
|
42410
|
+
proto.game.MultiScopeRequest.deserializeBinary = function(bytes) {
|
|
42411
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42412
|
+
var msg = new proto.game.MultiScopeRequest;
|
|
42413
|
+
return proto.game.MultiScopeRequest.deserializeBinaryFromReader(msg, reader);
|
|
42414
|
+
};
|
|
42415
|
+
|
|
42416
|
+
|
|
42417
|
+
/**
|
|
42418
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42419
|
+
* given reader into the given message object.
|
|
42420
|
+
* @param {!proto.game.MultiScopeRequest} msg The message object to deserialize into.
|
|
42421
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42422
|
+
* @return {!proto.game.MultiScopeRequest}
|
|
42423
|
+
*/
|
|
42424
|
+
proto.game.MultiScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
42425
|
+
while (reader.nextField()) {
|
|
42426
|
+
if (reader.isEndGroup()) {
|
|
42427
|
+
break;
|
|
42428
|
+
}
|
|
42429
|
+
var field = reader.getFieldNumber();
|
|
42430
|
+
switch (field) {
|
|
42431
|
+
case 1:
|
|
42432
|
+
var value = new proto.game.MultiScopeItemRequest;
|
|
42433
|
+
reader.readMessage(value,proto.game.MultiScopeItemRequest.deserializeBinaryFromReader);
|
|
42434
|
+
msg.setMultiScopeData(value);
|
|
42435
|
+
break;
|
|
42436
|
+
case 2:
|
|
42437
|
+
var value = new proto.game.File;
|
|
42438
|
+
reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
|
|
42439
|
+
msg.setFile(value);
|
|
42440
|
+
break;
|
|
42441
|
+
case 3:
|
|
42442
|
+
var value = new proto.game.EntityFileMetadata;
|
|
42443
|
+
reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
|
|
42444
|
+
msg.setFileMetadata(value);
|
|
42445
|
+
break;
|
|
42446
|
+
default:
|
|
42447
|
+
reader.skipField();
|
|
42448
|
+
break;
|
|
42449
|
+
}
|
|
42450
|
+
}
|
|
42451
|
+
return msg;
|
|
42452
|
+
};
|
|
42453
|
+
|
|
42454
|
+
|
|
42455
|
+
/**
|
|
42456
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42457
|
+
* @return {!Uint8Array}
|
|
42458
|
+
*/
|
|
42459
|
+
proto.game.MultiScopeRequest.prototype.serializeBinary = function() {
|
|
42460
|
+
var writer = new jspb.BinaryWriter();
|
|
42461
|
+
proto.game.MultiScopeRequest.serializeBinaryToWriter(this, writer);
|
|
42462
|
+
return writer.getResultBuffer();
|
|
42463
|
+
};
|
|
42464
|
+
|
|
42465
|
+
|
|
42466
|
+
/**
|
|
42467
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42468
|
+
* format), writing to the given BinaryWriter.
|
|
42469
|
+
* @param {!proto.game.MultiScopeRequest} message
|
|
42470
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42471
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42472
|
+
*/
|
|
42473
|
+
proto.game.MultiScopeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
42474
|
+
var f = undefined;
|
|
42475
|
+
f = message.getMultiScopeData();
|
|
42476
|
+
if (f != null) {
|
|
42477
|
+
writer.writeMessage(
|
|
42478
|
+
1,
|
|
42479
|
+
f,
|
|
42480
|
+
proto.game.MultiScopeItemRequest.serializeBinaryToWriter
|
|
42481
|
+
);
|
|
42482
|
+
}
|
|
42483
|
+
f = message.getFile();
|
|
42484
|
+
if (f != null) {
|
|
42485
|
+
writer.writeMessage(
|
|
42486
|
+
2,
|
|
42487
|
+
f,
|
|
42488
|
+
proto.game.File.serializeBinaryToWriter
|
|
42489
|
+
);
|
|
42490
|
+
}
|
|
42491
|
+
f = message.getFileMetadata();
|
|
42492
|
+
if (f != null) {
|
|
42493
|
+
writer.writeMessage(
|
|
42494
|
+
3,
|
|
42495
|
+
f,
|
|
42496
|
+
proto.game.EntityFileMetadata.serializeBinaryToWriter
|
|
42497
|
+
);
|
|
42498
|
+
}
|
|
42499
|
+
};
|
|
42500
|
+
|
|
42501
|
+
|
|
42502
|
+
/**
|
|
42503
|
+
* optional MultiScopeItemRequest multi_scope_data = 1;
|
|
42504
|
+
* @return {?proto.game.MultiScopeItemRequest}
|
|
42505
|
+
*/
|
|
42506
|
+
proto.game.MultiScopeRequest.prototype.getMultiScopeData = function() {
|
|
42507
|
+
return /** @type{?proto.game.MultiScopeItemRequest} */ (
|
|
42508
|
+
jspb.Message.getWrapperField(this, proto.game.MultiScopeItemRequest, 1));
|
|
42509
|
+
};
|
|
42510
|
+
|
|
42511
|
+
|
|
42512
|
+
/**
|
|
42513
|
+
* @param {?proto.game.MultiScopeItemRequest|undefined} value
|
|
42514
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42515
|
+
*/
|
|
42516
|
+
proto.game.MultiScopeRequest.prototype.setMultiScopeData = function(value) {
|
|
42517
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.game.MultiScopeRequest.oneofGroups_[0], value);
|
|
42518
|
+
};
|
|
42519
|
+
|
|
42520
|
+
|
|
42521
|
+
/**
|
|
42522
|
+
* Clears the message field making it undefined.
|
|
42523
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42524
|
+
*/
|
|
42525
|
+
proto.game.MultiScopeRequest.prototype.clearMultiScopeData = function() {
|
|
42526
|
+
return this.setMultiScopeData(undefined);
|
|
42527
|
+
};
|
|
42528
|
+
|
|
42529
|
+
|
|
42530
|
+
/**
|
|
42531
|
+
* Returns whether this field is set.
|
|
42532
|
+
* @return {boolean}
|
|
42533
|
+
*/
|
|
42534
|
+
proto.game.MultiScopeRequest.prototype.hasMultiScopeData = function() {
|
|
42535
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42536
|
+
};
|
|
42537
|
+
|
|
42538
|
+
|
|
42539
|
+
/**
|
|
42540
|
+
* optional File file = 2;
|
|
42541
|
+
* @return {?proto.game.File}
|
|
42542
|
+
*/
|
|
42543
|
+
proto.game.MultiScopeRequest.prototype.getFile = function() {
|
|
42544
|
+
return /** @type{?proto.game.File} */ (
|
|
42545
|
+
jspb.Message.getWrapperField(this, proto.game.File, 2));
|
|
42546
|
+
};
|
|
42547
|
+
|
|
42548
|
+
|
|
42549
|
+
/**
|
|
42550
|
+
* @param {?proto.game.File|undefined} value
|
|
42551
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42552
|
+
*/
|
|
42553
|
+
proto.game.MultiScopeRequest.prototype.setFile = function(value) {
|
|
42554
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.game.MultiScopeRequest.oneofGroups_[0], value);
|
|
42555
|
+
};
|
|
42556
|
+
|
|
42557
|
+
|
|
42558
|
+
/**
|
|
42559
|
+
* Clears the message field making it undefined.
|
|
42560
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42561
|
+
*/
|
|
42562
|
+
proto.game.MultiScopeRequest.prototype.clearFile = function() {
|
|
42563
|
+
return this.setFile(undefined);
|
|
42564
|
+
};
|
|
42565
|
+
|
|
42566
|
+
|
|
42567
|
+
/**
|
|
42568
|
+
* Returns whether this field is set.
|
|
42569
|
+
* @return {boolean}
|
|
42570
|
+
*/
|
|
42571
|
+
proto.game.MultiScopeRequest.prototype.hasFile = function() {
|
|
42572
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42573
|
+
};
|
|
42574
|
+
|
|
42575
|
+
|
|
42576
|
+
/**
|
|
42577
|
+
* optional EntityFileMetadata file_metadata = 3;
|
|
42578
|
+
* @return {?proto.game.EntityFileMetadata}
|
|
42579
|
+
*/
|
|
42580
|
+
proto.game.MultiScopeRequest.prototype.getFileMetadata = function() {
|
|
42581
|
+
return /** @type{?proto.game.EntityFileMetadata} */ (
|
|
42582
|
+
jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
|
|
42583
|
+
};
|
|
42584
|
+
|
|
42585
|
+
|
|
42586
|
+
/**
|
|
42587
|
+
* @param {?proto.game.EntityFileMetadata|undefined} value
|
|
42588
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42589
|
+
*/
|
|
42590
|
+
proto.game.MultiScopeRequest.prototype.setFileMetadata = function(value) {
|
|
42591
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.game.MultiScopeRequest.oneofGroups_[0], value);
|
|
42592
|
+
};
|
|
42593
|
+
|
|
42594
|
+
|
|
42595
|
+
/**
|
|
42596
|
+
* Clears the message field making it undefined.
|
|
42597
|
+
* @return {!proto.game.MultiScopeRequest} returns this
|
|
42598
|
+
*/
|
|
42599
|
+
proto.game.MultiScopeRequest.prototype.clearFileMetadata = function() {
|
|
42600
|
+
return this.setFileMetadata(undefined);
|
|
42601
|
+
};
|
|
42602
|
+
|
|
42603
|
+
|
|
42604
|
+
/**
|
|
42605
|
+
* Returns whether this field is set.
|
|
42606
|
+
* @return {boolean}
|
|
42607
|
+
*/
|
|
42608
|
+
proto.game.MultiScopeRequest.prototype.hasFileMetadata = function() {
|
|
42609
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42610
|
+
};
|
|
42611
|
+
|
|
42612
|
+
|
|
42613
|
+
|
|
42614
|
+
|
|
42615
|
+
|
|
42616
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42617
|
+
/**
|
|
42618
|
+
* Creates an object representation of this proto.
|
|
42619
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42620
|
+
* Optional fields that are not set will be set to undefined.
|
|
42621
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42622
|
+
* For the list of reserved names please see:
|
|
42623
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42624
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42625
|
+
* JSPB instance for transitional soy proto support:
|
|
42626
|
+
* http://goto/soy-param-migration
|
|
42627
|
+
* @return {!Object}
|
|
42628
|
+
*/
|
|
42629
|
+
proto.game.GetMultiScopeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
42630
|
+
return proto.game.GetMultiScopeRequest.toObject(opt_includeInstance, this);
|
|
42631
|
+
};
|
|
42632
|
+
|
|
42633
|
+
|
|
42634
|
+
/**
|
|
42635
|
+
* Static version of the {@see toObject} method.
|
|
42636
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42637
|
+
* the JSPB instance for transitional soy proto support:
|
|
42638
|
+
* http://goto/soy-param-migration
|
|
42639
|
+
* @param {!proto.game.GetMultiScopeRequest} msg The msg instance to transform.
|
|
42640
|
+
* @return {!Object}
|
|
42641
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42642
|
+
*/
|
|
42643
|
+
proto.game.GetMultiScopeRequest.toObject = function(includeInstance, msg) {
|
|
42644
|
+
var f, obj = {
|
|
42645
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
42646
|
+
};
|
|
42647
|
+
|
|
42648
|
+
if (includeInstance) {
|
|
42649
|
+
obj.$jspbMessageInstance = msg;
|
|
42650
|
+
}
|
|
42651
|
+
return obj;
|
|
42652
|
+
};
|
|
42653
|
+
}
|
|
42654
|
+
|
|
42655
|
+
|
|
42656
|
+
/**
|
|
42657
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42658
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42659
|
+
* @return {!proto.game.GetMultiScopeRequest}
|
|
42660
|
+
*/
|
|
42661
|
+
proto.game.GetMultiScopeRequest.deserializeBinary = function(bytes) {
|
|
42662
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42663
|
+
var msg = new proto.game.GetMultiScopeRequest;
|
|
42664
|
+
return proto.game.GetMultiScopeRequest.deserializeBinaryFromReader(msg, reader);
|
|
42665
|
+
};
|
|
42666
|
+
|
|
42667
|
+
|
|
42668
|
+
/**
|
|
42669
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42670
|
+
* given reader into the given message object.
|
|
42671
|
+
* @param {!proto.game.GetMultiScopeRequest} msg The message object to deserialize into.
|
|
42672
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42673
|
+
* @return {!proto.game.GetMultiScopeRequest}
|
|
42674
|
+
*/
|
|
42675
|
+
proto.game.GetMultiScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
42676
|
+
while (reader.nextField()) {
|
|
42677
|
+
if (reader.isEndGroup()) {
|
|
42678
|
+
break;
|
|
42679
|
+
}
|
|
42680
|
+
var field = reader.getFieldNumber();
|
|
42681
|
+
switch (field) {
|
|
42682
|
+
case 1:
|
|
42683
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42684
|
+
msg.setId(value);
|
|
42685
|
+
break;
|
|
42686
|
+
default:
|
|
42687
|
+
reader.skipField();
|
|
42688
|
+
break;
|
|
42689
|
+
}
|
|
42690
|
+
}
|
|
42691
|
+
return msg;
|
|
42692
|
+
};
|
|
42693
|
+
|
|
42694
|
+
|
|
42695
|
+
/**
|
|
42696
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42697
|
+
* @return {!Uint8Array}
|
|
42698
|
+
*/
|
|
42699
|
+
proto.game.GetMultiScopeRequest.prototype.serializeBinary = function() {
|
|
42700
|
+
var writer = new jspb.BinaryWriter();
|
|
42701
|
+
proto.game.GetMultiScopeRequest.serializeBinaryToWriter(this, writer);
|
|
42702
|
+
return writer.getResultBuffer();
|
|
42703
|
+
};
|
|
42704
|
+
|
|
42705
|
+
|
|
42706
|
+
/**
|
|
42707
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42708
|
+
* format), writing to the given BinaryWriter.
|
|
42709
|
+
* @param {!proto.game.GetMultiScopeRequest} message
|
|
42710
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42712
|
+
*/
|
|
42713
|
+
proto.game.GetMultiScopeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
42714
|
+
var f = undefined;
|
|
42715
|
+
f = message.getId();
|
|
42716
|
+
if (f !== 0) {
|
|
42717
|
+
writer.writeInt32(
|
|
42718
|
+
1,
|
|
42719
|
+
f
|
|
42720
|
+
);
|
|
42721
|
+
}
|
|
42722
|
+
};
|
|
42723
|
+
|
|
42724
|
+
|
|
42725
|
+
/**
|
|
42726
|
+
* optional int32 id = 1;
|
|
42727
|
+
* @return {number}
|
|
42728
|
+
*/
|
|
42729
|
+
proto.game.GetMultiScopeRequest.prototype.getId = function() {
|
|
42730
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
42731
|
+
};
|
|
42732
|
+
|
|
42733
|
+
|
|
42734
|
+
/**
|
|
42735
|
+
* @param {number} value
|
|
42736
|
+
* @return {!proto.game.GetMultiScopeRequest} returns this
|
|
42737
|
+
*/
|
|
42738
|
+
proto.game.GetMultiScopeRequest.prototype.setId = function(value) {
|
|
42739
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
42740
|
+
};
|
|
42741
|
+
|
|
42742
|
+
|
|
42743
|
+
|
|
42744
|
+
/**
|
|
42745
|
+
* List of repeated fields within this message type.
|
|
42746
|
+
* @private {!Array<number>}
|
|
42747
|
+
* @const
|
|
42748
|
+
*/
|
|
42749
|
+
proto.game.MultiScopeListRequest.repeatedFields_ = [5];
|
|
42750
|
+
|
|
42751
|
+
|
|
42752
|
+
|
|
42753
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42754
|
+
/**
|
|
42755
|
+
* Creates an object representation of this proto.
|
|
42756
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42757
|
+
* Optional fields that are not set will be set to undefined.
|
|
42758
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42759
|
+
* For the list of reserved names please see:
|
|
42760
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42761
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42762
|
+
* JSPB instance for transitional soy proto support:
|
|
42763
|
+
* http://goto/soy-param-migration
|
|
42764
|
+
* @return {!Object}
|
|
42765
|
+
*/
|
|
42766
|
+
proto.game.MultiScopeListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
42767
|
+
return proto.game.MultiScopeListRequest.toObject(opt_includeInstance, this);
|
|
42768
|
+
};
|
|
42769
|
+
|
|
42770
|
+
|
|
42771
|
+
/**
|
|
42772
|
+
* Static version of the {@see toObject} method.
|
|
42773
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42774
|
+
* the JSPB instance for transitional soy proto support:
|
|
42775
|
+
* http://goto/soy-param-migration
|
|
42776
|
+
* @param {!proto.game.MultiScopeListRequest} msg The msg instance to transform.
|
|
42777
|
+
* @return {!Object}
|
|
42778
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42779
|
+
*/
|
|
42780
|
+
proto.game.MultiScopeListRequest.toObject = function(includeInstance, msg) {
|
|
42781
|
+
var f, obj = {
|
|
42782
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
42783
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
42784
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
42785
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
42786
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
42787
|
+
};
|
|
42788
|
+
|
|
42789
|
+
if (includeInstance) {
|
|
42790
|
+
obj.$jspbMessageInstance = msg;
|
|
42791
|
+
}
|
|
42792
|
+
return obj;
|
|
42793
|
+
};
|
|
42794
|
+
}
|
|
42795
|
+
|
|
42796
|
+
|
|
42797
|
+
/**
|
|
42798
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42799
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42800
|
+
* @return {!proto.game.MultiScopeListRequest}
|
|
42801
|
+
*/
|
|
42802
|
+
proto.game.MultiScopeListRequest.deserializeBinary = function(bytes) {
|
|
42803
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42804
|
+
var msg = new proto.game.MultiScopeListRequest;
|
|
42805
|
+
return proto.game.MultiScopeListRequest.deserializeBinaryFromReader(msg, reader);
|
|
42806
|
+
};
|
|
42807
|
+
|
|
42808
|
+
|
|
42809
|
+
/**
|
|
42810
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42811
|
+
* given reader into the given message object.
|
|
42812
|
+
* @param {!proto.game.MultiScopeListRequest} msg The message object to deserialize into.
|
|
42813
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42814
|
+
* @return {!proto.game.MultiScopeListRequest}
|
|
42815
|
+
*/
|
|
42816
|
+
proto.game.MultiScopeListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
42817
|
+
while (reader.nextField()) {
|
|
42818
|
+
if (reader.isEndGroup()) {
|
|
42819
|
+
break;
|
|
42820
|
+
}
|
|
42821
|
+
var field = reader.getFieldNumber();
|
|
42822
|
+
switch (field) {
|
|
42823
|
+
case 1:
|
|
42824
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42825
|
+
msg.setLimit(value);
|
|
42826
|
+
break;
|
|
42827
|
+
case 2:
|
|
42828
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42829
|
+
msg.setOffset(value);
|
|
42830
|
+
break;
|
|
42831
|
+
case 3:
|
|
42832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42833
|
+
msg.setTitle(value);
|
|
42834
|
+
break;
|
|
42835
|
+
case 4:
|
|
42836
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
42837
|
+
msg.setIsActive(value);
|
|
42838
|
+
break;
|
|
42839
|
+
case 5:
|
|
42840
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
42841
|
+
for (var i = 0; i < values.length; i++) {
|
|
42842
|
+
msg.addIds(values[i]);
|
|
42843
|
+
}
|
|
42844
|
+
break;
|
|
42845
|
+
default:
|
|
42846
|
+
reader.skipField();
|
|
42847
|
+
break;
|
|
42848
|
+
}
|
|
42849
|
+
}
|
|
42850
|
+
return msg;
|
|
42851
|
+
};
|
|
42852
|
+
|
|
42853
|
+
|
|
42854
|
+
/**
|
|
42855
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42856
|
+
* @return {!Uint8Array}
|
|
42857
|
+
*/
|
|
42858
|
+
proto.game.MultiScopeListRequest.prototype.serializeBinary = function() {
|
|
42859
|
+
var writer = new jspb.BinaryWriter();
|
|
42860
|
+
proto.game.MultiScopeListRequest.serializeBinaryToWriter(this, writer);
|
|
42861
|
+
return writer.getResultBuffer();
|
|
42862
|
+
};
|
|
42863
|
+
|
|
42864
|
+
|
|
42865
|
+
/**
|
|
42866
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42867
|
+
* format), writing to the given BinaryWriter.
|
|
42868
|
+
* @param {!proto.game.MultiScopeListRequest} message
|
|
42869
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42871
|
+
*/
|
|
42872
|
+
proto.game.MultiScopeListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
42873
|
+
var f = undefined;
|
|
42874
|
+
f = message.getLimit();
|
|
42875
|
+
if (f !== 0) {
|
|
42876
|
+
writer.writeInt32(
|
|
42877
|
+
1,
|
|
42878
|
+
f
|
|
42879
|
+
);
|
|
42880
|
+
}
|
|
42881
|
+
f = message.getOffset();
|
|
42882
|
+
if (f !== 0) {
|
|
42883
|
+
writer.writeInt32(
|
|
42884
|
+
2,
|
|
42885
|
+
f
|
|
42886
|
+
);
|
|
42887
|
+
}
|
|
42888
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
42889
|
+
if (f != null) {
|
|
42890
|
+
writer.writeString(
|
|
42891
|
+
3,
|
|
42892
|
+
f
|
|
42893
|
+
);
|
|
42894
|
+
}
|
|
42895
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
42896
|
+
if (f != null) {
|
|
42897
|
+
writer.writeBool(
|
|
42898
|
+
4,
|
|
42899
|
+
f
|
|
42900
|
+
);
|
|
42901
|
+
}
|
|
42902
|
+
f = message.getIdsList();
|
|
42903
|
+
if (f.length > 0) {
|
|
42904
|
+
writer.writePackedInt32(
|
|
42905
|
+
5,
|
|
42906
|
+
f
|
|
42907
|
+
);
|
|
42908
|
+
}
|
|
42909
|
+
};
|
|
42910
|
+
|
|
42911
|
+
|
|
42912
|
+
/**
|
|
42913
|
+
* optional int32 limit = 1;
|
|
42914
|
+
* @return {number}
|
|
42915
|
+
*/
|
|
42916
|
+
proto.game.MultiScopeListRequest.prototype.getLimit = function() {
|
|
42917
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
42918
|
+
};
|
|
42919
|
+
|
|
42920
|
+
|
|
42921
|
+
/**
|
|
42922
|
+
* @param {number} value
|
|
42923
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
42924
|
+
*/
|
|
42925
|
+
proto.game.MultiScopeListRequest.prototype.setLimit = function(value) {
|
|
42926
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
42927
|
+
};
|
|
42928
|
+
|
|
42929
|
+
|
|
42930
|
+
/**
|
|
42931
|
+
* optional int32 offset = 2;
|
|
42932
|
+
* @return {number}
|
|
42933
|
+
*/
|
|
42934
|
+
proto.game.MultiScopeListRequest.prototype.getOffset = function() {
|
|
42935
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
42936
|
+
};
|
|
42937
|
+
|
|
42938
|
+
|
|
42939
|
+
/**
|
|
42940
|
+
* @param {number} value
|
|
42941
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
42942
|
+
*/
|
|
42943
|
+
proto.game.MultiScopeListRequest.prototype.setOffset = function(value) {
|
|
42944
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
42945
|
+
};
|
|
42946
|
+
|
|
42947
|
+
|
|
42948
|
+
/**
|
|
42949
|
+
* optional string title = 3;
|
|
42950
|
+
* @return {string}
|
|
42951
|
+
*/
|
|
42952
|
+
proto.game.MultiScopeListRequest.prototype.getTitle = function() {
|
|
42953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
42954
|
+
};
|
|
42955
|
+
|
|
42956
|
+
|
|
42957
|
+
/**
|
|
42958
|
+
* @param {string} value
|
|
42959
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
42960
|
+
*/
|
|
42961
|
+
proto.game.MultiScopeListRequest.prototype.setTitle = function(value) {
|
|
42962
|
+
return jspb.Message.setField(this, 3, value);
|
|
42963
|
+
};
|
|
42964
|
+
|
|
42965
|
+
|
|
42966
|
+
/**
|
|
42967
|
+
* Clears the field making it undefined.
|
|
42968
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
42969
|
+
*/
|
|
42970
|
+
proto.game.MultiScopeListRequest.prototype.clearTitle = function() {
|
|
42971
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
42972
|
+
};
|
|
42973
|
+
|
|
42974
|
+
|
|
42975
|
+
/**
|
|
42976
|
+
* Returns whether this field is set.
|
|
42977
|
+
* @return {boolean}
|
|
42978
|
+
*/
|
|
42979
|
+
proto.game.MultiScopeListRequest.prototype.hasTitle = function() {
|
|
42980
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42981
|
+
};
|
|
42982
|
+
|
|
42983
|
+
|
|
42984
|
+
/**
|
|
42985
|
+
* optional bool is_active = 4;
|
|
42986
|
+
* @return {boolean}
|
|
42987
|
+
*/
|
|
42988
|
+
proto.game.MultiScopeListRequest.prototype.getIsActive = function() {
|
|
42989
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
42990
|
+
};
|
|
42991
|
+
|
|
42992
|
+
|
|
42993
|
+
/**
|
|
42994
|
+
* @param {boolean} value
|
|
42995
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
42996
|
+
*/
|
|
42997
|
+
proto.game.MultiScopeListRequest.prototype.setIsActive = function(value) {
|
|
42998
|
+
return jspb.Message.setField(this, 4, value);
|
|
42999
|
+
};
|
|
43000
|
+
|
|
43001
|
+
|
|
43002
|
+
/**
|
|
43003
|
+
* Clears the field making it undefined.
|
|
43004
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
43005
|
+
*/
|
|
43006
|
+
proto.game.MultiScopeListRequest.prototype.clearIsActive = function() {
|
|
43007
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
43008
|
+
};
|
|
43009
|
+
|
|
43010
|
+
|
|
43011
|
+
/**
|
|
43012
|
+
* Returns whether this field is set.
|
|
43013
|
+
* @return {boolean}
|
|
43014
|
+
*/
|
|
43015
|
+
proto.game.MultiScopeListRequest.prototype.hasIsActive = function() {
|
|
43016
|
+
return jspb.Message.getField(this, 4) != null;
|
|
43017
|
+
};
|
|
43018
|
+
|
|
43019
|
+
|
|
43020
|
+
/**
|
|
43021
|
+
* repeated int32 ids = 5;
|
|
43022
|
+
* @return {!Array<number>}
|
|
43023
|
+
*/
|
|
43024
|
+
proto.game.MultiScopeListRequest.prototype.getIdsList = function() {
|
|
43025
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
43026
|
+
};
|
|
43027
|
+
|
|
43028
|
+
|
|
43029
|
+
/**
|
|
43030
|
+
* @param {!Array<number>} value
|
|
43031
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
43032
|
+
*/
|
|
43033
|
+
proto.game.MultiScopeListRequest.prototype.setIdsList = function(value) {
|
|
43034
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
43035
|
+
};
|
|
43036
|
+
|
|
43037
|
+
|
|
43038
|
+
/**
|
|
43039
|
+
* @param {number} value
|
|
43040
|
+
* @param {number=} opt_index
|
|
43041
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
43042
|
+
*/
|
|
43043
|
+
proto.game.MultiScopeListRequest.prototype.addIds = function(value, opt_index) {
|
|
43044
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
43045
|
+
};
|
|
43046
|
+
|
|
43047
|
+
|
|
43048
|
+
/**
|
|
43049
|
+
* Clears the list making it empty but non-null.
|
|
43050
|
+
* @return {!proto.game.MultiScopeListRequest} returns this
|
|
43051
|
+
*/
|
|
43052
|
+
proto.game.MultiScopeListRequest.prototype.clearIdsList = function() {
|
|
43053
|
+
return this.setIdsList([]);
|
|
43054
|
+
};
|
|
43055
|
+
|
|
43056
|
+
|
|
43057
|
+
|
|
43058
|
+
/**
|
|
43059
|
+
* List of repeated fields within this message type.
|
|
43060
|
+
* @private {!Array<number>}
|
|
43061
|
+
* @const
|
|
43062
|
+
*/
|
|
43063
|
+
proto.game.MultiScopeMembersRequest.repeatedFields_ = [2,3];
|
|
43064
|
+
|
|
43065
|
+
|
|
43066
|
+
|
|
43067
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43068
|
+
/**
|
|
43069
|
+
* Creates an object representation of this proto.
|
|
43070
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43071
|
+
* Optional fields that are not set will be set to undefined.
|
|
43072
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43073
|
+
* For the list of reserved names please see:
|
|
43074
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43075
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43076
|
+
* JSPB instance for transitional soy proto support:
|
|
43077
|
+
* http://goto/soy-param-migration
|
|
43078
|
+
* @return {!Object}
|
|
43079
|
+
*/
|
|
43080
|
+
proto.game.MultiScopeMembersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43081
|
+
return proto.game.MultiScopeMembersRequest.toObject(opt_includeInstance, this);
|
|
43082
|
+
};
|
|
43083
|
+
|
|
43084
|
+
|
|
43085
|
+
/**
|
|
43086
|
+
* Static version of the {@see toObject} method.
|
|
43087
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43088
|
+
* the JSPB instance for transitional soy proto support:
|
|
43089
|
+
* http://goto/soy-param-migration
|
|
43090
|
+
* @param {!proto.game.MultiScopeMembersRequest} msg The msg instance to transform.
|
|
43091
|
+
* @return {!Object}
|
|
43092
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43093
|
+
*/
|
|
43094
|
+
proto.game.MultiScopeMembersRequest.toObject = function(includeInstance, msg) {
|
|
43095
|
+
var f, obj = {
|
|
43096
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43097
|
+
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
43098
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
43099
|
+
};
|
|
43100
|
+
|
|
43101
|
+
if (includeInstance) {
|
|
43102
|
+
obj.$jspbMessageInstance = msg;
|
|
43103
|
+
}
|
|
43104
|
+
return obj;
|
|
43105
|
+
};
|
|
43106
|
+
}
|
|
43107
|
+
|
|
43108
|
+
|
|
43109
|
+
/**
|
|
43110
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43111
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43112
|
+
* @return {!proto.game.MultiScopeMembersRequest}
|
|
43113
|
+
*/
|
|
43114
|
+
proto.game.MultiScopeMembersRequest.deserializeBinary = function(bytes) {
|
|
43115
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43116
|
+
var msg = new proto.game.MultiScopeMembersRequest;
|
|
43117
|
+
return proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader(msg, reader);
|
|
43118
|
+
};
|
|
43119
|
+
|
|
43120
|
+
|
|
43121
|
+
/**
|
|
43122
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43123
|
+
* given reader into the given message object.
|
|
43124
|
+
* @param {!proto.game.MultiScopeMembersRequest} msg The message object to deserialize into.
|
|
43125
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43126
|
+
* @return {!proto.game.MultiScopeMembersRequest}
|
|
43127
|
+
*/
|
|
43128
|
+
proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43129
|
+
while (reader.nextField()) {
|
|
43130
|
+
if (reader.isEndGroup()) {
|
|
43131
|
+
break;
|
|
43132
|
+
}
|
|
43133
|
+
var field = reader.getFieldNumber();
|
|
43134
|
+
switch (field) {
|
|
43135
|
+
case 1:
|
|
43136
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43137
|
+
msg.setId(value);
|
|
43138
|
+
break;
|
|
43139
|
+
case 2:
|
|
43140
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
43141
|
+
for (var i = 0; i < values.length; i++) {
|
|
43142
|
+
msg.addCollectionIds(values[i]);
|
|
43143
|
+
}
|
|
43144
|
+
break;
|
|
43145
|
+
case 3:
|
|
43146
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
43147
|
+
for (var i = 0; i < values.length; i++) {
|
|
43148
|
+
msg.addTagIds(values[i]);
|
|
43149
|
+
}
|
|
43150
|
+
break;
|
|
43151
|
+
default:
|
|
43152
|
+
reader.skipField();
|
|
43153
|
+
break;
|
|
43154
|
+
}
|
|
43155
|
+
}
|
|
43156
|
+
return msg;
|
|
43157
|
+
};
|
|
43158
|
+
|
|
43159
|
+
|
|
43160
|
+
/**
|
|
43161
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43162
|
+
* @return {!Uint8Array}
|
|
43163
|
+
*/
|
|
43164
|
+
proto.game.MultiScopeMembersRequest.prototype.serializeBinary = function() {
|
|
43165
|
+
var writer = new jspb.BinaryWriter();
|
|
43166
|
+
proto.game.MultiScopeMembersRequest.serializeBinaryToWriter(this, writer);
|
|
43167
|
+
return writer.getResultBuffer();
|
|
43168
|
+
};
|
|
43169
|
+
|
|
43170
|
+
|
|
43171
|
+
/**
|
|
43172
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43173
|
+
* format), writing to the given BinaryWriter.
|
|
43174
|
+
* @param {!proto.game.MultiScopeMembersRequest} message
|
|
43175
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43176
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43177
|
+
*/
|
|
43178
|
+
proto.game.MultiScopeMembersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43179
|
+
var f = undefined;
|
|
43180
|
+
f = message.getId();
|
|
43181
|
+
if (f !== 0) {
|
|
43182
|
+
writer.writeInt32(
|
|
43183
|
+
1,
|
|
43184
|
+
f
|
|
43185
|
+
);
|
|
43186
|
+
}
|
|
43187
|
+
f = message.getCollectionIdsList();
|
|
43188
|
+
if (f.length > 0) {
|
|
43189
|
+
writer.writePackedInt32(
|
|
43190
|
+
2,
|
|
43191
|
+
f
|
|
43192
|
+
);
|
|
43193
|
+
}
|
|
43194
|
+
f = message.getTagIdsList();
|
|
43195
|
+
if (f.length > 0) {
|
|
43196
|
+
writer.writePackedInt32(
|
|
43197
|
+
3,
|
|
43198
|
+
f
|
|
43199
|
+
);
|
|
43200
|
+
}
|
|
43201
|
+
};
|
|
43202
|
+
|
|
43203
|
+
|
|
43204
|
+
/**
|
|
43205
|
+
* optional int32 id = 1;
|
|
43206
|
+
* @return {number}
|
|
43207
|
+
*/
|
|
43208
|
+
proto.game.MultiScopeMembersRequest.prototype.getId = function() {
|
|
43209
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
43210
|
+
};
|
|
43211
|
+
|
|
43212
|
+
|
|
43213
|
+
/**
|
|
43214
|
+
* @param {number} value
|
|
43215
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43216
|
+
*/
|
|
43217
|
+
proto.game.MultiScopeMembersRequest.prototype.setId = function(value) {
|
|
43218
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
43219
|
+
};
|
|
43220
|
+
|
|
43221
|
+
|
|
43222
|
+
/**
|
|
43223
|
+
* repeated int32 collection_ids = 2;
|
|
43224
|
+
* @return {!Array<number>}
|
|
43225
|
+
*/
|
|
43226
|
+
proto.game.MultiScopeMembersRequest.prototype.getCollectionIdsList = function() {
|
|
43227
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
43228
|
+
};
|
|
43229
|
+
|
|
43230
|
+
|
|
43231
|
+
/**
|
|
43232
|
+
* @param {!Array<number>} value
|
|
43233
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43234
|
+
*/
|
|
43235
|
+
proto.game.MultiScopeMembersRequest.prototype.setCollectionIdsList = function(value) {
|
|
43236
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
43237
|
+
};
|
|
43238
|
+
|
|
43239
|
+
|
|
43240
|
+
/**
|
|
43241
|
+
* @param {number} value
|
|
43242
|
+
* @param {number=} opt_index
|
|
43243
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43244
|
+
*/
|
|
43245
|
+
proto.game.MultiScopeMembersRequest.prototype.addCollectionIds = function(value, opt_index) {
|
|
43246
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
43247
|
+
};
|
|
43248
|
+
|
|
43249
|
+
|
|
43250
|
+
/**
|
|
43251
|
+
* Clears the list making it empty but non-null.
|
|
43252
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43253
|
+
*/
|
|
43254
|
+
proto.game.MultiScopeMembersRequest.prototype.clearCollectionIdsList = function() {
|
|
43255
|
+
return this.setCollectionIdsList([]);
|
|
43256
|
+
};
|
|
43257
|
+
|
|
43258
|
+
|
|
43259
|
+
/**
|
|
43260
|
+
* repeated int32 tag_ids = 3;
|
|
43261
|
+
* @return {!Array<number>}
|
|
43262
|
+
*/
|
|
43263
|
+
proto.game.MultiScopeMembersRequest.prototype.getTagIdsList = function() {
|
|
43264
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
43265
|
+
};
|
|
43266
|
+
|
|
43267
|
+
|
|
43268
|
+
/**
|
|
43269
|
+
* @param {!Array<number>} value
|
|
43270
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43271
|
+
*/
|
|
43272
|
+
proto.game.MultiScopeMembersRequest.prototype.setTagIdsList = function(value) {
|
|
43273
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
43274
|
+
};
|
|
43275
|
+
|
|
43276
|
+
|
|
43277
|
+
/**
|
|
43278
|
+
* @param {number} value
|
|
43279
|
+
* @param {number=} opt_index
|
|
43280
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43281
|
+
*/
|
|
43282
|
+
proto.game.MultiScopeMembersRequest.prototype.addTagIds = function(value, opt_index) {
|
|
43283
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
43284
|
+
};
|
|
43285
|
+
|
|
43286
|
+
|
|
43287
|
+
/**
|
|
43288
|
+
* Clears the list making it empty but non-null.
|
|
43289
|
+
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43290
|
+
*/
|
|
43291
|
+
proto.game.MultiScopeMembersRequest.prototype.clearTagIdsList = function() {
|
|
43292
|
+
return this.setTagIdsList([]);
|
|
43293
|
+
};
|
|
43294
|
+
|
|
43295
|
+
|
|
43296
|
+
|
|
43297
|
+
|
|
43298
|
+
|
|
43299
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43300
|
+
/**
|
|
43301
|
+
* Creates an object representation of this proto.
|
|
43302
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43303
|
+
* Optional fields that are not set will be set to undefined.
|
|
43304
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43305
|
+
* For the list of reserved names please see:
|
|
43306
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43307
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43308
|
+
* JSPB instance for transitional soy proto support:
|
|
43309
|
+
* http://goto/soy-param-migration
|
|
43310
|
+
* @return {!Object}
|
|
43311
|
+
*/
|
|
43312
|
+
proto.game.MultiScopeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43313
|
+
return proto.game.MultiScopeResponse.toObject(opt_includeInstance, this);
|
|
43314
|
+
};
|
|
43315
|
+
|
|
43316
|
+
|
|
43317
|
+
/**
|
|
43318
|
+
* Static version of the {@see toObject} method.
|
|
43319
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43320
|
+
* the JSPB instance for transitional soy proto support:
|
|
43321
|
+
* http://goto/soy-param-migration
|
|
43322
|
+
* @param {!proto.game.MultiScopeResponse} msg The msg instance to transform.
|
|
43323
|
+
* @return {!Object}
|
|
43324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43325
|
+
*/
|
|
43326
|
+
proto.game.MultiScopeResponse.toObject = function(includeInstance, msg) {
|
|
43327
|
+
var f, obj = {
|
|
43328
|
+
data: (f = msg.getData()) && proto.game.MultiScopeItem.toObject(includeInstance, f)
|
|
43329
|
+
};
|
|
43330
|
+
|
|
43331
|
+
if (includeInstance) {
|
|
43332
|
+
obj.$jspbMessageInstance = msg;
|
|
43333
|
+
}
|
|
43334
|
+
return obj;
|
|
43335
|
+
};
|
|
43336
|
+
}
|
|
43337
|
+
|
|
43338
|
+
|
|
43339
|
+
/**
|
|
43340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43342
|
+
* @return {!proto.game.MultiScopeResponse}
|
|
43343
|
+
*/
|
|
43344
|
+
proto.game.MultiScopeResponse.deserializeBinary = function(bytes) {
|
|
43345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43346
|
+
var msg = new proto.game.MultiScopeResponse;
|
|
43347
|
+
return proto.game.MultiScopeResponse.deserializeBinaryFromReader(msg, reader);
|
|
43348
|
+
};
|
|
43349
|
+
|
|
43350
|
+
|
|
43351
|
+
/**
|
|
43352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43353
|
+
* given reader into the given message object.
|
|
43354
|
+
* @param {!proto.game.MultiScopeResponse} msg The message object to deserialize into.
|
|
43355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43356
|
+
* @return {!proto.game.MultiScopeResponse}
|
|
43357
|
+
*/
|
|
43358
|
+
proto.game.MultiScopeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
43359
|
+
while (reader.nextField()) {
|
|
43360
|
+
if (reader.isEndGroup()) {
|
|
43361
|
+
break;
|
|
43362
|
+
}
|
|
43363
|
+
var field = reader.getFieldNumber();
|
|
43364
|
+
switch (field) {
|
|
43365
|
+
case 1:
|
|
43366
|
+
var value = new proto.game.MultiScopeItem;
|
|
43367
|
+
reader.readMessage(value,proto.game.MultiScopeItem.deserializeBinaryFromReader);
|
|
43368
|
+
msg.setData(value);
|
|
43369
|
+
break;
|
|
43370
|
+
default:
|
|
43371
|
+
reader.skipField();
|
|
43372
|
+
break;
|
|
43373
|
+
}
|
|
43374
|
+
}
|
|
43375
|
+
return msg;
|
|
43376
|
+
};
|
|
43377
|
+
|
|
43378
|
+
|
|
43379
|
+
/**
|
|
43380
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43381
|
+
* @return {!Uint8Array}
|
|
43382
|
+
*/
|
|
43383
|
+
proto.game.MultiScopeResponse.prototype.serializeBinary = function() {
|
|
43384
|
+
var writer = new jspb.BinaryWriter();
|
|
43385
|
+
proto.game.MultiScopeResponse.serializeBinaryToWriter(this, writer);
|
|
43386
|
+
return writer.getResultBuffer();
|
|
43387
|
+
};
|
|
43388
|
+
|
|
43389
|
+
|
|
43390
|
+
/**
|
|
43391
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43392
|
+
* format), writing to the given BinaryWriter.
|
|
43393
|
+
* @param {!proto.game.MultiScopeResponse} message
|
|
43394
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43395
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43396
|
+
*/
|
|
43397
|
+
proto.game.MultiScopeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
43398
|
+
var f = undefined;
|
|
43399
|
+
f = message.getData();
|
|
43400
|
+
if (f != null) {
|
|
43401
|
+
writer.writeMessage(
|
|
43402
|
+
1,
|
|
43403
|
+
f,
|
|
43404
|
+
proto.game.MultiScopeItem.serializeBinaryToWriter
|
|
43405
|
+
);
|
|
43406
|
+
}
|
|
43407
|
+
};
|
|
43408
|
+
|
|
43409
|
+
|
|
43410
|
+
/**
|
|
43411
|
+
* optional MultiScopeItem data = 1;
|
|
43412
|
+
* @return {?proto.game.MultiScopeItem}
|
|
43413
|
+
*/
|
|
43414
|
+
proto.game.MultiScopeResponse.prototype.getData = function() {
|
|
43415
|
+
return /** @type{?proto.game.MultiScopeItem} */ (
|
|
43416
|
+
jspb.Message.getWrapperField(this, proto.game.MultiScopeItem, 1));
|
|
43417
|
+
};
|
|
43418
|
+
|
|
43419
|
+
|
|
43420
|
+
/**
|
|
43421
|
+
* @param {?proto.game.MultiScopeItem|undefined} value
|
|
43422
|
+
* @return {!proto.game.MultiScopeResponse} returns this
|
|
43423
|
+
*/
|
|
43424
|
+
proto.game.MultiScopeResponse.prototype.setData = function(value) {
|
|
43425
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
43426
|
+
};
|
|
43427
|
+
|
|
43428
|
+
|
|
43429
|
+
/**
|
|
43430
|
+
* Clears the message field making it undefined.
|
|
43431
|
+
* @return {!proto.game.MultiScopeResponse} returns this
|
|
43432
|
+
*/
|
|
43433
|
+
proto.game.MultiScopeResponse.prototype.clearData = function() {
|
|
43434
|
+
return this.setData(undefined);
|
|
43435
|
+
};
|
|
43436
|
+
|
|
43437
|
+
|
|
43438
|
+
/**
|
|
43439
|
+
* Returns whether this field is set.
|
|
43440
|
+
* @return {boolean}
|
|
43441
|
+
*/
|
|
43442
|
+
proto.game.MultiScopeResponse.prototype.hasData = function() {
|
|
43443
|
+
return jspb.Message.getField(this, 1) != null;
|
|
43444
|
+
};
|
|
43445
|
+
|
|
43446
|
+
|
|
43447
|
+
|
|
43448
|
+
/**
|
|
43449
|
+
* List of repeated fields within this message type.
|
|
43450
|
+
* @private {!Array<number>}
|
|
43451
|
+
* @const
|
|
43452
|
+
*/
|
|
43453
|
+
proto.game.MultiScopeItemsResponse.repeatedFields_ = [1];
|
|
43454
|
+
|
|
43455
|
+
|
|
43456
|
+
|
|
43457
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43458
|
+
/**
|
|
43459
|
+
* Creates an object representation of this proto.
|
|
43460
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43461
|
+
* Optional fields that are not set will be set to undefined.
|
|
43462
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43463
|
+
* For the list of reserved names please see:
|
|
43464
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43465
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43466
|
+
* JSPB instance for transitional soy proto support:
|
|
43467
|
+
* http://goto/soy-param-migration
|
|
43468
|
+
* @return {!Object}
|
|
43469
|
+
*/
|
|
43470
|
+
proto.game.MultiScopeItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43471
|
+
return proto.game.MultiScopeItemsResponse.toObject(opt_includeInstance, this);
|
|
43472
|
+
};
|
|
43473
|
+
|
|
43474
|
+
|
|
43475
|
+
/**
|
|
43476
|
+
* Static version of the {@see toObject} method.
|
|
43477
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43478
|
+
* the JSPB instance for transitional soy proto support:
|
|
43479
|
+
* http://goto/soy-param-migration
|
|
43480
|
+
* @param {!proto.game.MultiScopeItemsResponse} msg The msg instance to transform.
|
|
43481
|
+
* @return {!Object}
|
|
43482
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43483
|
+
*/
|
|
43484
|
+
proto.game.MultiScopeItemsResponse.toObject = function(includeInstance, msg) {
|
|
43485
|
+
var f, obj = {
|
|
43486
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
43487
|
+
proto.game.MultiScopeItem.toObject, includeInstance),
|
|
43488
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
43489
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
43490
|
+
};
|
|
43491
|
+
|
|
43492
|
+
if (includeInstance) {
|
|
43493
|
+
obj.$jspbMessageInstance = msg;
|
|
43494
|
+
}
|
|
43495
|
+
return obj;
|
|
43496
|
+
};
|
|
43497
|
+
}
|
|
43498
|
+
|
|
43499
|
+
|
|
43500
|
+
/**
|
|
43501
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43502
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43503
|
+
* @return {!proto.game.MultiScopeItemsResponse}
|
|
43504
|
+
*/
|
|
43505
|
+
proto.game.MultiScopeItemsResponse.deserializeBinary = function(bytes) {
|
|
43506
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43507
|
+
var msg = new proto.game.MultiScopeItemsResponse;
|
|
43508
|
+
return proto.game.MultiScopeItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
43509
|
+
};
|
|
43510
|
+
|
|
43511
|
+
|
|
43512
|
+
/**
|
|
43513
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43514
|
+
* given reader into the given message object.
|
|
43515
|
+
* @param {!proto.game.MultiScopeItemsResponse} msg The message object to deserialize into.
|
|
43516
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43517
|
+
* @return {!proto.game.MultiScopeItemsResponse}
|
|
43518
|
+
*/
|
|
43519
|
+
proto.game.MultiScopeItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
43520
|
+
while (reader.nextField()) {
|
|
43521
|
+
if (reader.isEndGroup()) {
|
|
43522
|
+
break;
|
|
43523
|
+
}
|
|
43524
|
+
var field = reader.getFieldNumber();
|
|
43525
|
+
switch (field) {
|
|
43526
|
+
case 1:
|
|
43527
|
+
var value = new proto.game.MultiScopeItem;
|
|
43528
|
+
reader.readMessage(value,proto.game.MultiScopeItem.deserializeBinaryFromReader);
|
|
43529
|
+
msg.addItems(value);
|
|
43530
|
+
break;
|
|
43531
|
+
case 2:
|
|
43532
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43533
|
+
msg.setTotalPages(value);
|
|
43534
|
+
break;
|
|
43535
|
+
case 3:
|
|
43536
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43537
|
+
msg.setTotalItems(value);
|
|
43538
|
+
break;
|
|
43539
|
+
default:
|
|
43540
|
+
reader.skipField();
|
|
43541
|
+
break;
|
|
43542
|
+
}
|
|
43543
|
+
}
|
|
43544
|
+
return msg;
|
|
43545
|
+
};
|
|
43546
|
+
|
|
43547
|
+
|
|
43548
|
+
/**
|
|
43549
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43550
|
+
* @return {!Uint8Array}
|
|
43551
|
+
*/
|
|
43552
|
+
proto.game.MultiScopeItemsResponse.prototype.serializeBinary = function() {
|
|
43553
|
+
var writer = new jspb.BinaryWriter();
|
|
43554
|
+
proto.game.MultiScopeItemsResponse.serializeBinaryToWriter(this, writer);
|
|
43555
|
+
return writer.getResultBuffer();
|
|
43556
|
+
};
|
|
43557
|
+
|
|
43558
|
+
|
|
43559
|
+
/**
|
|
43560
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43561
|
+
* format), writing to the given BinaryWriter.
|
|
43562
|
+
* @param {!proto.game.MultiScopeItemsResponse} message
|
|
43563
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43564
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43565
|
+
*/
|
|
43566
|
+
proto.game.MultiScopeItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
43567
|
+
var f = undefined;
|
|
43568
|
+
f = message.getItemsList();
|
|
43569
|
+
if (f.length > 0) {
|
|
43570
|
+
writer.writeRepeatedMessage(
|
|
43571
|
+
1,
|
|
43572
|
+
f,
|
|
43573
|
+
proto.game.MultiScopeItem.serializeBinaryToWriter
|
|
43574
|
+
);
|
|
43575
|
+
}
|
|
43576
|
+
f = message.getTotalPages();
|
|
43577
|
+
if (f !== 0) {
|
|
43578
|
+
writer.writeInt32(
|
|
43579
|
+
2,
|
|
43580
|
+
f
|
|
43581
|
+
);
|
|
43582
|
+
}
|
|
43583
|
+
f = message.getTotalItems();
|
|
43584
|
+
if (f !== 0) {
|
|
43585
|
+
writer.writeInt32(
|
|
43586
|
+
3,
|
|
43587
|
+
f
|
|
43588
|
+
);
|
|
43589
|
+
}
|
|
43590
|
+
};
|
|
43591
|
+
|
|
43592
|
+
|
|
43593
|
+
/**
|
|
43594
|
+
* repeated MultiScopeItem items = 1;
|
|
43595
|
+
* @return {!Array<!proto.game.MultiScopeItem>}
|
|
43596
|
+
*/
|
|
43597
|
+
proto.game.MultiScopeItemsResponse.prototype.getItemsList = function() {
|
|
43598
|
+
return /** @type{!Array<!proto.game.MultiScopeItem>} */ (
|
|
43599
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeItem, 1));
|
|
43600
|
+
};
|
|
43601
|
+
|
|
43602
|
+
|
|
43603
|
+
/**
|
|
43604
|
+
* @param {!Array<!proto.game.MultiScopeItem>} value
|
|
43605
|
+
* @return {!proto.game.MultiScopeItemsResponse} returns this
|
|
43606
|
+
*/
|
|
43607
|
+
proto.game.MultiScopeItemsResponse.prototype.setItemsList = function(value) {
|
|
43608
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
43609
|
+
};
|
|
43610
|
+
|
|
43611
|
+
|
|
43612
|
+
/**
|
|
43613
|
+
* @param {!proto.game.MultiScopeItem=} opt_value
|
|
43614
|
+
* @param {number=} opt_index
|
|
43615
|
+
* @return {!proto.game.MultiScopeItem}
|
|
43616
|
+
*/
|
|
43617
|
+
proto.game.MultiScopeItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
43618
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.MultiScopeItem, opt_index);
|
|
43619
|
+
};
|
|
43620
|
+
|
|
43621
|
+
|
|
43622
|
+
/**
|
|
43623
|
+
* Clears the list making it empty but non-null.
|
|
43624
|
+
* @return {!proto.game.MultiScopeItemsResponse} returns this
|
|
43625
|
+
*/
|
|
43626
|
+
proto.game.MultiScopeItemsResponse.prototype.clearItemsList = function() {
|
|
43627
|
+
return this.setItemsList([]);
|
|
43628
|
+
};
|
|
43629
|
+
|
|
43630
|
+
|
|
43631
|
+
/**
|
|
43632
|
+
* optional int32 total_pages = 2;
|
|
43633
|
+
* @return {number}
|
|
43634
|
+
*/
|
|
43635
|
+
proto.game.MultiScopeItemsResponse.prototype.getTotalPages = function() {
|
|
43636
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
43637
|
+
};
|
|
43638
|
+
|
|
43639
|
+
|
|
43640
|
+
/**
|
|
43641
|
+
* @param {number} value
|
|
43642
|
+
* @return {!proto.game.MultiScopeItemsResponse} returns this
|
|
43643
|
+
*/
|
|
43644
|
+
proto.game.MultiScopeItemsResponse.prototype.setTotalPages = function(value) {
|
|
43645
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
43646
|
+
};
|
|
43647
|
+
|
|
43648
|
+
|
|
43649
|
+
/**
|
|
43650
|
+
* optional int32 total_items = 3;
|
|
43651
|
+
* @return {number}
|
|
43652
|
+
*/
|
|
43653
|
+
proto.game.MultiScopeItemsResponse.prototype.getTotalItems = function() {
|
|
43654
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
43655
|
+
};
|
|
43656
|
+
|
|
43657
|
+
|
|
43658
|
+
/**
|
|
43659
|
+
* @param {number} value
|
|
43660
|
+
* @return {!proto.game.MultiScopeItemsResponse} returns this
|
|
43661
|
+
*/
|
|
43662
|
+
proto.game.MultiScopeItemsResponse.prototype.setTotalItems = function(value) {
|
|
43663
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
43664
|
+
};
|
|
43665
|
+
|
|
43666
|
+
|
|
43667
|
+
|
|
43668
|
+
|
|
43669
|
+
|
|
43670
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43671
|
+
/**
|
|
43672
|
+
* Creates an object representation of this proto.
|
|
43673
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43674
|
+
* Optional fields that are not set will be set to undefined.
|
|
43675
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43676
|
+
* For the list of reserved names please see:
|
|
43677
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43678
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43679
|
+
* JSPB instance for transitional soy proto support:
|
|
43680
|
+
* http://goto/soy-param-migration
|
|
43681
|
+
* @return {!Object}
|
|
43682
|
+
*/
|
|
43683
|
+
proto.game.MultiScopeStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43684
|
+
return proto.game.MultiScopeStatusResponse.toObject(opt_includeInstance, this);
|
|
43685
|
+
};
|
|
43686
|
+
|
|
43687
|
+
|
|
43688
|
+
/**
|
|
43689
|
+
* Static version of the {@see toObject} method.
|
|
43690
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43691
|
+
* the JSPB instance for transitional soy proto support:
|
|
43692
|
+
* http://goto/soy-param-migration
|
|
43693
|
+
* @param {!proto.game.MultiScopeStatusResponse} msg The msg instance to transform.
|
|
43694
|
+
* @return {!Object}
|
|
43695
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43696
|
+
*/
|
|
43697
|
+
proto.game.MultiScopeStatusResponse.toObject = function(includeInstance, msg) {
|
|
43698
|
+
var f, obj = {
|
|
43699
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
43700
|
+
};
|
|
43701
|
+
|
|
43702
|
+
if (includeInstance) {
|
|
43703
|
+
obj.$jspbMessageInstance = msg;
|
|
43704
|
+
}
|
|
43705
|
+
return obj;
|
|
43706
|
+
};
|
|
43707
|
+
}
|
|
43708
|
+
|
|
43709
|
+
|
|
43710
|
+
/**
|
|
43711
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43712
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43713
|
+
* @return {!proto.game.MultiScopeStatusResponse}
|
|
43714
|
+
*/
|
|
43715
|
+
proto.game.MultiScopeStatusResponse.deserializeBinary = function(bytes) {
|
|
43716
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43717
|
+
var msg = new proto.game.MultiScopeStatusResponse;
|
|
43718
|
+
return proto.game.MultiScopeStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
43719
|
+
};
|
|
43720
|
+
|
|
43721
|
+
|
|
43722
|
+
/**
|
|
43723
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43724
|
+
* given reader into the given message object.
|
|
43725
|
+
* @param {!proto.game.MultiScopeStatusResponse} msg The message object to deserialize into.
|
|
43726
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43727
|
+
* @return {!proto.game.MultiScopeStatusResponse}
|
|
43728
|
+
*/
|
|
43729
|
+
proto.game.MultiScopeStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
43730
|
+
while (reader.nextField()) {
|
|
43731
|
+
if (reader.isEndGroup()) {
|
|
43732
|
+
break;
|
|
43733
|
+
}
|
|
43734
|
+
var field = reader.getFieldNumber();
|
|
43735
|
+
switch (field) {
|
|
43736
|
+
case 1:
|
|
43737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43738
|
+
msg.setStatus(value);
|
|
43739
|
+
break;
|
|
43740
|
+
default:
|
|
43741
|
+
reader.skipField();
|
|
43742
|
+
break;
|
|
43743
|
+
}
|
|
43744
|
+
}
|
|
43745
|
+
return msg;
|
|
43746
|
+
};
|
|
43747
|
+
|
|
43748
|
+
|
|
43749
|
+
/**
|
|
43750
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43751
|
+
* @return {!Uint8Array}
|
|
43752
|
+
*/
|
|
43753
|
+
proto.game.MultiScopeStatusResponse.prototype.serializeBinary = function() {
|
|
43754
|
+
var writer = new jspb.BinaryWriter();
|
|
43755
|
+
proto.game.MultiScopeStatusResponse.serializeBinaryToWriter(this, writer);
|
|
43756
|
+
return writer.getResultBuffer();
|
|
43757
|
+
};
|
|
43758
|
+
|
|
43759
|
+
|
|
43760
|
+
/**
|
|
43761
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43762
|
+
* format), writing to the given BinaryWriter.
|
|
43763
|
+
* @param {!proto.game.MultiScopeStatusResponse} message
|
|
43764
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43765
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43766
|
+
*/
|
|
43767
|
+
proto.game.MultiScopeStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
43768
|
+
var f = undefined;
|
|
43769
|
+
f = message.getStatus();
|
|
43770
|
+
if (f.length > 0) {
|
|
43771
|
+
writer.writeString(
|
|
43772
|
+
1,
|
|
43773
|
+
f
|
|
43774
|
+
);
|
|
43775
|
+
}
|
|
43776
|
+
};
|
|
43777
|
+
|
|
43778
|
+
|
|
43779
|
+
/**
|
|
43780
|
+
* optional string status = 1;
|
|
43781
|
+
* @return {string}
|
|
43782
|
+
*/
|
|
43783
|
+
proto.game.MultiScopeStatusResponse.prototype.getStatus = function() {
|
|
43784
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
43785
|
+
};
|
|
43786
|
+
|
|
43787
|
+
|
|
43788
|
+
/**
|
|
43789
|
+
* @param {string} value
|
|
43790
|
+
* @return {!proto.game.MultiScopeStatusResponse} returns this
|
|
43791
|
+
*/
|
|
43792
|
+
proto.game.MultiScopeStatusResponse.prototype.setStatus = function(value) {
|
|
43793
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
43794
|
+
};
|
|
43795
|
+
|
|
43796
|
+
|
|
43797
|
+
|
|
43798
|
+
|
|
43799
|
+
|
|
40826
43800
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
40827
43801
|
/**
|
|
40828
43802
|
* Creates an object representation of this proto.
|