@lansweeper/data-platform-outbound-grpc 0.4.6 → 0.4.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.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +6 -0
- package/gen-proto/outbound_pb.js +49 -1
- package/generated-go/outbound.pb.go +10078 -10067
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +2 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntity.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +2 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntity.java +157 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntityOrBuilder.java +17 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3250 -3249
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/{outbound-model-0.4.5-sources.jar → outbound-model-0.4.7-sources.jar} +0 -0
- package/model/target/{outbound-model-0.4.5.jar → outbound-model-0.4.7.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +2 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.4.5-sources.jar → outbound-service-0.4.7-sources.jar} +0 -0
- package/service/target/{outbound-service-0.4.5.jar → outbound-service-0.4.7.jar} +0 -0
package/java.json
CHANGED
package/model/pom.xml
CHANGED
|
@@ -604,6 +604,8 @@ message CloudEntity {
|
|
|
604
604
|
optional string resource_group = 11;
|
|
605
605
|
optional string cloud_asset_id = 12;
|
|
606
606
|
repeated PublicCloudLink public_cloud_links = 13;
|
|
607
|
+
reserved 14;
|
|
608
|
+
optional string resource_id = 15;
|
|
607
609
|
}
|
|
608
610
|
|
|
609
611
|
message PublicCloudLink {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -604,6 +604,8 @@ message CloudEntity {
|
|
|
604
604
|
optional string resource_group = 11;
|
|
605
605
|
optional string cloud_asset_id = 12;
|
|
606
606
|
repeated PublicCloudLink public_cloud_links = 13;
|
|
607
|
+
reserved 14;
|
|
608
|
+
optional string resource_id = 15;
|
|
607
609
|
}
|
|
608
610
|
|
|
609
611
|
message PublicCloudLink {
|
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudEntity.java
CHANGED
|
@@ -39,6 +39,7 @@ private static final long serialVersionUID = 0L;
|
|
|
39
39
|
resourceGroup_ = "";
|
|
40
40
|
cloudAssetId_ = "";
|
|
41
41
|
publicCloudLinks_ = java.util.Collections.emptyList();
|
|
42
|
+
resourceId_ = "";
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
@java.lang.Override
|
|
@@ -628,6 +629,53 @@ private static final long serialVersionUID = 0L;
|
|
|
628
629
|
return publicCloudLinks_.get(index);
|
|
629
630
|
}
|
|
630
631
|
|
|
632
|
+
public static final int RESOURCE_ID_FIELD_NUMBER = 15;
|
|
633
|
+
@SuppressWarnings("serial")
|
|
634
|
+
private volatile java.lang.Object resourceId_ = "";
|
|
635
|
+
/**
|
|
636
|
+
* <code>optional string resource_id = 15;</code>
|
|
637
|
+
* @return Whether the resourceId field is set.
|
|
638
|
+
*/
|
|
639
|
+
@java.lang.Override
|
|
640
|
+
public boolean hasResourceId() {
|
|
641
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* <code>optional string resource_id = 15;</code>
|
|
645
|
+
* @return The resourceId.
|
|
646
|
+
*/
|
|
647
|
+
@java.lang.Override
|
|
648
|
+
public java.lang.String getResourceId() {
|
|
649
|
+
java.lang.Object ref = resourceId_;
|
|
650
|
+
if (ref instanceof java.lang.String) {
|
|
651
|
+
return (java.lang.String) ref;
|
|
652
|
+
} else {
|
|
653
|
+
com.google.protobuf.ByteString bs =
|
|
654
|
+
(com.google.protobuf.ByteString) ref;
|
|
655
|
+
java.lang.String s = bs.toStringUtf8();
|
|
656
|
+
resourceId_ = s;
|
|
657
|
+
return s;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* <code>optional string resource_id = 15;</code>
|
|
662
|
+
* @return The bytes for resourceId.
|
|
663
|
+
*/
|
|
664
|
+
@java.lang.Override
|
|
665
|
+
public com.google.protobuf.ByteString
|
|
666
|
+
getResourceIdBytes() {
|
|
667
|
+
java.lang.Object ref = resourceId_;
|
|
668
|
+
if (ref instanceof java.lang.String) {
|
|
669
|
+
com.google.protobuf.ByteString b =
|
|
670
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
671
|
+
(java.lang.String) ref);
|
|
672
|
+
resourceId_ = b;
|
|
673
|
+
return b;
|
|
674
|
+
} else {
|
|
675
|
+
return (com.google.protobuf.ByteString) ref;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
631
679
|
private byte memoizedIsInitialized = -1;
|
|
632
680
|
@java.lang.Override
|
|
633
681
|
public final boolean isInitialized() {
|
|
@@ -681,6 +729,9 @@ private static final long serialVersionUID = 0L;
|
|
|
681
729
|
for (int i = 0; i < publicCloudLinks_.size(); i++) {
|
|
682
730
|
output.writeMessage(13, publicCloudLinks_.get(i));
|
|
683
731
|
}
|
|
732
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
733
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, resourceId_);
|
|
734
|
+
}
|
|
684
735
|
getUnknownFields().writeTo(output);
|
|
685
736
|
}
|
|
686
737
|
|
|
@@ -732,6 +783,9 @@ private static final long serialVersionUID = 0L;
|
|
|
732
783
|
size += com.google.protobuf.CodedOutputStream
|
|
733
784
|
.computeMessageSize(13, publicCloudLinks_.get(i));
|
|
734
785
|
}
|
|
786
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
787
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, resourceId_);
|
|
788
|
+
}
|
|
735
789
|
size += getUnknownFields().getSerializedSize();
|
|
736
790
|
memoizedSize = size;
|
|
737
791
|
return size;
|
|
@@ -794,6 +848,11 @@ private static final long serialVersionUID = 0L;
|
|
|
794
848
|
}
|
|
795
849
|
if (!getPublicCloudLinksList()
|
|
796
850
|
.equals(other.getPublicCloudLinksList())) return false;
|
|
851
|
+
if (hasResourceId() != other.hasResourceId()) return false;
|
|
852
|
+
if (hasResourceId()) {
|
|
853
|
+
if (!getResourceId()
|
|
854
|
+
.equals(other.getResourceId())) return false;
|
|
855
|
+
}
|
|
797
856
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
798
857
|
return true;
|
|
799
858
|
}
|
|
@@ -849,6 +908,10 @@ private static final long serialVersionUID = 0L;
|
|
|
849
908
|
hash = (37 * hash) + PUBLIC_CLOUD_LINKS_FIELD_NUMBER;
|
|
850
909
|
hash = (53 * hash) + getPublicCloudLinksList().hashCode();
|
|
851
910
|
}
|
|
911
|
+
if (hasResourceId()) {
|
|
912
|
+
hash = (37 * hash) + RESOURCE_ID_FIELD_NUMBER;
|
|
913
|
+
hash = (53 * hash) + getResourceId().hashCode();
|
|
914
|
+
}
|
|
852
915
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
853
916
|
memoizedHashCode = hash;
|
|
854
917
|
return hash;
|
|
@@ -1027,6 +1090,7 @@ private static final long serialVersionUID = 0L;
|
|
|
1027
1090
|
publicCloudLinksBuilder_.clear();
|
|
1028
1091
|
}
|
|
1029
1092
|
bitField0_ = (bitField0_ & ~0x00001000);
|
|
1093
|
+
resourceId_ = "";
|
|
1030
1094
|
return this;
|
|
1031
1095
|
}
|
|
1032
1096
|
|
|
@@ -1125,6 +1189,10 @@ private static final long serialVersionUID = 0L;
|
|
|
1125
1189
|
result.cloudAssetId_ = cloudAssetId_;
|
|
1126
1190
|
to_bitField0_ |= 0x00000040;
|
|
1127
1191
|
}
|
|
1192
|
+
if (((from_bitField0_ & 0x00002000) != 0)) {
|
|
1193
|
+
result.resourceId_ = resourceId_;
|
|
1194
|
+
to_bitField0_ |= 0x00000080;
|
|
1195
|
+
}
|
|
1128
1196
|
result.bitField0_ |= to_bitField0_;
|
|
1129
1197
|
}
|
|
1130
1198
|
|
|
@@ -1277,6 +1345,11 @@ private static final long serialVersionUID = 0L;
|
|
|
1277
1345
|
}
|
|
1278
1346
|
}
|
|
1279
1347
|
}
|
|
1348
|
+
if (other.hasResourceId()) {
|
|
1349
|
+
resourceId_ = other.resourceId_;
|
|
1350
|
+
bitField0_ |= 0x00002000;
|
|
1351
|
+
onChanged();
|
|
1352
|
+
}
|
|
1280
1353
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
1281
1354
|
onChanged();
|
|
1282
1355
|
return this;
|
|
@@ -1386,6 +1459,11 @@ private static final long serialVersionUID = 0L;
|
|
|
1386
1459
|
}
|
|
1387
1460
|
break;
|
|
1388
1461
|
} // case 106
|
|
1462
|
+
case 122: {
|
|
1463
|
+
resourceId_ = input.readStringRequireUtf8();
|
|
1464
|
+
bitField0_ |= 0x00002000;
|
|
1465
|
+
break;
|
|
1466
|
+
} // case 122
|
|
1389
1467
|
default: {
|
|
1390
1468
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
1391
1469
|
done = true; // was an endgroup tag
|
|
@@ -2837,6 +2915,85 @@ private static final long serialVersionUID = 0L;
|
|
|
2837
2915
|
}
|
|
2838
2916
|
return publicCloudLinksBuilder_;
|
|
2839
2917
|
}
|
|
2918
|
+
|
|
2919
|
+
private java.lang.Object resourceId_ = "";
|
|
2920
|
+
/**
|
|
2921
|
+
* <code>optional string resource_id = 15;</code>
|
|
2922
|
+
* @return Whether the resourceId field is set.
|
|
2923
|
+
*/
|
|
2924
|
+
public boolean hasResourceId() {
|
|
2925
|
+
return ((bitField0_ & 0x00002000) != 0);
|
|
2926
|
+
}
|
|
2927
|
+
/**
|
|
2928
|
+
* <code>optional string resource_id = 15;</code>
|
|
2929
|
+
* @return The resourceId.
|
|
2930
|
+
*/
|
|
2931
|
+
public java.lang.String getResourceId() {
|
|
2932
|
+
java.lang.Object ref = resourceId_;
|
|
2933
|
+
if (!(ref instanceof java.lang.String)) {
|
|
2934
|
+
com.google.protobuf.ByteString bs =
|
|
2935
|
+
(com.google.protobuf.ByteString) ref;
|
|
2936
|
+
java.lang.String s = bs.toStringUtf8();
|
|
2937
|
+
resourceId_ = s;
|
|
2938
|
+
return s;
|
|
2939
|
+
} else {
|
|
2940
|
+
return (java.lang.String) ref;
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
/**
|
|
2944
|
+
* <code>optional string resource_id = 15;</code>
|
|
2945
|
+
* @return The bytes for resourceId.
|
|
2946
|
+
*/
|
|
2947
|
+
public com.google.protobuf.ByteString
|
|
2948
|
+
getResourceIdBytes() {
|
|
2949
|
+
java.lang.Object ref = resourceId_;
|
|
2950
|
+
if (ref instanceof String) {
|
|
2951
|
+
com.google.protobuf.ByteString b =
|
|
2952
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
2953
|
+
(java.lang.String) ref);
|
|
2954
|
+
resourceId_ = b;
|
|
2955
|
+
return b;
|
|
2956
|
+
} else {
|
|
2957
|
+
return (com.google.protobuf.ByteString) ref;
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
/**
|
|
2961
|
+
* <code>optional string resource_id = 15;</code>
|
|
2962
|
+
* @param value The resourceId to set.
|
|
2963
|
+
* @return This builder for chaining.
|
|
2964
|
+
*/
|
|
2965
|
+
public Builder setResourceId(
|
|
2966
|
+
java.lang.String value) {
|
|
2967
|
+
if (value == null) { throw new NullPointerException(); }
|
|
2968
|
+
resourceId_ = value;
|
|
2969
|
+
bitField0_ |= 0x00002000;
|
|
2970
|
+
onChanged();
|
|
2971
|
+
return this;
|
|
2972
|
+
}
|
|
2973
|
+
/**
|
|
2974
|
+
* <code>optional string resource_id = 15;</code>
|
|
2975
|
+
* @return This builder for chaining.
|
|
2976
|
+
*/
|
|
2977
|
+
public Builder clearResourceId() {
|
|
2978
|
+
resourceId_ = getDefaultInstance().getResourceId();
|
|
2979
|
+
bitField0_ = (bitField0_ & ~0x00002000);
|
|
2980
|
+
onChanged();
|
|
2981
|
+
return this;
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
* <code>optional string resource_id = 15;</code>
|
|
2985
|
+
* @param value The bytes for resourceId to set.
|
|
2986
|
+
* @return This builder for chaining.
|
|
2987
|
+
*/
|
|
2988
|
+
public Builder setResourceIdBytes(
|
|
2989
|
+
com.google.protobuf.ByteString value) {
|
|
2990
|
+
if (value == null) { throw new NullPointerException(); }
|
|
2991
|
+
checkByteStringIsUtf8(value);
|
|
2992
|
+
resourceId_ = value;
|
|
2993
|
+
bitField0_ |= 0x00002000;
|
|
2994
|
+
onChanged();
|
|
2995
|
+
return this;
|
|
2996
|
+
}
|
|
2840
2997
|
@java.lang.Override
|
|
2841
2998
|
public final Builder setUnknownFields(
|
|
2842
2999
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -240,4 +240,21 @@ public interface CloudEntityOrBuilder extends
|
|
|
240
240
|
*/
|
|
241
241
|
com.lansweeper.dp.outbound.v1.PublicCloudLinkOrBuilder getPublicCloudLinksOrBuilder(
|
|
242
242
|
int index);
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* <code>optional string resource_id = 15;</code>
|
|
246
|
+
* @return Whether the resourceId field is set.
|
|
247
|
+
*/
|
|
248
|
+
boolean hasResourceId();
|
|
249
|
+
/**
|
|
250
|
+
* <code>optional string resource_id = 15;</code>
|
|
251
|
+
* @return The resourceId.
|
|
252
|
+
*/
|
|
253
|
+
java.lang.String getResourceId();
|
|
254
|
+
/**
|
|
255
|
+
* <code>optional string resource_id = 15;</code>
|
|
256
|
+
* @return The bytes for resourceId.
|
|
257
|
+
*/
|
|
258
|
+
com.google.protobuf.ByteString
|
|
259
|
+
getResourceIdBytes();
|
|
243
260
|
}
|