@lansweeper/data-platform-outbound-grpc 0.3.28 → 0.3.30

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +88 -0
  4. package/gen-proto/outbound_pb.js +780 -5
  5. package/generated-go/outbound.pb.go +993 -748
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +21 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$UsersKeysDefaultEntryHolder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Mailbox$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Mailbox$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Mailbox.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365MailboxOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$AssignedPlansDefaultEntryHolder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder$AssignedPlansConverter.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$1.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$Builder.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$GroupKeysDefaultEntryHolder.class +0 -0
  31. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User.class +0 -0
  32. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.class +0 -0
  33. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  34. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$1.class +0 -0
  35. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo$Builder.class +0 -0
  36. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfo.class +0 -0
  37. package/model/target/classes/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.class +0 -0
  38. package/model/target/classes/outbound.proto +21 -0
  39. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Group.java +157 -0
  40. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.java +17 -0
  41. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365License.java +157 -0
  42. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.java +17 -0
  43. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Mailbox.java +2038 -0
  44. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365MailboxOrBuilder.java +154 -0
  45. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Organization.java +351 -0
  46. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.java +24 -0
  47. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365User.java +314 -0
  48. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.java +34 -0
  49. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2760 -2736
  50. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfo.java +261 -68
  51. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SourceInfoOrBuilder.java +29 -0
  52. package/model/target/maven-archiver/pom.properties +2 -2
  53. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  54. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  55. package/model/target/{outbound-model-0.3.27-sources.jar → outbound-model-0.3.29-sources.jar} +0 -0
  56. package/model/target/{outbound-model-0.3.27.jar → outbound-model-0.3.29.jar} +0 -0
  57. package/package.json +2 -2
  58. package/pom.xml +1 -1
  59. package/proto/outbound.proto +21 -0
  60. package/service/pom.xml +1 -1
  61. package/service/target/maven-archiver/pom.properties +2 -2
  62. package/service/target/{outbound-service-0.3.27-sources.jar → outbound-service-0.3.29-sources.jar} +0 -0
  63. package/service/target/{outbound-service-0.3.27.jar → outbound-service-0.3.29.jar} +0 -0
@@ -25,6 +25,7 @@ private static final long serialVersionUID = 0L;
25
25
  private SourceInfo() {
26
26
  sourceId_ = "";
27
27
  sourceType_ = "";
28
+ sensorId_ = "";
28
29
  sourceAgent_ = "";
29
30
  sourceName_ = "";
30
31
  sourceTag_ = "";
@@ -148,6 +149,65 @@ private static final long serialVersionUID = 0L;
148
149
  }
149
150
  }
150
151
 
152
+ public static final int SENSOR_ID_FIELD_NUMBER = 10;
153
+ @SuppressWarnings("serial")
154
+ private volatile java.lang.Object sensorId_ = "";
155
+ /**
156
+ * <pre>
157
+ * sensor id of the source
158
+ * </pre>
159
+ *
160
+ * <code>optional string sensor_id = 10;</code>
161
+ * @return Whether the sensorId field is set.
162
+ */
163
+ @java.lang.Override
164
+ public boolean hasSensorId() {
165
+ return ((bitField0_ & 0x00000001) != 0);
166
+ }
167
+ /**
168
+ * <pre>
169
+ * sensor id of the source
170
+ * </pre>
171
+ *
172
+ * <code>optional string sensor_id = 10;</code>
173
+ * @return The sensorId.
174
+ */
175
+ @java.lang.Override
176
+ public java.lang.String getSensorId() {
177
+ java.lang.Object ref = sensorId_;
178
+ if (ref instanceof java.lang.String) {
179
+ return (java.lang.String) ref;
180
+ } else {
181
+ com.google.protobuf.ByteString bs =
182
+ (com.google.protobuf.ByteString) ref;
183
+ java.lang.String s = bs.toStringUtf8();
184
+ sensorId_ = s;
185
+ return s;
186
+ }
187
+ }
188
+ /**
189
+ * <pre>
190
+ * sensor id of the source
191
+ * </pre>
192
+ *
193
+ * <code>optional string sensor_id = 10;</code>
194
+ * @return The bytes for sensorId.
195
+ */
196
+ @java.lang.Override
197
+ public com.google.protobuf.ByteString
198
+ getSensorIdBytes() {
199
+ java.lang.Object ref = sensorId_;
200
+ if (ref instanceof java.lang.String) {
201
+ com.google.protobuf.ByteString b =
202
+ com.google.protobuf.ByteString.copyFromUtf8(
203
+ (java.lang.String) ref);
204
+ sensorId_ = b;
205
+ return b;
206
+ } else {
207
+ return (com.google.protobuf.ByteString) ref;
208
+ }
209
+ }
210
+
151
211
  public static final int SOURCE_AGENT_FIELD_NUMBER = 3;
