@lansweeper/data-platform-outbound-grpc 0.10.1 → 0.10.3

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 (36) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +21 -0
  4. package/gen-proto/outbound_pb.js +110 -2
  5. package/generated-go/outbound.pb.go +12749 -12660
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +10 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$ScannerType$1.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$ScannerType.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$1.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$Builder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  20. package/model/target/classes/outbound.proto +10 -0
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntity.java +249 -0
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.java +16 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFields.java +157 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.java +17 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3780 -3774
  26. package/model/target/maven-archiver/pom.properties +2 -2
  27. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +2 -0
  28. package/model/target/{outbound-model-0.10.0-sources.jar → outbound-model-0.10.2-sources.jar} +0 -0
  29. package/model/target/{outbound-model-0.10.0.jar → outbound-model-0.10.2.jar} +0 -0
  30. package/package.json +2 -2
  31. package/pom.xml +1 -1
  32. package/proto/outbound.proto +10 -0
  33. package/service/pom.xml +1 -1
  34. package/service/target/maven-archiver/pom.properties +2 -2
  35. package/service/target/{outbound-service-0.10.0-sources.jar → outbound-service-0.10.2-sources.jar} +0 -0
  36. package/service/target/{outbound-service-0.10.0.jar → outbound-service-0.10.2.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.0",
2
+ "version": "0.10.2",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "name": "outbound",
5
5
  "service": true
package/model/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.10.0</version>
9
+ <version>0.10.2</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -363,6 +363,7 @@ message LegacyFields {
363
363
  repeated AssetGroupLink group_link = 16; // asset group link from the asset.group_link section
364
364
  optional string ip_location_key = 17; // ip location config key. Reference the IP Location collection in mongoDB, and it's currently not store in vNEXT model.
365
365
  optional string ip_location_id = 18; // ip location config ID. Reference the IP Location id in the onprem, if existing.
366
+ optional string asset_type_key = 20;
366
367
  }
367
368
 
368
369
  message AssetCustom {
@@ -735,6 +736,14 @@ message CorrelationInfo {
735
736
  * early heavy mapping and post-pone it only where/when it's needed.
736
737
  */
737
738
  message CloudEntity {
739
+ enum ScannerType {
740
+ M365_ENTRA_ID = 0;
741
+ INTUNE = 1;
742
+ AZURE = 2;
743
+ AWS = 3;
744
+ GCP = 4;
745
+ }
746
+
738
747
  google.protobuf.Any body = 1;
739
748
  string environment_id = 2;
740
749
  string cloud_provider = 3;
@@ -750,6 +759,7 @@ message CloudEntity {
750
759
  repeated PublicCloudLink public_cloud_links = 13;
751
760
  reserved 14;
752
761
  optional string resource_id = 15;
762
+ optional ScannerType scanner_type = 16;
753
763
  }
754
764
 
755
765
  message PublicCloudLink {
@@ -363,6 +363,7 @@ message LegacyFields {
363
363
  repeated AssetGroupLink group_link = 16; // asset group link from the asset.group_link section
364
364
  optional string ip_location_key = 17; // ip location config key. Reference the IP Location collection in mongoDB, and it's currently not store in vNEXT model.
365
365
  optional string ip_location_id = 18; // ip location config ID. Reference the IP Location id in the onprem, if existing.
366
+ optional string asset_type_key = 20;
366
367
  }
367
368
 
368
369
  message AssetCustom {
@@ -735,6 +736,14 @@ message CorrelationInfo {
735
736
  * early heavy mapping and post-pone it only where/when it's needed.
736
737
  */
737
738
  message CloudEntity {
739
+ enum ScannerType {
740
+ M365_ENTRA_ID = 0;
741
+ INTUNE = 1;
742
+ AZURE = 2;
743
+ AWS = 3;
744
+ GCP = 4;
745
+ }
746
+
738
747
  google.protobuf.Any body = 1;
739
748
  string environment_id = 2;
740
749
  string cloud_provider = 3;
@@ -750,6 +759,7 @@ message CloudEntity {
750
759
  repeated PublicCloudLink public_cloud_links = 13;
751
760
  reserved 14;
752
761
  optional string resource_id = 15;
762
+ optional ScannerType scanner_type = 16;
753
763
  }
754
764
 
755
765
  message PublicCloudLink {
@@ -40,6 +40,7 @@ private static final long serialVersionUID = 0L;
40
40
  cloudAssetId_ = "";
41
41
  publicCloudLinks_ = java.util.Collections.emptyList();
42
42
  resourceId_ = "";
43
+ scannerType_ = 0;
43
44
  }
44
45
 
45
46
  @java.lang.Override
@@ -62,6 +63,141 @@ private static final long serialVersionUID = 0L;
62
63
  com.lansweeper.dp.outbound.v1.CloudEntity.class, com.lansweeper.dp.outbound.v1.CloudEntity.Builder.class);
63
64
  }
64
65
 
66
+ /**
67
+ * Protobuf enum {@code com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType}
68
+ */
69
+ public enum ScannerType
70
+ implements com.google.protobuf.ProtocolMessageEnum {
71
+ /**
72
+ * <code>M365_ENTRA_ID = 0;</code>
73
+ */
74
+ M365_ENTRA_ID(0),
75
+ /**
76
+ * <code>INTUNE = 1;</code>
77
+ */
78
+ INTUNE(1),
79
+ /**
80
+ * <code>AZURE = 2;</code>
81
+ */
82
+ AZURE(2),
83
+ /**
84
+ * <code>AWS = 3;</code>
85
+ */
86
+ AWS(3),
87
+ /**
88
+ * <code>GCP = 4;</code>
89
+ */
90
+ GCP(4),
91
+ UNRECOGNIZED(-1),
92
+ ;
93
+
94
+ /**
95
+ * <code>M365_ENTRA_ID = 0;</code>
96
+ */
97
+ public static final int M365_ENTRA_ID_VALUE = 0;
98
+ /**
99
+ * <code>INTUNE = 1;</code>
100
+ */
101
+ public static final int INTUNE_VALUE = 1;
102
+ /**
103
+ * <code>AZURE = 2;</code>
104
+ */
105
+ public static final int AZURE_VALUE = 2;
106
+ /**
107
+ * <code>AWS = 3;</code>
108
+ */
109
+ public static final int AWS_VALUE = 3;
110
+ /**
111
+ * <code>GCP = 4;</code>
112
+ */
113
+ public static final int GCP_VALUE = 4;
114
+
115
+
116
+ public final int getNumber() {
117
+ if (this == UNRECOGNIZED) {
118
+ throw new java.lang.IllegalArgumentException(
119
+ "Can't get the number of an unknown enum value.");
120
+ }
121
+ return value;
122
+ }
123
+
124
+ /**
125
+ * @param value The numeric wire value of the corresponding enum entry.
126
+ * @return The enum associated with the given numeric wire value.
127
+ * @deprecated Use {@link #forNumber(int)} instead.
128
+ */
129
+ @java.lang.Deprecated
130
+ public static ScannerType valueOf(int value) {
131
+ return forNumber(value);
132
+ }
133
+
134
+ /**
135
+ * @param value The numeric wire value of the corresponding enum entry.
136
+ * @return The enum associated with the given numeric wire value.
137
+ */
138
+ public static ScannerType forNumber(int value) {
139
+ switch (value) {
140
+ case 0: return M365_ENTRA_ID;
141
+ case 1: return INTUNE;
142
+ case 2: return AZURE;
143
+ case 3: return AWS;
144
+ case 4: return GCP;
145
+ default: return null;
146
+ }
147
+ }
148
+
149
+ public static com.google.protobuf.Internal.EnumLiteMap<ScannerType>
150
+ internalGetValueMap() {
151
+ return internalValueMap;
152
+ }
153
+ private static final com.google.protobuf.Internal.EnumLiteMap<
154
+ ScannerType> internalValueMap =
155
+ new com.google.protobuf.Internal.EnumLiteMap<ScannerType>() {
156
+ public ScannerType findValueByNumber(int number) {
157
+ return ScannerType.forNumber(number);
158
+ }
159
+ };
160
+
161
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
162
+ getValueDescriptor() {
163
+ if (this == UNRECOGNIZED) {
164
+ throw new java.lang.IllegalStateException(
165
+ "Can't get the descriptor of an unrecognized enum value.");
166
+ }
167
+ return getDescriptor().getValues().get(ordinal());
168
+ }
169
+ public final com.google.protobuf.Descriptors.EnumDescriptor
170
+ getDescriptorForType() {
171
+ return getDescriptor();
172
+ }
173
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
174
+ getDescriptor() {
175
+ return com.lansweeper.dp.outbound.v1.CloudEntity.getDescriptor().getEnumTypes().get(0);
176
+ }
177
+
178
+ private static final ScannerType[] VALUES = values();
179
+
180
+ public static ScannerType valueOf(
181
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
182
+ if (desc.getType() != getDescriptor()) {
183
+ throw new java.lang.IllegalArgumentException(
184
+ "EnumValueDescriptor is not for this type.");
185
+ }
186
+ if (desc.getIndex() == -1) {
187
+ return UNRECOGNIZED;
188
+ }
189
+ return VALUES[desc.getIndex()];
190
+ }
191
+
192
+ private final int value;
193
+
194
+ private ScannerType(int value) {
195
+ this.value = value;
196
+ }
197
+
198
+ // @@protoc_insertion_point(enum_scope:com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType)
199
+ }
200
+
65
201
  private int bitField0_;
66
202
  public static final int BODY_FIELD_NUMBER = 1;
67
203
  private com.google.protobuf.Any body_;
@@ -676,6 +812,31 @@ private static final long serialVersionUID = 0L;
676
812
  }
677
813
  }
678
814
 
815
+ public static final int SCANNER_TYPE_FIELD_NUMBER = 16;
816
+ private int scannerType_ = 0;
817
+ /**
818
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
819
+ * @return Whether the scannerType field is set.
820
+ */
821
+ @java.lang.Override public boolean hasScannerType() {
822
+ return ((bitField0_ & 0x00000100) != 0);
823
+ }
824
+ /**
825
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
826
+ * @return The enum numeric value on the wire for scannerType.
827
+ */
828
+ @java.lang.Override public int getScannerTypeValue() {
829
+ return scannerType_;
830
+ }
831
+ /**
832
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
833
+ * @return The scannerType.
834
+ */
835
+ @java.lang.Override public com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType getScannerType() {
836
+ com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType result = com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType.forNumber(scannerType_);
837
+ return result == null ? com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType.UNRECOGNIZED : result;
838
+ }
839
+
679
840
  private byte memoizedIsInitialized = -1;
680
841
  @java.lang.Override
681
842
  public final boolean isInitialized() {
@@ -732,6 +893,9 @@ private static final long serialVersionUID = 0L;
732
893
  if (((bitField0_ & 0x00000080) != 0)) {
733
894
  com.google.protobuf.GeneratedMessageV3.writeString(output, 15, resourceId_);
734
895
  }
896
+ if (((bitField0_ & 0x00000100) != 0)) {
897
+ output.writeEnum(16, scannerType_);
898
+ }
735
899
  getUnknownFields().writeTo(output);
736
900
  }
737
901
 
@@ -786,6 +950,10 @@ private static final long serialVersionUID = 0L;
786
950
  if (((bitField0_ & 0x00000080) != 0)) {
787
951
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, resourceId_);
788
952
  }
953
+ if (((bitField0_ & 0x00000100) != 0)) {
954
+ size += com.google.protobuf.CodedOutputStream
955
+ .computeEnumSize(16, scannerType_);
956
+ }
789
957
  size += getUnknownFields().getSerializedSize();
790
958
  memoizedSize = size;
791
959
  return size;
@@ -853,6 +1021,10 @@ private static final long serialVersionUID = 0L;
853
1021
  if (!getResourceId()
854
1022
  .equals(other.getResourceId())) return false;
855
1023
  }
1024
+ if (hasScannerType() != other.hasScannerType()) return false;
1025
+ if (hasScannerType()) {
1026
+ if (scannerType_ != other.scannerType_) return false;
1027
+ }
856
1028
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
857
1029
  return true;
858
1030
  }
@@ -912,6 +1084,10 @@ private static final long serialVersionUID = 0L;
912
1084
  hash = (37 * hash) + RESOURCE_ID_FIELD_NUMBER;
913
1085
  hash = (53 * hash) + getResourceId().hashCode();
914
1086
  }
