@lansweeper/data-platform-outbound-grpc 0.1.7 → 0.1.8

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.
@@ -4,6 +4,10 @@
4
4
  package com.lansweeper.dp.outbound.v1;
5
5
 
6
6
  /**
7
+ * <pre>
8
+ * Software definition: normalized and with link to raw
9
+ * </pre>
10
+ *
7
11
  * Protobuf type {@code com.lansweeper.dp.outbound.v1.Software}
8
12
  */
9
13
  public final class Software extends
@@ -24,7 +28,11 @@ private static final long serialVersionUID = 0L;
24
28
  marketVer_ = "";
25
29
  edition_ = "";
26
30
  build_ = "";
31
+ arch_ = "";
32
+ lang_ = "";
27
33
  cpe_ = "";
34
+ rawHash_ = "";
35
+ nreHash_ = "";
28
36
  }
29
37
 
30
38
  @java.lang.Override
@@ -138,13 +146,13 @@ private static final long serialVersionUID = 0L;
138
146
  }
139
147
  case 122: {
140
148
  java.lang.String s = input.readStringRequireUtf8();
141
- bitField0_ |= 0x00004000;
149
+ bitField0_ |= 0x00010000;
142
150
  cpe_ = s;
143
151
  break;
144
152
  }
145
153
  case 130: {
146
154
  com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder subBuilder = null;
147
- if (((bitField0_ & 0x00008000) != 0)) {
155
+ if (((bitField0_ & 0x00020000) != 0)) {
148
156
  subBuilder = catalogSoftware_.toBuilder();
149
157
  }
150
158
  catalogSoftware_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogSoftware.parser(), extensionRegistry);
@@ -152,7 +160,7 @@ private static final long serialVersionUID = 0L;
152
160
  subBuilder.mergeFrom(catalogSoftware_);
153
161
  catalogSoftware_ = subBuilder.buildPartial();
154
162
  }
155
- bitField0_ |= 0x00008000;
163
+ bitField0_ |= 0x00020000;
156
164
  break;
157
165
  }
158
166
  case 138: {
@@ -168,6 +176,30 @@ private static final long serialVersionUID = 0L;
168
176
 
169
177
  break;
170
178
  }
179
+ case 146: {
180
+ java.lang.String s = input.readStringRequireUtf8();
181
+ bitField0_ |= 0x00040000;
182
+ rawHash_ = s;
183
+ break;
184
+ }
185
+ case 154: {
186
+ java.lang.String s = input.readStringRequireUtf8();
187
+ bitField0_ |= 0x00080000;
188
+ nreHash_ = s;
189
+ break;
190
+ }
191
+ case 162: {
192
+ java.lang.String s = input.readStringRequireUtf8();
193
+ bitField0_ |= 0x00004000;
194
+ arch_ = s;
195
+ break;
196
+ }
197
+ case 170: {
198
+ java.lang.String s = input.readStringRequireUtf8();
199
+ bitField0_ |= 0x00008000;
200
+ lang_ = s;
201
+ break;
202
+ }
171
203
  default: {
172
204
  if (!parseUnknownField(
173
205
  input, unknownFields, extensionRegistry, tag)) {
@@ -683,6 +715,98 @@ private static final long serialVersionUID = 0L;
683
715
  }
684
716
  }
685
717
 
718
+ public static final int ARCH_FIELD_NUMBER = 20;
719
+ private volatile java.lang.Object arch_;
720
+ /**
721
+ * <code>string arch = 20;</code>
722
+ * @return Whether the arch field is set.
723
+ */
724
+ @java.lang.Override
725
+ public boolean hasArch() {
726
+ return ((bitField0_ & 0x00004000) != 0);
727
+ }
728
+ /**
729
+ * <code>string arch = 20;</code>
730
+ * @return The arch.
731
+ */
732
+ @java.lang.Override
733
+ public java.lang.String getArch() {
734
+ java.lang.Object ref = arch_;
735
+ if (ref instanceof java.lang.String) {
736
+ return (java.lang.String) ref;
737
+ } else {
738
+ com.google.protobuf.ByteString bs =
739
+ (com.google.protobuf.ByteString) ref;
740
+ java.lang.String s = bs.toStringUtf8();
741
+ arch_ = s;
742
+ return s;
743
+ }
744
+ }
745
+ /**
746
+ * <code>string arch = 20;</code>
747
+ * @return The bytes for arch.
748
+ */
749
+ @java.lang.Override
750
+ public com.google.protobuf.ByteString
751
+ getArchBytes() {
752
+ java.lang.Object ref = arch_;
753
+ if (ref instanceof java.lang.String) {
754
+ com.google.protobuf.ByteString b =
755
+ com.google.protobuf.ByteString.copyFromUtf8(
756
+ (java.lang.String) ref);
757
+ arch_ = b;
758
+ return b;
759
+ } else {
760
+ return (com.google.protobuf.ByteString) ref;
761
+ }
762
+ }
763
+
764
+ public static final int LANG_FIELD_NUMBER = 21;
765
+ private volatile java.lang.Object lang_;
766
+ /**
767
+ * <code>string lang = 21;</code>
768
+ * @return Whether the lang field is set.
769
+ */
770
+ @java.lang.Override
771
+ public boolean hasLang() {
772
+ return ((bitField0_ & 0x00008000) != 0);
773
+ }
774
+ /**
775
+ * <code>string lang = 21;</code>
776
+ * @return The lang.
777
+ */
778
+ @java.lang.Override
779
+ public java.lang.String getLang() {
780
+ java.lang.Object ref = lang_;
781
+ if (ref instanceof java.lang.String) {
782
+ return (java.lang.String) ref;
783
+ } else {
784
+ com.google.protobuf.ByteString bs =
785
+ (com.google.protobuf.ByteString) ref;
786
+ java.lang.String s = bs.toStringUtf8();
787
+ lang_ = s;
788
+ return s;
789
+ }
790
+ }
791
+ /**
792
+ * <code>string lang = 21;</code>
793
+ * @return The bytes for lang.
794
+ */
795
+ @java.lang.Override
796
+ public com.google.protobuf.ByteString
797
+ getLangBytes() {
798
+ java.lang.Object ref = lang_;
799
+ if (ref instanceof java.lang.String) {
800
+ com.google.protobuf.ByteString b =
801
+ com.google.protobuf.ByteString.copyFromUtf8(
802
+ (java.lang.String) ref);
803
+ lang_ = b;
804
+ return b;
805
+ } else {
806
+ return (com.google.protobuf.ByteString) ref;
807
+ }
808
+ }
809
+
686
810
  public static final int CPE_FIELD_NUMBER = 15;
