@sniipwebmaster/email-import-service-client-grpcweb 0.2.521 → 0.2.539

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.
@@ -310,5 +310,60 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.remo
310
310
  };
311
311
 
312
312
 
313
+ /**
314
+ * @const
315
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
316
+ * !proto.sniipemailimportapi.UpdateAutomaticSyncRequest,
317
+ * !proto.sniipemailimportapi.ResponseCode>}
318
+ */
319
+ const methodInfo_SniipEmailImportAPIService_UpdateAutomaticSync = new grpc.web.AbstractClientBase.MethodInfo(
320
+ proto.sniipemailimportapi.ResponseCode,
321
+ /** @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} request */
322
+ function(request) {
323
+ return request.serializeBinary();
324
+ },
325
+ proto.sniipemailimportapi.ResponseCode.deserializeBinary
326
+ );
327
+
328
+
329
+ /**
330
+ * @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} request The
331
+ * request proto
332
+ * @param {?Object<string, string>} metadata User defined
333
+ * call metadata
334
+ * @param {function(?grpc.web.Error, ?proto.sniipemailimportapi.ResponseCode)}
335
+ * callback The callback function(error, response)
336
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipemailimportapi.ResponseCode>|undefined}
337
+ * The XHR Node Readable Stream
338
+ */
339
+ proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.updateAutomaticSync =
340
+ function(request, metadata, callback) {
341
+ return this.client_.rpcCall(this.hostname_ +
342
+ '/sniipemailimportapi.SniipEmailImportAPIService/UpdateAutomaticSync',
343
+ request,
344
+ metadata || {},
345
+ methodInfo_SniipEmailImportAPIService_UpdateAutomaticSync,
346
+ callback);
347
+ };
348
+
349
+
350
+ /**
351
+ * @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} request The
352
+ * request proto
353
+ * @param {?Object<string, string>} metadata User defined
354
+ * call metadata
355
+ * @return {!Promise<!proto.sniipemailimportapi.ResponseCode>}
356
+ * A native promise that resolves to the response
357
+ */
358
+ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.updateAutomaticSync =
359
+ function(request, metadata) {
360
+ return this.client_.unaryCall(this.hostname_ +
361
+ '/sniipemailimportapi.SniipEmailImportAPIService/UpdateAutomaticSync',
362
+ request,
363
+ metadata || {},
364
+ methodInfo_SniipEmailImportAPIService_UpdateAutomaticSync);
365
+ };
366
+
367
+
313
368
  module.exports = proto.sniipemailimportapi;
314
369
 
@@ -13,12 +13,14 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
13
13
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
14
14
  goog.exportSymbol('proto.sniipemailimportapi.AuthRequest', null, global);
15
15
  goog.exportSymbol('proto.sniipemailimportapi.AuthResponse', null, global);
16
+ goog.exportSymbol('proto.sniipemailimportapi.AutomaticSyncRequest', null, global);
16
17
  goog.exportSymbol('proto.sniipemailimportapi.GetConnectedEmailsResponse', null, global);
17
18
  goog.exportSymbol('proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage', null, global);
18
19
  goog.exportSymbol('proto.sniipemailimportapi.MakeAuthRequestRequest', null, global);
19
20
  goog.exportSymbol('proto.sniipemailimportapi.RemoveTokenRequest', null, global);
20
21
  goog.exportSymbol('proto.sniipemailimportapi.ResponseCode', null, global);
21
22
  goog.exportSymbol('proto.sniipemailimportapi.RevokeRequest', null, global);
23
+ goog.exportSymbol('proto.sniipemailimportapi.UpdateAutomaticSyncRequest', null, global);
22
24
 