1087
+ if (hasScannerType()) {
1088
+ hash = (37 * hash) + SCANNER_TYPE_FIELD_NUMBER;
1089
+ hash = (53 * hash) + scannerType_;
1090
+ }
915
1091
  hash = (29 * hash) + getUnknownFields().hashCode();
916
1092
  memoizedHashCode = hash;
917
1093
  return hash;
@@ -1091,6 +1267,7 @@ private static final long serialVersionUID = 0L;
1091
1267
  }
1092
1268
  bitField0_ = (bitField0_ & ~0x00001000);
1093
1269
  resourceId_ = "";
1270
+ scannerType_ = 0;
1094
1271
  return this;
1095
1272
  }
1096
1273
 
@@ -1193,6 +1370,10 @@ private static final long serialVersionUID = 0L;
1193
1370
  result.resourceId_ = resourceId_;
1194
1371
  to_bitField0_ |= 0x00000080;
1195
1372
  }
1373
+ if (((from_bitField0_ & 0x00004000) != 0)) {
1374
+ result.scannerType_ = scannerType_;
1375
+ to_bitField0_ |= 0x00000100;
1376
+ }
1196
1377
  result.bitField0_ |= to_bitField0_;
1197
1378
  }
1198
1379
 
@@ -1350,6 +1531,9 @@ private static final long serialVersionUID = 0L;
1350
1531
  bitField0_ |= 0x00002000;