687
811
  private volatile java.lang.Object cpe_;
688
812
  /**
@@ -691,7 +815,7 @@ private static final long serialVersionUID = 0L;
691
815
  */
692
816
  @java.lang.Override
693
817
  public boolean hasCpe() {
694
- return ((bitField0_ & 0x00004000) != 0);
818
+ return ((bitField0_ & 0x00010000) != 0);
695
819
  }
696
820
  /**
697
821
  * <code>string cpe = 15;</code>
@@ -737,7 +861,7 @@ private static final long serialVersionUID = 0L;
737
861
  */
738
862
  @java.lang.Override
739
863
  public boolean hasCatalogSoftware() {
740
- return ((bitField0_ & 0x00008000) != 0);
864
+ return ((bitField0_ & 0x00020000) != 0);
741
865
  }
742
866
  /**
743
867
  * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
@@ -781,6 +905,122 @@ private static final long serialVersionUID = 0L;
781
905
  return getRaw();
782
906
  }
783
907
 
908
+ public static final int RAW_HASH_FIELD_NUMBER = 18;
909
+ private volatile java.lang.Object rawHash_;
910
+ /**
911
+ * <pre>
912
+ * optional raw hash of SW
913
+ * </pre>
914
+ *
915
+ * <code>string raw_hash = 18;</code>
916
+ * @return Whether the rawHash field is set.
917
+ */
918
+ @java.lang.Override
919
+ public boolean hasRawHash() {
920
+ return ((bitField0_ & 0x00040000) != 0);
921
+ }
922
+ /**
923
+ * <pre>
924
+ * optional raw hash of SW
925
+ * </pre>
926
+ *
927
+ * <code>string raw_hash = 18;</code>
928
+ * @return The rawHash.
929
+ */
930
+ @java.lang.Override
931
+ public java.lang.String getRawHash() {
932
+ java.lang.Object ref = rawHash_;
933
+ if (ref instanceof java.lang.String) {
934
+ return (java.lang.String) ref;
935
+ } else {
936
+ com.google.protobuf.ByteString bs =
937
+ (com.google.protobuf.ByteString) ref;
938
+ java.lang.String s = bs.toStringUtf8();
939
+ rawHash_ = s;
940
+ return s;
941
+ }
942
+ }
943
+ /**
944
+ * <pre>
945
+ * optional raw hash of SW
946
+ * </pre>
947
+ *
948
+ * <code>string raw_hash = 18;</code>
949
+ * @return The bytes for rawHash.
950
+ */
951
+ @java.lang.Override
952
+ public com.google.protobuf.ByteString
953
+ getRawHashBytes() {
954
+ java.lang.Object ref = rawHash_;
955
+ if (ref instanceof java.lang.String) {
956
+ com.google.protobuf.ByteString b =
957
+ com.google.protobuf.ByteString.copyFromUtf8(
958
+ (java.lang.String) ref);
959
+ rawHash_ = b;
960
+ return b;
961
+ } else {
962
+ return (com.google.protobuf.ByteString) ref;
963
+ }
964
+ }
965
+
966
+ public static final int NRE_HASH_FIELD_NUMBER = 19;
967
+ private volatile java.lang.Object nreHash_;
968
+ /**
969
+ * <pre>
970
+ * optional NRE hash of SW
971
+ * </pre>
972
+ *
973
+ * <code>string nre_hash = 19;</code>
974
+ * @return Whether the nreHash field is set.
975
+ */
976
+ @java.lang.Override
977
+ public boolean hasNreHash() {
978
+ return ((bitField0_ & 0x00080000) != 0);
979
+ }
980
+ /**
981
+ * <pre>
982
+ * optional NRE hash of SW
983
+ * </pre>
984
+ *
985
+ * <code>string nre_hash = 19;</code>
986
+ * @return The nreHash.
987
+ */
988
+ @java.lang.Override
989
+ public java.lang.String getNreHash() {
990
+ java.lang.Object ref = nreHash_;
991
+ if (ref instanceof java.lang.String) {
992
+ return (java.lang.String) ref;
993
+ } else {
994
+ com.google.protobuf.ByteString bs =
995
+ (com.google.protobuf.ByteString) ref;
996
+ java.lang.String s = bs.toStringUtf8();
997
+ nreHash_ = s;
998
+ return s;
999
+ }
1000
+ }
1001
+ /**
1002
+ * <pre>
1003
+ * optional NRE hash of SW
1004
+ * </pre>
1005
+ *
1006
+ * <code>string nre_hash = 19;</code>
1007
+ * @return The bytes for nreHash.
1008
+ */
1009
+ @java.lang.Override
1010
+ public com.google.protobuf.ByteString
1011
+ getNreHashBytes() {
1012
+ java.lang.Object ref = nreHash_;
1013
+ if (ref instanceof java.lang.String) {
1014
+ com.google.protobuf.ByteString b =
1015
+ com.google.protobuf.ByteString.copyFromUtf8(
1016
+ (java.lang.String) ref);
1017
+ nreHash_ = b;
1018
+ return b;
1019
+ } else {
1020
+ return (com.google.protobuf.ByteString) ref;
1021
+ }
1022
+ }
1023
+
784
1024
  private byte memoizedIsInitialized = -1;