152
212
  @SuppressWarnings("serial")
153
213
  private volatile java.lang.Object sourceAgent_ = "";
@@ -161,7 +221,7 @@ private static final long serialVersionUID = 0L;
161
221
  */
162
222
  @java.lang.Override
163
223
  public boolean hasSourceAgent() {
164
- return ((bitField0_ & 0x00000001) != 0);
224
+ return ((bitField0_ & 0x00000002) != 0);
165
225
  }
166
226
  /**
167
227
  * <pre>
@@ -220,7 +280,7 @@ private static final long serialVersionUID = 0L;
220
280
  */
221
281
  @java.lang.Override
222
282
  public boolean hasSourceName() {
223
- return ((bitField0_ & 0x00000002) != 0);
283
+ return ((bitField0_ & 0x00000004) != 0);
224
284
  }
225
285
  /**
226
286
  * <pre>
@@ -279,7 +339,7 @@ private static final long serialVersionUID = 0L;
279
339
  */
280
340
  @java.lang.Override
281
341
  public boolean hasSourceTag() {
282
- return ((bitField0_ & 0x00000004) != 0);
342
+ return ((bitField0_ & 0x00000008) != 0);
283
343
  }
284
344
  /**
285
345
  * <pre>
@@ -385,7 +445,7 @@ private static final long serialVersionUID = 0L;
385
445
  */
386
446
  @java.lang.Override
387
447
  public boolean hasEntityId() {
388
- return ((bitField0_ & 0x00000008) != 0);
448
+ return ((bitField0_ & 0x00000010) != 0);
389
449
  }
390
450
  /**
391
451
  * <pre>
@@ -443,7 +503,7 @@ private static final long serialVersionUID = 0L;
443
503
  */
444
504
  @java.lang.Override
445
505
  public boolean hasLastSynced() {
446
- return ((bitField0_ & 0x00000010) != 0);
506
+ return ((bitField0_ & 0x00000020) != 0);
447
507
  }