1351
1532
  onChanged();
1352
1533
  }
1534
+ if (other.hasScannerType()) {
1535
+ setScannerType(other.getScannerType());
1536
+ }
1353
1537
  this.mergeUnknownFields(other.getUnknownFields());
1354
1538
  onChanged();
1355
1539
  return this;
@@ -1464,6 +1648,11 @@ private static final long serialVersionUID = 0L;
1464
1648
  bitField0_ |= 0x00002000;
1465
1649
  break;
1466
1650
  } // case 122
1651
+ case 128: {
1652
+ scannerType_ = input.readEnum();
1653
+ bitField0_ |= 0x00004000;
1654
+ break;
1655
+ } // case 128
1467
1656
  default: {
1468
1657
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1469
1658
  done = true; // was an endgroup tag
@@ -2994,6 +3183,66 @@ private static final long serialVersionUID = 0L;
2994
3183
  onChanged();
2995
3184
  return this;
2996
3185
  }
3186
+
3187
+ private int scannerType_ = 0;
3188
+ /**
3189
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3190
+ * @return Whether the scannerType field is set.
3191
+ */
3192
+ @java.lang.Override public boolean hasScannerType() {
3193
+ return ((bitField0_ & 0x00004000) != 0);
3194
+ }
3195
+ /**
3196
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3197
+ * @return The enum numeric value on the wire for scannerType.
3198
+ */
3199
+ @java.lang.Override public int getScannerTypeValue() {
3200
+ return scannerType_;
3201
+ }
3202
+ /**
3203
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3204
+ * @param value The enum numeric value on the wire for scannerType to set.
3205
+ * @return This builder for chaining.
3206
+ */
3207
+ public Builder setScannerTypeValue(int value) {
3208
+ scannerType_ = value;
3209
+ bitField0_ |= 0x00004000;
3210
+ onChanged();
3211
+ return this;
3212
+ }
3213
+ /**
3214
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3215
+ * @return The scannerType.
3216
+ */
3217
+ @java.lang.Override
3218
+ public com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType getScannerType() {
3219
+ com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType result = com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType.forNumber(scannerType_);
3220
+ return result == null ? com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType.UNRECOGNIZED : result;
3221
+ }
3222
+ /**
3223
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3224
+ * @param value The scannerType to set.
3225
+ * @return This builder for chaining.
3226
+ */
3227
+ public Builder setScannerType(com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType value) {
3228
+ if (value == null) {
3229
+ throw new NullPointerException();
3230
+ }
3231
+ bitField0_ |= 0x00004000;
3232
+ scannerType_ = value.getNumber();
3233
+ onChanged();
3234
+ return this;
3235
+ }
3236
+ /**
3237
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
3238
+ * @return This builder for chaining.
3239
+ */
3240
+ public Builder clearScannerType() {
3241
+ bitField0_ = (bitField0_ & ~0x00004000);
3242
+ scannerType_ = 0;
3243
+ onChanged();
3244
+ return this;
3245
+ }
2997
3246
  @java.lang.Override