785
1025
  @java.lang.Override
786
1026
  public final boolean isInitialized() {
@@ -837,15 +1077,27 @@ private static final long serialVersionUID = 0L;
837
1077
  if (((bitField0_ & 0x00002000) != 0)) {
838
1078
  com.google.protobuf.GeneratedMessageV3.writeString(output, 14, build_);
839
1079
  }
840
- if (((bitField0_ & 0x00004000) != 0)) {
1080
+ if (((bitField0_ & 0x00010000) != 0)) {
841
1081
  com.google.protobuf.GeneratedMessageV3.writeString(output, 15, cpe_);
842
1082
  }
843
- if (((bitField0_ & 0x00008000) != 0)) {
1083
+ if (((bitField0_ & 0x00020000) != 0)) {
844
1084
  output.writeMessage(16, getCatalogSoftware());
845
1085
  }
846
1086
  if (raw_ != null) {
847
1087
  output.writeMessage(17, getRaw());
848
1088
  }
1089
+ if (((bitField0_ & 0x00040000) != 0)) {
1090
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 18, rawHash_);
1091
+ }
1092
+ if (((bitField0_ & 0x00080000) != 0)) {
1093
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 19, nreHash_);
1094
+ }
1095
+ if (((bitField0_ & 0x00004000) != 0)) {
1096
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 20, arch_);
1097
+ }
1098
+ if (((bitField0_ & 0x00008000) != 0)) {
1099
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 21, lang_);
1100
+ }
849
1101
  unknownFields.writeTo(output);
850
1102
  }
851
1103
 
@@ -903,10 +1155,10 @@ private static final long serialVersionUID = 0L;
903
1155
  if (((bitField0_ & 0x00002000) != 0)) {
904
1156
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, build_);
905
1157
  }
906
- if (((bitField0_ & 0x00004000) != 0)) {
1158
+ if (((bitField0_ & 0x00010000) != 0)) {
907
1159
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, cpe_);
908
1160
  }
909
- if (((bitField0_ & 0x00008000) != 0)) {
1161
+ if (((bitField0_ & 0x00020000) != 0)) {
910
1162
  size += com.google.protobuf.CodedOutputStream
911
1163
  .computeMessageSize(16, getCatalogSoftware());
912
1164
  }
@@ -914,6 +1166,18 @@ private static final long serialVersionUID = 0L;
914
1166
  size += com.google.protobuf.CodedOutputStream
915
1167
  .computeMessageSize(17, getRaw());
916
1168
  }
1169
+ if (((bitField0_ & 0x00040000) != 0)) {
1170
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, rawHash_);
1171
+ }
1172
+ if (((bitField0_ & 0x00080000) != 0)) {
1173
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, nreHash_);
1174
+ }
1175
+ if (((bitField0_ & 0x00004000) != 0)) {
1176
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, arch_);
1177
+ }
1178
+ if (((bitField0_ & 0x00008000) != 0)) {
1179
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, lang_);
1180
+ }
917
1181
  size += unknownFields.getSerializedSize();
918
1182
  memoizedSize = size;
919
1183
  return size;
@@ -999,6 +1263,16 @@ private static final long serialVersionUID = 0L;
999
1263
  if (!getBuild()
1000
1264
  .equals(other.getBuild())) return false;
1001
1265
  }
1266
+ if (hasArch() != other.hasArch()) return false;
1267
+ if (hasArch()) {
1268
+ if (!getArch()
1269
+ .equals(other.getArch())) return false;
1270
+ }
1271
+ if (hasLang() != other.hasLang()) return false;
1272
+ if (hasLang()) {
1273
+ if (!getLang()
1274
+ .equals(other.getLang())) return false;
1275
+ }
1002
1276
  if (hasCpe() != other.hasCpe()) return false;
1003
1277
  if (hasCpe()) {
1004
1278
  if (!getCpe()
@@ -1014,6 +1288,16 @@ private static final long serialVersionUID = 0L;
1014
1288
  if (!getRaw()
1015
1289
  .equals(other.getRaw())) return false;
1016
1290
  }
1291
+ if (hasRawHash() != other.hasRawHash()) return false;
1292
+ if (hasRawHash()) {
1293
+ if (!getRawHash()
1294
+ .equals(other.getRawHash())) return false;
1295
+ }
1296
+ if (hasNreHash() != other.hasNreHash()) return false;
1297
+ if (hasNreHash()) {
1298
+ if (!getNreHash()
1299
+ .equals(other.getNreHash())) return false;
1300
+ }
1017
1301
  if (!unknownFields.equals(other.unknownFields)) return false;
1018
1302
  return true;
1019
1303
  }