448
508
  /**
449
509
  * <pre>
@@ -550,27 +610,30 @@ private static final long serialVersionUID = 0L;
550
610
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) {
551
611
  com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceType_);
552
612
  }
553
- if (((bitField0_ & 0x00000001) != 0)) {
613
+ if (((bitField0_ & 0x00000002) != 0)) {
554
614
  com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourceAgent_);
555
615
  }
556
- if (((bitField0_ & 0x00000002) != 0)) {
616
+ if (((bitField0_ & 0x00000004) != 0)) {
557
617
  com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sourceName_);
558
618
  }
559
619
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rawId_)) {
560
620
  com.google.protobuf.GeneratedMessageV3.writeString(output, 5, rawId_);
561
621
  }
562
- if (((bitField0_ & 0x00000010) != 0)) {
622
+ if (((bitField0_ & 0x00000020) != 0)) {
563
623
  output.writeMessage(6, getLastSynced());
564
624
  }
565
- if (((bitField0_ & 0x00000008) != 0)) {
625
+ if (((bitField0_ & 0x00000010) != 0)) {
566
626
  com.google.protobuf.GeneratedMessageV3.writeString(output, 7, entityId_);
567
627
  }
568
- if (((bitField0_ & 0x00000004) != 0)) {
628
+ if (((bitField0_ & 0x00000008) != 0)) {
569
629
  com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceTag_);
570
630
  }
571
631
  for (int i = 0; i < credentials_.size(); i++) {
572
632
  output.writeMessage(9, credentials_.get(i));
573
633
  }
634
+ if (((bitField0_ & 0x00000001) != 0)) {
635
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, sensorId_);
636
+ }
574
637
  getUnknownFields().writeTo(output);
575
638
  }
576
639
 
@@ -586,29 +649,32 @@ private static final long serialVersionUID = 0L;
586
649
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) {
587
650
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceType_);
588
651
  }
589
- if (((bitField0_ & 0x00000001) != 0)) {
652
+ if (((bitField0_ & 0x00000002) != 0)) {
590
653
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceAgent_);
591
654
  }
592
- if (((bitField0_ & 0x00000002) != 0)) {
655
+ if (((bitField0_ & 0x00000004) != 0)) {
593
656
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceName_);
594
657
  }
595
658
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rawId_)) {
596
659
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, rawId_);
597
660
  }
598
- if (((bitField0_ & 0x00000010) != 0)) {
661
+ if (((bitField0_ & 0x00000020) != 0)) {
599
662
  size += com.google.protobuf.CodedOutputStream
600
663
  .computeMessageSize(6, getLastSynced());
601
664
  }
602
- if (((bitField0_ & 0x00000008) != 0)) {
665
+ if (((bitField0_ & 0x00000010) != 0)) {
603
666
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, entityId_);
604
667
  }
605
- if (((bitField0_ & 0x00000004) != 0)) {
668
+ if (((bitField0_ & 0x00000008) != 0)) {
606
669
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceTag_);
607
670
  }
608
671
  for (int i = 0; i < credentials_.size(); i++) {
609
672
  size += com.google.protobuf.CodedOutputStream
610
673
  .computeMessageSize(9, credentials_.get(i));
611
674
  }
675
+ if (((bitField0_ & 0x00000001) != 0)) {
676
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sensorId_);
677
+ }
612
678
  size += getUnknownFields().getSerializedSize();
613
679
  memoizedSize = size;
614
680
  return size;
@@ -628,6 +694,11 @@ private static final long serialVersionUID = 0L;
628
694
  .equals(other.getSourceId())) return false;
629
695
  if (!getSourceType()
630
696
  .equals(other.getSourceType())) return false;
697
+ if (hasSensorId() != other.hasSensorId()) return false;
698
+ if (hasSensorId()) {
699
+ if (!getSensorId()
700
+ .equals(other.getSensorId())) return false;
701
+ }
631
702
  if (hasSourceAgent() != other.hasSourceAgent()) return false;
632
703
  if (hasSourceAgent()) {
633
704
  if (!getSourceAgent()
@@ -672,6 +743,10 @@ private static final long serialVersionUID = 0L;
672
743
  hash = (53 * hash) + getSourceId().hashCode();
673
744
  hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER;
674
745
  hash = (53 * hash) + getSourceType().hashCode();
746
+ if (hasSensorId()) {
747
+ hash = (37 * hash) + SENSOR_ID_FIELD_NUMBER;
748
+ hash = (53 * hash) + getSensorId().hashCode();
749
+ }
675
750
  if (hasSourceAgent()) {
676
751
  hash = (37 * hash) + SOURCE_AGENT_FIELD_NUMBER;
677
752
  hash = (53 * hash) + getSourceAgent().hashCode();
@@ -844,6 +919,7 @@ private static final long serialVersionUID = 0L;
844
919
  bitField0_ = 0;
845
920
  sourceId_ = "";
846
921
  sourceType_ = "";
922
+ sensorId_ = "";
847
923
  sourceAgent_ = "";
848
924
  sourceName_ = "";
849
925
  sourceTag_ = "";
@@ -860,7 +936,7 @@ private static final long serialVersionUID = 0L;
860
936
  credentials_ = null;
861
937
  credentialsBuilder_.clear();
862
938
  }
863
- bitField0_ = (bitField0_ & ~0x00000100);
939
+ bitField0_ = (bitField0_ & ~0x00000200);
864
940
  return this;
865
941
  }
866
942
 
@@ -895,9 +971,9 @@ private static final long serialVersionUID = 0L;
895
971
 
896
972
  private void buildPartialRepeatedFields(com.lansweeper.dp.outbound.v1.SourceInfo result) {
897
973
  if (credentialsBuilder_ == null) {
898
- if (((bitField0_ & 0x00000100) != 0)) {
974
+ if (((bitField0_ & 0x00000200) != 0)) {
899
975
  credentials_ = java.util.Collections.unmodifiableList(credentials_);
900
- bitField0_ = (bitField0_ & ~0x00000100);
976
+ bitField0_ = (bitField0_ & ~0x00000200);
901
977
  }
902
978
  result.credentials_ = credentials_;
903
979
  } else {
@@ -915,29 +991,33 @@ private static final long serialVersionUID = 0L;
915
991
  }
916
992
  int to_bitField0_ = 0;
917
993
  if (((from_bitField0_ & 0x00000004) != 0)) {
918
- result.sourceAgent_ = sourceAgent_;
994
+ result.sensorId_ = sensorId_;
919
995
  to_bitField0_ |= 0x00000001;
920
996
  }
921
997
  if (((from_bitField0_ & 0x00000008) != 0)) {
922
- result.sourceName_ = sourceName_;
998
+ result.sourceAgent_ = sourceAgent_;
923
999
  to_bitField0_ |= 0x00000002;
924
1000
  }
925
1001
  if (((from_bitField0_ & 0x00000010) != 0)) {
926
- result.sourceTag_ = sourceTag_;
1002
+ result.sourceName_ = sourceName_;
927
1003
  to_bitField0_ |= 0x00000004;
928
1004
  }
929
1005
  if (((from_bitField0_ & 0x00000020) != 0)) {
930
- result.rawId_ = rawId_;
1006
+ result.sourceTag_ = sourceTag_;
1007
+ to_bitField0_ |= 0x00000008;
931
1008
  }
932
1009
  if (((from_bitField0_ & 0x00000040) != 0)) {
933
- result.entityId_ = entityId_;
934
- to_bitField0_ |= 0x00000008;
1010
+ result.rawId_ = rawId_;
935
1011
  }
936
1012
  if (((from_bitField0_ & 0x00000080) != 0)) {
1013
+ result.entityId_ = entityId_;
1014
+ to_bitField0_ |= 0x00000010;
1015
+ }
1016
+ if (((from_bitField0_ & 0x00000100) != 0)) {
937
1017
  result.lastSynced_ = lastSyncedBuilder_ == null
938
1018
  ? lastSynced_
939
1019
  : lastSyncedBuilder_.build();
940
- to_bitField0_ |= 0x00000010;
1020
+ to_bitField0_ |= 0x00000020;
941
1021
  }
942
1022
  result.bitField0_ |= to_bitField0_;
943
1023
  }
@@ -996,29 +1076,34 @@ private static final long serialVersionUID = 0L;
996
1076
  bitField0_ |= 0x00000002;
997
1077
  onChanged();
998
1078
  }
1079
+ if (other.hasSensorId()) {
1080
+ sensorId_ = other.sensorId_;
1081
+ bitField0_ |= 0x00000004;
1082
+ onChanged();
1083
+ }
999
1084
  if (other.hasSourceAgent()) {
1000
1085
  sourceAgent_ = other.sourceAgent_;
1001
- bitField0_ |= 0x00000004;
1086
+ bitField0_ |= 0x00000008;
1002
1087
  onChanged();
1003
1088
  }
1004
1089
  if (other.hasSourceName()) {
1005
1090
  sourceName_ = other.sourceName_;
1006
- bitField0_ |= 0x00000008;
1091
+ bitField0_ |= 0x00000010;
1007
1092
  onChanged();
1008
1093
  }
1009
1094
  if (other.hasSourceTag()) {
1010
1095
  sourceTag_ = other.sourceTag_;
1011
- bitField0_ |= 0x00000010;
1096
+ bitField0_ |= 0x00000020;
1012
1097
  onChanged();
1013
1098
  }
1014
1099
  if (!other.getRawId().isEmpty()) {
1015
1100
  rawId_ = other.rawId_;
1016
- bitField0_ |= 0x00000020;
1101
+ bitField0_ |= 0x00000040;
1017
1102
  onChanged();
1018
1103
  }
1019
1104
  if (other.hasEntityId()) {
1020
1105
  entityId_ = other.entityId_;
1021
- bitField0_ |= 0x00000040;
1106
+ bitField0_ |= 0x00000080;
1022
1107
  onChanged();
1023
1108
  }
1024
1109
  if (other.hasLastSynced()) {
@@ -1028,7 +1113,7 @@ private static final long serialVersionUID = 0L;
1028
1113
  if (!other.credentials_.isEmpty()) {
1029
1114
  if (credentials_.isEmpty()) {
1030
1115
  credentials_ = other.credentials_;
1031
- bitField0_ = (bitField0_ & ~0x00000100);
1116
+ bitField0_ = (bitField0_ & ~0x00000200);
1032
1117
  } else {
1033
1118
  ensureCredentialsIsMutable();
1034
1119
  credentials_.addAll(other.credentials_);
@@ -1041,7 +1126,7 @@ private static final long serialVersionUID = 0L;
1041
1126
  credentialsBuilder_.dispose();
1042
1127
  credentialsBuilder_ = null;
1043
1128
  credentials_ = other.credentials_;
1044
- bitField0_ = (bitField0_ & ~0x00000100);
1129
+ bitField0_ = (bitField0_ & ~0x00000200);
1045
1130
  credentialsBuilder_ =
1046
1131
  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1047
1132
  getCredentialsFieldBuilder() : null;
@@ -1088,34 +1173,34 @@ private static final long serialVersionUID = 0L;
1088
1173
  } // case 18
1089
1174
  case 26: {
1090
1175
  sourceAgent_ = input.readStringRequireUtf8();
1091
- bitField0_ |= 0x00000004;
1176
+ bitField0_ |= 0x00000008;
1092
1177
  break;
1093
1178
  } // case 26
1094
1179
  case 34: {
1095
1180
  sourceName_ = input.readStringRequireUtf8();
1096
- bitField0_ |= 0x00000008;
1181
+ bitField0_ |= 0x00000010;
1097
1182
  break;
1098
1183
  } // case 34
1099
1184
  case 42: {
1100
1185
  rawId_ = input.readStringRequireUtf8();
1101
- bitField0_ |= 0x00000020;
1186
+ bitField0_ |= 0x00000040;
1102
1187
  break;
1103
1188
  } // case 42
1104
1189
  case 50: {
1105
1190
  input.readMessage(
1106
1191
  getLastSyncedFieldBuilder().getBuilder(),
1107
1192
  extensionRegistry);
1108
- bitField0_ |= 0x00000080;
1193
+ bitField0_ |= 0x00000100;
1109
1194
  break;
1110
1195
  } // case 50
1111
1196
  case 58: {
1112
1197
  entityId_ = input.readStringRequireUtf8();
1113
- bitField0_ |= 0x00000040;
1198
+ bitField0_ |= 0x00000080;
1114
1199
  break;
1115
1200
  } // case 58
1116
1201
  case 66: {
1117
1202
  sourceTag_ = input.readStringRequireUtf8();
1118
- bitField0_ |= 0x00000010;
1203
+ bitField0_ |= 0x00000020;
1119
1204
  break;
1120
1205
  } // case 66
1121
1206
  case 74: {
@@ -1131,6 +1216,11 @@ private static final long serialVersionUID = 0L;
1131
1216
  }
1132
1217
  break;
1133
1218
  } // case 74
1219
+ case 82: {
1220
+ sensorId_ = input.readStringRequireUtf8();
1221
+ bitField0_ |= 0x00000004;
1222
+ break;
1223
+ } // case 82
1134
1224
  default: {
1135
1225
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1136
1226
  done = true; // was an endgroup tag
@@ -1332,6 +1422,109 @@ private static final long serialVersionUID = 0L;
1332
1422
  return this;
1333
1423
  }
1334
1424
 
1425
+ private java.lang.Object sensorId_ = "";
1426
+ /**
1427
+ * <pre>
1428
+ * sensor id of the source
1429
+ * </pre>
1430
+ *
1431
+ * <code>optional string sensor_id = 10;</code>
1432
+ * @return Whether the sensorId field is set.
1433
+ */
1434
+ public boolean hasSensorId() {
1435
+ return ((bitField0_ & 0x00000004) != 0);
1436
+ }
1437
+ /**
1438
+ * <pre>
1439
+ * sensor id of the source
1440
+ * </pre>
1441
+ *
1442
+ * <code>optional string sensor_id = 10;</code>
1443
+ * @return The sensorId.
1444
+ */
1445
+ public java.lang.String getSensorId() {
1446
+ java.lang.Object ref = sensorId_;
1447
+ if (!(ref instanceof java.lang.String)) {
1448
+ com.google.protobuf.ByteString bs =
1449
+ (com.google.protobuf.ByteString) ref;
1450
+ java.lang.String s = bs.toStringUtf8();
1451
+ sensorId_ = s;
1452
+ return s;
1453
+ } else {
1454
+ return (java.lang.String) ref;
1455
+ }
1456
+ }
1457
+ /**
1458
+ * <pre>
1459
+ * sensor id of the source
1460
+ * </pre>
1461
+ *
1462
+ * <code>optional string sensor_id = 10;</code>
1463
+ * @return The bytes for sensorId.
1464
+ */
1465
+ public com.google.protobuf.ByteString
1466
+ getSensorIdBytes() {
1467
+ java.lang.Object ref = sensorId_;
1468
+ if (ref instanceof String) {
1469
+ com.google.protobuf.ByteString b =
1470
+ com.google.protobuf.ByteString.copyFromUtf8(
1471
+ (java.lang.String) ref);
1472
+ sensorId_ = b;
1473
+ return b;
1474
+ } else {
1475
+ return (com.google.protobuf.ByteString) ref;
1476
+ }
1477
+ }
1478
+ /**
1479
+ * <pre>
1480
+ * sensor id of the source
1481
+ * </pre>
1482
+ *
1483
+ * <code>optional string sensor_id = 10;</code>
1484
+ * @param value The sensorId to set.
1485
+ * @return This builder for chaining.
1486
+ */
1487
+ public Builder setSensorId(
1488
+ java.lang.String value) {
1489
+ if (value == null) { throw new NullPointerException(); }
1490
+ sensorId_ = value;
1491
+ bitField0_ |= 0x00000004;
1492
+ onChanged();
1493
+ return this;
1494
+ }
1495
+ /**
1496
+ * <pre>
1497
+ * sensor id of the source
1498
+ * </pre>
1499
+ *
1500
+ * <code>optional string sensor_id = 10;</code>
1501
+ * @return This builder for chaining.
1502
+ */
1503
+ public Builder clearSensorId() {
1504
+ sensorId_ = getDefaultInstance().getSensorId();
1505
+ bitField0_ = (bitField0_ & ~0x00000004);
1506
+ onChanged();
1507
+ return this;
1508
+ }
1509
+ /**
1510
+ * <pre>
1511
+ * sensor id of the source
1512
+ * </pre>
1513
+ *
1514
+ * <code>optional string sensor_id = 10;</code>
1515
+ * @param value The bytes for sensorId to set.
1516
+ * @return This builder for chaining.
1517
+ */
1518
+ public Builder setSensorIdBytes(
1519
+ com.google.protobuf.ByteString value) {
1520
+ if (value == null) { throw new NullPointerException(); }
1521
+ checkByteStringIsUtf8(value);
1522
+ sensorId_ = value;
1523
+ bitField0_ |= 0x00000004;
1524
+ onChanged();
1525
+ return this;
1526
+ }
1527
+
1335
1528
  private java.lang.Object sourceAgent_ = "";