2998
3247
  public final Builder setUnknownFields(
2999
3248
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -257,4 +257,20 @@ public interface CloudEntityOrBuilder extends
257
257
  */
258
258
  com.google.protobuf.ByteString
259
259
  getResourceIdBytes();
260
+
261
+ /**
262
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
263
+ * @return Whether the scannerType field is set.
264
+ */
265
+ boolean hasScannerType();
266
+ /**
267
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
268
+ * @return The enum numeric value on the wire for scannerType.
269
+ */
270
+ int getScannerTypeValue();
271
+ /**
272
+ * <code>optional .com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType scanner_type = 16;</code>
273
+ * @return The scannerType.
274
+ */
275
+ com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType getScannerType();
260
276
  }
@@ -27,6 +27,7 @@ private static final long serialVersionUID = 0L;
27
27
  groupLink_ = java.util.Collections.emptyList();
28
28
  ipLocationKey_ = "";
29
29
  ipLocationId_ = "";
30
+ assetTypeKey_ = "";
30
31
  }
31
32
 
32
33
  @java.lang.Override
@@ -690,6 +691,53 @@ private static final long serialVersionUID = 0L;
690
691
  }
691
692
  }
692
693
 
694
+ public static final int ASSET_TYPE_KEY_FIELD_NUMBER = 20;
695
+ @SuppressWarnings("serial")
696
+ private volatile java.lang.Object assetTypeKey_ = "";
697
+ /**
698
+ * <code>optional string asset_type_key = 20;</code>
699
+ * @return Whether the assetTypeKey field is set.
700
+ */
701
+ @java.lang.Override
702
+ public boolean hasAssetTypeKey() {
703
+ return ((bitField0_ & 0x00040000) != 0);
704
+ }
705
+ /**
706
+ * <code>optional string asset_type_key = 20;</code>
707
+ * @return The assetTypeKey.
708
+ */
709
+ @java.lang.Override
710
+ public java.lang.String getAssetTypeKey() {
711
+ java.lang.Object ref = assetTypeKey_;
712
+ if (ref instanceof java.lang.String) {
713
+ return (java.lang.String) ref;
714
+ } else {
715
+ com.google.protobuf.ByteString bs =
716
+ (com.google.protobuf.ByteString) ref;
717
+ java.lang.String s = bs.toStringUtf8();
718
+ assetTypeKey_ = s;
719
+ return s;
720
+ }
721
+ }
722
+ /**
723
+ * <code>optional string asset_type_key = 20;</code>
724
+ * @return The bytes for assetTypeKey.
725
+ */
726
+ @java.lang.Override
727
+ public com.google.protobuf.ByteString
728
+ getAssetTypeKeyBytes() {
729
+ java.lang.Object ref = assetTypeKey_;
730
+ if (ref instanceof java.lang.String) {
731
+ com.google.protobuf.ByteString b =
732
+ com.google.protobuf.ByteString.copyFromUtf8(
733
+ (java.lang.String) ref);
734
+ assetTypeKey_ = b;
735
+ return b;
736
+ } else {
737
+ return (com.google.protobuf.ByteString) ref;
738
+ }
739
+ }
740
+
693
741
  private byte memoizedIsInitialized = -1;