23
25
  /**
24
26
  * Generated by JsPbCodeGenerator.
@@ -463,6 +465,194 @@ proto.sniipemailimportapi.AuthResponse.prototype.setRefreshtoken = function(valu
463
465
 
464
466
 
465
467
 
468
+ /**
469
+ * Generated by JsPbCodeGenerator.
470
+ * @param {Array=} opt_data Optional initial data array, typically from a
471
+ * server response, or constructed directly in Javascript. The array is used
472
+ * in place and becomes part of the constructed object. It is not cloned.
473
+ * If no data is provided, the constructed object will be empty, but still
474
+ * valid.
475
+ * @extends {jspb.Message}
476
+ * @constructor
477
+ */
478
+ proto.sniipemailimportapi.AutomaticSyncRequest = function(opt_data) {
479
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
480
+ };
481
+ goog.inherits(proto.sniipemailimportapi.AutomaticSyncRequest, jspb.Message);
482
+ if (goog.DEBUG && !COMPILED) {
483
+ proto.sniipemailimportapi.AutomaticSyncRequest.displayName = 'proto.sniipemailimportapi.AutomaticSyncRequest';
484
+ }
485
+
486
+
487
+ if (jspb.Message.GENERATE_TO_OBJECT) {
488
+ /**
489
+ * Creates an object representation of this proto suitable for use in Soy templates.
490
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
491
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
492
+ * For the list of reserved names please see:
493
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
494
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
495
+ * for transitional soy proto support: http://goto/soy-param-migration
496
+ * @return {!Object}
497
+ */
498
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.toObject = function(opt_includeInstance) {
499
+ return proto.sniipemailimportapi.AutomaticSyncRequest.toObject(opt_includeInstance, this);
500
+ };
501
+
502
+
503
+ /**
504
+ * Static version of the {@see toObject} method.
505
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
506
+ * instance for transitional soy proto support:
507
+ * http://goto/soy-param-migration
508
+ * @param {!proto.sniipemailimportapi.AutomaticSyncRequest} msg The msg instance to transform.
509
+ * @return {!Object}
510
+ */
511
+ proto.sniipemailimportapi.AutomaticSyncRequest.toObject = function(includeInstance, msg) {
512
+ var f, obj = {
513
+ tokenid: msg.getTokenid(),
514
+ automaticsync: msg.getAutomaticsync()
515
+ };
516
+
517
+ if (includeInstance) {
518
+ obj.$jspbMessageInstance = msg;
519
+ }
520
+ return obj;
521
+ };
522
+ }
523
+
524
+
525
+ /**
526
+ * Deserializes binary data (in protobuf wire format).
527
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
528
+ * @return {!proto.sniipemailimportapi.AutomaticSyncRequest}
529
+ */
530
+ proto.sniipemailimportapi.AutomaticSyncRequest.deserializeBinary = function(bytes) {
531
+ var reader = new jspb.BinaryReader(bytes);
532
+ var msg = new proto.sniipemailimportapi.AutomaticSyncRequest;
533
+ return proto.sniipemailimportapi.AutomaticSyncRequest.deserializeBinaryFromReader(msg, reader);
534
+ };
535
+
536
+
537
+ /**
538
+ * Deserializes binary data (in protobuf wire format) from the
539
+ * given reader into the given message object.
540
+ * @param {!proto.sniipemailimportapi.AutomaticSyncRequest} msg The message object to deserialize into.
541
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
542
+ * @return {!proto.sniipemailimportapi.AutomaticSyncRequest}
543
+ */
544
+ proto.sniipemailimportapi.AutomaticSyncRequest.deserializeBinaryFromReader = function(msg, reader) {
545
+ while (reader.nextField()) {
546
+ if (reader.isEndGroup()) {
547
+ break;
548
+ }
549
+ var field = reader.getFieldNumber();
550
+ switch (field) {
551
+ case 1:
552
+ var value = /** @type {number} */ (reader.readInt64());
553
+ msg.setTokenid(value);
554
+ break;
555
+ case 2:
556
+ var value = /** @type {boolean} */ (reader.readBool());
557
+ msg.setAutomaticsync(value);
558
+ break;
559
+ default:
560
+ reader.skipField();
561
+ break;
562
+ }
563
+ }
564
+ return msg;
565
+ };
566
+
567
+
568
+ /**
569
+ * Class method variant: serializes the given message to binary data
570
+ * (in protobuf wire format), writing to the given BinaryWriter.
571
+ * @param {!proto.sniipemailimportapi.AutomaticSyncRequest} message
572
+ * @param {!jspb.BinaryWriter} writer
573
+ */
574
+ proto.sniipemailimportapi.AutomaticSyncRequest.serializeBinaryToWriter = function(message, writer) {
575
+ message.serializeBinaryToWriter(writer);
576
+ };
577
+
578
+
579
+ /**
580
+ * Serializes the message to binary data (in protobuf wire format).
581
+ * @return {!Uint8Array}
582
+ */
583
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.serializeBinary = function() {
584
+ var writer = new jspb.BinaryWriter();
585
+ this.serializeBinaryToWriter(writer);
586
+ return writer.getResultBuffer();
587
+ };
588
+
589
+
590
+ /**
591
+ * Serializes the message to binary data (in protobuf wire format),
592
+ * writing to the given BinaryWriter.
593
+ * @param {!jspb.BinaryWriter} writer
594
+ */
595
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.serializeBinaryToWriter = function (writer) {
596
+ var f = undefined;
597
+ f = this.getTokenid();
598
+ if (f !== 0) {
599
+ writer.writeInt64(
600
+ 1,
601
+ f
602
+ );
603
+ }
604
+ f = this.getAutomaticsync();
605
+ if (f) {
606
+ writer.writeBool(
607
+ 2,
608
+ f
609
+ );
610
+ }
611
+ };
612
+
613
+
614
+ /**
615
+ * Creates a deep clone of this proto. No data is shared with the original.
616
+ * @return {!proto.sniipemailimportapi.AutomaticSyncRequest} The clone.
617
+ */
618
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.cloneMessage = function() {
619
+ return /** @type {!proto.sniipemailimportapi.AutomaticSyncRequest} */ (jspb.Message.cloneMessage(this));
620
+ };
621
+
622
+
623
+ /**
624
+ * optional int64 tokenId = 1;
625
+ * @return {number}
626
+ */
627
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.getTokenid = function() {
628
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
629
+ };
630
+
631
+
632
+ /** @param {number} value */
633
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.setTokenid = function(value) {
634
+ jspb.Message.setField(this, 1, value);
635
+ };
636
+
637
+
638
+ /**
639
+ * optional bool automaticSync = 2;
640
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
641
+ * You should avoid comparisons like {@code val === true/false} in those cases.
642
+ * @return {boolean}
643
+ */
644
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.getAutomaticsync = function() {
645
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
646
+ };
647
+
648
+
649
+ /** @param {boolean} value */
650
+ proto.sniipemailimportapi.AutomaticSyncRequest.prototype.setAutomaticsync = function(value) {
651
+ jspb.Message.setField(this, 2, value);
652
+ };
653
+
654
+
655
+
466
656
  /**
467
657
  * Generated by JsPbCodeGenerator.
468
658
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -517,7 +707,8 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.toObject = function(include
517
707
  var f, obj = {
518
708
  responsecode: (f = msg.getResponsecode()) && proto.sniipemailimportapi.ResponseCode.toObject(includeInstance, f),
519
709
  emailsList: jspb.Message.toObjectList(msg.getEmailsList(),
520
- proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.toObject, includeInstance)
710
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.toObject, includeInstance),
711
+ aussiesusingsniip: msg.getAussiesusingsniip()
521
712
  };
522
713
 
523
714
  if (includeInstance) {
@@ -565,6 +756,10 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.deserializeBinaryFromReader
565
756
  msg.getEmailsList().push(value);
566
757
  msg.setEmailsList(msg.getEmailsList());
567
758
  break;
759
+ case 3:
760
+ var value = /** @type {string} */ (reader.readString());
761
+ msg.setAussiesusingsniip(value);
762
+ break;
568
763
  default:
569
764
  reader.skipField();
570
765
  break;
@@ -619,6 +814,13 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.prototype.serializeBinaryTo
619
814
  proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.serializeBinaryToWriter
620
815
  );
621
816
  }
817
+ f = this.getAussiesusingsniip();
818
+ if (f.length > 0) {
819
+ writer.writeString(
820
+ 3,
821
+ f
822
+ );
823
+ }
622
824
  };
623
825
 
624
826
 
@@ -684,6 +886,21 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.prototype.clearEmailsList =
684
886
  };
685
887
 
686
888
 
889
+ /**
890
+ * optional string aussiesUsingSniip = 3;
891
+ * @return {string}
892
+ */
893
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.prototype.getAussiesusingsniip = function() {
894
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
895
+ };
896
+
897
+
898
+ /** @param {string} value */
899
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.prototype.setAussiesusingsniip = function(value) {
900
+ jspb.Message.setField(this, 3, value);
901
+ };
902
+
903
+
687
904
 
688
905
  /**
689
906
  * Generated by JsPbCodeGenerator.
@@ -733,7 +950,8 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.toObject = fu
733
950
  email: msg.getEmail(),
734
951
  lastsyncedtime: msg.getLastsyncedtime(),
735
952
  provider: msg.getProvider(),
736
- tokenid: msg.getTokenid()
953
+ tokenid: msg.getTokenid(),
954
+ automaticsync: msg.getAutomaticsync()
737
955
  };
738
956
 
739
957
  if (includeInstance) {
@@ -786,6 +1004,10 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.deserializeBi
786
1004
  var value = /** @type {number} */ (reader.readInt64());
