@sniipwebmaster/user-service-client-grpcweb 22.23.8674 → 22.23.8698
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.
|
@@ -7034,6 +7034,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.seedProduc
|
|
|
7034
7034
|
};
|
|
7035
7035
|
|
|
7036
7036
|
|
|
7037
|
+
/**
|
|
7038
|
+
* @const
|
|
7039
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7040
|
+
* !proto.sniipuserservice.SendNotificationToCustomerRequest,
|
|
7041
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7042
|
+
*/
|
|
7043
|
+
const methodDescriptor_SniipUserServiceService_SendNotificationToCustomer = new grpc.web.MethodDescriptor(
|
|
7044
|
+
'/sniipuserservice.SniipUserServiceService/SendNotificationToCustomer',
|
|
7045
|
+
grpc.web.MethodType.UNARY,
|
|
7046
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest,
|
|
7047
|
+
proto.sniipuserservice.ResponseCode,
|
|
7048
|
+
/**
|
|
7049
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} request
|
|
7050
|
+
* @return {!Uint8Array}
|
|
7051
|
+
*/
|
|
7052
|
+
function(request) {
|
|
7053
|
+
return request.serializeBinary();
|
|
7054
|
+
},
|
|
7055
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7056
|
+
);
|
|
7057
|
+
|
|
7058
|
+
|
|
7059
|
+
/**
|
|
7060
|
+
* @const
|
|
7061
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
7062
|
+
* !proto.sniipuserservice.SendNotificationToCustomerRequest,
|
|
7063
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7064
|
+
*/
|
|
7065
|
+
const methodInfo_SniipUserServiceService_SendNotificationToCustomer = new grpc.web.AbstractClientBase.MethodInfo(
|
|
7066
|
+
proto.sniipuserservice.ResponseCode,
|
|
7067
|
+
/**
|
|
7068
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} request
|
|
7069
|
+
* @return {!Uint8Array}
|
|
7070
|
+
*/
|
|
7071
|
+
function(request) {
|
|
7072
|
+
return request.serializeBinary();
|
|
7073
|
+
},
|
|
7074
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7075
|
+
);
|
|
7076
|
+
|
|
7077
|
+
|
|
7078
|
+
/**
|
|
7079
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} request The
|
|
7080
|
+
* request proto
|
|
7081
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7082
|
+
* call metadata
|
|
7083
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
|
|
7084
|
+
* callback The callback function(error, response)
|
|
7085
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
7086
|
+
* The XHR Node Readable Stream
|
|
7087
|
+
*/
|
|
7088
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.sendNotificationToCustomer =
|
|
7089
|
+
function(request, metadata, callback) {
|
|
7090
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7091
|
+
'/sniipuserservice.SniipUserServiceService/SendNotificationToCustomer',
|
|
7092
|
+
request,
|
|
7093
|
+
metadata || {},
|
|
7094
|
+
methodDescriptor_SniipUserServiceService_SendNotificationToCustomer,
|
|
7095
|
+
callback);
|
|
7096
|
+
};
|
|
7097
|
+
|
|
7098
|
+
|
|
7099
|
+
/**
|
|
7100
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} request The
|
|
7101
|
+
* request proto
|
|
7102
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7103
|
+
* call metadata
|
|
7104
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
7105
|
+
* Promise that resolves to the response
|
|
7106
|
+
*/
|
|
7107
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendNotificationToCustomer =
|
|
7108
|
+
function(request, metadata) {
|
|
7109
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7110
|
+
'/sniipuserservice.SniipUserServiceService/SendNotificationToCustomer',
|
|
7111
|
+
request,
|
|
7112
|
+
metadata || {},
|
|
7113
|
+
methodDescriptor_SniipUserServiceService_SendNotificationToCustomer);
|
|
7114
|
+
};
|
|
7115
|
+
|
|
7116
|
+
|
|
7037
7117
|
/**
|
|
7038
7118
|
* @const
|
|
7039
7119
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -137,7 +137,9 @@ goog.exportSymbol('proto.sniipuserservice.SearchPermissionRequest', null, global
|
|
|
137
137
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersByRoleRequest', null, global);
|
|
138
138
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersRequest', null, global);
|
|
139
139
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersResponse', null, global);
|
|
140
|
+
goog.exportSymbol('proto.sniipuserservice.SendCustomerNotificationRequest', null, global);
|
|
140
141
|
goog.exportSymbol('proto.sniipuserservice.SendCustomerSmsRequest', null, global);
|
|
142
|
+
goog.exportSymbol('proto.sniipuserservice.SendNotificationToCustomerRequest', null, global);
|
|
141
143
|
goog.exportSymbol('proto.sniipuserservice.SendSmsCustomerRequest', null, global);
|
|
142
144
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordEmailRequest', null, global);
|
|
143
145
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordMobileRequest', null, global);
|
|
@@ -29551,6 +29553,246 @@ proto.sniipuserservice.SearchUsersResponse.prototype.clearUserprofilesList = fun
|
|
|
29551
29553
|
|
|
29552
29554
|
|
|
29553
29555
|
|
|
29556
|
+
/**
|
|
29557
|
+
* Generated by JsPbCodeGenerator.
|
|
29558
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29559
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
29560
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
29561
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
29562
|
+
* valid.
|
|
29563
|
+
* @extends {jspb.Message}
|
|
29564
|
+
* @constructor
|
|
29565
|
+
*/
|
|
29566
|
+
proto.sniipuserservice.SendCustomerNotificationRequest = function(opt_data) {
|
|
29567
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
29568
|
+
};
|
|
29569
|
+
goog.inherits(proto.sniipuserservice.SendCustomerNotificationRequest, jspb.Message);
|
|
29570
|
+
if (goog.DEBUG && !COMPILED) {
|
|
29571
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.displayName = 'proto.sniipuserservice.SendCustomerNotificationRequest';
|
|
29572
|
+
}
|
|
29573
|
+
|
|
29574
|
+
|
|
29575
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29576
|
+
/**
|
|
29577
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
29578
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29579
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29580
|
+
* For the list of reserved names please see:
|
|
29581
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
29582
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
29583
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
29584
|
+
* @return {!Object}
|
|
29585
|
+
*/
|
|
29586
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
29587
|
+
return proto.sniipuserservice.SendCustomerNotificationRequest.toObject(opt_includeInstance, this);
|
|
29588
|
+
};
|
|
29589
|
+
|
|
29590
|
+
|
|
29591
|
+
/**
|
|
29592
|
+
* Static version of the {@see toObject} method.
|
|
29593
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
29594
|
+
* instance for transitional soy proto support:
|
|
29595
|
+
* http://goto/soy-param-migration
|
|
29596
|
+
* @param {!proto.sniipuserservice.SendCustomerNotificationRequest} msg The msg instance to transform.
|
|
29597
|
+
* @return {!Object}
|
|
29598
|
+
*/
|
|
29599
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.toObject = function(includeInstance, msg) {
|
|
29600
|
+
var f, obj = {
|
|
29601
|
+
userid: msg.getUserid(),
|
|
29602
|
+
title: msg.getTitle(),
|
|
29603
|
+
message: msg.getMessage(),
|
|
29604
|
+
password: msg.getPassword()
|
|
29605
|
+
};
|
|
29606
|
+
|
|
29607
|
+
if (includeInstance) {
|
|
29608
|
+
obj.$jspbMessageInstance = msg;
|
|
29609
|
+
}
|
|
29610
|
+
return obj;
|
|
29611
|
+
};
|
|
29612
|
+
}
|
|
29613
|
+
|
|
29614
|
+
|
|
29615
|
+
/**
|
|
29616
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29617
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29618
|
+
* @return {!proto.sniipuserservice.SendCustomerNotificationRequest}
|
|
29619
|
+
*/
|
|
29620
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.deserializeBinary = function(bytes) {
|
|
29621
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29622
|
+
var msg = new proto.sniipuserservice.SendCustomerNotificationRequest;
|
|
29623
|
+
return proto.sniipuserservice.SendCustomerNotificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
29624
|
+
};
|
|
29625
|
+
|
|
29626
|
+
|
|
29627
|
+
/**
|
|
29628
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29629
|
+
* given reader into the given message object.
|
|
29630
|
+
* @param {!proto.sniipuserservice.SendCustomerNotificationRequest} msg The message object to deserialize into.
|
|
29631
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29632
|
+
* @return {!proto.sniipuserservice.SendCustomerNotificationRequest}
|
|
29633
|
+
*/
|
|
29634
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
29635
|
+
while (reader.nextField()) {
|
|
29636
|
+
if (reader.isEndGroup()) {
|
|
29637
|
+
break;
|
|
29638
|
+
}
|
|
29639
|
+
var field = reader.getFieldNumber();
|
|
29640
|
+
switch (field) {
|
|
29641
|
+
case 1:
|
|
29642
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29643
|
+
msg.setUserid(value);
|
|
29644
|
+
break;
|
|
29645
|
+
case 2:
|
|
29646
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29647
|
+
msg.setTitle(value);
|
|
29648
|
+
break;
|
|
29649
|
+
case 3:
|
|
29650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29651
|
+
msg.setMessage(value);
|
|
29652
|
+
break;
|
|
29653
|
+
case 4:
|
|
29654
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29655
|
+
msg.setPassword(value);
|
|
29656
|
+
break;
|
|
29657
|
+
default:
|
|
29658
|
+
reader.skipField();
|
|
29659
|
+
break;
|
|
29660
|
+
}
|
|
29661
|
+
}
|
|
29662
|
+
return msg;
|
|
29663
|
+
};
|
|
29664
|
+
|
|
29665
|
+
|
|
29666
|
+
/**
|
|
29667
|
+
* Class method variant: serializes the given message to binary data
|
|
29668
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
29669
|
+
* @param {!proto.sniipuserservice.SendCustomerNotificationRequest} message
|
|
29670
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29671
|
+
*/
|
|
29672
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
29673
|
+
message.serializeBinaryToWriter(writer);
|
|
29674
|
+
};
|
|
29675
|
+
|
|
29676
|
+
|
|
29677
|
+
/**
|
|
29678
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29679
|
+
* @return {!Uint8Array}
|
|
29680
|
+
*/
|
|
29681
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.serializeBinary = function() {
|
|
29682
|
+
var writer = new jspb.BinaryWriter();
|
|
29683
|
+
this.serializeBinaryToWriter(writer);
|
|
29684
|
+
return writer.getResultBuffer();
|
|
29685
|
+
};
|
|
29686
|
+
|
|
29687
|
+
|
|
29688
|
+
/**
|
|
29689
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
29690
|
+
* writing to the given BinaryWriter.
|
|
29691
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29692
|
+
*/
|
|
29693
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
29694
|
+
var f = undefined;
|
|
29695
|
+
f = this.getUserid();
|
|
29696
|
+
if (f !== 0) {
|
|
29697
|
+
writer.writeInt64(
|
|
29698
|
+
1,
|
|
29699
|
+
f
|
|
29700
|
+
);
|
|
29701
|
+
}
|
|
29702
|
+
f = this.getTitle();
|
|
29703
|
+
if (f.length > 0) {
|
|
29704
|
+
writer.writeString(
|
|
29705
|
+
2,
|
|
29706
|
+
f
|
|
29707
|
+
);
|
|
29708
|
+
}
|
|
29709
|
+
f = this.getMessage();
|
|
29710
|
+
if (f.length > 0) {
|
|
29711
|
+
writer.writeString(
|
|
29712
|
+
3,
|
|
29713
|
+
f
|
|
29714
|
+
);
|
|
29715
|
+
}
|
|
29716
|
+
f = this.getPassword();
|
|
29717
|
+
if (f.length > 0) {
|
|
29718
|
+
writer.writeString(
|
|
29719
|
+
4,
|
|
29720
|
+
f
|
|
29721
|
+
);
|
|
29722
|
+
}
|
|
29723
|
+
};
|
|
29724
|
+
|
|
29725
|
+
|
|
29726
|
+
/**
|
|
29727
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
29728
|
+
* @return {!proto.sniipuserservice.SendCustomerNotificationRequest} The clone.
|
|
29729
|
+
*/
|
|
29730
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.cloneMessage = function() {
|
|
29731
|
+
return /** @type {!proto.sniipuserservice.SendCustomerNotificationRequest} */ (jspb.Message.cloneMessage(this));
|
|
29732
|
+
};
|
|
29733
|
+
|
|
29734
|
+
|
|
29735
|
+
/**
|
|
29736
|
+
* optional int64 userId = 1;
|
|
29737
|
+
* @return {number}
|
|
29738
|
+
*/
|
|
29739
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.getUserid = function() {
|
|
29740
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
29741
|
+
};
|
|
29742
|
+
|
|
29743
|
+
|
|
29744
|
+
/** @param {number} value */
|
|
29745
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.setUserid = function(value) {
|
|
29746
|
+
jspb.Message.setField(this, 1, value);
|
|
29747
|
+
};
|
|
29748
|
+
|
|
29749
|
+
|
|
29750
|
+
/**
|
|
29751
|
+
* optional string title = 2;
|
|
29752
|
+
* @return {string}
|
|
29753
|
+
*/
|
|
29754
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.getTitle = function() {
|
|
29755
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
29756
|
+
};
|
|
29757
|
+
|
|
29758
|
+
|
|
29759
|
+
/** @param {string} value */
|
|
29760
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.setTitle = function(value) {
|
|
29761
|
+
jspb.Message.setField(this, 2, value);
|
|
29762
|
+
};
|
|
29763
|
+
|
|
29764
|
+
|
|
29765
|
+
/**
|
|
29766
|
+
* optional string message = 3;
|
|
29767
|
+
* @return {string}
|
|
29768
|
+
*/
|
|
29769
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.getMessage = function() {
|
|
29770
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
29771
|
+
};
|
|
29772
|
+
|
|
29773
|
+
|
|
29774
|
+
/** @param {string} value */
|
|
29775
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.setMessage = function(value) {
|
|
29776
|
+
jspb.Message.setField(this, 3, value);
|
|
29777
|
+
};
|
|
29778
|
+
|
|
29779
|
+
|
|
29780
|
+
/**
|
|
29781
|
+
* optional string password = 4;
|
|
29782
|
+
* @return {string}
|
|
29783
|
+
*/
|
|
29784
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.getPassword = function() {
|
|
29785
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
29786
|
+
};
|
|
29787
|
+
|
|
29788
|
+
|
|
29789
|
+
/** @param {string} value */
|
|
29790
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.prototype.setPassword = function(value) {
|
|
29791
|
+
jspb.Message.setField(this, 4, value);
|
|
29792
|
+
};
|
|
29793
|
+
|
|
29794
|
+
|
|
29795
|
+
|
|
29554
29796
|
/**
|
|
29555
29797
|
* Generated by JsPbCodeGenerator.
|
|
29556
29798
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -29791,6 +30033,182 @@ proto.sniipuserservice.SendCustomerSmsRequest.prototype.setPassword = function(v
|
|
|
29791
30033
|
|
|
29792
30034
|
|
|
29793
30035
|
|
|
30036
|
+
/**
|
|
30037
|
+
* Generated by JsPbCodeGenerator.
|
|
30038
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
30039
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
30040
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
30041
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
30042
|
+
* valid.
|
|
30043
|
+
* @extends {jspb.Message}
|
|
30044
|
+
* @constructor
|
|
30045
|
+
*/
|
|
30046
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest = function(opt_data) {
|
|
30047
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
30048
|
+
};
|
|
30049
|
+
goog.inherits(proto.sniipuserservice.SendNotificationToCustomerRequest, jspb.Message);
|
|
30050
|
+
if (goog.DEBUG && !COMPILED) {
|
|
30051
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.displayName = 'proto.sniipuserservice.SendNotificationToCustomerRequest';
|
|
30052
|
+
}
|
|
30053
|
+
|
|
30054
|
+
|
|
30055
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30056
|
+
/**
|
|
30057
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
30058
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30059
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30060
|
+
* For the list of reserved names please see:
|
|
30061
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
30062
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
30063
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
30064
|
+
* @return {!Object}
|
|
30065
|
+
*/
|
|
30066
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30067
|
+
return proto.sniipuserservice.SendNotificationToCustomerRequest.toObject(opt_includeInstance, this);
|
|
30068
|
+
};
|
|
30069
|
+
|
|
30070
|
+
|
|
30071
|
+
/**
|
|
30072
|
+
* Static version of the {@see toObject} method.
|
|
30073
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
30074
|
+
* instance for transitional soy proto support:
|
|
30075
|
+
* http://goto/soy-param-migration
|
|
30076
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} msg The msg instance to transform.
|
|
30077
|
+
* @return {!Object}
|
|
30078
|
+
*/
|
|
30079
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.toObject = function(includeInstance, msg) {
|
|
30080
|
+
var f, obj = {
|
|
30081
|
+
data: (f = msg.getData()) && proto.sniipuserservice.SendCustomerNotificationRequest.toObject(includeInstance, f)
|
|
30082
|
+
};
|
|
30083
|
+
|
|
30084
|
+
if (includeInstance) {
|
|
30085
|
+
obj.$jspbMessageInstance = msg;
|
|
30086
|
+
}
|
|
30087
|
+
return obj;
|
|
30088
|
+
};
|
|
30089
|
+
}
|
|
30090
|
+
|
|
30091
|
+
|
|
30092
|
+
/**
|
|
30093
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30094
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30095
|
+
* @return {!proto.sniipuserservice.SendNotificationToCustomerRequest}
|
|
30096
|
+
*/
|
|
30097
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.deserializeBinary = function(bytes) {
|
|
30098
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30099
|
+
var msg = new proto.sniipuserservice.SendNotificationToCustomerRequest;
|
|
30100
|
+
return proto.sniipuserservice.SendNotificationToCustomerRequest.deserializeBinaryFromReader(msg, reader);
|
|
30101
|
+
};
|
|
30102
|
+
|
|
30103
|
+
|
|
30104
|
+
/**
|
|
30105
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30106
|
+
* given reader into the given message object.
|
|
30107
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} msg The message object to deserialize into.
|
|
30108
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30109
|
+
* @return {!proto.sniipuserservice.SendNotificationToCustomerRequest}
|
|
30110
|
+
*/
|
|
30111
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30112
|
+
while (reader.nextField()) {
|
|
30113
|
+
if (reader.isEndGroup()) {
|
|
30114
|
+
break;
|
|
30115
|
+
}
|
|
30116
|
+
var field = reader.getFieldNumber();
|
|
30117
|
+
switch (field) {
|
|
30118
|
+
case 1:
|
|
30119
|
+
var value = new proto.sniipuserservice.SendCustomerNotificationRequest;
|
|
30120
|
+
reader.readMessage(value,proto.sniipuserservice.SendCustomerNotificationRequest.deserializeBinaryFromReader);
|
|
30121
|
+
msg.setData(value);
|
|
30122
|
+
break;
|
|
30123
|
+
default:
|
|
30124
|
+
reader.skipField();
|
|
30125
|
+
break;
|
|
30126
|
+
}
|
|
30127
|
+
}
|
|
30128
|
+
return msg;
|
|
30129
|
+
};
|
|
30130
|
+
|
|
30131
|
+
|
|
30132
|
+
/**
|
|
30133
|
+
* Class method variant: serializes the given message to binary data
|
|
30134
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
30135
|
+
* @param {!proto.sniipuserservice.SendNotificationToCustomerRequest} message
|
|
30136
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30137
|
+
*/
|
|
30138
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30139
|
+
message.serializeBinaryToWriter(writer);
|
|
30140
|
+
};
|
|
30141
|
+
|
|
30142
|
+
|
|
30143
|
+
/**
|
|
30144
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30145
|
+
* @return {!Uint8Array}
|
|
30146
|
+
*/
|
|
30147
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.serializeBinary = function() {
|
|
30148
|
+
var writer = new jspb.BinaryWriter();
|
|
30149
|
+
this.serializeBinaryToWriter(writer);
|
|
30150
|
+
return writer.getResultBuffer();
|
|
30151
|
+
};
|
|
30152
|
+
|
|
30153
|
+
|
|
30154
|
+
/**
|
|
30155
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
30156
|
+
* writing to the given BinaryWriter.
|
|
30157
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30158
|
+
*/
|
|
30159
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
30160
|
+
var f = undefined;
|
|
30161
|
+
f = this.getData();
|
|
30162
|
+
if (f != null) {
|
|
30163
|
+
writer.writeMessage(
|
|
30164
|
+
1,
|
|
30165
|
+
f,
|
|
30166
|
+
proto.sniipuserservice.SendCustomerNotificationRequest.serializeBinaryToWriter
|
|
30167
|
+
);
|
|
30168
|
+
}
|
|
30169
|
+
};
|
|
30170
|
+
|
|
30171
|
+
|
|
30172
|
+
/**
|
|
30173
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
30174
|
+
* @return {!proto.sniipuserservice.SendNotificationToCustomerRequest} The clone.
|
|
30175
|
+
*/
|
|
30176
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.cloneMessage = function() {
|
|
30177
|
+
return /** @type {!proto.sniipuserservice.SendNotificationToCustomerRequest} */ (jspb.Message.cloneMessage(this));
|
|
30178
|
+
};
|
|
30179
|
+
|
|
30180
|
+
|
|
30181
|
+
/**
|
|
30182
|
+
* optional SendCustomerNotificationRequest data = 1;
|
|
30183
|
+
* @return {proto.sniipuserservice.SendCustomerNotificationRequest}
|
|
30184
|
+
*/
|
|
30185
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.getData = function() {
|
|
30186
|
+
return /** @type{proto.sniipuserservice.SendCustomerNotificationRequest} */ (
|
|
30187
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.SendCustomerNotificationRequest, 1));
|
|
30188
|
+
};
|
|
30189
|
+
|
|
30190
|
+
|
|
30191
|
+
/** @param {proto.sniipuserservice.SendCustomerNotificationRequest|undefined} value */
|
|
30192
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.setData = function(value) {
|
|
30193
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
30194
|
+
};
|
|
30195
|
+
|
|
30196
|
+
|
|
30197
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.clearData = function() {
|
|
30198
|
+
this.setData(undefined);
|
|
30199
|
+
};
|
|
30200
|
+
|
|
30201
|
+
|
|
30202
|
+
/**
|
|
30203
|
+
* Returns whether this field is set.
|
|
30204
|
+
* @return{!boolean}
|
|
30205
|
+
*/
|
|
30206
|
+
proto.sniipuserservice.SendNotificationToCustomerRequest.prototype.hasData = function() {
|
|
30207
|
+
return jspb.Message.getField(this, 1) != null;
|
|
30208
|
+
};
|
|
30209
|
+
|
|
30210
|
+
|
|
30211
|
+
|
|
29794
30212
|
/**
|
|
29795
30213
|
* Generated by JsPbCodeGenerator.
|
|
29796
30214
|
* @param {Array=} opt_data Optional initial data array, typically from a
|