@lansweeper/data-platform-outbound-grpc 0.1.2 → 0.1.4
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 +21 -0
- package/gen-proto/outbound_pb.js +189 -12
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +9 -2
- package/src/main/java/com/lansweeper/dp/outbound/v1/Asset.java +2132 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +144 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetType.java +801 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/AssetTypeOrBuilder.java +58 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrand.java +4433 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogBrandOrBuilder.java +446 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModel.java +4089 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogModelOrBuilder.java +422 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitor.java +484 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogMonitorOrBuilder.java +15 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOs.java +3858 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogOsOrBuilder.java +384 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftware.java +3315 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CatalogSoftwareOrBuilder.java +332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFields.java +1731 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +138 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Entity.java +762 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityOrBuilder.java +41 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPath.java +1283 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/EntityPathOrBuilder.java +113 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java +1193 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java +71 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfo.java +2702 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/HardwareInfoOrBuilder.java +237 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequest.java +655 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityRequestOrBuilder.java +36 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponse.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/ListEntityResponseOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfo.java +2332 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/OperatingSystemInfoOrBuilder.java +191 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +286 -42943
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfo.java +1073 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawHardwareInfoOrBuilder.java +77 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftware.java +1894 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/RawSoftwareOrBuilder.java +187 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/Software.java +2797 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventory.java +958 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareInventoryOrBuilder.java +48 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +258 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfo.java +1846 -0
- package/src/main/java/com/lansweeper/dp/outbound/v1/WindowsRawOperatingSystemInfoOrBuilder.java +205 -0
|
@@ -0,0 +1,801 @@
|
|
|
1
|
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
// source: packages/data.platform/outbound/grpc/proto/outbound.proto
|
|
3
|
+
|
|
4
|
+
package com.lansweeper.dp.outbound.v1;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* <pre>
|
|
8
|
+
**
|
|
9
|
+
* Asset Type enables customers to manage the settings for a
|
|
10
|
+
* category of information in a centralized, reusable way.
|
|
11
|
+
* </pre>
|
|
12
|
+
*
|
|
13
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.AssetType}
|
|
14
|
+
*/
|
|
15
|
+
public final class AssetType extends
|
|
16
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
17
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.AssetType)
|
|
18
|
+
AssetTypeOrBuilder {
|
|
19
|
+
private static final long serialVersionUID = 0L;
|
|
20
|
+
// Use AssetType.newBuilder() to construct.
|
|
21
|
+
private AssetType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
22
|
+
super(builder);
|
|
23
|
+
}
|
|
24
|
+
private AssetType() {
|
|
25
|
+
lsName_ = "";
|
|
26
|
+
fingType_ = "";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@java.lang.Override
|
|
30
|
+
@SuppressWarnings({"unused"})
|
|
31
|
+
protected java.lang.Object newInstance(
|
|
32
|
+
UnusedPrivateParameter unused) {
|
|
33
|
+
return new AssetType();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@java.lang.Override
|
|
37
|
+
public final com.google.protobuf.UnknownFieldSet
|
|
38
|
+
getUnknownFields() {
|
|
39
|
+
return this.unknownFields;
|
|
40
|
+
}
|
|
41
|
+
private AssetType(
|
|
42
|
+
com.google.protobuf.CodedInputStream input,
|
|
43
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
44
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
45
|
+
this();
|
|
46
|
+
if (extensionRegistry == null) {
|
|
47
|
+
throw new java.lang.NullPointerException();
|
|
48
|
+
}
|
|
49
|
+
int mutable_bitField0_ = 0;
|
|
50
|
+
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
51
|
+
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
52
|
+
try {
|
|
53
|
+
boolean done = false;
|
|
54
|
+
while (!done) {
|
|
55
|
+
int tag = input.readTag();
|
|
56
|
+
switch (tag) {
|
|
57
|
+
case 0:
|
|
58
|
+
done = true;
|
|
59
|
+
break;
|
|
60
|
+
case 10: {
|
|
61
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
62
|
+
|
|
63
|
+
lsName_ = s;
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
case 18: {
|
|
67
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
68
|
+
bitField0_ |= 0x00000001;
|
|
69
|
+
fingType_ = s;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
default: {
|
|
73
|
+
if (!parseUnknownField(
|
|
74
|
+
input, unknownFields, extensionRegistry, tag)) {
|
|
75
|
+
done = true;
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
82
|
+
throw e.setUnfinishedMessage(this);
|
|
83
|
+
} catch (java.io.IOException e) {
|
|
84
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
85
|
+
e).setUnfinishedMessage(this);
|
|
86
|
+
} finally {
|
|
87
|
+
this.unknownFields = unknownFields.build();
|
|
88
|
+
makeExtensionsImmutable();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
92
|
+
getDescriptor() {
|
|
93
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_AssetType_descriptor;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@java.lang.Override
|
|
97
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
98
|
+
internalGetFieldAccessorTable() {
|
|
99
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_AssetType_fieldAccessorTable
|
|
100
|
+
.ensureFieldAccessorsInitialized(
|
|
101
|
+
com.lansweeper.dp.outbound.v1.AssetType.class, com.lansweeper.dp.outbound.v1.AssetType.Builder.class);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
private int bitField0_;
|
|
105
|
+
public static final int LS_NAME_FIELD_NUMBER = 1;
|
|
106
|
+
private volatile java.lang.Object lsName_;
|
|
107
|
+
/**
|
|
108
|
+
* <pre>
|
|
109
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
110
|
+
* </pre>
|
|
111
|
+
*
|
|
112
|
+
* <code>string ls_name = 1;</code>
|
|
113
|
+
* @return The lsName.
|
|
114
|
+
*/
|
|
115
|
+
@java.lang.Override
|
|
116
|
+
public java.lang.String getLsName() {
|
|
117
|
+
java.lang.Object ref = lsName_;
|
|
118
|
+
if (ref instanceof java.lang.String) {
|
|
119
|
+
return (java.lang.String) ref;
|
|
120
|
+
} else {
|
|
121
|
+
com.google.protobuf.ByteString bs =
|
|
122
|
+
(com.google.protobuf.ByteString) ref;
|
|
123
|
+
java.lang.String s = bs.toStringUtf8();
|
|
124
|
+
lsName_ = s;
|
|
125
|
+
return s;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* <pre>
|
|
130
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
131
|
+
* </pre>
|
|
132
|
+
*
|
|
133
|
+
* <code>string ls_name = 1;</code>
|
|
134
|
+
* @return The bytes for lsName.
|
|
135
|
+
*/
|
|
136
|
+
@java.lang.Override
|
|
137
|
+
public com.google.protobuf.ByteString
|
|
138
|
+
getLsNameBytes() {
|
|
139
|
+
java.lang.Object ref = lsName_;
|
|
140
|
+
if (ref instanceof java.lang.String) {
|
|
141
|
+
com.google.protobuf.ByteString b =
|
|
142
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
143
|
+
(java.lang.String) ref);
|
|
144
|
+
lsName_ = b;
|
|
145
|
+
return b;
|
|
146
|
+
} else {
|
|
147
|
+
return (com.google.protobuf.ByteString) ref;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
public static final int FING_TYPE_FIELD_NUMBER = 2;
|
|
152
|
+
private volatile java.lang.Object fingType_;
|
|
153
|
+
/**
|
|
154
|
+
* <pre>
|
|
155
|
+
* Fing Type
|
|
156
|
+
* </pre>
|
|
157
|
+
*
|
|
158
|
+
* <code>string fing_type = 2;</code>
|
|
159
|
+
* @return Whether the fingType field is set.
|
|
160
|
+
*/
|
|
161
|
+
@java.lang.Override
|
|
162
|
+
public boolean hasFingType() {
|
|
163
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* <pre>
|
|
167
|
+
* Fing Type
|
|
168
|
+
* </pre>
|
|
169
|
+
*
|
|
170
|
+
* <code>string fing_type = 2;</code>
|
|
171
|
+
* @return The fingType.
|
|
172
|
+
*/
|
|
173
|
+
@java.lang.Override
|
|
174
|
+
public java.lang.String getFingType() {
|
|
175
|
+
java.lang.Object ref = fingType_;
|
|
176
|
+
if (ref instanceof java.lang.String) {
|
|
177
|
+
return (java.lang.String) ref;
|
|
178
|
+
} else {
|
|
179
|
+
com.google.protobuf.ByteString bs =
|
|
180
|
+
(com.google.protobuf.ByteString) ref;
|
|
181
|
+
java.lang.String s = bs.toStringUtf8();
|
|
182
|
+
fingType_ = s;
|
|
183
|
+
return s;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* <pre>
|
|
188
|
+
* Fing Type
|
|
189
|
+
* </pre>
|
|
190
|
+
*
|
|
191
|
+
* <code>string fing_type = 2;</code>
|
|
192
|
+
* @return The bytes for fingType.
|
|
193
|
+
*/
|
|
194
|
+
@java.lang.Override
|
|
195
|
+
public com.google.protobuf.ByteString
|
|
196
|
+
getFingTypeBytes() {
|
|
197
|
+
java.lang.Object ref = fingType_;
|
|
198
|
+
if (ref instanceof java.lang.String) {
|
|
199
|
+
com.google.protobuf.ByteString b =
|
|
200
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
201
|
+
(java.lang.String) ref);
|
|
202
|
+
fingType_ = b;
|
|
203
|
+
return b;
|
|
204
|
+
} else {
|
|
205
|
+
return (com.google.protobuf.ByteString) ref;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
private byte memoizedIsInitialized = -1;
|
|
210
|
+
@java.lang.Override
|
|
211
|
+
public final boolean isInitialized() {
|
|
212
|
+
byte isInitialized = memoizedIsInitialized;
|
|
213
|
+
if (isInitialized == 1) return true;
|
|
214
|
+
if (isInitialized == 0) return false;
|
|
215
|
+
|
|
216
|
+
memoizedIsInitialized = 1;
|
|
217
|
+
return true;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@java.lang.Override
|
|
221
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
222
|
+
throws java.io.IOException {
|
|
223
|
+
if (!getLsNameBytes().isEmpty()) {
|
|
224
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lsName_);
|
|
225
|
+
}
|
|
226
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
227
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fingType_);
|
|
228
|
+
}
|
|
229
|
+
unknownFields.writeTo(output);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@java.lang.Override
|
|
233
|
+
public int getSerializedSize() {
|
|
234
|
+
int size = memoizedSize;
|
|
235
|
+
if (size != -1) return size;
|
|
236
|
+
|
|
237
|
+
size = 0;
|
|
238
|
+
if (!getLsNameBytes().isEmpty()) {
|
|
239
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lsName_);
|
|
240
|
+
}
|
|
241
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
242
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fingType_);
|
|
243
|
+
}
|
|
244
|
+
size += unknownFields.getSerializedSize();
|
|
245
|
+
memoizedSize = size;
|
|
246
|
+
return size;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@java.lang.Override
|
|
250
|
+
public boolean equals(final java.lang.Object obj) {
|
|
251
|
+
if (obj == this) {
|
|
252
|
+
return true;
|
|
253
|
+
}
|
|
254
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.AssetType)) {
|
|
255
|
+
return super.equals(obj);
|
|
256
|
+
}
|
|
257
|
+
com.lansweeper.dp.outbound.v1.AssetType other = (com.lansweeper.dp.outbound.v1.AssetType) obj;
|
|
258
|
+
|
|
259
|
+
if (!getLsName()
|
|
260
|
+
.equals(other.getLsName())) return false;
|
|
261
|
+
if (hasFingType() != other.hasFingType()) return false;
|
|
262
|
+
if (hasFingType()) {
|
|
263
|
+
if (!getFingType()
|
|
264
|
+
.equals(other.getFingType())) return false;
|
|
265
|
+
}
|
|
266
|
+
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
267
|
+
return true;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@java.lang.Override
|
|
271
|
+
public int hashCode() {
|
|
272
|
+
if (memoizedHashCode != 0) {
|
|
273
|
+
return memoizedHashCode;
|
|
274
|
+
}
|
|
275
|
+
int hash = 41;
|
|
276
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
277
|
+
hash = (37 * hash) + LS_NAME_FIELD_NUMBER;
|
|
278
|
+
hash = (53 * hash) + getLsName().hashCode();
|
|
279
|
+
if (hasFingType()) {
|
|
280
|
+
hash = (37 * hash) + FING_TYPE_FIELD_NUMBER;
|
|
281
|
+
hash = (53 * hash) + getFingType().hashCode();
|
|
282
|
+
}
|
|
283
|
+
hash = (29 * hash) + unknownFields.hashCode();
|
|
284
|
+
memoizedHashCode = hash;
|
|
285
|
+
return hash;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
289
|
+
java.nio.ByteBuffer data)
|
|
290
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
291
|
+
return PARSER.parseFrom(data);
|
|
292
|
+
}
|
|
293
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
294
|
+
java.nio.ByteBuffer data,
|
|
295
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
296
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
297
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
298
|
+
}
|
|
299
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
300
|
+
com.google.protobuf.ByteString data)
|
|
301
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
302
|
+
return PARSER.parseFrom(data);
|
|
303
|
+
}
|
|
304
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
305
|
+
com.google.protobuf.ByteString data,
|
|
306
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
307
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
308
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
309
|
+
}
|
|
310
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(byte[] data)
|
|
311
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
312
|
+
return PARSER.parseFrom(data);
|
|
313
|
+
}
|
|
314
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
315
|
+
byte[] data,
|
|
316
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
317
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
318
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
319
|
+
}
|
|
320
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(java.io.InputStream input)
|
|
321
|
+
throws java.io.IOException {
|
|
322
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
323
|
+
.parseWithIOException(PARSER, input);
|
|
324
|
+
}
|
|
325
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
326
|
+
java.io.InputStream input,
|
|
327
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
328
|
+
throws java.io.IOException {
|
|
329
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
330
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
331
|
+
}
|
|
332
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseDelimitedFrom(java.io.InputStream input)
|
|
333
|
+
throws java.io.IOException {
|
|
334
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
335
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
336
|
+
}
|
|
337
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseDelimitedFrom(
|
|
338
|
+
java.io.InputStream input,
|
|
339
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
340
|
+
throws java.io.IOException {
|
|
341
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
342
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
343
|
+
}
|
|
344
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
345
|
+
com.google.protobuf.CodedInputStream input)
|
|
346
|
+
throws java.io.IOException {
|
|
347
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
348
|
+
.parseWithIOException(PARSER, input);
|
|
349
|
+
}
|
|
350
|
+
public static com.lansweeper.dp.outbound.v1.AssetType parseFrom(
|
|
351
|
+
com.google.protobuf.CodedInputStream input,
|
|
352
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
353
|
+
throws java.io.IOException {
|
|
354
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
355
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@java.lang.Override
|
|
359
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
360
|
+
public static Builder newBuilder() {
|
|
361
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
362
|
+
}
|
|
363
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.AssetType prototype) {
|
|
364
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
365
|
+
}
|
|
366
|
+
@java.lang.Override
|
|
367
|
+
public Builder toBuilder() {
|
|
368
|
+
return this == DEFAULT_INSTANCE
|
|
369
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@java.lang.Override
|
|
373
|
+
protected Builder newBuilderForType(
|
|
374
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
375
|
+
Builder builder = new Builder(parent);
|
|
376
|
+
return builder;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* <pre>
|
|
380
|
+
**
|
|
381
|
+
* Asset Type enables customers to manage the settings for a
|
|
382
|
+
* category of information in a centralized, reusable way.
|
|
383
|
+
* </pre>
|
|
384
|
+
*
|
|
385
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.AssetType}
|
|
386
|
+
*/
|
|
387
|
+
public static final class Builder extends
|
|
388
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
389
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.AssetType)
|
|
390
|
+
com.lansweeper.dp.outbound.v1.AssetTypeOrBuilder {
|
|
391
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
392
|
+
getDescriptor() {
|
|
393
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_AssetType_descriptor;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
@java.lang.Override
|
|
397
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
398
|
+
internalGetFieldAccessorTable() {
|
|
399
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_AssetType_fieldAccessorTable
|
|
400
|
+
.ensureFieldAccessorsInitialized(
|
|
401
|
+
com.lansweeper.dp.outbound.v1.AssetType.class, com.lansweeper.dp.outbound.v1.AssetType.Builder.class);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Construct using com.lansweeper.dp.outbound.v1.AssetType.newBuilder()
|
|
405
|
+
private Builder() {
|
|
406
|
+
maybeForceBuilderInitialization();
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
private Builder(
|
|
410
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
411
|
+
super(parent);
|
|
412
|
+
maybeForceBuilderInitialization();
|
|
413
|
+
}
|
|
414
|
+
private void maybeForceBuilderInitialization() {
|
|
415
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
416
|
+
.alwaysUseFieldBuilders) {
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
@java.lang.Override
|
|
420
|
+
public Builder clear() {
|
|
421
|
+
super.clear();
|
|
422
|
+
lsName_ = "";
|
|
423
|
+
|
|
424
|
+
fingType_ = "";
|
|
425
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
426
|
+
return this;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
@java.lang.Override
|
|
430
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
431
|
+
getDescriptorForType() {
|
|
432
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_AssetType_descriptor;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
@java.lang.Override
|
|
436
|
+
public com.lansweeper.dp.outbound.v1.AssetType getDefaultInstanceForType() {
|
|
437
|
+
return com.lansweeper.dp.outbound.v1.AssetType.getDefaultInstance();
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@java.lang.Override
|
|
441
|
+
public com.lansweeper.dp.outbound.v1.AssetType build() {
|
|
442
|
+
com.lansweeper.dp.outbound.v1.AssetType result = buildPartial();
|
|
443
|
+
if (!result.isInitialized()) {
|
|
444
|
+
throw newUninitializedMessageException(result);
|
|
445
|
+
}
|
|
446
|
+
return result;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
@java.lang.Override
|
|
450
|
+
public com.lansweeper.dp.outbound.v1.AssetType buildPartial() {
|
|
451
|
+
com.lansweeper.dp.outbound.v1.AssetType result = new com.lansweeper.dp.outbound.v1.AssetType(this);
|
|
452
|
+
int from_bitField0_ = bitField0_;
|
|
453
|
+
int to_bitField0_ = 0;
|
|
454
|
+
result.lsName_ = lsName_;
|
|
455
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
456
|
+
to_bitField0_ |= 0x00000001;
|
|
457
|
+
}
|
|
458
|
+
result.fingType_ = fingType_;
|
|
459
|
+
result.bitField0_ = to_bitField0_;
|
|
460
|
+
onBuilt();
|
|
461
|
+
return result;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
@java.lang.Override
|
|
465
|
+
public Builder clone() {
|
|
466
|
+
return super.clone();
|
|
467
|
+
}
|
|
468
|
+
@java.lang.Override
|
|
469
|
+
public Builder setField(
|
|
470
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
471
|
+
java.lang.Object value) {
|
|
472
|
+
return super.setField(field, value);
|
|
473
|
+
}
|
|
474
|
+
@java.lang.Override
|
|
475
|
+
public Builder clearField(
|
|
476
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
477
|
+
return super.clearField(field);
|
|
478
|
+
}
|
|
479
|
+
@java.lang.Override
|
|
480
|
+
public Builder clearOneof(
|
|
481
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
482
|
+
return super.clearOneof(oneof);
|
|
483
|
+
}
|
|
484
|
+
@java.lang.Override
|
|
485
|
+
public Builder setRepeatedField(
|
|
486
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
487
|
+
int index, java.lang.Object value) {
|
|
488
|
+
return super.setRepeatedField(field, index, value);
|
|
489
|
+
}
|
|
490
|
+
@java.lang.Override
|
|
491
|
+
public Builder addRepeatedField(
|
|
492
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
493
|
+
java.lang.Object value) {
|
|
494
|
+
return super.addRepeatedField(field, value);
|
|
495
|
+
}
|
|
496
|
+
@java.lang.Override
|
|
497
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
498
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.AssetType) {
|
|
499
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.AssetType)other);
|
|
500
|
+
} else {
|
|
501
|
+
super.mergeFrom(other);
|
|
502
|
+
return this;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.AssetType other) {
|
|
507
|
+
if (other == com.lansweeper.dp.outbound.v1.AssetType.getDefaultInstance()) return this;
|
|
508
|
+
if (!other.getLsName().isEmpty()) {
|
|
509
|
+
lsName_ = other.lsName_;
|
|
510
|
+
onChanged();
|
|
511
|
+
}
|
|
512
|
+
if (other.hasFingType()) {
|
|
513
|
+
bitField0_ |= 0x00000001;
|
|
514
|
+
fingType_ = other.fingType_;
|
|
515
|
+
onChanged();
|
|
516
|
+
}
|
|
517
|
+
this.mergeUnknownFields(other.unknownFields);
|
|
518
|
+
onChanged();
|
|
519
|
+
return this;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@java.lang.Override
|
|
523
|
+
public final boolean isInitialized() {
|
|
524
|
+
return true;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
@java.lang.Override
|
|
528
|
+
public Builder mergeFrom(
|
|
529
|
+
com.google.protobuf.CodedInputStream input,
|
|
530
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
531
|
+
throws java.io.IOException {
|
|
532
|
+
com.lansweeper.dp.outbound.v1.AssetType parsedMessage = null;
|
|
533
|
+
try {
|
|
534
|
+
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
535
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
536
|
+
parsedMessage = (com.lansweeper.dp.outbound.v1.AssetType) e.getUnfinishedMessage();
|
|
537
|
+
throw e.unwrapIOException();
|
|
538
|
+
} finally {
|
|
539
|
+
if (parsedMessage != null) {
|
|
540
|
+
mergeFrom(parsedMessage);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
return this;
|
|
544
|
+
}
|
|
545
|
+
private int bitField0_;
|
|
546
|
+
|
|
547
|
+
private java.lang.Object lsName_ = "";
|
|
548
|
+
/**
|
|
549
|
+
* <pre>
|
|
550
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
551
|
+
* </pre>
|
|
552
|
+
*
|
|
553
|
+
* <code>string ls_name = 1;</code>
|
|
554
|
+
* @return The lsName.
|
|
555
|
+
*/
|
|
556
|
+
public java.lang.String getLsName() {
|
|
557
|
+
java.lang.Object ref = lsName_;
|
|
558
|
+
if (!(ref instanceof java.lang.String)) {
|
|
559
|
+
com.google.protobuf.ByteString bs =
|
|
560
|
+
(com.google.protobuf.ByteString) ref;
|
|
561
|
+
java.lang.String s = bs.toStringUtf8();
|
|
562
|
+
lsName_ = s;
|
|
563
|
+
return s;
|
|
564
|
+
} else {
|
|
565
|
+
return (java.lang.String) ref;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* <pre>
|
|
570
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
571
|
+
* </pre>
|
|
572
|
+
*
|
|
573
|
+
* <code>string ls_name = 1;</code>
|
|
574
|
+
* @return The bytes for lsName.
|
|
575
|
+
*/
|
|
576
|
+
public com.google.protobuf.ByteString
|
|
577
|
+
getLsNameBytes() {
|
|
578
|
+
java.lang.Object ref = lsName_;
|
|
579
|
+
if (ref instanceof String) {
|
|
580
|
+
com.google.protobuf.ByteString b =
|
|
581
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
582
|
+
(java.lang.String) ref);
|
|
583
|
+
lsName_ = b;
|
|
584
|
+
return b;
|
|
585
|
+
} else {
|
|
586
|
+
return (com.google.protobuf.ByteString) ref;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* <pre>
|
|
591
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
592
|
+
* </pre>
|
|
593
|
+
*
|
|
594
|
+
* <code>string ls_name = 1;</code>
|
|
595
|
+
* @param value The lsName to set.
|
|
596
|
+
* @return This builder for chaining.
|
|
597
|
+
*/
|
|
598
|
+
public Builder setLsName(
|
|
599
|
+
java.lang.String value) {
|
|
600
|
+
if (value == null) {
|
|
601
|
+
throw new NullPointerException();
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
lsName_ = value;
|
|
605
|
+
onChanged();
|
|
606
|
+
return this;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* <pre>
|
|
610
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
611
|
+
* </pre>
|
|
612
|
+
*
|
|
613
|
+
* <code>string ls_name = 1;</code>
|
|
614
|
+
* @return This builder for chaining.
|
|
615
|
+
*/
|
|
616
|
+
public Builder clearLsName() {
|
|
617
|
+
|
|
618
|
+
lsName_ = getDefaultInstance().getLsName();
|
|
619
|
+
onChanged();
|
|
620
|
+
return this;
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* <pre>
|
|
624
|
+
* Lansweeper Asset Type. Full list available here: /lansweeperapis/packages/model/masterData/content/masterData.json
|
|
625
|
+
* </pre>
|
|
626
|
+
*
|
|
627
|
+
* <code>string ls_name = 1;</code>
|
|
628
|
+
* @param value The bytes for lsName to set.
|
|
629
|
+
* @return This builder for chaining.
|
|
630
|
+
*/
|
|
631
|
+
public Builder setLsNameBytes(
|
|
632
|
+
com.google.protobuf.ByteString value) {
|
|
633
|
+
if (value == null) {
|
|
634
|
+
throw new NullPointerException();
|
|
635
|
+
}
|
|
636
|
+
checkByteStringIsUtf8(value);
|
|
637
|
+
|
|
638
|
+
lsName_ = value;
|
|
639
|
+
onChanged();
|
|
640
|
+
return this;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
private java.lang.Object fingType_ = "";
|
|
644
|
+
/**
|
|
645
|
+
* <pre>
|
|
646
|
+
* Fing Type
|
|
647
|
+
* </pre>
|
|
648
|
+
*
|
|
649
|
+
* <code>string fing_type = 2;</code>
|
|
650
|
+
* @return Whether the fingType field is set.
|
|
651
|
+
*/
|
|
652
|
+
public boolean hasFingType() {
|
|
653
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* <pre>
|
|
657
|
+
* Fing Type
|
|
658
|
+
* </pre>
|
|
659
|
+
*
|
|
660
|
+
* <code>string fing_type = 2;</code>
|
|
661
|
+
* @return The fingType.
|
|
662
|
+
*/
|
|
663
|
+
public java.lang.String getFingType() {
|
|
664
|
+
java.lang.Object ref = fingType_;
|
|
665
|
+
if (!(ref instanceof java.lang.String)) {
|
|
666
|
+
com.google.protobuf.ByteString bs =
|
|
667
|
+
(com.google.protobuf.ByteString) ref;
|
|
668
|
+
java.lang.String s = bs.toStringUtf8();
|
|
669
|
+
fingType_ = s;
|
|
670
|
+
return s;
|
|
671
|
+
} else {
|
|
672
|
+
return (java.lang.String) ref;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* <pre>
|
|
677
|
+
* Fing Type
|
|
678
|
+
* </pre>
|
|
679
|
+
*
|
|
680
|
+
* <code>string fing_type = 2;</code>
|
|
681
|
+
* @return The bytes for fingType.
|
|
682
|
+
*/
|
|
683
|
+
public com.google.protobuf.ByteString
|
|
684
|
+
getFingTypeBytes() {
|
|
685
|
+
java.lang.Object ref = fingType_;
|
|
686
|
+
if (ref instanceof String) {
|
|
687
|
+
com.google.protobuf.ByteString b =
|
|
688
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
689
|
+
(java.lang.String) ref);
|
|
690
|
+
fingType_ = b;
|
|
691
|
+
return b;
|
|
692
|
+
} else {
|
|
693
|
+
return (com.google.protobuf.ByteString) ref;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* <pre>
|
|
698
|
+
* Fing Type
|
|
699
|
+
* </pre>
|
|
700
|
+
*
|
|
701
|
+
* <code>string fing_type = 2;</code>
|
|
702
|
+
* @param value The fingType to set.
|
|
703
|
+
* @return This builder for chaining.
|
|
704
|
+
*/
|
|
705
|
+
public Builder setFingType(
|
|
706
|
+
java.lang.String value) {
|
|
707
|
+
if (value == null) {
|
|
708
|
+
throw new NullPointerException();
|
|
709
|
+
}
|
|
710
|
+
bitField0_ |= 0x00000001;
|
|
711
|
+
fingType_ = value;
|
|
712
|
+
onChanged();
|
|
713
|
+
return this;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* <pre>
|
|
717
|
+
* Fing Type
|
|
718
|
+
* </pre>
|
|
719
|
+
*
|
|
720
|
+
* <code>string fing_type = 2;</code>
|
|
721
|
+
* @return This builder for chaining.
|
|
722
|
+
*/
|
|
723
|
+
public Builder clearFingType() {
|
|
724
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
725
|
+
fingType_ = getDefaultInstance().getFingType();
|
|
726
|
+
onChanged();
|
|
727
|
+
return this;
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* <pre>
|
|
731
|
+
* Fing Type
|
|
732
|
+
* </pre>
|
|
733
|
+
*
|
|
734
|
+
* <code>string fing_type = 2;</code>
|
|
735
|
+
* @param value The bytes for fingType to set.
|
|
736
|
+
* @return This builder for chaining.
|
|
737
|
+
*/
|
|
738
|
+
public Builder setFingTypeBytes(
|
|
739
|
+
com.google.protobuf.ByteString value) {
|
|
740
|
+
if (value == null) {
|
|
741
|
+
throw new NullPointerException();
|
|
742
|
+
}
|
|
743
|
+
checkByteStringIsUtf8(value);
|
|
744
|
+
bitField0_ |= 0x00000001;
|
|
745
|
+
fingType_ = value;
|
|
746
|
+
onChanged();
|
|
747
|
+
return this;
|
|
748
|
+
}
|
|
749
|
+
@java.lang.Override
|
|
750
|
+
public final Builder setUnknownFields(
|
|
751
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
752
|
+
return super.setUnknownFields(unknownFields);
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
@java.lang.Override
|
|
756
|
+
public final Builder mergeUnknownFields(
|
|
757
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
758
|
+
return super.mergeUnknownFields(unknownFields);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.AssetType)
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.AssetType)
|
|
766
|
+
private static final com.lansweeper.dp.outbound.v1.AssetType DEFAULT_INSTANCE;
|
|
767
|
+
static {
|
|
768
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.AssetType();
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
public static com.lansweeper.dp.outbound.v1.AssetType getDefaultInstance() {
|
|
772
|
+
return DEFAULT_INSTANCE;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
private static final com.google.protobuf.Parser<AssetType>
|
|
776
|
+
PARSER = new com.google.protobuf.AbstractParser<AssetType>() {
|
|
777
|
+
@java.lang.Override
|
|
778
|
+
public AssetType parsePartialFrom(
|
|
779
|
+
com.google.protobuf.CodedInputStream input,
|
|
780
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
781
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
782
|
+
return new AssetType(input, extensionRegistry);
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
public static com.google.protobuf.Parser<AssetType> parser() {
|
|
787
|
+
return PARSER;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
@java.lang.Override
|
|
791
|
+
public com.google.protobuf.Parser<AssetType> getParserForType() {
|
|
792
|
+
return PARSER;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
@java.lang.Override
|
|
796
|
+
public com.lansweeper.dp.outbound.v1.AssetType getDefaultInstanceForType() {
|
|
797
|
+
return DEFAULT_INSTANCE;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
}
|
|
801
|
+
|