787
1005
  msg.setTokenid(value);
788
1006
  break;
1007
+ case 5:
1008
+ var value = /** @type {boolean} */ (reader.readBool());
1009
+ msg.setAutomaticsync(value);
1010
+ break;
789
1011
  default:
790
1012
  reader.skipField();
791
1013
  break;
@@ -852,6 +1074,13 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.prototype.ser
852
1074
  f
853
1075
  );
854
1076
  }
1077
+ f = this.getAutomaticsync();
1078
+ if (f) {
1079
+ writer.writeBool(
1080
+ 5,
1081
+ f
1082
+ );
1083
+ }
855
1084
  };
856
1085
 
857
1086
 
@@ -924,6 +1153,23 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.prototype.set
924
1153
  };
925
1154
 
926
1155
 
1156
+ /**
1157
+ * optional bool automaticSync = 5;
1158
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1159
+ * You should avoid comparisons like {@code val === true/false} in those cases.
1160
+ * @return {boolean}
1161
+ */
1162
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.prototype.getAutomaticsync = function() {
1163
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
1164
+ };
1165
+
1166
+
1167
+ /** @param {boolean} value */
1168
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.EmailsMessage.prototype.setAutomaticsync = function(value) {
1169
+ jspb.Message.setField(this, 5, value);
1170
+ };
1171
+
1172
+
927
1173
 
