protobuf-platform 1.2.696 → 1.2.698
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/bonus/bonus.proto +2 -0
- package/bonus/bonus_pb.js +49 -1
- package/cms/cms.proto +21 -0
- package/cms/cms_grpc_pb.js +55 -0
- package/cms/cms_pb.js +787 -1
- package/package.json +1 -1
- package/promocode/promocode.proto +51 -0
- package/promocode/promocode_grpc_pb.js +110 -0
- package/promocode/promocode_pb.js +2154 -0
package/cms/cms_pb.js
CHANGED
|
@@ -43,6 +43,8 @@ goog.exportSymbol('proto.cms.CustomWidgetRequest', null, global);
|
|
|
43
43
|
goog.exportSymbol('proto.cms.CustomWidgetResponse', null, global);
|
|
44
44
|
goog.exportSymbol('proto.cms.CustomWidgetRow', null, global);
|
|
45
45
|
goog.exportSymbol('proto.cms.CustomWidgetStatusResponse', null, global);
|
|
46
|
+
goog.exportSymbol('proto.cms.CustomWidgetTranslationRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.cms.CustomWidgetTranslationResponse', null, global);
|
|
46
48
|
goog.exportSymbol('proto.cms.CustomWidgetsItemsResponse', null, global);
|
|
47
49
|
goog.exportSymbol('proto.cms.DeleteFooterPartnersMediaRequest', null, global);
|
|
48
50
|
goog.exportSymbol('proto.cms.DeleteFooterSocialNetworksMediaRequest', null, global);
|
|
@@ -116,6 +118,7 @@ goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
|
|
|
116
118
|
goog.exportSymbol('proto.cms.GetCasinoPageWidgetRequest', null, global);
|
|
117
119
|
goog.exportSymbol('proto.cms.GetCustomWidgetForUserRequest', null, global);
|
|
118
120
|
goog.exportSymbol('proto.cms.GetCustomWidgetRequest', null, global);
|
|
121
|
+
goog.exportSymbol('proto.cms.GetCustomWidgetTranslationRequest', null, global);
|
|
119
122
|
goog.exportSymbol('proto.cms.GetFileRequest', null, global);
|
|
120
123
|
goog.exportSymbol('proto.cms.GetFooterApplicationsRequest', null, global);
|
|
121
124
|
goog.exportSymbol('proto.cms.GetFooterBrandCoreRequest', null, global);
|
|
@@ -2573,6 +2576,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2573
2576
|
*/
|
|
2574
2577
|
proto.cms.UpdateCustomWidgetItemConfigRequest.displayName = 'proto.cms.UpdateCustomWidgetItemConfigRequest';
|
|
2575
2578
|
}
|
|
2579
|
+
/**
|
|
2580
|
+
* Generated by JsPbCodeGenerator.
|
|
2581
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2582
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2583
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2584
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2585
|
+
* valid.
|
|
2586
|
+
* @extends {jspb.Message}
|
|
2587
|
+
* @constructor
|
|
2588
|
+
*/
|
|
2589
|
+
proto.cms.CustomWidgetTranslationRequest = function(opt_data) {
|
|
2590
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2591
|
+
};
|
|
2592
|
+
goog.inherits(proto.cms.CustomWidgetTranslationRequest, jspb.Message);
|
|
2593
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2594
|
+
/**
|
|
2595
|
+
* @public
|
|
2596
|
+
* @override
|
|
2597
|
+
*/
|
|
2598
|
+
proto.cms.CustomWidgetTranslationRequest.displayName = 'proto.cms.CustomWidgetTranslationRequest';
|
|
2599
|
+
}
|
|
2600
|
+
/**
|
|
2601
|
+
* Generated by JsPbCodeGenerator.
|
|
2602
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2603
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2604
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2605
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2606
|
+
* valid.
|
|
2607
|
+
* @extends {jspb.Message}
|
|
2608
|
+
* @constructor
|
|
2609
|
+
*/
|
|
2610
|
+
proto.cms.GetCustomWidgetTranslationRequest = function(opt_data) {
|
|
2611
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2612
|
+
};
|
|
2613
|
+
goog.inherits(proto.cms.GetCustomWidgetTranslationRequest, jspb.Message);
|
|
2614
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2615
|
+
/**
|
|
2616
|
+
* @public
|
|
2617
|
+
* @override
|
|
2618
|
+
*/
|
|
2619
|
+
proto.cms.GetCustomWidgetTranslationRequest.displayName = 'proto.cms.GetCustomWidgetTranslationRequest';
|
|
2620
|
+
}
|
|
2621
|
+
/**
|
|
2622
|
+
* Generated by JsPbCodeGenerator.
|
|
2623
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2624
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2625
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2626
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2627
|
+
* valid.
|
|
2628
|
+
* @extends {jspb.Message}
|
|
2629
|
+
* @constructor
|
|
2630
|
+
*/
|
|
2631
|
+
proto.cms.CustomWidgetTranslationResponse = function(opt_data) {
|
|
2632
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2633
|
+
};
|
|
2634
|
+
goog.inherits(proto.cms.CustomWidgetTranslationResponse, jspb.Message);
|
|
2635
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2636
|
+
/**
|
|
2637
|
+
* @public
|
|
2638
|
+
* @override
|
|
2639
|
+
*/
|
|
2640
|
+
proto.cms.CustomWidgetTranslationResponse.displayName = 'proto.cms.CustomWidgetTranslationResponse';
|
|
2641
|
+
}
|
|
2576
2642
|
/**
|
|
2577
2643
|
* Generated by JsPbCodeGenerator.
|
|
2578
2644
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -33707,7 +33773,8 @@ proto.cms.GetCustomWidgetForUserRequest.toObject = function(includeInstance, msg
|
|
|
33707
33773
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33708
33774
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
33709
33775
|
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
33710
|
-
currency: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
33776
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
33777
|
+
domain: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
33711
33778
|
};
|
|
33712
33779
|
|
|
33713
33780
|
if (includeInstance) {
|
|
@@ -33772,6 +33839,10 @@ proto.cms.GetCustomWidgetForUserRequest.deserializeBinaryFromReader = function(m
|
|
|
33772
33839
|
var value = /** @type {string} */ (reader.readString());
|
|
33773
33840
|
msg.setCurrency(value);
|
|
33774
33841
|
break;
|
|
33842
|
+
case 8:
|
|
33843
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33844
|
+
msg.setDomain(value);
|
|
33845
|
+
break;
|
|
33775
33846
|
default:
|
|
33776
33847
|
reader.skipField();
|
|
33777
33848
|
break;
|
|
@@ -33850,6 +33921,13 @@ proto.cms.GetCustomWidgetForUserRequest.serializeBinaryToWriter = function(messa
|
|
|
33850
33921
|
f
|
|
33851
33922
|
);
|
|
33852
33923
|
}
|
|
33924
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
33925
|
+
if (f != null) {
|
|
33926
|
+
writer.writeString(
|
|
33927
|
+
8,
|
|
33928
|
+
f
|
|
33929
|
+
);
|
|
33930
|
+
}
|
|
33853
33931
|
};
|
|
33854
33932
|
|
|
33855
33933
|
|
|
@@ -34087,6 +34165,42 @@ proto.cms.GetCustomWidgetForUserRequest.prototype.hasCurrency = function() {
|
|
|
34087
34165
|
};
|
|
34088
34166
|
|
|
34089
34167
|
|
|
34168
|
+
/**
|
|
34169
|
+
* optional string domain = 8;
|
|
34170
|
+
* @return {string}
|
|
34171
|
+
*/
|
|
34172
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.getDomain = function() {
|
|
34173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
34174
|
+
};
|
|
34175
|
+
|
|
34176
|
+
|
|
34177
|
+
/**
|
|
34178
|
+
* @param {string} value
|
|
34179
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
34180
|
+
*/
|
|
34181
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.setDomain = function(value) {
|
|
34182
|
+
return jspb.Message.setField(this, 8, value);
|
|
34183
|
+
};
|
|
34184
|
+
|
|
34185
|
+
|
|
34186
|
+
/**
|
|
34187
|
+
* Clears the field making it undefined.
|
|
34188
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
34189
|
+
*/
|
|
34190
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.clearDomain = function() {
|
|
34191
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
34192
|
+
};
|
|
34193
|
+
|
|
34194
|
+
|
|
34195
|
+
/**
|
|
34196
|
+
* Returns whether this field is set.
|
|
34197
|
+
* @return {boolean}
|
|
34198
|
+
*/
|
|
34199
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.hasDomain = function() {
|
|
34200
|
+
return jspb.Message.getField(this, 8) != null;
|
|
34201
|
+
};
|
|
34202
|
+
|
|
34203
|
+
|
|
34090
34204
|
|
|
34091
34205
|
/**
|
|
34092
34206
|
* List of repeated fields within this message type.
|
|
@@ -34666,6 +34780,678 @@ proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setConfig = function(val
|
|
|
34666
34780
|
|
|
34667
34781
|
|
|
34668
34782
|
|
|
34783
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34784
|
+
/**
|
|
34785
|
+
* Creates an object representation of this proto.
|
|
34786
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34787
|
+
* Optional fields that are not set will be set to undefined.
|
|
34788
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34789
|
+
* For the list of reserved names please see:
|
|
34790
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34791
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34792
|
+
* JSPB instance for transitional soy proto support:
|
|
34793
|
+
* http://goto/soy-param-migration
|
|
34794
|
+
* @return {!Object}
|
|
34795
|
+
*/
|
|
34796
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
34797
|
+
return proto.cms.CustomWidgetTranslationRequest.toObject(opt_includeInstance, this);
|
|
34798
|
+
};
|
|
34799
|
+
|
|
34800
|
+
|
|
34801
|
+
/**
|
|
34802
|
+
* Static version of the {@see toObject} method.
|
|
34803
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34804
|
+
* the JSPB instance for transitional soy proto support:
|
|
34805
|
+
* http://goto/soy-param-migration
|
|
34806
|
+
* @param {!proto.cms.CustomWidgetTranslationRequest} msg The msg instance to transform.
|
|
34807
|
+
* @return {!Object}
|
|
34808
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34809
|
+
*/
|
|
34810
|
+
proto.cms.CustomWidgetTranslationRequest.toObject = function(includeInstance, msg) {
|
|
34811
|
+
var f, obj = {
|
|
34812
|
+
customWidgetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
34813
|
+
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
34814
|
+
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
34815
|
+
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
34816
|
+
domain: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
34817
|
+
};
|
|
34818
|
+
|
|
34819
|
+
if (includeInstance) {
|
|
34820
|
+
obj.$jspbMessageInstance = msg;
|
|
34821
|
+
}
|
|
34822
|
+
return obj;
|
|
34823
|
+
};
|
|
34824
|
+
}
|
|
34825
|
+
|
|
34826
|
+
|
|
34827
|
+
/**
|
|
34828
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34829
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34830
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest}
|
|
34831
|
+
*/
|
|
34832
|
+
proto.cms.CustomWidgetTranslationRequest.deserializeBinary = function(bytes) {
|
|
34833
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34834
|
+
var msg = new proto.cms.CustomWidgetTranslationRequest;
|
|
34835
|
+
return proto.cms.CustomWidgetTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
34836
|
+
};
|
|
34837
|
+
|
|
34838
|
+
|
|
34839
|
+
/**
|
|
34840
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34841
|
+
* given reader into the given message object.
|
|
34842
|
+
* @param {!proto.cms.CustomWidgetTranslationRequest} msg The message object to deserialize into.
|
|
34843
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34844
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest}
|
|
34845
|
+
*/
|
|
34846
|
+
proto.cms.CustomWidgetTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
34847
|
+
while (reader.nextField()) {
|
|
34848
|
+
if (reader.isEndGroup()) {
|
|
34849
|
+
break;
|
|
34850
|
+
}
|
|
34851
|
+
var field = reader.getFieldNumber();
|
|
34852
|
+
switch (field) {
|
|
34853
|
+
case 1:
|
|
34854
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34855
|
+
msg.setCustomWidgetId(value);
|
|
34856
|
+
break;
|
|
34857
|
+
case 2:
|
|
34858
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34859
|
+
msg.setGeo(value);
|
|
34860
|
+
break;
|
|
34861
|
+
case 3:
|
|
34862
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34863
|
+
msg.setLocale(value);
|
|
34864
|
+
break;
|
|
34865
|
+
case 4:
|
|
34866
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34867
|
+
msg.setTitle(value);
|
|
34868
|
+
break;
|
|
34869
|
+
case 5:
|
|
34870
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34871
|
+
msg.setDomain(value);
|
|
34872
|
+
break;
|
|
34873
|
+
default:
|
|
34874
|
+
reader.skipField();
|
|
34875
|
+
break;
|
|
34876
|
+
}
|
|
34877
|
+
}
|
|
34878
|
+
return msg;
|
|
34879
|
+
};
|
|
34880
|
+
|
|
34881
|
+
|
|
34882
|
+
/**
|
|
34883
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34884
|
+
* @return {!Uint8Array}
|
|
34885
|
+
*/
|
|
34886
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.serializeBinary = function() {
|
|
34887
|
+
var writer = new jspb.BinaryWriter();
|
|
34888
|
+
proto.cms.CustomWidgetTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
34889
|
+
return writer.getResultBuffer();
|
|
34890
|
+
};
|
|
34891
|
+
|
|
34892
|
+
|
|
34893
|
+
/**
|
|
34894
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34895
|
+
* format), writing to the given BinaryWriter.
|
|
34896
|
+
* @param {!proto.cms.CustomWidgetTranslationRequest} message
|
|
34897
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34898
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34899
|
+
*/
|
|
34900
|
+
proto.cms.CustomWidgetTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
34901
|
+
var f = undefined;
|
|
34902
|
+
f = message.getCustomWidgetId();
|
|
34903
|
+
if (f !== 0) {
|
|
34904
|
+
writer.writeInt32(
|
|
34905
|
+
1,
|
|
34906
|
+
f
|
|
34907
|
+
);
|
|
34908
|
+
}
|
|
34909
|
+
f = message.getGeo();
|
|
34910
|
+
if (f.length > 0) {
|
|
34911
|
+
writer.writeString(
|
|
34912
|
+
2,
|
|
34913
|
+
f
|
|
34914
|
+
);
|
|
34915
|
+
}
|
|
34916
|
+
f = message.getLocale();
|
|
34917
|
+
if (f.length > 0) {
|
|
34918
|
+
writer.writeString(
|
|
34919
|
+
3,
|
|
34920
|
+
f
|
|
34921
|
+
);
|
|
34922
|
+
}
|
|
34923
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
34924
|
+
if (f != null) {
|
|
34925
|
+
writer.writeString(
|
|
34926
|
+
4,
|
|
34927
|
+
f
|
|
34928
|
+
);
|
|
34929
|
+
}
|
|
34930
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
34931
|
+
if (f != null) {
|
|
34932
|
+
writer.writeString(
|
|
34933
|
+
5,
|
|
34934
|
+
f
|
|
34935
|
+
);
|
|
34936
|
+
}
|
|
34937
|
+
};
|
|
34938
|
+
|
|
34939
|
+
|
|
34940
|
+
/**
|
|
34941
|
+
* optional int32 custom_widget_id = 1;
|
|
34942
|
+
* @return {number}
|
|
34943
|
+
*/
|
|
34944
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.getCustomWidgetId = function() {
|
|
34945
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
34946
|
+
};
|
|
34947
|
+
|
|
34948
|
+
|
|
34949
|
+
/**
|
|
34950
|
+
* @param {number} value
|
|
34951
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
34952
|
+
*/
|
|
34953
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.setCustomWidgetId = function(value) {
|
|
34954
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
34955
|
+
};
|
|
34956
|
+
|
|
34957
|
+
|
|
34958
|
+
/**
|
|
34959
|
+
* optional string geo = 2;
|
|
34960
|
+
* @return {string}
|
|
34961
|
+
*/
|
|
34962
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.getGeo = function() {
|
|
34963
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
34964
|
+
};
|
|
34965
|
+
|
|
34966
|
+
|
|
34967
|
+
/**
|
|
34968
|
+
* @param {string} value
|
|
34969
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
34970
|
+
*/
|
|
34971
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.setGeo = function(value) {
|
|
34972
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
34973
|
+
};
|
|
34974
|
+
|
|
34975
|
+
|
|
34976
|
+
/**
|
|
34977
|
+
* optional string locale = 3;
|
|
34978
|
+
* @return {string}
|
|
34979
|
+
*/
|
|
34980
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.getLocale = function() {
|
|
34981
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
34982
|
+
};
|
|
34983
|
+
|
|
34984
|
+
|
|
34985
|
+
/**
|
|
34986
|
+
* @param {string} value
|
|
34987
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
34988
|
+
*/
|
|
34989
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.setLocale = function(value) {
|
|
34990
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
34991
|
+
};
|
|
34992
|
+
|
|
34993
|
+
|
|
34994
|
+
/**
|
|
34995
|
+
* optional string title = 4;
|
|
34996
|
+
* @return {string}
|
|
34997
|
+
*/
|
|
34998
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.getTitle = function() {
|
|
34999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
35000
|
+
};
|
|
35001
|
+
|
|
35002
|
+
|
|
35003
|
+
/**
|
|
35004
|
+
* @param {string} value
|
|
35005
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
35006
|
+
*/
|
|
35007
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.setTitle = function(value) {
|
|
35008
|
+
return jspb.Message.setField(this, 4, value);
|
|
35009
|
+
};
|
|
35010
|
+
|
|
35011
|
+
|
|
35012
|
+
/**
|
|
35013
|
+
* Clears the field making it undefined.
|
|
35014
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
35015
|
+
*/
|
|
35016
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.clearTitle = function() {
|
|
35017
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
35018
|
+
};
|
|
35019
|
+
|
|
35020
|
+
|
|
35021
|
+
/**
|
|
35022
|
+
* Returns whether this field is set.
|
|
35023
|
+
* @return {boolean}
|
|
35024
|
+
*/
|
|
35025
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.hasTitle = function() {
|
|
35026
|
+
return jspb.Message.getField(this, 4) != null;
|
|
35027
|
+
};
|
|
35028
|
+
|
|
35029
|
+
|
|
35030
|
+
/**
|
|
35031
|
+
* optional string domain = 5;
|
|
35032
|
+
* @return {string}
|
|
35033
|
+
*/
|
|
35034
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.getDomain = function() {
|
|
35035
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
35036
|
+
};
|
|
35037
|
+
|
|
35038
|
+
|
|
35039
|
+
/**
|
|
35040
|
+
* @param {string} value
|
|
35041
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
35042
|
+
*/
|
|
35043
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.setDomain = function(value) {
|
|
35044
|
+
return jspb.Message.setField(this, 5, value);
|
|
35045
|
+
};
|
|
35046
|
+
|
|
35047
|
+
|
|
35048
|
+
/**
|
|
35049
|
+
* Clears the field making it undefined.
|
|
35050
|
+
* @return {!proto.cms.CustomWidgetTranslationRequest} returns this
|
|
35051
|
+
*/
|
|
35052
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.clearDomain = function() {
|
|
35053
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
35054
|
+
};
|
|
35055
|
+
|
|
35056
|
+
|
|
35057
|
+
/**
|
|
35058
|
+
* Returns whether this field is set.
|
|
35059
|
+
* @return {boolean}
|
|
35060
|
+
*/
|
|
35061
|
+
proto.cms.CustomWidgetTranslationRequest.prototype.hasDomain = function() {
|
|
35062
|
+
return jspb.Message.getField(this, 5) != null;
|
|
35063
|
+
};
|
|
35064
|
+
|
|
35065
|
+
|
|
35066
|
+
|
|
35067
|
+
|
|
35068
|
+
|
|
35069
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35070
|
+
/**
|
|
35071
|
+
* Creates an object representation of this proto.
|
|
35072
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35073
|
+
* Optional fields that are not set will be set to undefined.
|
|
35074
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35075
|
+
* For the list of reserved names please see:
|
|
35076
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35077
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35078
|
+
* JSPB instance for transitional soy proto support:
|
|
35079
|
+
* http://goto/soy-param-migration
|
|
35080
|
+
* @return {!Object}
|
|
35081
|
+
*/
|
|
35082
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
35083
|
+
return proto.cms.GetCustomWidgetTranslationRequest.toObject(opt_includeInstance, this);
|
|
35084
|
+
};
|
|
35085
|
+
|
|
35086
|
+
|
|
35087
|
+
/**
|
|
35088
|
+
* Static version of the {@see toObject} method.
|
|
35089
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35090
|
+
* the JSPB instance for transitional soy proto support:
|
|
35091
|
+
* http://goto/soy-param-migration
|
|
35092
|
+
* @param {!proto.cms.GetCustomWidgetTranslationRequest} msg The msg instance to transform.
|
|
35093
|
+
* @return {!Object}
|
|
35094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35095
|
+
*/
|
|
35096
|
+
proto.cms.GetCustomWidgetTranslationRequest.toObject = function(includeInstance, msg) {
|
|
35097
|
+
var f, obj = {
|
|
35098
|
+
customWidgetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
35099
|
+
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
35100
|
+
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
35101
|
+
domain: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
35102
|
+
};
|
|
35103
|
+
|
|
35104
|
+
if (includeInstance) {
|
|
35105
|
+
obj.$jspbMessageInstance = msg;
|
|
35106
|
+
}
|
|
35107
|
+
return obj;
|
|
35108
|
+
};
|
|
35109
|
+
}
|
|
35110
|
+
|
|
35111
|
+
|
|
35112
|
+
/**
|
|
35113
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35114
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35115
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest}
|
|
35116
|
+
*/
|
|
35117
|
+
proto.cms.GetCustomWidgetTranslationRequest.deserializeBinary = function(bytes) {
|
|
35118
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35119
|
+
var msg = new proto.cms.GetCustomWidgetTranslationRequest;
|
|
35120
|
+
return proto.cms.GetCustomWidgetTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
35121
|
+
};
|
|
35122
|
+
|
|
35123
|
+
|
|
35124
|
+
/**
|
|
35125
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35126
|
+
* given reader into the given message object.
|
|
35127
|
+
* @param {!proto.cms.GetCustomWidgetTranslationRequest} msg The message object to deserialize into.
|
|
35128
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35129
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest}
|
|
35130
|
+
*/
|
|
35131
|
+
proto.cms.GetCustomWidgetTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
35132
|
+
while (reader.nextField()) {
|
|
35133
|
+
if (reader.isEndGroup()) {
|
|
35134
|
+
break;
|
|
35135
|
+
}
|
|
35136
|
+
var field = reader.getFieldNumber();
|
|
35137
|
+
switch (field) {
|
|
35138
|
+
case 1:
|
|
35139
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
35140
|
+
msg.setCustomWidgetId(value);
|
|
35141
|
+
break;
|
|
35142
|
+
case 2:
|
|
35143
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35144
|
+
msg.setGeo(value);
|
|
35145
|
+
break;
|
|
35146
|
+
case 3:
|
|
35147
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35148
|
+
msg.setLocale(value);
|
|
35149
|
+
break;
|
|
35150
|
+
case 4:
|
|
35151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35152
|
+
msg.setDomain(value);
|
|
35153
|
+
break;
|
|
35154
|
+
default:
|
|
35155
|
+
reader.skipField();
|
|
35156
|
+
break;
|
|
35157
|
+
}
|
|
35158
|
+
}
|
|
35159
|
+
return msg;
|
|
35160
|
+
};
|
|
35161
|
+
|
|
35162
|
+
|
|
35163
|
+
/**
|
|
35164
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35165
|
+
* @return {!Uint8Array}
|
|
35166
|
+
*/
|
|
35167
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.serializeBinary = function() {
|
|
35168
|
+
var writer = new jspb.BinaryWriter();
|
|
35169
|
+
proto.cms.GetCustomWidgetTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
35170
|
+
return writer.getResultBuffer();
|
|
35171
|
+
};
|
|
35172
|
+
|
|
35173
|
+
|
|
35174
|
+
/**
|
|
35175
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35176
|
+
* format), writing to the given BinaryWriter.
|
|
35177
|
+
* @param {!proto.cms.GetCustomWidgetTranslationRequest} message
|
|
35178
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35179
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35180
|
+
*/
|
|
35181
|
+
proto.cms.GetCustomWidgetTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
35182
|
+
var f = undefined;
|
|
35183
|
+
f = message.getCustomWidgetId();
|
|
35184
|
+
if (f !== 0) {
|
|
35185
|
+
writer.writeInt32(
|
|
35186
|
+
1,
|
|
35187
|
+
f
|
|
35188
|
+
);
|
|
35189
|
+
}
|
|
35190
|
+
f = message.getGeo();
|
|
35191
|
+
if (f.length > 0) {
|
|
35192
|
+
writer.writeString(
|
|
35193
|
+
2,
|
|
35194
|
+
f
|
|
35195
|
+
);
|
|
35196
|
+
}
|
|
35197
|
+
f = message.getLocale();
|
|
35198
|
+
if (f.length > 0) {
|
|
35199
|
+
writer.writeString(
|
|
35200
|
+
3,
|
|
35201
|
+
f
|
|
35202
|
+
);
|
|
35203
|
+
}
|
|
35204
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
35205
|
+
if (f != null) {
|
|
35206
|
+
writer.writeString(
|
|
35207
|
+
4,
|
|
35208
|
+
f
|
|
35209
|
+
);
|
|
35210
|
+
}
|
|
35211
|
+
};
|
|
35212
|
+
|
|
35213
|
+
|
|
35214
|
+
/**
|
|
35215
|
+
* optional int32 custom_widget_id = 1;
|
|
35216
|
+
* @return {number}
|
|
35217
|
+
*/
|
|
35218
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.getCustomWidgetId = function() {
|
|
35219
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
35220
|
+
};
|
|
35221
|
+
|
|
35222
|
+
|
|
35223
|
+
/**
|
|
35224
|
+
* @param {number} value
|
|
35225
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest} returns this
|
|
35226
|
+
*/
|
|
35227
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.setCustomWidgetId = function(value) {
|
|
35228
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
35229
|
+
};
|
|
35230
|
+
|
|
35231
|
+
|
|
35232
|
+
/**
|
|
35233
|
+
* optional string geo = 2;
|
|
35234
|
+
* @return {string}
|
|
35235
|
+
*/
|
|
35236
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.getGeo = function() {
|
|
35237
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
35238
|
+
};
|
|
35239
|
+
|
|
35240
|
+
|
|
35241
|
+
/**
|
|
35242
|
+
* @param {string} value
|
|
35243
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest} returns this
|
|
35244
|
+
*/
|
|
35245
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.setGeo = function(value) {
|
|
35246
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
35247
|
+
};
|
|
35248
|
+
|
|
35249
|
+
|
|
35250
|
+
/**
|
|
35251
|
+
* optional string locale = 3;
|
|
35252
|
+
* @return {string}
|
|
35253
|
+
*/
|
|
35254
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.getLocale = function() {
|
|
35255
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
35256
|
+
};
|
|
35257
|
+
|
|
35258
|
+
|
|
35259
|
+
/**
|
|
35260
|
+
* @param {string} value
|
|
35261
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest} returns this
|
|
35262
|
+
*/
|
|
35263
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.setLocale = function(value) {
|
|
35264
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
35265
|
+
};
|
|
35266
|
+
|
|
35267
|
+
|
|
35268
|
+
/**
|
|
35269
|
+
* optional string domain = 4;
|
|
35270
|
+
* @return {string}
|
|
35271
|
+
*/
|
|
35272
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.getDomain = function() {
|
|
35273
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
35274
|
+
};
|
|
35275
|
+
|
|
35276
|
+
|
|
35277
|
+
/**
|
|
35278
|
+
* @param {string} value
|
|
35279
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest} returns this
|
|
35280
|
+
*/
|
|
35281
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.setDomain = function(value) {
|
|
35282
|
+
return jspb.Message.setField(this, 4, value);
|
|
35283
|
+
};
|
|
35284
|
+
|
|
35285
|
+
|
|
35286
|
+
/**
|
|
35287
|
+
* Clears the field making it undefined.
|
|
35288
|
+
* @return {!proto.cms.GetCustomWidgetTranslationRequest} returns this
|
|
35289
|
+
*/
|
|
35290
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.clearDomain = function() {
|
|
35291
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
35292
|
+
};
|
|
35293
|
+
|
|
35294
|
+
|
|
35295
|
+
/**
|
|
35296
|
+
* Returns whether this field is set.
|
|
35297
|
+
* @return {boolean}
|
|
35298
|
+
*/
|
|
35299
|
+
proto.cms.GetCustomWidgetTranslationRequest.prototype.hasDomain = function() {
|
|
35300
|
+
return jspb.Message.getField(this, 4) != null;
|
|
35301
|
+
};
|
|
35302
|
+
|
|
35303
|
+
|
|
35304
|
+
|
|
35305
|
+
|
|
35306
|
+
|
|
35307
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35308
|
+
/**
|
|
35309
|
+
* Creates an object representation of this proto.
|
|
35310
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35311
|
+
* Optional fields that are not set will be set to undefined.
|
|
35312
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35313
|
+
* For the list of reserved names please see:
|
|
35314
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35315
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35316
|
+
* JSPB instance for transitional soy proto support:
|
|
35317
|
+
* http://goto/soy-param-migration
|
|
35318
|
+
* @return {!Object}
|
|
35319
|
+
*/
|
|
35320
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
35321
|
+
return proto.cms.CustomWidgetTranslationResponse.toObject(opt_includeInstance, this);
|
|
35322
|
+
};
|
|
35323
|
+
|
|
35324
|
+
|
|
35325
|
+
/**
|
|
35326
|
+
* Static version of the {@see toObject} method.
|
|
35327
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35328
|
+
* the JSPB instance for transitional soy proto support:
|
|
35329
|
+
* http://goto/soy-param-migration
|
|
35330
|
+
* @param {!proto.cms.CustomWidgetTranslationResponse} msg The msg instance to transform.
|
|
35331
|
+
* @return {!Object}
|
|
35332
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35333
|
+
*/
|
|
35334
|
+
proto.cms.CustomWidgetTranslationResponse.toObject = function(includeInstance, msg) {
|
|
35335
|
+
var f, obj = {
|
|
35336
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
35337
|
+
};
|
|
35338
|
+
|
|
35339
|
+
if (includeInstance) {
|
|
35340
|
+
obj.$jspbMessageInstance = msg;
|
|
35341
|
+
}
|
|
35342
|
+
return obj;
|
|
35343
|
+
};
|
|
35344
|
+
}
|
|
35345
|
+
|
|
35346
|
+
|
|
35347
|
+
/**
|
|
35348
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35349
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35350
|
+
* @return {!proto.cms.CustomWidgetTranslationResponse}
|
|
35351
|
+
*/
|
|
35352
|
+
proto.cms.CustomWidgetTranslationResponse.deserializeBinary = function(bytes) {
|
|
35353
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35354
|
+
var msg = new proto.cms.CustomWidgetTranslationResponse;
|
|
35355
|
+
return proto.cms.CustomWidgetTranslationResponse.deserializeBinaryFromReader(msg, reader);
|
|
35356
|
+
};
|
|
35357
|
+
|
|
35358
|
+
|
|
35359
|
+
/**
|
|
35360
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35361
|
+
* given reader into the given message object.
|
|
35362
|
+
* @param {!proto.cms.CustomWidgetTranslationResponse} msg The message object to deserialize into.
|
|
35363
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35364
|
+
* @return {!proto.cms.CustomWidgetTranslationResponse}
|
|
35365
|
+
*/
|
|
35366
|
+
proto.cms.CustomWidgetTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
35367
|
+
while (reader.nextField()) {
|
|
35368
|
+
if (reader.isEndGroup()) {
|
|
35369
|
+
break;
|
|
35370
|
+
}
|
|
35371
|
+
var field = reader.getFieldNumber();
|
|
35372
|
+
switch (field) {
|
|
35373
|
+
case 1:
|
|
35374
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35375
|
+
msg.setTitle(value);
|
|
35376
|
+
break;
|
|
35377
|
+
default:
|
|
35378
|
+
reader.skipField();
|
|
35379
|
+
break;
|
|
35380
|
+
}
|
|
35381
|
+
}
|
|
35382
|
+
return msg;
|
|
35383
|
+
};
|
|
35384
|
+
|
|
35385
|
+
|
|
35386
|
+
/**
|
|
35387
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35388
|
+
* @return {!Uint8Array}
|
|
35389
|
+
*/
|
|
35390
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.serializeBinary = function() {
|
|
35391
|
+
var writer = new jspb.BinaryWriter();
|
|
35392
|
+
proto.cms.CustomWidgetTranslationResponse.serializeBinaryToWriter(this, writer);
|
|
35393
|
+
return writer.getResultBuffer();
|
|
35394
|
+
};
|
|
35395
|
+
|
|
35396
|
+
|
|
35397
|
+
/**
|
|
35398
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35399
|
+
* format), writing to the given BinaryWriter.
|
|
35400
|
+
* @param {!proto.cms.CustomWidgetTranslationResponse} message
|
|
35401
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35402
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35403
|
+
*/
|
|
35404
|
+
proto.cms.CustomWidgetTranslationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
35405
|
+
var f = undefined;
|
|
35406
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
35407
|
+
if (f != null) {
|
|
35408
|
+
writer.writeString(
|
|
35409
|
+
1,
|
|
35410
|
+
f
|
|
35411
|
+
);
|
|
35412
|
+
}
|
|
35413
|
+
};
|
|
35414
|
+
|
|
35415
|
+
|
|
35416
|
+
/**
|
|
35417
|
+
* optional string title = 1;
|
|
35418
|
+
* @return {string}
|
|
35419
|
+
*/
|
|
35420
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.getTitle = function() {
|
|
35421
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
35422
|
+
};
|
|
35423
|
+
|
|
35424
|
+
|
|
35425
|
+
/**
|
|
35426
|
+
* @param {string} value
|
|
35427
|
+
* @return {!proto.cms.CustomWidgetTranslationResponse} returns this
|
|
35428
|
+
*/
|
|
35429
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.setTitle = function(value) {
|
|
35430
|
+
return jspb.Message.setField(this, 1, value);
|
|
35431
|
+
};
|
|
35432
|
+
|
|
35433
|
+
|
|
35434
|
+
/**
|
|
35435
|
+
* Clears the field making it undefined.
|
|
35436
|
+
* @return {!proto.cms.CustomWidgetTranslationResponse} returns this
|
|
35437
|
+
*/
|
|
35438
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.clearTitle = function() {
|
|
35439
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
35440
|
+
};
|
|
35441
|
+
|
|
35442
|
+
|
|
35443
|
+
/**
|
|
35444
|
+
* Returns whether this field is set.
|
|
35445
|
+
* @return {boolean}
|
|
35446
|
+
*/
|
|
35447
|
+
proto.cms.CustomWidgetTranslationResponse.prototype.hasTitle = function() {
|
|
35448
|
+
return jspb.Message.getField(this, 1) != null;
|
|
35449
|
+
};
|
|
35450
|
+
|
|
35451
|
+
|
|
35452
|
+
|
|
35453
|
+
|
|
35454
|
+
|
|
34669
35455
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34670
35456
|
/**
|
|
34671
35457
|
* Creates an object representation of this proto.
|