694
742
  @java.lang.Override
695
743
  public final boolean isInitialized() {
@@ -761,6 +809,9 @@ private static final long serialVersionUID = 0L;
761
809
  if (((bitField0_ & 0x00000001) != 0)) {
762
810
  com.google.protobuf.GeneratedMessageV3.writeString(output, 19, assetId_);
763
811
  }
812
+ if (((bitField0_ & 0x00040000) != 0)) {
813
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 20, assetTypeKey_);
814
+ }
764
815
  getUnknownFields().writeTo(output);
765
816
  }
766
817
 
@@ -843,6 +894,9 @@ private static final long serialVersionUID = 0L;
843
894
  if (((bitField0_ & 0x00000001) != 0)) {
844
895
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, assetId_);
845
896
  }
897
+ if (((bitField0_ & 0x00040000) != 0)) {
898
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, assetTypeKey_);
899
+ }
846
900
  size += getUnknownFields().getSerializedSize();
847
901
  memoizedSize = size;
848
902
  return size;
@@ -950,6 +1004,11 @@ private static final long serialVersionUID = 0L;
950
1004
  if (!getIpLocationId()
951
1005
  .equals(other.getIpLocationId())) return false;
952
1006
  }
1007
+ if (hasAssetTypeKey() != other.hasAssetTypeKey()) return false;
1008
+ if (hasAssetTypeKey()) {
1009
+ if (!getAssetTypeKey()
1010
+ .equals(other.getAssetTypeKey())) return false;
1011
+ }
953
1012
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
954
1013
  return true;