928
1174
  /**
929
1175
  * Generated by JsPbCodeGenerator.
@@ -1621,4 +1867,180 @@ proto.sniipemailimportapi.RevokeRequest.prototype.setTokenid = function(value) {
1621
1867
  };
1622
1868
 
1623
1869
 
1870
+
1871
+ /**
1872
+ * Generated by JsPbCodeGenerator.
1873
+ * @param {Array=} opt_data Optional initial data array, typically from a
1874
+ * server response, or constructed directly in Javascript. The array is used
1875
+ * in place and becomes part of the constructed object. It is not cloned.
1876
+ * If no data is provided, the constructed object will be empty, but still
1877
+ * valid.
1878
+ * @extends {jspb.Message}
1879
+ * @constructor
1880
+ */
1881
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest = function(opt_data) {
1882
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1883
+ };
1884
+ goog.inherits(proto.sniipemailimportapi.UpdateAutomaticSyncRequest, jspb.Message);
1885
+ if (goog.DEBUG && !COMPILED) {
1886
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.displayName = 'proto.sniipemailimportapi.UpdateAutomaticSyncRequest';
1887
+ }
1888
+
1889
+
1890
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1891
+ /**
1892
+ * Creates an object representation of this proto suitable for use in Soy templates.
1893
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1894
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1895
+ * For the list of reserved names please see:
1896
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1897
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1898
+ * for transitional soy proto support: http://goto/soy-param-migration
1899
+ * @return {!Object}
1900
+ */
1901
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.toObject = function(opt_includeInstance) {
1902
+ return proto.sniipemailimportapi.UpdateAutomaticSyncRequest.toObject(opt_includeInstance, this);
1903
+ };
1904
+
1905
+
1906
+ /**
1907
+ * Static version of the {@see toObject} method.
1908
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
1909
+ * instance for transitional soy proto support:
1910
+ * http://goto/soy-param-migration
1911
+ * @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} msg The msg instance to transform.
1912
+ * @return {!Object}
1913
+ */
1914
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.toObject = function(includeInstance, msg) {
1915
+ var f, obj = {
1916
+ data: (f = msg.getData()) && proto.sniipemailimportapi.AutomaticSyncRequest.toObject(includeInstance, f)
1917
+ };
1918
+
1919
+ if (includeInstance) {
1920
+ obj.$jspbMessageInstance = msg;
1921
+ }
1922
+ return obj;
1923
+ };
1924
+ }
1925
+
1926
+
1927
+ /**
1928
+ * Deserializes binary data (in protobuf wire format).
1929
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1930
+ * @return {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest}
1931
+ */
1932
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.deserializeBinary = function(bytes) {
1933
+ var reader = new jspb.BinaryReader(bytes);
1934
+ var msg = new proto.sniipemailimportapi.UpdateAutomaticSyncRequest;
1935
+ return proto.sniipemailimportapi.UpdateAutomaticSyncRequest.deserializeBinaryFromReader(msg, reader);
1936
+ };
1937
+
1938
+
1939
+ /**
1940
+ * Deserializes binary data (in protobuf wire format) from the
1941
+ * given reader into the given message object.
1942
+ * @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} msg The message object to deserialize into.
1943
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1944
+ * @return {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest}
1945
+ */
1946
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.deserializeBinaryFromReader = function(msg, reader) {
1947
+ while (reader.nextField()) {
1948
+ if (reader.isEndGroup()) {
1949
+ break;
1950
+ }
1951
+ var field = reader.getFieldNumber();
1952
+ switch (field) {
1953
+ case 1:
1954
+ var value = new proto.sniipemailimportapi.AutomaticSyncRequest;
1955
+ reader.readMessage(value,proto.sniipemailimportapi.AutomaticSyncRequest.deserializeBinaryFromReader);
1956
+ msg.setData(value);
1957
+ break;
1958
+ default:
1959
+ reader.skipField();
1960
+ break;
1961
+ }
1962
+ }
1963
+ return msg;
1964
+ };
1965
+
1966
+
1967
+ /**
1968
+ * Class method variant: serializes the given message to binary data
1969
+ * (in protobuf wire format), writing to the given BinaryWriter.
1970
+ * @param {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} message
1971
+ * @param {!jspb.BinaryWriter} writer
1972
+ */
1973
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.serializeBinaryToWriter = function(message, writer) {
1974
+ message.serializeBinaryToWriter(writer);
1975
+ };
1976
+
1977
+
1978
+ /**
1979
+ * Serializes the message to binary data (in protobuf wire format).
1980
+ * @return {!Uint8Array}
1981
+ */
1982
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.serializeBinary = function() {
1983
+ var writer = new jspb.BinaryWriter();
1984
+ this.serializeBinaryToWriter(writer);
1985
+ return writer.getResultBuffer();
1986
+ };
1987
+
1988
+
1989
+ /**
1990
+ * Serializes the message to binary data (in protobuf wire format),
1991
+ * writing to the given BinaryWriter.
1992
+ * @param {!jspb.BinaryWriter} writer
1993
+ */
1994
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.serializeBinaryToWriter = function (writer) {
1995
+ var f = undefined;
1996
+ f = this.getData();
1997
+ if (f != null) {
1998
+ writer.writeMessage(
1999
+ 1,
2000
+ f,
2001
+ proto.sniipemailimportapi.AutomaticSyncRequest.serializeBinaryToWriter
2002
+ );
2003
+ }
2004
+ };
2005
+
2006
+
2007
+ /**
2008
+ * Creates a deep clone of this proto. No data is shared with the original.
2009
+ * @return {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} The clone.
2010
+ */
2011
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.cloneMessage = function() {
2012
+ return /** @type {!proto.sniipemailimportapi.UpdateAutomaticSyncRequest} */ (jspb.Message.cloneMessage(this));
2013
+ };
2014
+
2015
+
2016
+ /**
2017
+ * optional AutomaticSyncRequest data = 1;
2018
+ * @return {proto.sniipemailimportapi.AutomaticSyncRequest}
2019
+ */
2020
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.getData = function() {
2021
+ return /** @type{proto.sniipemailimportapi.AutomaticSyncRequest} */ (
2022
+ jspb.Message.getWrapperField(this, proto.sniipemailimportapi.AutomaticSyncRequest, 1));
2023
+ };
2024
+
2025
+
2026
+ /** @param {proto.sniipemailimportapi.AutomaticSyncRequest|undefined} value */
2027
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.setData = function(value) {
2028
+ jspb.Message.setWrapperField(this, 1, value);
2029
+ };
2030
+
2031
+
2032
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.clearData = function() {
2033
+ this.setData(undefined);
2034
+ };
2035
+
2036
+
2037
+ /**
2038
+ * Returns whether this field is set.
2039
+ * @return{!boolean}
2040
+ */
2041
+ proto.sniipemailimportapi.UpdateAutomaticSyncRequest.prototype.hasData = function() {
2042
+ return jspb.Message.getField(this, 1) != null;
2043
+ };
2044
+
2045
+
1624
2046
  goog.object.extend(exports, proto.sniipemailimportapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/email-import-service-client-grpcweb",
3
- "version": "0.2.521",
3
+ "version": "0.2.539",
4
4
  "description": "email-import-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",