protobuf-platform 1.0.177 → 1.0.178
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/loyalty/loyalty.proto +1 -0
- package/loyalty/loyalty_pb.js +31 -1
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
package/loyalty/loyalty_pb.js
CHANGED
@@ -4824,7 +4824,8 @@ proto.loyalty.GetPointRequest.prototype.toObject = function(opt_includeInstance)
|
|
4824
4824
|
*/
|
4825
4825
|
proto.loyalty.GetPointRequest.toObject = function(includeInstance, msg) {
|
4826
4826
|
var f, obj = {
|
4827
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
4827
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4828
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, "")
|
4828
4829
|
};
|
4829
4830
|
|
4830
4831
|
if (includeInstance) {
|
@@ -4865,6 +4866,10 @@ proto.loyalty.GetPointRequest.deserializeBinaryFromReader = function(msg, reader
|
|
4865
4866
|
var value = /** @type {number} */ (reader.readInt32());
|
4866
4867
|
msg.setId(value);
|
4867
4868
|
break;
|
4869
|
+
case 2:
|
4870
|
+
var value = /** @type {string} */ (reader.readString());
|
4871
|
+
msg.setType(value);
|
4872
|
+
break;
|
4868
4873
|
default:
|
4869
4874
|
reader.skipField();
|
4870
4875
|
break;
|
@@ -4901,6 +4906,13 @@ proto.loyalty.GetPointRequest.serializeBinaryToWriter = function(message, writer
|
|
4901
4906
|
f
|
4902
4907
|
);
|
4903
4908
|
}
|
4909
|
+
f = message.getType();
|
4910
|
+
if (f.length > 0) {
|
4911
|
+
writer.writeString(
|
4912
|
+
2,
|
4913
|
+
f
|
4914
|
+
);
|
4915
|
+
}
|
4904
4916
|
};
|
4905
4917
|
|
4906
4918
|
|
@@ -4922,6 +4934,24 @@ proto.loyalty.GetPointRequest.prototype.setId = function(value) {
|
|
4922
4934
|
};
|
4923
4935
|
|
4924
4936
|
|
4937
|
+
/**
|
4938
|
+
* optional string type = 2;
|
4939
|
+
* @return {string}
|
4940
|
+
*/
|
4941
|
+
proto.loyalty.GetPointRequest.prototype.getType = function() {
|
4942
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
4943
|
+
};
|
4944
|
+
|
4945
|
+
|
4946
|
+
/**
|
4947
|
+
* @param {string} value
|
4948
|
+
* @return {!proto.loyalty.GetPointRequest} returns this
|
4949
|
+
*/
|
4950
|
+
proto.loyalty.GetPointRequest.prototype.setType = function(value) {
|
4951
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
4952
|
+
};
|
4953
|
+
|
4954
|
+
|
4925
4955
|
|
4926
4956
|
|
4927
4957
|
|