@sniipwebmaster/payroll-service-client-grpcweb 25.10.474 → 25.10.498
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.
|
@@ -812,6 +812,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.manualMatchABAReco
|
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
|
|
815
|
+
/**
|
|
816
|
+
* @const
|
|
817
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
818
|
+
* !proto.payrollserviceapi.DownloadAbaErrorLogFileRequest,
|
|
819
|
+
* !proto.payrollserviceapi.DownloadAbaErrorLogFileResponse>}
|
|
820
|
+
*/
|
|
821
|
+
const methodDescriptor_PayrollService_DownloadAbaErrorLogFile = new grpc.web.MethodDescriptor(
|
|
822
|
+
'/payrollserviceapi.PayrollService/DownloadAbaErrorLogFile',
|
|
823
|
+
grpc.web.MethodType.UNARY,
|
|
824
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest,
|
|
825
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse,
|
|
826
|
+
/**
|
|
827
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} request
|
|
828
|
+
* @return {!Uint8Array}
|
|
829
|
+
*/
|
|
830
|
+
function(request) {
|
|
831
|
+
return request.serializeBinary();
|
|
832
|
+
},
|
|
833
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.deserializeBinary
|
|
834
|
+
);
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} request The
|
|
839
|
+
* request proto
|
|
840
|
+
* @param {?Object<string, string>} metadata User defined
|
|
841
|
+
* call metadata
|
|
842
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.DownloadAbaErrorLogFileResponse)}
|
|
843
|
+
* callback The callback function(error, response)
|
|
844
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse>|undefined}
|
|
845
|
+
* The XHR Node Readable Stream
|
|
846
|
+
*/
|
|
847
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.downloadAbaErrorLogFile =
|
|
848
|
+
function(request, metadata, callback) {
|
|
849
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
850
|
+
'/payrollserviceapi.PayrollService/DownloadAbaErrorLogFile',
|
|
851
|
+
request,
|
|
852
|
+
metadata || {},
|
|
853
|
+
methodDescriptor_PayrollService_DownloadAbaErrorLogFile,
|
|
854
|
+
callback);
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} request The
|
|
860
|
+
* request proto
|
|
861
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
862
|
+
* call metadata
|
|
863
|
+
* @return {!Promise<!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse>}
|
|
864
|
+
* Promise that resolves to the response
|
|
865
|
+
*/
|
|
866
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.downloadAbaErrorLogFile =
|
|
867
|
+
function(request, metadata) {
|
|
868
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
869
|
+
'/payrollserviceapi.PayrollService/DownloadAbaErrorLogFile',
|
|
870
|
+
request,
|
|
871
|
+
metadata || {},
|
|
872
|
+
methodDescriptor_PayrollService_DownloadAbaErrorLogFile);
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
815
876
|
/**
|
|
816
877
|
* @const
|
|
817
878
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -46,6 +46,8 @@ goog.exportSymbol('proto.payrollserviceapi.DeleteBusinessRequest', null, global)
|
|
|
46
46
|
goog.exportSymbol('proto.payrollserviceapi.DeleteBusinessResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.payrollserviceapi.DeleteEmployeeRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.payrollserviceapi.DeleteEmployeeResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.payrollserviceapi.DownloadAbaErrorLogFileRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.payrollserviceapi.DownloadAbaErrorLogFileResponse', null, global);
|
|
49
51
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfo', null, global);
|
|
50
52
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfoRequest', null, global);
|
|
51
53
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeDetails', null, global);
|
|
@@ -592,6 +594,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
592
594
|
*/
|
|
593
595
|
proto.payrollserviceapi.ABARecordDetail.displayName = 'proto.payrollserviceapi.ABARecordDetail';
|
|
594
596
|
}
|
|
597
|
+
/**
|
|
598
|
+
* Generated by JsPbCodeGenerator.
|
|
599
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
600
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
601
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
602
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
603
|
+
* valid.
|
|
604
|
+
* @extends {jspb.Message}
|
|
605
|
+
* @constructor
|
|
606
|
+
*/
|
|
607
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest = function(opt_data) {
|
|
608
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
609
|
+
};
|
|
610
|
+
goog.inherits(proto.payrollserviceapi.DownloadAbaErrorLogFileRequest, jspb.Message);
|
|
611
|
+
if (goog.DEBUG && !COMPILED) {
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
* @override
|
|
615
|
+
*/
|
|
616
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.displayName = 'proto.payrollserviceapi.DownloadAbaErrorLogFileRequest';
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Generated by JsPbCodeGenerator.
|
|
620
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
621
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
622
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
623
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
624
|
+
* valid.
|
|
625
|
+
* @extends {jspb.Message}
|
|
626
|
+
* @constructor
|
|
627
|
+
*/
|
|
628
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse = function(opt_data) {
|
|
629
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
630
|
+
};
|
|
631
|
+
goog.inherits(proto.payrollserviceapi.DownloadAbaErrorLogFileResponse, jspb.Message);
|
|
632
|
+
if (goog.DEBUG && !COMPILED) {
|
|
633
|
+
/**
|
|
634
|
+
* @public
|
|
635
|
+
* @override
|
|
636
|
+
*/
|
|
637
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.displayName = 'proto.payrollserviceapi.DownloadAbaErrorLogFileResponse';
|
|
638
|
+
}
|
|
595
639
|
/**
|
|
596
640
|
* Generated by JsPbCodeGenerator.
|
|
597
641
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7700,7 +7744,8 @@ proto.payrollserviceapi.ABAFileDetails.toObject = function(includeInstance, msg)
|
|
|
7700
7744
|
createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
7701
7745
|
processedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7702
7746
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
7703
|
-
batchName: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
7747
|
+
batchName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
7748
|
+
totalAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0)
|
|
7704
7749
|
};
|
|
7705
7750
|
|
|
7706
7751
|
if (includeInstance) {
|
|
@@ -7789,6 +7834,10 @@ proto.payrollserviceapi.ABAFileDetails.deserializeBinaryFromReader = function(ms
|
|
|
7789
7834
|
var value = /** @type {string} */ (reader.readString());
|
|
7790
7835
|
msg.setBatchName(value);
|
|
7791
7836
|
break;
|
|
7837
|
+
case 14:
|
|
7838
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7839
|
+
msg.setTotalAmount(value);
|
|
7840
|
+
break;
|
|
7792
7841
|
default:
|
|
7793
7842
|
reader.skipField();
|
|
7794
7843
|
break;
|
|
@@ -7909,6 +7958,13 @@ proto.payrollserviceapi.ABAFileDetails.serializeBinaryToWriter = function(messag
|
|
|
7909
7958
|
f
|
|
7910
7959
|
);
|
|
7911
7960
|
}
|
|
7961
|
+
f = message.getTotalAmount();
|
|
7962
|
+
if (f !== 0.0) {
|
|
7963
|
+
writer.writeDouble(
|
|
7964
|
+
14,
|
|
7965
|
+
f
|
|
7966
|
+
);
|
|
7967
|
+
}
|
|
7912
7968
|
};
|
|
7913
7969
|
|
|
7914
7970
|
|
|
@@ -8146,6 +8202,24 @@ proto.payrollserviceapi.ABAFileDetails.prototype.setBatchName = function(value)
|
|
|
8146
8202
|
};
|
|
8147
8203
|
|
|
8148
8204
|
|
|
8205
|
+
/**
|
|
8206
|
+
* optional double total_amount = 14;
|
|
8207
|
+
* @return {number}
|
|
8208
|
+
*/
|
|
8209
|
+
proto.payrollserviceapi.ABAFileDetails.prototype.getTotalAmount = function() {
|
|
8210
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
8211
|
+
};
|
|
8212
|
+
|
|
8213
|
+
|
|
8214
|
+
/**
|
|
8215
|
+
* @param {number} value
|
|
8216
|
+
* @return {!proto.payrollserviceapi.ABAFileDetails} returns this
|
|
8217
|
+
*/
|
|
8218
|
+
proto.payrollserviceapi.ABAFileDetails.prototype.setTotalAmount = function(value) {
|
|
8219
|
+
return jspb.Message.setProto3FloatField(this, 14, value);
|
|
8220
|
+
};
|
|
8221
|
+
|
|
8222
|
+
|
|
8149
8223
|
|
|
8150
8224
|
/**
|
|
8151
8225
|
* List of repeated fields within this message type.
|
|
@@ -8789,6 +8863,431 @@ proto.payrollserviceapi.ABARecordDetail.prototype.clearDuplicateEmployeesList =
|
|
|
8789
8863
|
|
|
8790
8864
|
|
|
8791
8865
|
|
|
8866
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8867
|
+
/**
|
|
8868
|
+
* Creates an object representation of this proto.
|
|
8869
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8870
|
+
* Optional fields that are not set will be set to undefined.
|
|
8871
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8872
|
+
* For the list of reserved names please see:
|
|
8873
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8874
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8875
|
+
* JSPB instance for transitional soy proto support:
|
|
8876
|
+
* http://goto/soy-param-migration
|
|
8877
|
+
* @return {!Object}
|
|
8878
|
+
*/
|
|
8879
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8880
|
+
return proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.toObject(opt_includeInstance, this);
|
|
8881
|
+
};
|
|
8882
|
+
|
|
8883
|
+
|
|
8884
|
+
/**
|
|
8885
|
+
* Static version of the {@see toObject} method.
|
|
8886
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8887
|
+
* the JSPB instance for transitional soy proto support:
|
|
8888
|
+
* http://goto/soy-param-migration
|
|
8889
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} msg The msg instance to transform.
|
|
8890
|
+
* @return {!Object}
|
|
8891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8892
|
+
*/
|
|
8893
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.toObject = function(includeInstance, msg) {
|
|
8894
|
+
var f, obj = {
|
|
8895
|
+
abafileid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8896
|
+
clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8897
|
+
};
|
|
8898
|
+
|
|
8899
|
+
if (includeInstance) {
|
|
8900
|
+
obj.$jspbMessageInstance = msg;
|
|
8901
|
+
}
|
|
8902
|
+
return obj;
|
|
8903
|
+
};
|
|
8904
|
+
}
|
|
8905
|
+
|
|
8906
|
+
|
|
8907
|
+
/**
|
|
8908
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8909
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8910
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest}
|
|
8911
|
+
*/
|
|
8912
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.deserializeBinary = function(bytes) {
|
|
8913
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8914
|
+
var msg = new proto.payrollserviceapi.DownloadAbaErrorLogFileRequest;
|
|
8915
|
+
return proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
8916
|
+
};
|
|
8917
|
+
|
|
8918
|
+
|
|
8919
|
+
/**
|
|
8920
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8921
|
+
* given reader into the given message object.
|
|
8922
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} msg The message object to deserialize into.
|
|
8923
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8924
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest}
|
|
8925
|
+
*/
|
|
8926
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8927
|
+
while (reader.nextField()) {
|
|
8928
|
+
if (reader.isEndGroup()) {
|
|
8929
|
+
break;
|
|
8930
|
+
}
|
|
8931
|
+
var field = reader.getFieldNumber();
|
|
8932
|
+
switch (field) {
|
|
8933
|
+
case 1:
|
|
8934
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8935
|
+
msg.setAbafileid(value);
|
|
8936
|
+
break;
|
|
8937
|
+
case 2:
|
|
8938
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8939
|
+
msg.setClientid(value);
|
|
8940
|
+
break;
|
|
8941
|
+
default:
|
|
8942
|
+
reader.skipField();
|
|
8943
|
+
break;
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
return msg;
|
|
8947
|
+
};
|
|
8948
|
+
|
|
8949
|
+
|
|
8950
|
+
/**
|
|
8951
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8952
|
+
* @return {!Uint8Array}
|
|
8953
|
+
*/
|
|
8954
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.serializeBinary = function() {
|
|
8955
|
+
var writer = new jspb.BinaryWriter();
|
|
8956
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.serializeBinaryToWriter(this, writer);
|
|
8957
|
+
return writer.getResultBuffer();
|
|
8958
|
+
};
|
|
8959
|
+
|
|
8960
|
+
|
|
8961
|
+
/**
|
|
8962
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8963
|
+
* format), writing to the given BinaryWriter.
|
|
8964
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} message
|
|
8965
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8966
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8967
|
+
*/
|
|
8968
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8969
|
+
var f = undefined;
|
|
8970
|
+
f = message.getAbafileid();
|
|
8971
|
+
if (f !== 0) {
|
|
8972
|
+
writer.writeInt64(
|
|
8973
|
+
1,
|
|
8974
|
+
f
|
|
8975
|
+
);
|
|
8976
|
+
}
|
|
8977
|
+
f = message.getClientid();
|
|
8978
|
+
if (f !== 0) {
|
|
8979
|
+
writer.writeInt64(
|
|
8980
|
+
2,
|
|
8981
|
+
f
|
|
8982
|
+
);
|
|
8983
|
+
}
|
|
8984
|
+
};
|
|
8985
|
+
|
|
8986
|
+
|
|
8987
|
+
/**
|
|
8988
|
+
* optional int64 abaFileId = 1;
|
|
8989
|
+
* @return {number}
|
|
8990
|
+
*/
|
|
8991
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.getAbafileid = function() {
|
|
8992
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8993
|
+
};
|
|
8994
|
+
|
|
8995
|
+
|
|
8996
|
+
/**
|
|
8997
|
+
* @param {number} value
|
|
8998
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} returns this
|
|
8999
|
+
*/
|
|
9000
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.setAbafileid = function(value) {
|
|
9001
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9002
|
+
};
|
|
9003
|
+
|
|
9004
|
+
|
|
9005
|
+
/**
|
|
9006
|
+
* optional int64 clientId = 2;
|
|
9007
|
+
* @return {number}
|
|
9008
|
+
*/
|
|
9009
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.getClientid = function() {
|
|
9010
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9011
|
+
};
|
|
9012
|
+
|
|
9013
|
+
|
|
9014
|
+
/**
|
|
9015
|
+
* @param {number} value
|
|
9016
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileRequest} returns this
|
|
9017
|
+
*/
|
|
9018
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileRequest.prototype.setClientid = function(value) {
|
|
9019
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9020
|
+
};
|
|
9021
|
+
|
|
9022
|
+
|
|
9023
|
+
|
|
9024
|
+
|
|
9025
|
+
|
|
9026
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9027
|
+
/**
|
|
9028
|
+
* Creates an object representation of this proto.
|
|
9029
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9030
|
+
* Optional fields that are not set will be set to undefined.
|
|
9031
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9032
|
+
* For the list of reserved names please see:
|
|
9033
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9034
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9035
|
+
* JSPB instance for transitional soy proto support:
|
|
9036
|
+
* http://goto/soy-param-migration
|
|
9037
|
+
* @return {!Object}
|
|
9038
|
+
*/
|
|
9039
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.toObject = function(opt_includeInstance) {
|
|
9040
|
+
return proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.toObject(opt_includeInstance, this);
|
|
9041
|
+
};
|
|
9042
|
+
|
|
9043
|
+
|
|
9044
|
+
/**
|
|
9045
|
+
* Static version of the {@see toObject} method.
|
|
9046
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9047
|
+
* the JSPB instance for transitional soy proto support:
|
|
9048
|
+
* http://goto/soy-param-migration
|
|
9049
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} msg The msg instance to transform.
|
|
9050
|
+
* @return {!Object}
|
|
9051
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9052
|
+
*/
|
|
9053
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.toObject = function(includeInstance, msg) {
|
|
9054
|
+
var f, obj = {
|
|
9055
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
9056
|
+
abafileid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9057
|
+
fileContent: msg.getFileContent_asB64(),
|
|
9058
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9059
|
+
};
|
|
9060
|
+
|
|
9061
|
+
if (includeInstance) {
|
|
9062
|
+
obj.$jspbMessageInstance = msg;
|
|
9063
|
+
}
|
|
9064
|
+
return obj;
|
|
9065
|
+
};
|
|
9066
|
+
}
|
|
9067
|
+
|
|
9068
|
+
|
|
9069
|
+
/**
|
|
9070
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9071
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9072
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse}
|
|
9073
|
+
*/
|
|
9074
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.deserializeBinary = function(bytes) {
|
|
9075
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9076
|
+
var msg = new proto.payrollserviceapi.DownloadAbaErrorLogFileResponse;
|
|
9077
|
+
return proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.deserializeBinaryFromReader(msg, reader);
|
|
9078
|
+
};
|
|
9079
|
+
|
|
9080
|
+
|
|
9081
|
+
/**
|
|
9082
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9083
|
+
* given reader into the given message object.
|
|
9084
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} msg The message object to deserialize into.
|
|
9085
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9086
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse}
|
|
9087
|
+
*/
|
|
9088
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9089
|
+
while (reader.nextField()) {
|
|
9090
|
+
if (reader.isEndGroup()) {
|
|
9091
|
+
break;
|
|
9092
|
+
}
|
|
9093
|
+
var field = reader.getFieldNumber();
|
|
9094
|
+
switch (field) {
|
|
9095
|
+
case 1:
|
|
9096
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
9097
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
9098
|
+
msg.setResponsecode(value);
|
|
9099
|
+
break;
|
|
9100
|
+
case 2:
|
|
9101
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9102
|
+
msg.setAbafileid(value);
|
|
9103
|
+
break;
|
|
9104
|
+
case 3:
|
|
9105
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9106
|
+
msg.setFileContent(value);
|
|
9107
|
+
break;
|
|
9108
|
+
case 4:
|
|
9109
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9110
|
+
msg.setFileName(value);
|
|
9111
|
+
break;
|
|
9112
|
+
default:
|
|
9113
|
+
reader.skipField();
|
|
9114
|
+
break;
|
|
9115
|
+
}
|
|
9116
|
+
}
|
|
9117
|
+
return msg;
|
|
9118
|
+
};
|
|
9119
|
+
|
|
9120
|
+
|
|
9121
|
+
/**
|
|
9122
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9123
|
+
* @return {!Uint8Array}
|
|
9124
|
+
*/
|
|
9125
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.serializeBinary = function() {
|
|
9126
|
+
var writer = new jspb.BinaryWriter();
|
|
9127
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.serializeBinaryToWriter(this, writer);
|
|
9128
|
+
return writer.getResultBuffer();
|
|
9129
|
+
};
|
|
9130
|
+
|
|
9131
|
+
|
|
9132
|
+
/**
|
|
9133
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9134
|
+
* format), writing to the given BinaryWriter.
|
|
9135
|
+
* @param {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} message
|
|
9136
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9137
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9138
|
+
*/
|
|
9139
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9140
|
+
var f = undefined;
|
|
9141
|
+
f = message.getResponsecode();
|
|
9142
|
+
if (f != null) {
|
|
9143
|
+
writer.writeMessage(
|
|
9144
|
+
1,
|
|
9145
|
+
f,
|
|
9146
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
9147
|
+
);
|
|
9148
|
+
}
|
|
9149
|
+
f = message.getAbafileid();
|
|
9150
|
+
if (f !== 0) {
|
|
9151
|
+
writer.writeInt64(
|
|
9152
|
+
2,
|
|
9153
|
+
f
|
|
9154
|
+
);
|
|
9155
|
+
}
|
|
9156
|
+
f = message.getFileContent_asU8();
|
|
9157
|
+
if (f.length > 0) {
|
|
9158
|
+
writer.writeBytes(
|
|
9159
|
+
3,
|
|
9160
|
+
f
|
|
9161
|
+
);
|
|
9162
|
+
}
|
|
9163
|
+
f = message.getFileName();
|
|
9164
|
+
if (f.length > 0) {
|
|
9165
|
+
writer.writeString(
|
|
9166
|
+
4,
|
|
9167
|
+
f
|
|
9168
|
+
);
|
|
9169
|
+
}
|
|
9170
|
+
};
|
|
9171
|
+
|
|
9172
|
+
|
|
9173
|
+
/**
|
|
9174
|
+
* optional ResponseCode responseCode = 1;
|
|
9175
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
9176
|
+
*/
|
|
9177
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getResponsecode = function() {
|
|
9178
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
9179
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
9180
|
+
};
|
|
9181
|
+
|
|
9182
|
+
|
|
9183
|
+
/**
|
|
9184
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
9185
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} returns this
|
|
9186
|
+
*/
|
|
9187
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.setResponsecode = function(value) {
|
|
9188
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
9189
|
+
};
|
|
9190
|
+
|
|
9191
|
+
|
|
9192
|
+
/**
|
|
9193
|
+
* Clears the message field making it undefined.
|
|
9194
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} returns this
|
|
9195
|
+
*/
|
|
9196
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.clearResponsecode = function() {
|
|
9197
|
+
return this.setResponsecode(undefined);
|
|
9198
|
+
};
|
|
9199
|
+
|
|
9200
|
+
|
|
9201
|
+
/**
|
|
9202
|
+
* Returns whether this field is set.
|
|
9203
|
+
* @return {boolean}
|
|
9204
|
+
*/
|
|
9205
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.hasResponsecode = function() {
|
|
9206
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9207
|
+
};
|
|
9208
|
+
|
|
9209
|
+
|
|
9210
|
+
/**
|
|
9211
|
+
* optional int64 abaFileId = 2;
|
|
9212
|
+
* @return {number}
|
|
9213
|
+
*/
|
|
9214
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getAbafileid = function() {
|
|
9215
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9216
|
+
};
|
|
9217
|
+
|
|
9218
|
+
|
|
9219
|
+
/**
|
|
9220
|
+
* @param {number} value
|
|
9221
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} returns this
|
|
9222
|
+
*/
|
|
9223
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.setAbafileid = function(value) {
|
|
9224
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9225
|
+
};
|
|
9226
|
+
|
|
9227
|
+
|
|
9228
|
+
/**
|
|
9229
|
+
* optional bytes file_content = 3;
|
|
9230
|
+
* @return {!(string|Uint8Array)}
|
|
9231
|
+
*/
|
|
9232
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getFileContent = function() {
|
|
9233
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9234
|
+
};
|
|
9235
|
+
|
|
9236
|
+
|
|
9237
|
+
/**
|
|
9238
|
+
* optional bytes file_content = 3;
|
|
9239
|
+
* This is a type-conversion wrapper around `getFileContent()`
|
|
9240
|
+
* @return {string}
|
|
9241
|
+
*/
|
|
9242
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getFileContent_asB64 = function() {
|
|
9243
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
9244
|
+
this.getFileContent()));
|
|
9245
|
+
};
|
|
9246
|
+
|
|
9247
|
+
|
|
9248
|
+
/**
|
|
9249
|
+
* optional bytes file_content = 3;
|
|
9250
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
9251
|
+
* @see http://caniuse.com/Uint8Array
|
|
9252
|
+
* This is a type-conversion wrapper around `getFileContent()`
|
|
9253
|
+
* @return {!Uint8Array}
|
|
9254
|
+
*/
|
|
9255
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getFileContent_asU8 = function() {
|
|
9256
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
9257
|
+
this.getFileContent()));
|
|
9258
|
+
};
|
|
9259
|
+
|
|
9260
|
+
|
|
9261
|
+
/**
|
|
9262
|
+
* @param {!(string|Uint8Array)} value
|
|
9263
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} returns this
|
|
9264
|
+
*/
|
|
9265
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.setFileContent = function(value) {
|
|
9266
|
+
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
9267
|
+
};
|
|
9268
|
+
|
|
9269
|
+
|
|
9270
|
+
/**
|
|
9271
|
+
* optional string file_name = 4;
|
|
9272
|
+
* @return {string}
|
|
9273
|
+
*/
|
|
9274
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.getFileName = function() {
|
|
9275
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9276
|
+
};
|
|
9277
|
+
|
|
9278
|
+
|
|
9279
|
+
/**
|
|
9280
|
+
* @param {string} value
|
|
9281
|
+
* @return {!proto.payrollserviceapi.DownloadAbaErrorLogFileResponse} returns this
|
|
9282
|
+
*/
|
|
9283
|
+
proto.payrollserviceapi.DownloadAbaErrorLogFileResponse.prototype.setFileName = function(value) {
|
|
9284
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
9285
|
+
};
|
|
9286
|
+
|
|
9287
|
+
|
|
9288
|
+
|
|
9289
|
+
|
|
9290
|
+
|
|
8792
9291
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8793
9292
|
/**
|
|
8794
9293
|
* Creates an object representation of this proto.
|