@lansweeper/integrations-assets-grpc 0.1.4 → 0.1.6
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 +8 -0
- package/gen-proto/assets_pb.d.ts +18 -0
- package/gen-proto/assets_pb.js +146 -2
- package/gen-proto/image.json +1 -1
- package/generated-go/assets.pb.go +129 -96
- package/java.json +1 -1
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/assets.proto +3 -0
- package/src/main/proto/assets.proto +3 -0
- package/target/classes/assets.proto +3 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Assets.class +0 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfo.java +157 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.java +17 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +314 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +34 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +55 -52
- package/target/{integrations-assets-model-0.1.3-sources.jar → integrations-assets-model-0.1.5-sources.jar} +0 -0
- package/target/{integrations-assets-model-0.1.3.jar → integrations-assets-model-0.1.5.jar} +0 -0
- package/target/maven-archiver/pom.properties +2 -2
package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java
CHANGED
|
@@ -36,6 +36,8 @@ private static final long serialVersionUID = 0L;
|
|
|
36
36
|
lastFullBackup_ = "";
|
|
37
37
|
lastFullImage_ = "";
|
|
38
38
|
fields_ = java.util.Collections.emptyList();
|
|
39
|
+
stateName_ = "";
|
|
40
|
+
comment_ = "";
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
@java.lang.Override
|
|
@@ -985,6 +987,100 @@ private static final long serialVersionUID = 0L;
|
|
|
985
987
|
return fields_.get(index);
|
|
986
988
|
}
|
|
987
989
|
|
|
990
|
+
public static final int STATE_NAME_FIELD_NUMBER = 21;
|
|
991
|
+
@SuppressWarnings("serial")
|
|
992
|
+
private volatile java.lang.Object stateName_ = "";
|
|
993
|
+
/**
|
|
994
|
+
* <code>optional string state_name = 21;</code>
|
|
995
|
+
* @return Whether the stateName field is set.
|
|
996
|
+
*/
|
|
997
|
+
@java.lang.Override
|
|
998
|
+
public boolean hasStateName() {
|
|
999
|
+
return ((bitField0_ & 0x00040000) != 0);
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* <code>optional string state_name = 21;</code>
|
|
1003
|
+
* @return The stateName.
|
|
1004
|
+
*/
|
|
1005
|
+
@java.lang.Override
|
|
1006
|
+
public java.lang.String getStateName() {
|
|
1007
|
+
java.lang.Object ref = stateName_;
|
|
1008
|
+
if (ref instanceof java.lang.String) {
|
|
1009
|
+
return (java.lang.String) ref;
|
|
1010
|
+
} else {
|
|
1011
|
+
com.google.protobuf.ByteString bs =
|
|
1012
|
+
(com.google.protobuf.ByteString) ref;
|
|
1013
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1014
|
+
stateName_ = s;
|
|
1015
|
+
return s;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* <code>optional string state_name = 21;</code>
|
|
1020
|
+
* @return The bytes for stateName.
|
|
1021
|
+
*/
|
|
1022
|
+
@java.lang.Override
|
|
1023
|
+
public com.google.protobuf.ByteString
|
|
1024
|
+
getStateNameBytes() {
|
|
1025
|
+
java.lang.Object ref = stateName_;
|
|
1026
|
+
if (ref instanceof java.lang.String) {
|
|
1027
|
+
com.google.protobuf.ByteString b =
|
|
1028
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1029
|
+
(java.lang.String) ref);
|
|
1030
|
+
stateName_ = b;
|
|
1031
|
+
return b;
|
|
1032
|
+
} else {
|
|
1033
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
public static final int COMMENT_FIELD_NUMBER = 22;
|
|
1038
|
+
@SuppressWarnings("serial")
|
|
1039
|
+
private volatile java.lang.Object comment_ = "";
|
|
1040
|
+
/**
|
|
1041
|
+
* <code>optional string comment = 22;</code>
|
|
1042
|
+
* @return Whether the comment field is set.
|
|
1043
|
+
*/
|
|
1044
|
+
@java.lang.Override
|
|
1045
|
+
public boolean hasComment() {
|
|
1046
|
+
return ((bitField0_ & 0x00080000) != 0);
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* <code>optional string comment = 22;</code>
|
|
1050
|
+
* @return The comment.
|
|
1051
|
+
*/
|
|
1052
|
+
@java.lang.Override
|
|
1053
|
+
public java.lang.String getComment() {
|
|
1054
|
+
java.lang.Object ref = comment_;
|
|
1055
|
+
if (ref instanceof java.lang.String) {
|
|
1056
|
+
return (java.lang.String) ref;
|
|
1057
|
+
} else {
|
|
1058
|
+
com.google.protobuf.ByteString bs =
|
|
1059
|
+
(com.google.protobuf.ByteString) ref;
|
|
1060
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1061
|
+
comment_ = s;
|
|
1062
|
+
return s;
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* <code>optional string comment = 22;</code>
|
|
1067
|
+
* @return The bytes for comment.
|
|
1068
|
+
*/
|
|
1069
|
+
@java.lang.Override
|
|
1070
|
+
public com.google.protobuf.ByteString
|
|
1071
|
+
getCommentBytes() {
|
|
1072
|
+
java.lang.Object ref = comment_;
|
|
1073
|
+
if (ref instanceof java.lang.String) {
|
|
1074
|
+
com.google.protobuf.ByteString b =
|
|
1075
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1076
|
+
(java.lang.String) ref);
|
|
1077
|
+
comment_ = b;
|
|
1078
|
+
return b;
|
|
1079
|
+
} else {
|
|
1080
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
988
1084
|
private byte memoizedIsInitialized = -1;
|
|
989
1085
|
@java.lang.Override
|
|
990
1086
|
public final boolean isInitialized() {
|
|
@@ -1059,6 +1155,12 @@ private static final long serialVersionUID = 0L;
|
|
|
1059
1155
|
for (int i = 0; i < fields_.size(); i++) {
|
|
1060
1156
|
output.writeMessage(20, fields_.get(i));
|
|
1061
1157
|
}
|
|
1158
|
+
if (((bitField0_ & 0x00040000) != 0)) {
|
|
1159
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, stateName_);
|
|
1160
|
+
}
|
|
1161
|
+
if (((bitField0_ & 0x00080000) != 0)) {
|
|
1162
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, comment_);
|
|
1163
|
+
}
|
|
1062
1164
|
getUnknownFields().writeTo(output);
|
|
1063
1165
|
}
|
|
1064
1166
|
|
|
@@ -1129,6 +1231,12 @@ private static final long serialVersionUID = 0L;
|
|
|
1129
1231
|
size += com.google.protobuf.CodedOutputStream
|
|
1130
1232
|
.computeMessageSize(20, fields_.get(i));
|
|
1131
1233
|
}
|
|
1234
|
+
if (((bitField0_ & 0x00040000) != 0)) {
|
|
1235
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, stateName_);
|
|
1236
|
+
}
|
|
1237
|
+
if (((bitField0_ & 0x00080000) != 0)) {
|
|
1238
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, comment_);
|
|
1239
|
+
}
|
|
1132
1240
|
size += getUnknownFields().getSerializedSize();
|
|
1133
1241
|
memoizedSize = size;
|
|
1134
1242
|
return size;
|
|
@@ -1238,6 +1346,16 @@ private static final long serialVersionUID = 0L;
|
|
|
1238
1346
|
}
|
|
1239
1347
|
if (!getFieldsList()
|
|
1240
1348
|
.equals(other.getFieldsList())) return false;
|
|
1349
|
+
if (hasStateName() != other.hasStateName()) return false;
|
|
1350
|
+
if (hasStateName()) {
|
|
1351
|
+
if (!getStateName()
|
|
1352
|
+
.equals(other.getStateName())) return false;
|
|
1353
|
+
}
|
|
1354
|
+
if (hasComment() != other.hasComment()) return false;
|
|
1355
|
+
if (hasComment()) {
|
|
1356
|
+
if (!getComment()
|
|
1357
|
+
.equals(other.getComment())) return false;
|
|
1358
|
+
}
|
|
1241
1359
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
1242
1360
|
return true;
|
|
1243
1361
|
}
|
|
@@ -1327,6 +1445,14 @@ private static final long serialVersionUID = 0L;
|
|
|
1327
1445
|
hash = (37 * hash) + FIELDS_FIELD_NUMBER;
|
|
1328
1446
|
hash = (53 * hash) + getFieldsList().hashCode();
|
|
1329
1447
|
}
|
|
1448
|
+
if (hasStateName()) {
|
|
1449
|
+
hash = (37 * hash) + STATE_NAME_FIELD_NUMBER;
|
|
1450
|
+
hash = (53 * hash) + getStateName().hashCode();
|
|
1451
|
+
}
|
|
1452
|
+
if (hasComment()) {
|
|
1453
|
+
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
|
|
1454
|
+
hash = (53 * hash) + getComment().hashCode();
|
|
1455
|
+
}
|
|
1330
1456
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
1331
1457
|
memoizedHashCode = hash;
|
|
1332
1458
|
return hash;
|
|
@@ -1482,6 +1608,8 @@ private static final long serialVersionUID = 0L;
|
|
|
1482
1608
|
fieldsBuilder_.clear();
|
|
1483
1609
|
}
|
|
1484
1610
|
bitField0_ = (bitField0_ & ~0x00080000);
|
|
1611
|
+
stateName_ = "";
|
|
1612
|
+
comment_ = "";
|
|
1485
1613
|
return this;
|
|
1486
1614
|
}
|
|
1487
1615
|
|
|
@@ -1604,6 +1732,14 @@ private static final long serialVersionUID = 0L;
|
|
|
1604
1732
|
result.lastFullImage_ = lastFullImage_;
|
|
1605
1733
|
to_bitField0_ |= 0x00020000;
|
|
1606
1734
|
}
|
|
1735
|
+
if (((from_bitField0_ & 0x00100000) != 0)) {
|
|
1736
|
+
result.stateName_ = stateName_;
|
|
1737
|
+
to_bitField0_ |= 0x00040000;
|
|
1738
|
+
}
|
|
1739
|
+
if (((from_bitField0_ & 0x00200000) != 0)) {
|
|
1740
|
+
result.comment_ = comment_;
|
|
1741
|
+
to_bitField0_ |= 0x00080000;
|
|
1742
|
+
}
|
|
1607
1743
|
result.bitField0_ |= to_bitField0_;
|
|
1608
1744
|
}
|
|
1609
1745
|
|
|
@@ -1740,6 +1876,16 @@ private static final long serialVersionUID = 0L;
|
|
|
1740
1876
|
}
|
|
1741
1877
|
}
|
|
1742
1878
|
}
|
|
1879
|
+
if (other.hasStateName()) {
|
|
1880
|
+
stateName_ = other.stateName_;
|
|
1881
|
+
bitField0_ |= 0x00100000;
|
|
1882
|
+
onChanged();
|
|
1883
|
+
}
|
|
1884
|
+
if (other.hasComment()) {
|
|
1885
|
+
comment_ = other.comment_;
|
|
1886
|
+
bitField0_ |= 0x00200000;
|
|
1887
|
+
onChanged();
|
|
1888
|
+
}
|
|
1743
1889
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
1744
1890
|
onChanged();
|
|
1745
1891
|
return this;
|
|
@@ -1874,6 +2020,16 @@ private static final long serialVersionUID = 0L;
|
|
|
1874
2020
|
}
|
|
1875
2021
|
break;
|
|
1876
2022
|
} // case 162
|
|
2023
|
+
case 170: {
|
|
2024
|
+
stateName_ = input.readStringRequireUtf8();
|
|
2025
|
+
bitField0_ |= 0x00100000;
|
|
2026
|
+
break;
|
|
2027
|
+
} // case 170
|
|
2028
|
+
case 178: {
|
|
2029
|
+
comment_ = input.readStringRequireUtf8();
|
|
2030
|
+
bitField0_ |= 0x00200000;
|
|
2031
|
+
break;
|
|
2032
|
+
} // case 178
|
|
1877
2033
|
default: {
|
|
1878
2034
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
1879
2035
|
done = true; // was an endgroup tag
|
|
@@ -3624,6 +3780,164 @@ private static final long serialVersionUID = 0L;
|
|
|
3624
3780
|
}
|
|
3625
3781
|
return fieldsBuilder_;
|
|
3626
3782
|
}
|
|
3783
|
+
|
|
3784
|
+
private java.lang.Object stateName_ = "";
|
|
3785
|
+
/**
|
|
3786
|
+
* <code>optional string state_name = 21;</code>
|
|
3787
|
+
* @return Whether the stateName field is set.
|
|
3788
|
+
*/
|
|
3789
|
+
public boolean hasStateName() {
|
|
3790
|
+
return ((bitField0_ & 0x00100000) != 0);
|
|
3791
|
+
}
|
|
3792
|
+
/**
|
|
3793
|
+
* <code>optional string state_name = 21;</code>
|
|
3794
|
+
* @return The stateName.
|
|
3795
|
+
*/
|
|
3796
|
+
public java.lang.String getStateName() {
|
|
3797
|
+
java.lang.Object ref = stateName_;
|
|
3798
|
+
if (!(ref instanceof java.lang.String)) {
|
|
3799
|
+
com.google.protobuf.ByteString bs =
|
|
3800
|
+
(com.google.protobuf.ByteString) ref;
|
|
3801
|
+
java.lang.String s = bs.toStringUtf8();
|
|
3802
|
+
stateName_ = s;
|
|
3803
|
+
return s;
|
|
3804
|
+
} else {
|
|
3805
|
+
return (java.lang.String) ref;
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
/**
|
|
3809
|
+
* <code>optional string state_name = 21;</code>
|
|
3810
|
+
* @return The bytes for stateName.
|
|
3811
|
+
*/
|
|
3812
|
+
public com.google.protobuf.ByteString
|
|
3813
|
+
getStateNameBytes() {
|
|
3814
|
+
java.lang.Object ref = stateName_;
|
|
3815
|
+
if (ref instanceof String) {
|
|
3816
|
+
com.google.protobuf.ByteString b =
|
|
3817
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
3818
|
+
(java.lang.String) ref);
|
|
3819
|
+
stateName_ = b;
|
|
3820
|
+
return b;
|
|
3821
|
+
} else {
|
|
3822
|
+
return (com.google.protobuf.ByteString) ref;
|
|
3823
|
+
}
|
|
3824
|
+
}
|
|
3825
|
+
/**
|
|
3826
|
+
* <code>optional string state_name = 21;</code>
|
|
3827
|
+
* @param value The stateName to set.
|
|
3828
|
+
* @return This builder for chaining.
|
|
3829
|
+
*/
|
|
3830
|
+
public Builder setStateName(
|
|
3831
|
+
java.lang.String value) {
|
|
3832
|
+
if (value == null) { throw new NullPointerException(); }
|
|
3833
|
+
stateName_ = value;
|
|
3834
|
+
bitField0_ |= 0x00100000;
|
|
3835
|
+
onChanged();
|
|
3836
|
+
return this;
|
|
3837
|
+
}
|
|
3838
|
+
/**
|
|
3839
|
+
* <code>optional string state_name = 21;</code>
|
|
3840
|
+
* @return This builder for chaining.
|
|
3841
|
+
*/
|
|
3842
|
+
public Builder clearStateName() {
|
|
3843
|
+
stateName_ = getDefaultInstance().getStateName();
|
|
3844
|
+
bitField0_ = (bitField0_ & ~0x00100000);
|
|
3845
|
+
onChanged();
|
|
3846
|
+
return this;
|
|
3847
|
+
}
|
|
3848
|
+
/**
|
|
3849
|
+
* <code>optional string state_name = 21;</code>
|
|
3850
|
+
* @param value The bytes for stateName to set.
|
|
3851
|
+
* @return This builder for chaining.
|
|
3852
|
+
*/
|
|
3853
|
+
public Builder setStateNameBytes(
|
|
3854
|
+
com.google.protobuf.ByteString value) {
|
|
3855
|
+
if (value == null) { throw new NullPointerException(); }
|
|
3856
|
+
checkByteStringIsUtf8(value);
|
|
3857
|
+
stateName_ = value;
|
|
3858
|
+
bitField0_ |= 0x00100000;
|
|
3859
|
+
onChanged();
|
|
3860
|
+
return this;
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3863
|
+
private java.lang.Object comment_ = "";
|
|
3864
|
+
/**
|
|
3865
|
+
* <code>optional string comment = 22;</code>
|
|
3866
|
+
* @return Whether the comment field is set.
|
|
3867
|
+
*/
|
|
3868
|
+
public boolean hasComment() {
|
|
3869
|
+
return ((bitField0_ & 0x00200000) != 0);
|
|
3870
|
+
}
|
|
3871
|
+
/**
|
|
3872
|
+
* <code>optional string comment = 22;</code>
|
|
3873
|
+
* @return The comment.
|
|
3874
|
+
*/
|
|
3875
|
+
public java.lang.String getComment() {
|
|
3876
|
+
java.lang.Object ref = comment_;
|
|
3877
|
+
if (!(ref instanceof java.lang.String)) {
|
|
3878
|
+
com.google.protobuf.ByteString bs =
|
|
3879
|
+
(com.google.protobuf.ByteString) ref;
|
|
3880
|
+
java.lang.String s = bs.toStringUtf8();
|
|
3881
|
+
comment_ = s;
|
|
3882
|
+
return s;
|
|
3883
|
+
} else {
|
|
3884
|
+
return (java.lang.String) ref;
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
/**
|
|
3888
|
+
* <code>optional string comment = 22;</code>
|
|
3889
|
+
* @return The bytes for comment.
|
|
3890
|
+
*/
|
|
3891
|
+
public com.google.protobuf.ByteString
|
|
3892
|
+
getCommentBytes() {
|
|
3893
|
+
java.lang.Object ref = comment_;
|
|
3894
|
+
if (ref instanceof String) {
|
|
3895
|
+
com.google.protobuf.ByteString b =
|
|
3896
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
3897
|
+
(java.lang.String) ref);
|
|
3898
|
+
comment_ = b;
|
|
3899
|
+
return b;
|
|
3900
|
+
} else {
|
|
3901
|
+
return (com.google.protobuf.ByteString) ref;
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
/**
|
|
3905
|
+
* <code>optional string comment = 22;</code>
|
|
3906
|
+
* @param value The comment to set.
|
|
3907
|
+
* @return This builder for chaining.
|
|
3908
|
+
*/
|
|
3909
|
+
public Builder setComment(
|
|
3910
|
+
java.lang.String value) {
|
|
3911
|
+
if (value == null) { throw new NullPointerException(); }
|
|
3912
|
+
comment_ = value;
|
|
3913
|
+
bitField0_ |= 0x00200000;
|
|
3914
|
+
onChanged();
|
|
3915
|
+
return this;
|
|
3916
|
+
}
|
|
3917
|
+
/**
|
|
3918
|
+
* <code>optional string comment = 22;</code>
|
|
3919
|
+
* @return This builder for chaining.
|
|
3920
|
+
*/
|
|
3921
|
+
public Builder clearComment() {
|
|
3922
|
+
comment_ = getDefaultInstance().getComment();
|
|
3923
|
+
bitField0_ = (bitField0_ & ~0x00200000);
|
|
3924
|
+
onChanged();
|
|
3925
|
+
return this;
|
|
3926
|
+
}
|
|
3927
|
+
/**
|
|
3928
|
+
* <code>optional string comment = 22;</code>
|
|
3929
|
+
* @param value The bytes for comment to set.
|
|
3930
|
+
* @return This builder for chaining.
|
|
3931
|
+
*/
|
|
3932
|
+
public Builder setCommentBytes(
|
|
3933
|
+
com.google.protobuf.ByteString value) {
|
|
3934
|
+
if (value == null) { throw new NullPointerException(); }
|
|
3935
|
+
checkByteStringIsUtf8(value);
|
|
3936
|
+
comment_ = value;
|
|
3937
|
+
bitField0_ |= 0x00200000;
|
|
3938
|
+
onChanged();
|
|
3939
|
+
return this;
|
|
3940
|
+
}
|
|
3627
3941
|
@java.lang.Override
|
|
3628
3942
|
public final Builder setUnknownFields(
|
|
3629
3943
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -348,4 +348,38 @@ public interface AssetCustomOrBuilder extends
|
|
|
348
348
|
*/
|
|
349
349
|
lansweeper.integrations.assets.v1.CustomFieldOrBuilder getFieldsOrBuilder(
|
|
350
350
|
int index);
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* <code>optional string state_name = 21;</code>
|
|
354
|
+
* @return Whether the stateName field is set.
|
|
355
|
+
*/
|
|
356
|
+
boolean hasStateName();
|
|
357
|
+
/**
|
|
358
|
+
* <code>optional string state_name = 21;</code>
|
|
359
|
+
* @return The stateName.
|
|
360
|
+
*/
|
|
361
|
+
java.lang.String getStateName();
|
|
362
|
+
/**
|
|
363
|
+
* <code>optional string state_name = 21;</code>
|
|
364
|
+
* @return The bytes for stateName.
|
|
365
|
+
*/
|
|
366
|
+
com.google.protobuf.ByteString
|
|
367
|
+
getStateNameBytes();
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* <code>optional string comment = 22;</code>
|
|
371
|
+
* @return Whether the comment field is set.
|
|
372
|
+
*/
|
|
373
|
+
boolean hasComment();
|
|
374
|
+
/**
|
|
375
|
+
* <code>optional string comment = 22;</code>
|
|
376
|
+
* @return The comment.
|
|
377
|
+
*/
|
|
378
|
+
java.lang.String getComment();
|
|
379
|
+
/**
|
|
380
|
+
* <code>optional string comment = 22;</code>
|
|
381
|
+
* @return The bytes for comment.
|
|
382
|
+
*/
|
|
383
|
+
com.google.protobuf.ByteString
|
|
384
|
+
getCommentBytes();
|
|
351
385
|
}
|
package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java
CHANGED
|
@@ -72,60 +72,63 @@ public final class Assets {
|
|
|
72
72
|
"_federated\030\006 \001(\010H\003\210\001\001\022$\n\027federated_custo" +
|
|
73
73
|
"m_fields\030\007 \001(\010H\004\210\001\001B\025\n\023_cloud_asset_cust" +
|
|
74
74
|
"omB\n\n\010_ot_dataB\020\n\016_locked_fieldsB\017\n\r_is_" +
|
|
75
|
-
"federatedB\032\n\030_federated_custom_fields\"\
|
|
75
|
+
"federatedB\032\n\030_federated_custom_fields\"\376\001" +
|
|
76
76
|
"\n\016AssetBasicInfo\022\020\n\010type_key\030\001 \001(\t\022\014\n\004na" +
|
|
77
77
|
"me\030\002 \001(\t\022\023\n\006domain\030\003 \001(\tH\000\210\001\001\022\027\n\nip_addr" +
|
|
78
78
|
"ess\030\004 \001(\tH\001\210\001\001\022\020\n\003mac\030\005 \001(\tH\002\210\001\001\022\030\n\013desc" +
|
|
79
|
-
"ription\030\006 \001(\tH\003\210\001\001\022\021\n\004fqdn\030\007 \001(\tH\004\210\001\
|
|
80
|
-
"\
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"\013\n\
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"\tH\
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"\tH\
|
|
93
|
-
"
|
|
94
|
-
"\022\
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"\020\n\016_purchase_dateB\017\n\r_order_numberB\017\n\r_l" +
|
|
104
|
-
"ast_patchedB\023\n\021_last_full_backupB\022\n\020_las" +
|
|
105
|
-
"t_full_image\"\242\002\n\020CloudAssetCustom\022 \n\023pur" +
|
|
106
|
-
"chase_order_date\030\001 \001(\tH\000\210\001\001\022\030\n\013cost_cent" +
|
|
107
|
-
"er\030\002 \001(\tH\001\210\001\001\022\030\n\013vendor_name\030\003 \001(\tH\002\210\001\001\022" +
|
|
108
|
-
"\033\n\016invoice_number\030\004 \001(\tH\003\210\001\001\022\035\n\020acquisit" +
|
|
109
|
-
"ion_type\030\005 \001(\tH\004\210\001\001\022\022\n\005owner\030\006 \001(\tH\005\210\001\001B" +
|
|
110
|
-
"\026\n\024_purchase_order_dateB\016\n\014_cost_centerB" +
|
|
111
|
-
"\016\n\014_vendor_nameB\021\n\017_invoice_numberB\023\n\021_a" +
|
|
112
|
-
"cquisition_typeB\010\n\006_owner\"\342\004\n\014LockedFiel" +
|
|
113
|
-
"ds\022\021\n\004name\030\001 \001(\tH\000\210\001\001\022\025\n\010type_key\030\002 \001(\tH" +
|
|
114
|
-
"\001\210\001\001\022\020\n\003mac\030\003 \001(\tH\002\210\001\001\022\026\n\tstate_key\030\004 \001(" +
|
|
115
|
-
"\tH\003\210\001\001\022\030\n\013description\030\005 \001(\tH\004\210\001\001\022\031\n\014manu" +
|
|
116
|
-
"facturer\030\006 \001(\tH\005\210\001\001\022\022\n\005model\030\007 \001(\tH\006\210\001\001\022" +
|
|
117
|
-
"\032\n\rserial_number\030\010 \001(\tH\007\210\001\001\022\020\n\003sku\030\t \001(\t" +
|
|
118
|
-
"H\010\210\001\001\022\024\n\007contact\030\n \001(\tH\t\210\001\001\022\025\n\010location\030" +
|
|
119
|
-
"\013 \001(\tH\n\210\001\001\022\027\n\nip_address\030\014 \001(\tH\013\210\001\001\022\032\n\rp" +
|
|
120
|
-
"urchase_date\030\r \001(\tH\014\210\001\001\022\032\n\rwarranty_date" +
|
|
121
|
-
"\030\016 \001(\tH\r\210\001\001\022\030\n\013module_type\030\017 \001(\tH\016\210\001\001\022\025\n" +
|
|
122
|
-
"\010firmware\030\020 \001(\tH\017\210\001\001B\007\n\005_nameB\013\n\t_type_k" +
|
|
123
|
-
"eyB\006\n\004_macB\014\n\n_state_keyB\016\n\014_description" +
|
|
79
|
+
"ription\030\006 \001(\tH\003\210\001\001\022\021\n\004fqdn\030\007 \001(\tH\004\210\001\001\022\026\n" +
|
|
80
|
+
"\ttype_name\030\010 \001(\tH\005\210\001\001B\t\n\007_domainB\r\n\013_ip_" +
|
|
81
|
+
"addressB\006\n\004_macB\016\n\014_descriptionB\007\n\005_fqdn" +
|
|
82
|
+
"B\014\n\n_type_name\"V\n\006OtData\022\030\n\013module_type\030" +
|
|
83
|
+
"\001 \001(\tH\000\210\001\001\022\025\n\010firmware\030\002 \001(\tH\001\210\001\001B\016\n\014_mo" +
|
|
84
|
+
"dule_typeB\013\n\t_firmware\")\n\013CustomField\022\013\n" +
|
|
85
|
+
"\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\200\007\n\013AssetCusto" +
|
|
86
|
+
"m\022\021\n\tstate_key\030\001 \001(\t\022\025\n\010location\030\002 \001(\tH\000" +
|
|
87
|
+
"\210\001\001\022\025\n\010building\030\003 \001(\tH\001\210\001\001\022\027\n\ndepartment" +
|
|
88
|
+
"\030\004 \001(\tH\002\210\001\001\022\025\n\010industry\030\005 \001(\tH\003\210\001\001\022\024\n\007ba" +
|
|
89
|
+
"rcode\030\006 \001(\tH\004\210\001\001\022\032\n\rbranch_office\030\007 \001(\tH" +
|
|
90
|
+
"\005\210\001\001\022\024\n\007contact\030\010 \001(\tH\006\210\001\001\022\031\n\014manufactur" +
|
|
91
|
+
"er\030\t \001(\tH\007\210\001\001\022\022\n\005model\030\n \001(\tH\010\210\001\001\022\032\n\rser" +
|
|
92
|
+
"ial_number\030\013 \001(\tH\t\210\001\001\022\025\n\010dns_name\030\014 \001(\tH" +
|
|
93
|
+
"\n\210\001\001\022\020\n\003sku\030\r \001(\tH\013\210\001\001\022\032\n\rwarranty_date\030" +
|
|
94
|
+
"\016 \001(\tH\014\210\001\001\022\032\n\rpurchase_date\030\017 \001(\tH\r\210\001\001\022\031" +
|
|
95
|
+
"\n\014order_number\030\020 \001(\tH\016\210\001\001\022\031\n\014last_patche" +
|
|
96
|
+
"d\030\021 \001(\tH\017\210\001\001\022\035\n\020last_full_backup\030\022 \001(\tH\020" +
|
|
97
|
+
"\210\001\001\022\034\n\017last_full_image\030\023 \001(\tH\021\210\001\001\022>\n\006fie" +
|
|
98
|
+
"lds\030\024 \003(\0132..lansweeper.integrations.asse" +
|
|
99
|
+
"ts.v1.CustomField\022\027\n\nstate_name\030\025 \001(\tH\022\210" +
|
|
100
|
+
"\001\001\022\024\n\007comment\030\026 \001(\tH\023\210\001\001B\013\n\t_locationB\013\n" +
|
|
101
|
+
"\t_buildingB\r\n\013_departmentB\013\n\t_industryB\n" +
|
|
102
|
+
"\n\010_barcodeB\020\n\016_branch_officeB\n\n\010_contact" +
|
|
124
103
|
"B\017\n\r_manufacturerB\010\n\006_modelB\020\n\016_serial_n" +
|
|
125
|
-
"umberB\
|
|
126
|
-
"\
|
|
127
|
-
"
|
|
128
|
-
"
|
|
104
|
+
"umberB\013\n\t_dns_nameB\006\n\004_skuB\020\n\016_warranty_" +
|
|
105
|
+
"dateB\020\n\016_purchase_dateB\017\n\r_order_numberB" +
|
|
106
|
+
"\017\n\r_last_patchedB\023\n\021_last_full_backupB\022\n" +
|
|
107
|
+
"\020_last_full_imageB\r\n\013_state_nameB\n\n\010_com" +
|
|
108
|
+
"ment\"\242\002\n\020CloudAssetCustom\022 \n\023purchase_or" +
|
|
109
|
+
"der_date\030\001 \001(\tH\000\210\001\001\022\030\n\013cost_center\030\002 \001(\t" +
|
|
110
|
+
"H\001\210\001\001\022\030\n\013vendor_name\030\003 \001(\tH\002\210\001\001\022\033\n\016invoi" +
|
|
111
|
+
"ce_number\030\004 \001(\tH\003\210\001\001\022\035\n\020acquisition_type" +
|
|
112
|
+
"\030\005 \001(\tH\004\210\001\001\022\022\n\005owner\030\006 \001(\tH\005\210\001\001B\026\n\024_purc" +
|
|
113
|
+
"hase_order_dateB\016\n\014_cost_centerB\016\n\014_vend" +
|
|
114
|
+
"or_nameB\021\n\017_invoice_numberB\023\n\021_acquisiti" +
|
|
115
|
+
"on_typeB\010\n\006_owner\"\342\004\n\014LockedFields\022\021\n\004na" +
|
|
116
|
+
"me\030\001 \001(\tH\000\210\001\001\022\025\n\010type_key\030\002 \001(\tH\001\210\001\001\022\020\n\003" +
|
|
117
|
+
"mac\030\003 \001(\tH\002\210\001\001\022\026\n\tstate_key\030\004 \001(\tH\003\210\001\001\022\030" +
|
|
118
|
+
"\n\013description\030\005 \001(\tH\004\210\001\001\022\031\n\014manufacturer" +
|
|
119
|
+
"\030\006 \001(\tH\005\210\001\001\022\022\n\005model\030\007 \001(\tH\006\210\001\001\022\032\n\rseria" +
|
|
120
|
+
"l_number\030\010 \001(\tH\007\210\001\001\022\020\n\003sku\030\t \001(\tH\010\210\001\001\022\024\n" +
|
|
121
|
+
"\007contact\030\n \001(\tH\t\210\001\001\022\025\n\010location\030\013 \001(\tH\n\210" +
|
|
122
|
+
"\001\001\022\027\n\nip_address\030\014 \001(\tH\013\210\001\001\022\032\n\rpurchase_" +
|
|
123
|
+
"date\030\r \001(\tH\014\210\001\001\022\032\n\rwarranty_date\030\016 \001(\tH\r" +
|
|
124
|
+
"\210\001\001\022\030\n\013module_type\030\017 \001(\tH\016\210\001\001\022\025\n\010firmwar" +
|
|
125
|
+
"e\030\020 \001(\tH\017\210\001\001B\007\n\005_nameB\013\n\t_type_keyB\006\n\004_m" +
|
|
126
|
+
"acB\014\n\n_state_keyB\016\n\014_descriptionB\017\n\r_man" +
|
|
127
|
+
"ufacturerB\010\n\006_modelB\020\n\016_serial_numberB\006\n" +
|
|
128
|
+
"\004_skuB\n\n\010_contactB\013\n\t_locationB\r\n\013_ip_ad" +
|
|
129
|
+
"dressB\020\n\016_purchase_dateB\020\n\016_warranty_dat" +
|
|
130
|
+
"eB\016\n\014_module_typeB\013\n\t_firmwareB\022P\001Z\016./ge" +
|
|
131
|
+
"nerated-gob\006proto3"
|
|
129
132
|
};
|
|
130
133
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
131
134
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
@@ -142,7 +145,7 @@ public final class Assets {
|
|
|
142
145
|
internal_static_lansweeper_integrations_assets_v1_AssetBasicInfo_fieldAccessorTable = new
|
|
143
146
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
144
147
|
internal_static_lansweeper_integrations_assets_v1_AssetBasicInfo_descriptor,
|
|
145
|
-
new java.lang.String[] { "TypeKey", "Name", "Domain", "IpAddress", "Mac", "Description", "Fqdn", "Domain", "IpAddress", "Mac", "Description", "Fqdn", });
|
|
148
|
+
new java.lang.String[] { "TypeKey", "Name", "Domain", "IpAddress", "Mac", "Description", "Fqdn", "TypeName", "Domain", "IpAddress", "Mac", "Description", "Fqdn", "TypeName", });
|
|
146
149
|
internal_static_lansweeper_integrations_assets_v1_OtData_descriptor =
|
|
147
150
|
getDescriptor().getMessageTypes().get(2);
|
|
148
151
|
internal_static_lansweeper_integrations_assets_v1_OtData_fieldAccessorTable = new
|
|
@@ -160,7 +163,7 @@ public final class Assets {
|
|
|
160
163
|
internal_static_lansweeper_integrations_assets_v1_AssetCustom_fieldAccessorTable = new
|
|
161
164
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
162
165
|
internal_static_lansweeper_integrations_assets_v1_AssetCustom_descriptor,
|
|
163
|
-
new java.lang.String[] { "StateKey", "Location", "Building", "Department", "Industry", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", "Fields", "Location", "Building", "Department", "Industry", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", });
|
|
166
|
+
new java.lang.String[] { "StateKey", "Location", "Building", "Department", "Industry", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", "Fields", "StateName", "Comment", "Location", "Building", "Department", "Industry", "Barcode", "BranchOffice", "Contact", "Manufacturer", "Model", "SerialNumber", "DnsName", "Sku", "WarrantyDate", "PurchaseDate", "OrderNumber", "LastPatched", "LastFullBackup", "LastFullImage", "StateName", "Comment", });
|
|
164
167
|
internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_descriptor =
|
|
165
168
|
getDescriptor().getMessageTypes().get(5);
|
|
166
169
|
internal_static_lansweeper_integrations_assets_v1_CloudAssetCustom_fieldAccessorTable = new
|
|
Binary file
|
|
Binary file
|