1336
1529
  /**
1337
1530
  * <pre>
@@ -1342,7 +1535,7 @@ private static final long serialVersionUID = 0L;
1342
1535
  * @return Whether the sourceAgent field is set.
1343
1536
  */
1344
1537
  public boolean hasSourceAgent() {
1345
- return ((bitField0_ & 0x00000004) != 0);
1538
+ return ((bitField0_ & 0x00000008) != 0);
1346
1539
  }
1347
1540
  /**
1348
1541
  * <pre>
@@ -1398,7 +1591,7 @@ private static final long serialVersionUID = 0L;
1398
1591
  java.lang.String value) {
1399
1592
  if (value == null) { throw new NullPointerException(); }
1400
1593
  sourceAgent_ = value;
1401
- bitField0_ |= 0x00000004;
1594
+ bitField0_ |= 0x00000008;
1402
1595
  onChanged();
1403
1596
  return this;
1404
1597
  }
@@ -1412,7 +1605,7 @@ private static final long serialVersionUID = 0L;
1412
1605
  */
1413
1606
  public Builder clearSourceAgent() {
1414
1607
  sourceAgent_ = getDefaultInstance().getSourceAgent();
1415
- bitField0_ = (bitField0_ & ~0x00000004);
1608
+ bitField0_ = (bitField0_ & ~0x00000008);
1416
1609
  onChanged();
1417
1610
  return this;
1418
1611
  }