@@ -1086,6 +1370,14 @@ private static final long serialVersionUID = 0L;
1086
1370
  hash = (37 * hash) + BUILD_FIELD_NUMBER;
1087
1371
  hash = (53 * hash) + getBuild().hashCode();
1088
1372
  }
1373
+ if (hasArch()) {
1374
+ hash = (37 * hash) + ARCH_FIELD_NUMBER;
1375
+ hash = (53 * hash) + getArch().hashCode();
1376
+ }
1377
+ if (hasLang()) {
1378
+ hash = (37 * hash) + LANG_FIELD_NUMBER;
1379
+ hash = (53 * hash) + getLang().hashCode();
1380
+ }
1089
1381
  if (hasCpe()) {
1090
1382
  hash = (37 * hash) + CPE_FIELD_NUMBER;
1091
1383
  hash = (53 * hash) + getCpe().hashCode();
@@ -1098,6 +1390,14 @@ private static final long serialVersionUID = 0L;
1098
1390
  hash = (37 * hash) + RAW_FIELD_NUMBER;
1099
1391
  hash = (53 * hash) + getRaw().hashCode();
1100
1392
  }
1393
+ if (hasRawHash()) {
1394
+ hash = (37 * hash) + RAW_HASH_FIELD_NUMBER;
1395
+ hash = (53 * hash) + getRawHash().hashCode();
1396
+ }
1397
+ if (hasNreHash()) {
1398
+ hash = (37 * hash) + NRE_HASH_FIELD_NUMBER;
1399
+ hash = (53 * hash) + getNreHash().hashCode();
1400
+ }
1101
1401
  hash = (29 * hash) + unknownFields.hashCode();
1102
1402
  memoizedHashCode = hash;
1103
1403
  return hash;
@@ -1194,6 +1494,10 @@ private static final long serialVersionUID = 0L;
1194
1494
  return builder;
1195
1495
  }
1196
1496
  /**
1497
+ * <pre>
1498
+ * Software definition: normalized and with link to raw
1499
+ * </pre>
1500
+ *
1197
1501
  * Protobuf type {@code com.lansweeper.dp.outbound.v1.Software}
1198
1502
  */
1199
1503
  public static final class Builder extends
@@ -1260,20 +1564,28 @@ private static final long serialVersionUID = 0L;
1260
1564
  bitField0_ = (bitField0_ & ~0x00001000);
1261
1565
  build_ = "";
1262
1566
  bitField0_ = (bitField0_ & ~0x00002000);
1263
- cpe_ = "";
1567
+ arch_ = "";
1264
1568
  bitField0_ = (bitField0_ & ~0x00004000);
1569
+ lang_ = "";
1570
+ bitField0_ = (bitField0_ & ~0x00008000);
1571
+ cpe_ = "";
1572
+ bitField0_ = (bitField0_ & ~0x00010000);
1265
1573
  if (catalogSoftwareBuilder_ == null) {
1266
1574
  catalogSoftware_ = null;
1267
1575
  } else {
1268
1576
  catalogSoftwareBuilder_.clear();
1269
1577
  }
1270
- bitField0_ = (bitField0_ & ~0x00008000);
1578
+ bitField0_ = (bitField0_ & ~0x00020000);
1271
1579
  if (rawBuilder_ == null) {
1272
1580
  raw_ = null;
1273
1581
  } else {
1274
1582
  raw_ = null;
1275
1583
  rawBuilder_ = null;
1276
1584
  }
1585
+ rawHash_ = "";
1586
+ bitField0_ = (bitField0_ & ~0x00040000);
1587
+ nreHash_ = "";
1588
+ bitField0_ = (bitField0_ & ~0x00080000);
1277
1589
  return this;
1278
1590
  }
1279
1591
 
@@ -1361,20 +1673,36 @@ private static final long serialVersionUID = 0L;
1361
1673
  if (((from_bitField0_ & 0x00004000) != 0)) {
1362
1674
  to_bitField0_ |= 0x00004000;
1363
1675
  }
1364
- result.cpe_ = cpe_;
1676
+ result.arch_ = arch_;
1365
1677
  if (((from_bitField0_ & 0x00008000) != 0)) {
1678
+ to_bitField0_ |= 0x00008000;
1679
+ }
1680
+ result.lang_ = lang_;
1681
+ if (((from_bitField0_ & 0x00010000) != 0)) {
1682
+ to_bitField0_ |= 0x00010000;
1683
+ }
1684
+ result.cpe_ = cpe_;
1685
+ if (((from_bitField0_ & 0x00020000) != 0)) {
1366
1686
  if (catalogSoftwareBuilder_ == null) {
1367
1687
  result.catalogSoftware_ = catalogSoftware_;
1368
1688
  } else {
1369
1689
  result.catalogSoftware_ = catalogSoftwareBuilder_.build();
1370
1690
  }
1371
- to_bitField0_ |= 0x00008000;
1691
+ to_bitField0_ |= 0x00020000;
1372
1692
  }