955
1014
  }
@@ -1037,6 +1096,10 @@ private static final long serialVersionUID = 0L;
1037
1096
  hash = (37 * hash) + IP_LOCATION_ID_FIELD_NUMBER;
1038
1097
  hash = (53 * hash) + getIpLocationId().hashCode();
1039
1098
  }
1099
+ if (hasAssetTypeKey()) {
1100
+ hash = (37 * hash) + ASSET_TYPE_KEY_FIELD_NUMBER;
1101
+ hash = (53 * hash) + getAssetTypeKey().hashCode();
1102
+ }
1040
1103
  hash = (29 * hash) + getUnknownFields().hashCode();
1041
1104
  memoizedHashCode = hash;
1042
1105
  return hash;
@@ -1280,6 +1343,7 @@ private static final long serialVersionUID = 0L;
1280
1343
  bitField0_ = (bitField0_ & ~0x00010000);
1281
1344
  ipLocationKey_ = "";
1282
1345
  ipLocationId_ = "";
1346
+ assetTypeKey_ = "";
1283
1347
  return this;
1284
1348
  }
1285
1349
 
@@ -1429,6 +1493,10 @@ private static final long serialVersionUID = 0L;
1429
1493
  result.ipLocationId_ = ipLocationId_;
1430
1494
  to_bitField0_ |= 0x00020000;
1431
1495
  }
1496
+ if (((from_bitField0_ & 0x00080000) != 0)) {
1497
+ result.assetTypeKey_ = assetTypeKey_;
1498
+ to_bitField0_ |= 0x00040000;
1499
+ }
1432
1500
  result.bitField0_ |= to_bitField0_;
1433
1501
  }
1434
1502
 
@@ -1562,6 +1630,11 @@ private static final long serialVersionUID = 0L;
1562
1630
  bitField0_ |= 0x00040000;
1563
1631
  onChanged();
1564
1632
  }
1633
+ if (other.hasAssetTypeKey()) {
1634
+ assetTypeKey_ = other.assetTypeKey_;
1635
+ bitField0_ |= 0x00080000;
1636
+ onChanged();
1637
+ }
1565
1638
  this.mergeUnknownFields(other.getUnknownFields());
1566
1639
  onChanged();
1567
1640
  return this;
@@ -1721,6 +1794,11 @@ private static final long serialVersionUID = 0L;
1721
1794
  bitField0_ |= 0x00000001;