@@ -1430,7 +1623,7 @@ private static final long serialVersionUID = 0L;
1430
1623
  if (value == null) { throw new NullPointerException(); }
1431
1624
  checkByteStringIsUtf8(value);
1432
1625
  sourceAgent_ = value;
1433
- bitField0_ |= 0x00000004;
1626
+ bitField0_ |= 0x00000008;
1434
1627
  onChanged();
1435
1628
  return this;
1436
1629
  }
@@ -1445,7 +1638,7 @@ private static final long serialVersionUID = 0L;
1445
1638
  * @return Whether the sourceName field is set.
1446
1639
  */
1447
1640
  public boolean hasSourceName() {
1448
- return ((bitField0_ & 0x00000008) != 0);
1641
+ return ((bitField0_ & 0x00000010) != 0);
1449
1642
  }
1450
1643
  /**
1451
1644
  * <pre>
@@ -1501,7 +1694,7 @@ private static final long serialVersionUID = 0L;
1501
1694
  java.lang.String value) {
1502
1695
  if (value == null) { throw new NullPointerException(); }
1503
1696
  sourceName_ = value;
1504
- bitField0_ |= 0x00000008;
1697
+ bitField0_ |= 0x00000010;
1505
1698
  onChanged();
1506
1699
  return this;
1507
1700
  }
@@ -1515,7 +1708,7 @@ private static final long serialVersionUID = 0L;
1515
1708
  */