1373
1693
  if (rawBuilder_ == null) {
1374
1694
  result.raw_ = raw_;
1375
1695
  } else {
1376
1696
  result.raw_ = rawBuilder_.build();
1377
1697
  }
1698
+ if (((from_bitField0_ & 0x00040000) != 0)) {
1699
+ to_bitField0_ |= 0x00040000;
1700
+ }
1701
+ result.rawHash_ = rawHash_;
1702
+ if (((from_bitField0_ & 0x00080000) != 0)) {
1703
+ to_bitField0_ |= 0x00080000;
1704
+ }
1705
+ result.nreHash_ = nreHash_;
1378
1706
  result.bitField0_ = to_bitField0_;
1379
1707
  onBuilt();
1380
1708
  return result;
@@ -1482,8 +1810,18 @@ private static final long serialVersionUID = 0L;
1482
1810
  build_ = other.build_;
1483
1811
  onChanged();
1484
1812
  }
1485
- if (other.hasCpe()) {
1813
+ if (other.hasArch()) {
1486
1814
  bitField0_ |= 0x00004000;
1815
+ arch_ = other.arch_;
1816
+ onChanged();
1817
+ }
1818
+ if (other.hasLang()) {
1819
+ bitField0_ |= 0x00008000;
1820
+ lang_ = other.lang_;
1821
+ onChanged();
1822
+ }
1823
+ if (other.hasCpe()) {
1824
+ bitField0_ |= 0x00010000;
1487
1825
  cpe_ = other.cpe_;
1488
1826
  onChanged();
1489
1827
  }
@@ -1493,6 +1831,16 @@ private static final long serialVersionUID = 0L;
1493
1831
  if (other.hasRaw()) {
1494
1832
  mergeRaw(other.getRaw());
1495
1833
  }
1834
+ if (other.hasRawHash()) {
1835
+ bitField0_ |= 0x00040000;
1836
+ rawHash_ = other.rawHash_;
1837
+ onChanged();
1838
+ }
1839
+ if (other.hasNreHash()) {
1840
+ bitField0_ |= 0x00080000;
1841
+ nreHash_ = other.nreHash_;
1842
+ onChanged();
1843
+ }
1496
1844
  this.mergeUnknownFields(other.unknownFields);
1497
1845
  onChanged();
1498
1846
  return this;
@@ -2421,13 +2769,179 @@ private static final long serialVersionUID = 0L;
2421
2769
  return this;
2422
2770
  }
2423
2771
 