1722
1795
  break;
1723
1796
  } // case 154
1797
+ case 162: {
1798
+ assetTypeKey_ = input.readStringRequireUtf8();
1799
+ bitField0_ |= 0x00080000;
1800
+ break;
1801
+ } // case 162
1724
1802
  default: {
1725
1803
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1726
1804
  done = true; // was an endgroup tag
@@ -4209,6 +4287,85 @@ private static final long serialVersionUID = 0L;
4209
4287
  onChanged();
4210
4288
  return this;
4211
4289
  }
4290
+
4291
+ private java.lang.Object assetTypeKey_ = "";
4292
+ /**
4293
+ * <code>optional string asset_type_key = 20;</code>
4294
+ * @return Whether the assetTypeKey field is set.
4295
+ */
4296
+ public boolean hasAssetTypeKey() {
4297
+ return ((bitField0_ & 0x00080000) != 0);
4298
+ }
4299
+ /**
4300
+ * <code>optional string asset_type_key = 20;</code>
4301
+ * @return The assetTypeKey.
4302
+ */
4303
+ public java.lang.String getAssetTypeKey() {
4304
+ java.lang.Object ref = assetTypeKey_;
4305
+ if (!(ref instanceof java.lang.String)) {
4306
+ com.google.protobuf.ByteString bs =
4307
+ (com.google.protobuf.ByteString) ref;
4308
+ java.lang.String s = bs.toStringUtf8();
4309
+ assetTypeKey_ = s;
4310
+ return s;
4311
+ } else {
4312
+ return (java.lang.String) ref;
4313
+ }
4314
+ }
4315
+ /**
4316
+ * <code>optional string asset_type_key = 20;</code>
4317
+ * @return The bytes for assetTypeKey.
4318
+ */
4319
+ public com.google.protobuf.ByteString
4320
+ getAssetTypeKeyBytes() {
4321
+ java.lang.Object ref = assetTypeKey_;
4322
+ if (ref instanceof String) {
4323
+ com.google.protobuf.ByteString b =
4324
+ com.google.protobuf.ByteString.copyFromUtf8(
4325
+ (java.lang.String) ref);
4326
+ assetTypeKey_ = b;
4327
+ return b;
4328
+ } else {
4329
+ return (com.google.protobuf.ByteString) ref;
4330
+ }
4331
+ }
4332
+ /**
4333
+ * <code>optional string asset_type_key = 20;</code>
4334
+ * @param value The assetTypeKey to set.
4335
+ * @return This builder for chaining.
4336
+ */
4337
+ public Builder setAssetTypeKey(
4338
+ java.lang.String value) {
4339
+ if (value == null) { throw new NullPointerException(); }
4340
+ assetTypeKey_ = value;
4341
+ bitField0_ |= 0x00080000;
4342
+ onChanged();
4343
+ return this;
4344
+ }
4345
+ /**
4346
+ * <code>optional string asset_type_key = 20;</code>
4347
+ * @return This builder for chaining.
4348
+ */
4349
+ public Builder clearAssetTypeKey() {
4350
+ assetTypeKey_ = getDefaultInstance().getAssetTypeKey();
4351
+ bitField0_ = (bitField0_ & ~0x00080000);
4352
+ onChanged();
4353
+ return this;
4354
+ }
4355
+ /**
4356
+ * <code>optional string asset_type_key = 20;</code>
4357
+ * @param value The bytes for assetTypeKey to set.
4358
+ * @return This builder for chaining.
4359
+ */
4360
+ public Builder setAssetTypeKeyBytes(
4361
+ com.google.protobuf.ByteString value) {
4362
+ if (value == null) { throw new NullPointerException(); }
4363
+ checkByteStringIsUtf8(value);
4364
+ assetTypeKey_ = value;
4365
+ bitField0_ |= 0x00080000;
4366
+ onChanged();
4367
+ return this;
4368
+ }
4212
4369
  @java.lang.Override
4213
4370
  public final Builder setUnknownFields(
4214
4371
  final com.google.protobuf.UnknownFieldSet unknownFields) {