1516
1709
  public Builder clearSourceName() {
1517
1710
  sourceName_ = getDefaultInstance().getSourceName();
1518
- bitField0_ = (bitField0_ & ~0x00000008);
1711
+ bitField0_ = (bitField0_ & ~0x00000010);
1519
1712
  onChanged();
1520
1713
  return this;
1521
1714
  }
@@ -1533,7 +1726,7 @@ private static final long serialVersionUID = 0L;
1533
1726
  if (value == null) { throw new NullPointerException(); }
1534
1727
  checkByteStringIsUtf8(value);
1535
1728
  sourceName_ = value;
1536
- bitField0_ |= 0x00000008;
1729
+ bitField0_ |= 0x00000010;
1537
1730
  onChanged();
1538
1731
  return this;
1539
1732
  }
@@ -1548,7 +1741,7 @@ private static final long serialVersionUID = 0L;
1548
1741
  * @return Whether the sourceTag field is set.
1549
1742
  */
1550
1743
  public boolean hasSourceTag() {
1551
- return ((bitField0_ & 0x00000010) != 0);
1744
+ return ((bitField0_ & 0x00000020) != 0);
1552
1745
  }
1553
1746
  /**
1554
1747
  * <pre>
@@ -1604,7 +1797,7 @@ private static final long serialVersionUID = 0L;
1604
1797
  java.lang.String value) {
1605
1798
  if (value == null) { throw new NullPointerException(); }
1606
1799
  sourceTag_ = value;
1607
- bitField0_ |= 0x00000010;
1800
+ bitField0_ |= 0x00000020;
1608
1801
  onChanged();
1609
1802
  return this;
1610
1803
  }
@@ -1618,7 +1811,7 @@ private static final long serialVersionUID = 0L;
1618
1811
  */