2772
+ private java.lang.Object arch_ = "";
2773
+ /**
2774
+ * <code>string arch = 20;</code>
2775
+ * @return Whether the arch field is set.
2776
+ */
2777
+ public boolean hasArch() {
2778
+ return ((bitField0_ & 0x00004000) != 0);
2779
+ }
2780
+ /**
2781
+ * <code>string arch = 20;</code>
2782
+ * @return The arch.
2783
+ */
2784
+ public java.lang.String getArch() {
2785
+ java.lang.Object ref = arch_;
2786
+ if (!(ref instanceof java.lang.String)) {
2787
+ com.google.protobuf.ByteString bs =
2788
+ (com.google.protobuf.ByteString) ref;
2789
+ java.lang.String s = bs.toStringUtf8();
2790
+ arch_ = s;
2791
+ return s;
2792
+ } else {
2793
+ return (java.lang.String) ref;
2794
+ }
2795
+ }
2796
+ /**
2797
+ * <code>string arch = 20;</code>
2798
+ * @return The bytes for arch.
2799
+ */
2800
+ public com.google.protobuf.ByteString
2801
+ getArchBytes() {
2802
+ java.lang.Object ref = arch_;
2803
+ if (ref instanceof String) {
2804
+ com.google.protobuf.ByteString b =
2805
+ com.google.protobuf.ByteString.copyFromUtf8(
2806
+ (java.lang.String) ref);
2807
+ arch_ = b;
2808
+ return b;
2809
+ } else {
2810
+ return (com.google.protobuf.ByteString) ref;
2811
+ }
2812
+ }
2813
+ /**
2814
+ * <code>string arch = 20;</code>
2815
+ * @param value The arch to set.
2816
+ * @return This builder for chaining.
2817
+ */
2818
+ public Builder setArch(
2819
+ java.lang.String value) {
2820
+ if (value == null) {
2821
+ throw new NullPointerException();
2822
+ }
2823
+ bitField0_ |= 0x00004000;
2824
+ arch_ = value;
2825
+ onChanged();
2826
+ return this;
2827
+ }
2828
+ /**
2829
+ * <code>string arch = 20;</code>
2830
+ * @return This builder for chaining.
2831
+ */
2832
+ public Builder clearArch() {
2833
+ bitField0_ = (bitField0_ & ~0x00004000);
2834
+ arch_ = getDefaultInstance().getArch();
2835
+ onChanged();
2836
+ return this;
2837
+ }
2838
+ /**
2839
+ * <code>string arch = 20;</code>
2840
+ * @param value The bytes for arch to set.
2841
+ * @return This builder for chaining.
2842
+ */
2843
+ public Builder setArchBytes(
2844
+ com.google.protobuf.ByteString value) {
2845
+ if (value == null) {
2846
+ throw new NullPointerException();
2847
+ }
2848
+ checkByteStringIsUtf8(value);
2849
+ bitField0_ |= 0x00004000;
2850
+ arch_ = value;
2851
+ onChanged();
2852
+ return this;
2853
+ }
2854
+
2855
+ private java.lang.Object lang_ = "";
2856
+ /**
2857
+ * <code>string lang = 21;</code>
2858
+ * @return Whether the lang field is set.
2859
+ */
2860
+ public boolean hasLang() {
2861
+ return ((bitField0_ & 0x00008000) != 0);
2862
+ }
2863
+ /**
2864
+ * <code>string lang = 21;</code>
2865
+ * @return The lang.
2866
+ */
2867
+ public java.lang.String getLang() {
2868
+ java.lang.Object ref = lang_;
2869
+ if (!(ref instanceof java.lang.String)) {
2870
+ com.google.protobuf.ByteString bs =
2871
+ (com.google.protobuf.ByteString) ref;
2872
+ java.lang.String s = bs.toStringUtf8();
2873
+ lang_ = s;
2874
+ return s;
2875
+ } else {
2876
+ return (java.lang.String) ref;
2877
+ }
2878
+ }
2879
+ /**
2880
+ * <code>string lang = 21;</code>
2881
+ * @return The bytes for lang.
2882
+ */
2883
+ public com.google.protobuf.ByteString
2884
+ getLangBytes() {
2885
+ java.lang.Object ref = lang_;
2886
+ if (ref instanceof String) {
2887
+ com.google.protobuf.ByteString b =
2888
+ com.google.protobuf.ByteString.copyFromUtf8(
2889
+ (java.lang.String) ref);
2890
+ lang_ = b;
2891
+ return b;
2892
+ } else {
2893
+ return (com.google.protobuf.ByteString) ref;
2894
+ }
2895
+ }
2896
+ /**
2897
+ * <code>string lang = 21;</code>
2898
+ * @param value The lang to set.
2899
+ * @return This builder for chaining.
2900
+ */
2901
+ public Builder setLang(
2902
+ java.lang.String value) {
2903
+ if (value == null) {
2904
+ throw new NullPointerException();
2905
+ }
2906
+ bitField0_ |= 0x00008000;
2907
+ lang_ = value;
2908
+ onChanged();
2909
+ return this;
2910
+ }
2911
+ /**
2912
+ * <code>string lang = 21;</code>
2913
+ * @return This builder for chaining.
2914
+ */
2915
+ public Builder clearLang() {
2916
+ bitField0_ = (bitField0_ & ~0x00008000);
2917
+ lang_ = getDefaultInstance().getLang();
2918
+ onChanged();
2919
+ return this;
2920
+ }
2921
+ /**
2922
+ * <code>string lang = 21;</code>
2923
+ * @param value The bytes for lang to set.
2924
+ * @return This builder for chaining.
2925
+ */
2926
+ public Builder setLangBytes(
2927
+ com.google.protobuf.ByteString value) {
2928
+ if (value == null) {
2929
+ throw new NullPointerException();
2930
+ }
2931
+ checkByteStringIsUtf8(value);
2932
+ bitField0_ |= 0x00008000;
2933
+ lang_ = value;
2934
+ onChanged();
2935
+ return this;
2936
+ }
2937
+
2424
2938
  private java.lang.Object cpe_ = "";
2425
2939
  /**
2426
2940
  * <code>string cpe = 15;</code>
2427
2941
  * @return Whether the cpe field is set.
2428
2942
  */
2429
2943
  public boolean hasCpe() {
2430
- return ((bitField0_ & 0x00004000) != 0);
2944
+ return ((bitField0_ & 0x00010000) != 0);
2431
2945
  }
2432
2946
  /**
2433
2947
  * <code>string cpe = 15;</code>
@@ -2472,7 +2986,7 @@ private static final long serialVersionUID = 0L;
2472
2986
  if (value == null) {
2473
2987
  throw new NullPointerException();
2474
2988
  }
2475
- bitField0_ |= 0x00004000;
2989
+ bitField0_ |= 0x00010000;
2476
2990
  cpe_ = value;
2477
2991
  onChanged();
2478
2992
  return this;
@@ -2482,7 +2996,7 @@ private static final long serialVersionUID = 0L;
2482
2996
  * @return This builder for chaining.
2483
2997
  */
2484
2998
  public Builder clearCpe() {
2485
- bitField0_ = (bitField0_ & ~0x00004000);
2999
+ bitField0_ = (bitField0_ & ~0x00010000);
2486
3000
  cpe_ = getDefaultInstance().getCpe();
2487
3001
  onChanged();
2488
3002
  return this;
@@ -2498,7 +3012,7 @@ private static final long serialVersionUID = 0L;
2498
3012
  throw new NullPointerException();
2499
3013
  }
2500
3014
  checkByteStringIsUtf8(value);
2501
- bitField0_ |= 0x00004000;
3015
+ bitField0_ |= 0x00010000;
2502
3016
  cpe_ = value;
2503
3017
  onChanged();
2504
3018
  return this;
@@ -2512,7 +3026,7 @@ private static final long serialVersionUID = 0L;
2512
3026
  * @return Whether the catalogSoftware field is set.
2513
3027
  */
2514
3028
  public boolean hasCatalogSoftware() {
2515
- return ((bitField0_ & 0x00008000) != 0);
3029
+ return ((bitField0_ & 0x00020000) != 0);
2516
3030
  }