1619
1812
  public Builder clearSourceTag() {
1620
1813
  sourceTag_ = getDefaultInstance().getSourceTag();
1621
- bitField0_ = (bitField0_ & ~0x00000010);
1814
+ bitField0_ = (bitField0_ & ~0x00000020);
1622
1815
  onChanged();
1623
1816
  return this;
1624
1817
  }
@@ -1636,7 +1829,7 @@ private static final long serialVersionUID = 0L;
1636
1829
  if (value == null) { throw new NullPointerException(); }
1637
1830
  checkByteStringIsUtf8(value);
1638
1831
  sourceTag_ = value;
1639
- bitField0_ |= 0x00000010;
1832
+ bitField0_ |= 0x00000020;
1640
1833
  onChanged();
1641
1834
  return this;
1642
1835
  }
@@ -1696,7 +1889,7 @@ private static final long serialVersionUID = 0L;
1696
1889
  java.lang.String value) {
1697
1890
  if (value == null) { throw new NullPointerException(); }
1698
1891
  rawId_ = value;
1699
- bitField0_ |= 0x00000020;
1892
+ bitField0_ |= 0x00000040;
1700
1893
  onChanged();
1701
1894
  return this;
1702
1895
  }
@@ -1710,7 +1903,7 @@ private static final long serialVersionUID = 0L;
1710
1903
  */
1711
1904
  public Builder clearRawId() {
1712
1905
  rawId_ = getDefaultInstance().getRawId();
1713
- bitField0_ = (bitField0_ & ~0x00000020);
1906
+ bitField0_ = (bitField0_ & ~0x00000040);
1714
1907
  onChanged();
1715
1908
  return this;
1716
1909
  }
@@ -1728,7 +1921,7 @@ private static final long serialVersionUID = 0L;
1728
1921
  if (value == null) { throw new NullPointerException(); }
1729
1922
  checkByteStringIsUtf8(value);
1730
1923
  rawId_ = value;
1731
- bitField0_ |= 0x00000020;
1924
+ bitField0_ |= 0x00000040;
1732
1925
  onChanged();
1733
1926
  return this;
1734
1927
  }
@@ -1743,7 +1936,7 @@ private static final long serialVersionUID = 0L;
1743
1936
  * @return Whether the entityId field is set.
1744
1937
  */
1745
1938
  public boolean hasEntityId() {
1746
- return ((bitField0_ & 0x00000040) != 0);
1939
+ return ((bitField0_ & 0x00000080) != 0);
1747
1940
  }
1748
1941
  /**
1749
1942
  * <pre>
@@ -1799,7 +1992,7 @@ private static final long serialVersionUID = 0L;
1799
1992
  java.lang.String value) {
1800
1993
  if (value == null) { throw new NullPointerException(); }
1801
1994
  entityId_ = value;
1802
- bitField0_ |= 0x00000040;
1995
+ bitField0_ |= 0x00000080;
1803
1996
  onChanged();
1804
1997
  return this;
1805
1998
  }
@@ -1813,7 +2006,7 @@ private static final long serialVersionUID = 0L;
1813
2006
  */
1814
2007
  public Builder clearEntityId() {
1815
2008
  entityId_ = getDefaultInstance().getEntityId();
1816
- bitField0_ = (bitField0_ & ~0x00000040);
2009
+ bitField0_ = (bitField0_ & ~0x00000080);
1817
2010
  onChanged();
1818
2011
  return this;
1819
2012
  }
@@ -1831,7 +2024,7 @@ private static final long serialVersionUID = 0L;
1831
2024
  if (value == null) { throw new NullPointerException(); }
1832
2025
  checkByteStringIsUtf8(value);
1833
2026
  entityId_ = value;
1834
- bitField0_ |= 0x00000040;
2027
+ bitField0_ |= 0x00000080;
1835
2028
  onChanged();
1836
2029
  return this;
1837
2030
  }
@@ -1848,7 +2041,7 @@ private static final long serialVersionUID = 0L;
1848
2041
  * @return Whether the lastSynced field is set.
1849
2042
  */
1850
2043
  public boolean hasLastSynced() {
1851
- return ((bitField0_ & 0x00000080) != 0);
2044
+ return ((bitField0_ & 0x00000100) != 0);
1852
2045
  }