2517
3031
  /**
2518
3032
  * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
@@ -2538,7 +3052,7 @@ private static final long serialVersionUID = 0L;
2538
3052
  } else {
2539
3053
  catalogSoftwareBuilder_.setMessage(value);
2540
3054
  }
2541
- bitField0_ |= 0x00008000;
3055
+ bitField0_ |= 0x00020000;
2542
3056
  return this;
2543
3057
  }
2544
3058
  /**
@@ -2552,7 +3066,7 @@ private static final long serialVersionUID = 0L;
2552
3066
  } else {
2553
3067
  catalogSoftwareBuilder_.setMessage(builderForValue.build());
2554
3068
  }
2555
- bitField0_ |= 0x00008000;
3069
+ bitField0_ |= 0x00020000;
2556
3070
  return this;
2557
3071
  }
2558
3072
  /**
@@ -2560,7 +3074,7 @@ private static final long serialVersionUID = 0L;
2560
3074
  */
2561
3075
  public Builder mergeCatalogSoftware(com.lansweeper.dp.outbound.v1.CatalogSoftware value) {
2562
3076
  if (catalogSoftwareBuilder_ == null) {
2563
- if (((bitField0_ & 0x00008000) != 0) &&
3077
+ if (((bitField0_ & 0x00020000) != 0) &&
2564
3078
  catalogSoftware_ != null &&
2565
3079
  catalogSoftware_ != com.lansweeper.dp.outbound.v1.CatalogSoftware.getDefaultInstance()) {
2566
3080
  catalogSoftware_ =
@@ -2572,7 +3086,7 @@ private static final long serialVersionUID = 0L;
2572
3086
  } else {
2573
3087
  catalogSoftwareBuilder_.mergeFrom(value);
2574
3088
  }
2575
- bitField0_ |= 0x00008000;
3089
+ bitField0_ |= 0x00020000;
2576
3090
  return this;
2577
3091
  }
2578
3092
  /**
@@ -2585,14 +3099,14 @@ private static final long serialVersionUID = 0L;
2585
3099
  } else {
2586
3100
  catalogSoftwareBuilder_.clear();
2587
3101
  }
2588
- bitField0_ = (bitField0_ & ~0x00008000);
3102
+ bitField0_ = (bitField0_ & ~0x00020000);
2589
3103
  return this;
2590
3104
  }
2591
3105
  /**
2592
3106
  * <code>.com.lansweeper.dp.outbound.v1.CatalogSoftware catalog_software = 16;</code>
2593
3107
  */
2594
3108
  public com.lansweeper.dp.outbound.v1.CatalogSoftware.Builder getCatalogSoftwareBuilder() {
2595
- bitField0_ |= 0x00008000;
3109
+ bitField0_ |= 0x00020000;
2596
3110
  onChanged();
2597
3111
  return getCatalogSoftwareFieldBuilder().getBuilder();
2598
3112
  }
@@ -2742,6 +3256,220 @@ private static final long serialVersionUID = 0L;
2742
3256
  }
2743
3257
  return rawBuilder_;
2744
3258
  }
3259
+
3260
+ private java.lang.Object rawHash_ = "";
3261
+ /**
3262
+ * <pre>
3263
+ * optional raw hash of SW
3264
+ * </pre>
3265
+ *
3266
+ * <code>string raw_hash = 18;</code>
3267
+ * @return Whether the rawHash field is set.
3268
+ */
3269
+ public boolean hasRawHash() {
3270
+ return ((bitField0_ & 0x00040000) != 0);
3271
+ }
3272
+ /**
3273
+ * <pre>
3274
+ * optional raw hash of SW
3275
+ * </pre>
3276
+ *
3277
+ * <code>string raw_hash = 18;</code>
3278
+ * @return The rawHash.
3279
+ */
3280
+ public java.lang.String getRawHash() {
3281
+ java.lang.Object ref = rawHash_;
3282
+ if (!(ref instanceof java.lang.String)) {
3283
+ com.google.protobuf.ByteString bs =
3284
+ (com.google.protobuf.ByteString) ref;
3285
+ java.lang.String s = bs.toStringUtf8();
3286
+ rawHash_ = s;
3287
+ return s;
3288
+ } else {
3289
+ return (java.lang.String) ref;
3290
+ }
3291
+ }
3292
+ /**
3293
+ * <pre>
3294
+ * optional raw hash of SW
3295
+ * </pre>
3296
+ *
3297
+ * <code>string raw_hash = 18;</code>
3298
+ * @return The bytes for rawHash.
3299
+ */
3300
+ public com.google.protobuf.ByteString
3301
+ getRawHashBytes() {
3302
+ java.lang.Object ref = rawHash_;
3303
+ if (ref instanceof String) {
3304
+ com.google.protobuf.ByteString b =
3305
+ com.google.protobuf.ByteString.copyFromUtf8(
3306
+ (java.lang.String) ref);
3307
+ rawHash_ = b;
3308
+ return b;
3309
+ } else {
3310
+ return (com.google.protobuf.ByteString) ref;
3311
+ }
3312
+ }
3313
+ /**
3314
+ * <pre>
3315
+ * optional raw hash of SW
3316
+ * </pre>
3317
+ *
3318
+ * <code>string raw_hash = 18;</code>
3319
+ * @param value The rawHash to set.
3320
+ * @return This builder for chaining.
3321
+ */
3322
+ public Builder setRawHash(
3323
+ java.lang.String value) {
3324
+ if (value == null) {
3325
+ throw new NullPointerException();
3326
+ }
3327
+ bitField0_ |= 0x00040000;
3328
+ rawHash_ = value;
3329
+ onChanged();
3330
+ return this;
3331
+ }
3332
+ /**
3333
+ * <pre>
3334
+ * optional raw hash of SW
3335
+ * </pre>
3336
+ *
3337
+ * <code>string raw_hash = 18;</code>
3338
+ * @return This builder for chaining.
3339
+ */
3340
+ public Builder clearRawHash() {
3341
+ bitField0_ = (bitField0_ & ~0x00040000);
3342
+ rawHash_ = getDefaultInstance().getRawHash();
3343
+ onChanged();
3344
+ return this;
3345
+ }
3346
+ /**
3347
+ * <pre>
3348
+ * optional raw hash of SW
3349
+ * </pre>
3350
+ *
3351
+ * <code>string raw_hash = 18;</code>
3352
+ * @param value The bytes for rawHash to set.
3353
+ * @return This builder for chaining.
3354
+ */
3355
+ public Builder setRawHashBytes(
3356
+ com.google.protobuf.ByteString value) {
3357
+ if (value == null) {
3358
+ throw new NullPointerException();
3359
+ }
3360
+ checkByteStringIsUtf8(value);
3361
+ bitField0_ |= 0x00040000;
3362
+ rawHash_ = value;
3363
+ onChanged();
3364
+ return this;
3365
+ }
3366
+
3367
+ private java.lang.Object nreHash_ = "";
3368
+ /**
3369
+ * <pre>
3370
+ * optional NRE hash of SW
3371
+ * </pre>
3372
+ *
3373
+ * <code>string nre_hash = 19;</code>
3374
+ * @return Whether the nreHash field is set.
3375
+ */
3376
+ public boolean hasNreHash() {
3377
+ return ((bitField0_ & 0x00080000) != 0);
3378
+ }
3379
+ /**
3380
+ * <pre>
3381
+ * optional NRE hash of SW
3382
+ * </pre>
3383
+ *
3384
+ * <code>string nre_hash = 19;</code>
3385
+ * @return The nreHash.
3386
+ */
3387
+ public java.lang.String getNreHash() {
3388
+ java.lang.Object ref = nreHash_;
3389
+ if (!(ref instanceof java.lang.String)) {
3390
+ com.google.protobuf.ByteString bs =
3391
+ (com.google.protobuf.ByteString) ref;
3392
+ java.lang.String s = bs.toStringUtf8();
3393
+ nreHash_ = s;
3394
+ return s;
3395
+ } else {
3396
+ return (java.lang.String) ref;
3397
+ }
3398
+ }
3399
+ /**
3400
+ * <pre>
3401
+ * optional NRE hash of SW
3402
+ * </pre>
3403
+ *
3404
+ * <code>string nre_hash = 19;</code>
3405
+ * @return The bytes for nreHash.
3406
+ */
3407
+ public com.google.protobuf.ByteString
3408
+ getNreHashBytes() {
3409
+ java.lang.Object ref = nreHash_;
3410
+ if (ref instanceof String) {
3411
+ com.google.protobuf.ByteString b =
3412
+ com.google.protobuf.ByteString.copyFromUtf8(
3413
+ (java.lang.String) ref);
3414
+ nreHash_ = b;
3415
+ return b;
3416
+ } else {
3417
+ return (com.google.protobuf.ByteString) ref;
3418
+ }
3419
+ }
3420
+ /**
3421
+ * <pre>
3422
+ * optional NRE hash of SW
3423
+ * </pre>
3424
+ *
3425
+ * <code>string nre_hash = 19;</code>
3426
+ * @param value The nreHash to set.
3427
+ * @return This builder for chaining.
3428
+ */
3429
+ public Builder setNreHash(
3430
+ java.lang.String value) {
3431
+ if (value == null) {
3432
+ throw new NullPointerException();
3433
+ }
3434
+ bitField0_ |= 0x00080000;
3435
+ nreHash_ = value;
3436
+ onChanged();
3437
+ return this;
3438
+ }
3439
+ /**
3440
+ * <pre>
3441
+ * optional NRE hash of SW
3442
+ * </pre>
3443
+ *
3444
+ * <code>string nre_hash = 19;</code>
3445
+ * @return This builder for chaining.
3446
+ */
3447
+ public Builder clearNreHash() {
3448
+ bitField0_ = (bitField0_ & ~0x00080000);
3449
+ nreHash_ = getDefaultInstance().getNreHash();
3450
+ onChanged();
3451
+ return this;
3452
+ }
3453
+ /**
3454
+ * <pre>
3455
+ * optional NRE hash of SW
3456
+ * </pre>
3457
+ *
3458
+ * <code>string nre_hash = 19;</code>
3459
+ * @param value The bytes for nreHash to set.
3460
+ * @return This builder for chaining.
3461
+ */
3462
+ public Builder setNreHashBytes(
3463
+ com.google.protobuf.ByteString value) {
3464
+ if (value == null) {
3465
+ throw new NullPointerException();
3466
+ }
3467
+ checkByteStringIsUtf8(value);
3468
+ bitField0_ |= 0x00080000;
3469
+ nreHash_ = value;
3470
+ onChanged();
3471
+ return this;
3472
+ }
2745
3473
  @java.lang.Override
2746
3474
  public final Builder setUnknownFields(
2747
3475
  final com.google.protobuf.UnknownFieldSet unknownFields) {