1853
2046
  /**
1854
2047
  * <pre>
@@ -1881,7 +2074,7 @@ private static final long serialVersionUID = 0L;
1881
2074
  } else {
1882
2075
  lastSyncedBuilder_.setMessage(value);
1883
2076
  }
1884
- bitField0_ |= 0x00000080;
2077
+ bitField0_ |= 0x00000100;
1885
2078
  onChanged();
1886
2079
  return this;
1887
2080
  }
@@ -1899,7 +2092,7 @@ private static final long serialVersionUID = 0L;
1899
2092
  } else {
1900
2093
  lastSyncedBuilder_.setMessage(builderForValue.build());
1901
2094
  }
1902
- bitField0_ |= 0x00000080;
2095
+ bitField0_ |= 0x00000100;
1903
2096
  onChanged();
1904
2097
  return this;
1905
2098
  }
@@ -1912,7 +2105,7 @@ private static final long serialVersionUID = 0L;
1912
2105
  */
1913
2106
  public Builder mergeLastSynced(com.google.protobuf.Timestamp value) {
1914
2107
  if (lastSyncedBuilder_ == null) {
1915
- if (((bitField0_ & 0x00000080) != 0) &&
2108
+ if (((bitField0_ & 0x00000100) != 0) &&
1916
2109
  lastSynced_ != null &&
1917
2110
  lastSynced_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
1918
2111
  getLastSyncedBuilder().mergeFrom(value);
@@ -1923,7 +2116,7 @@ private static final long serialVersionUID = 0L;
1923
2116
  lastSyncedBuilder_.mergeFrom(value);
1924
2117
  }
1925
2118
  if (lastSynced_ != null) {
1926
- bitField0_ |= 0x00000080;
2119
+ bitField0_ |= 0x00000100;
1927
2120
  onChanged();
1928
2121
  }
1929
2122
  return this;
@@ -1936,7 +2129,7 @@ private static final long serialVersionUID = 0L;
1936
2129
  * <code>.google.protobuf.Timestamp last_synced = 6;</code>
1937
2130
  */
1938
2131
  public Builder clearLastSynced() {
1939
- bitField0_ = (bitField0_ & ~0x00000080);
2132
+ bitField0_ = (bitField0_ & ~0x00000100);
1940
2133
  lastSynced_ = null;
1941
2134
  if (lastSyncedBuilder_ != null) {
1942
2135
  lastSyncedBuilder_.dispose();
@@ -1953,7 +2146,7 @@ private static final long serialVersionUID = 0L;
1953
2146
  * <code>.google.protobuf.Timestamp last_synced = 6;</code>
1954
2147
  */
1955
2148
  public com.google.protobuf.Timestamp.Builder getLastSyncedBuilder() {
1956
- bitField0_ |= 0x00000080;
2149
+ bitField0_ |= 0x00000100;
1957
2150
  onChanged();
1958
2151
  return getLastSyncedFieldBuilder().getBuilder();
1959
2152
  }
@@ -1996,9 +2189,9 @@ private static final long serialVersionUID = 0L;
1996
2189
  private java.util.List<com.lansweeper.dp.outbound.v1.ScanCredential> credentials_ =
1997
2190
  java.util.Collections.emptyList();
1998
2191
  private void ensureCredentialsIsMutable() {
1999
- if (!((bitField0_ & 0x00000100) != 0)) {
2192
+ if (!((bitField0_ & 0x00000200) != 0)) {
2000
2193
  credentials_ = new java.util.ArrayList<com.lansweeper.dp.outbound.v1.ScanCredential>(credentials_);
2001
- bitField0_ |= 0x00000100;
2194
+ bitField0_ |= 0x00000200;
2002
2195
  }
2003
2196
  }
2004
2197
 
@@ -2192,7 +2385,7 @@ private static final long serialVersionUID = 0L;
2192
2385
  public Builder clearCredentials() {
2193
2386
  if (credentialsBuilder_ == null) {
2194
2387
  credentials_ = java.util.Collections.emptyList();
2195
- bitField0_ = (bitField0_ & ~0x00000100);
2388
+ bitField0_ = (bitField0_ & ~0x00000200);
2196
2389
  onChanged();
2197
2390
  } else {
2198
2391
  credentialsBuilder_.clear();
@@ -2297,7 +2490,7 @@ private static final long serialVersionUID = 0L;
2297
2490
  credentialsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
2298
2491
  com.lansweeper.dp.outbound.v1.ScanCredential, com.lansweeper.dp.outbound.v1.ScanCredential.Builder, com.lansweeper.dp.outbound.v1.ScanCredentialOrBuilder>(
2299
2492
  credentials_,
2300
- ((bitField0_ & 0x00000100) != 0),
2493
+ ((bitField0_ & 0x00000200) != 0),
2301
2494
  getParentForChildren(),
2302
2495
  isClean());
2303
2496
  credentials_ = null;