@lansweeper/data-platform-outbound-grpc 0.1.3 → 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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +9 -0
- package/gen-proto/outbound_pb.js +90 -12
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +7 -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 +284 -43252
- 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,2702 @@
|
|
|
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
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HardwareInfo}
|
|
8
|
+
*/
|
|
9
|
+
public final class HardwareInfo extends
|
|
10
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
11
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.HardwareInfo)
|
|
12
|
+
HardwareInfoOrBuilder {
|
|
13
|
+
private static final long serialVersionUID = 0L;
|
|
14
|
+
// Use HardwareInfo.newBuilder() to construct.
|
|
15
|
+
private HardwareInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
16
|
+
super(builder);
|
|
17
|
+
}
|
|
18
|
+
private HardwareInfo() {
|
|
19
|
+
serial_ = "";
|
|
20
|
+
typeName_ = "";
|
|
21
|
+
makeName_ = "";
|
|
22
|
+
modelName_ = "";
|
|
23
|
+
familyName_ = "";
|
|
24
|
+
cpe_ = "";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@java.lang.Override
|
|
28
|
+
@SuppressWarnings({"unused"})
|
|
29
|
+
protected java.lang.Object newInstance(
|
|
30
|
+
UnusedPrivateParameter unused) {
|
|
31
|
+
return new HardwareInfo();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@java.lang.Override
|
|
35
|
+
public final com.google.protobuf.UnknownFieldSet
|
|
36
|
+
getUnknownFields() {
|
|
37
|
+
return this.unknownFields;
|
|
38
|
+
}
|
|
39
|
+
private HardwareInfo(
|
|
40
|
+
com.google.protobuf.CodedInputStream input,
|
|
41
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
42
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
43
|
+
this();
|
|
44
|
+
if (extensionRegistry == null) {
|
|
45
|
+
throw new java.lang.NullPointerException();
|
|
46
|
+
}
|
|
47
|
+
int mutable_bitField0_ = 0;
|
|
48
|
+
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
49
|
+
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
50
|
+
try {
|
|
51
|
+
boolean done = false;
|
|
52
|
+
while (!done) {
|
|
53
|
+
int tag = input.readTag();
|
|
54
|
+
switch (tag) {
|
|
55
|
+
case 0:
|
|
56
|
+
done = true;
|
|
57
|
+
break;
|
|
58
|
+
case 8: {
|
|
59
|
+
bitField0_ |= 0x00000001;
|
|
60
|
+
typeId_ = input.readInt64();
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
case 16: {
|
|
64
|
+
bitField0_ |= 0x00000002;
|
|
65
|
+
makeId_ = input.readInt64();
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
case 24: {
|
|
69
|
+
bitField0_ |= 0x00000004;
|
|
70
|
+
modelId_ = input.readInt64();
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
case 32: {
|
|
74
|
+
bitField0_ |= 0x00000008;
|
|
75
|
+
familyId_ = input.readInt64();
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
case 48: {
|
|
79
|
+
bitField0_ |= 0x00000010;
|
|
80
|
+
isFamily_ = input.readBool();
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
case 58: {
|
|
84
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
85
|
+
bitField0_ |= 0x00000020;
|
|
86
|
+
serial_ = s;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
case 82: {
|
|
90
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
91
|
+
bitField0_ |= 0x00000040;
|
|
92
|
+
typeName_ = s;
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
case 90: {
|
|
96
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
97
|
+
bitField0_ |= 0x00000080;
|
|
98
|
+
makeName_ = s;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
case 98: {
|
|
102
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
103
|
+
bitField0_ |= 0x00000100;
|
|
104
|
+
modelName_ = s;
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
case 106: {
|
|
108
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
109
|
+
bitField0_ |= 0x00000200;
|
|
110
|
+
familyName_ = s;
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
case 160: {
|
|
114
|
+
bitField0_ |= 0x00000800;
|
|
115
|
+
rank_ = input.readInt32();
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
case 170: {
|
|
119
|
+
java.lang.String s = input.readStringRequireUtf8();
|
|
120
|
+
bitField0_ |= 0x00000400;
|
|
121
|
+
cpe_ = s;
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
case 178: {
|
|
125
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand.Builder subBuilder = null;
|
|
126
|
+
if (((bitField0_ & 0x00001000) != 0)) {
|
|
127
|
+
subBuilder = catalogBrand_.toBuilder();
|
|
128
|
+
}
|
|
129
|
+
catalogBrand_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogBrand.parser(), extensionRegistry);
|
|
130
|
+
if (subBuilder != null) {
|
|
131
|
+
subBuilder.mergeFrom(catalogBrand_);
|
|
132
|
+
catalogBrand_ = subBuilder.buildPartial();
|
|
133
|
+
}
|
|
134
|
+
bitField0_ |= 0x00001000;
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
case 186: {
|
|
138
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.Builder subBuilder = null;
|
|
139
|
+
if (((bitField0_ & 0x00002000) != 0)) {
|
|
140
|
+
subBuilder = catalogModel_.toBuilder();
|
|
141
|
+
}
|
|
142
|
+
catalogModel_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogModel.parser(), extensionRegistry);
|
|
143
|
+
if (subBuilder != null) {
|
|
144
|
+
subBuilder.mergeFrom(catalogModel_);
|
|
145
|
+
catalogModel_ = subBuilder.buildPartial();
|
|
146
|
+
}
|
|
147
|
+
bitField0_ |= 0x00002000;
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
case 194: {
|
|
151
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder subBuilder = null;
|
|
152
|
+
if (((bitField0_ & 0x00008000) != 0)) {
|
|
153
|
+
subBuilder = raw_.toBuilder();
|
|
154
|
+
}
|
|
155
|
+
raw_ = input.readMessage(com.lansweeper.dp.outbound.v1.RawHardwareInfo.parser(), extensionRegistry);
|
|
156
|
+
if (subBuilder != null) {
|
|
157
|
+
subBuilder.mergeFrom(raw_);
|
|
158
|
+
raw_ = subBuilder.buildPartial();
|
|
159
|
+
}
|
|
160
|
+
bitField0_ |= 0x00008000;
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
case 202: {
|
|
164
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.Builder subBuilder = null;
|
|
165
|
+
if (((bitField0_ & 0x00004000) != 0)) {
|
|
166
|
+
subBuilder = catalogFamily_.toBuilder();
|
|
167
|
+
}
|
|
168
|
+
catalogFamily_ = input.readMessage(com.lansweeper.dp.outbound.v1.CatalogModel.parser(), extensionRegistry);
|
|
169
|
+
if (subBuilder != null) {
|
|
170
|
+
subBuilder.mergeFrom(catalogFamily_);
|
|
171
|
+
catalogFamily_ = subBuilder.buildPartial();
|
|
172
|
+
}
|
|
173
|
+
bitField0_ |= 0x00004000;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
default: {
|
|
177
|
+
if (!parseUnknownField(
|
|
178
|
+
input, unknownFields, extensionRegistry, tag)) {
|
|
179
|
+
done = true;
|
|
180
|
+
}
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
186
|
+
throw e.setUnfinishedMessage(this);
|
|
187
|
+
} catch (java.io.IOException e) {
|
|
188
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
189
|
+
e).setUnfinishedMessage(this);
|
|
190
|
+
} finally {
|
|
191
|
+
this.unknownFields = unknownFields.build();
|
|
192
|
+
makeExtensionsImmutable();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
196
|
+
getDescriptor() {
|
|
197
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HardwareInfo_descriptor;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@java.lang.Override
|
|
201
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
202
|
+
internalGetFieldAccessorTable() {
|
|
203
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HardwareInfo_fieldAccessorTable
|
|
204
|
+
.ensureFieldAccessorsInitialized(
|
|
205
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo.class, com.lansweeper.dp.outbound.v1.HardwareInfo.Builder.class);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
private int bitField0_;
|
|
209
|
+
public static final int TYPE_ID_FIELD_NUMBER = 1;
|
|
210
|
+
private long typeId_;
|
|
211
|
+
/**
|
|
212
|
+
* <code>int64 type_id = 1;</code>
|
|
213
|
+
* @return Whether the typeId field is set.
|
|
214
|
+
*/
|
|
215
|
+
@java.lang.Override
|
|
216
|
+
public boolean hasTypeId() {
|
|
217
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* <code>int64 type_id = 1;</code>
|
|
221
|
+
* @return The typeId.
|
|
222
|
+
*/
|
|
223
|
+
@java.lang.Override
|
|
224
|
+
public long getTypeId() {
|
|
225
|
+
return typeId_;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
public static final int MAKE_ID_FIELD_NUMBER = 2;
|
|
229
|
+
private long makeId_;
|
|
230
|
+
/**
|
|
231
|
+
* <code>int64 make_id = 2;</code>
|
|
232
|
+
* @return Whether the makeId field is set.
|
|
233
|
+
*/
|
|
234
|
+
@java.lang.Override
|
|
235
|
+
public boolean hasMakeId() {
|
|
236
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* <code>int64 make_id = 2;</code>
|
|
240
|
+
* @return The makeId.
|
|
241
|
+
*/
|
|
242
|
+
@java.lang.Override
|
|
243
|
+
public long getMakeId() {
|
|
244
|
+
return makeId_;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
public static final int MODEL_ID_FIELD_NUMBER = 3;
|
|
248
|
+
private long modelId_;
|
|
249
|
+
/**
|
|
250
|
+
* <code>int64 model_id = 3;</code>
|
|
251
|
+
* @return Whether the modelId field is set.
|
|
252
|
+
*/
|
|
253
|
+
@java.lang.Override
|
|
254
|
+
public boolean hasModelId() {
|
|
255
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* <code>int64 model_id = 3;</code>
|
|
259
|
+
* @return The modelId.
|
|
260
|
+
*/
|
|
261
|
+
@java.lang.Override
|
|
262
|
+
public long getModelId() {
|
|
263
|
+
return modelId_;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
public static final int FAMILY_ID_FIELD_NUMBER = 4;
|
|
267
|
+
private long familyId_;
|
|
268
|
+
/**
|
|
269
|
+
* <code>int64 family_id = 4;</code>
|
|
270
|
+
* @return Whether the familyId field is set.
|
|
271
|
+
*/
|
|
272
|
+
@java.lang.Override
|
|
273
|
+
public boolean hasFamilyId() {
|
|
274
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* <code>int64 family_id = 4;</code>
|
|
278
|
+
* @return The familyId.
|
|
279
|
+
*/
|
|
280
|
+
@java.lang.Override
|
|
281
|
+
public long getFamilyId() {
|
|
282
|
+
return familyId_;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
public static final int IS_FAMILY_FIELD_NUMBER = 6;
|
|
286
|
+
private boolean isFamily_;
|
|
287
|
+
/**
|
|
288
|
+
* <code>bool is_family = 6;</code>
|
|
289
|
+
* @return Whether the isFamily field is set.
|
|
290
|
+
*/
|
|
291
|
+
@java.lang.Override
|
|
292
|
+
public boolean hasIsFamily() {
|
|
293
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* <code>bool is_family = 6;</code>
|
|
297
|
+
* @return The isFamily.
|
|
298
|
+
*/
|
|
299
|
+
@java.lang.Override
|
|
300
|
+
public boolean getIsFamily() {
|
|
301
|
+
return isFamily_;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
public static final int SERIAL_FIELD_NUMBER = 7;
|
|
305
|
+
private volatile java.lang.Object serial_;
|
|
306
|
+
/**
|
|
307
|
+
* <code>string serial = 7;</code>
|
|
308
|
+
* @return Whether the serial field is set.
|
|
309
|
+
*/
|
|
310
|
+
@java.lang.Override
|
|
311
|
+
public boolean hasSerial() {
|
|
312
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* <code>string serial = 7;</code>
|
|
316
|
+
* @return The serial.
|
|
317
|
+
*/
|
|
318
|
+
@java.lang.Override
|
|
319
|
+
public java.lang.String getSerial() {
|
|
320
|
+
java.lang.Object ref = serial_;
|
|
321
|
+
if (ref instanceof java.lang.String) {
|
|
322
|
+
return (java.lang.String) ref;
|
|
323
|
+
} else {
|
|
324
|
+
com.google.protobuf.ByteString bs =
|
|
325
|
+
(com.google.protobuf.ByteString) ref;
|
|
326
|
+
java.lang.String s = bs.toStringUtf8();
|
|
327
|
+
serial_ = s;
|
|
328
|
+
return s;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* <code>string serial = 7;</code>
|
|
333
|
+
* @return The bytes for serial.
|
|
334
|
+
*/
|
|
335
|
+
@java.lang.Override
|
|
336
|
+
public com.google.protobuf.ByteString
|
|
337
|
+
getSerialBytes() {
|
|
338
|
+
java.lang.Object ref = serial_;
|
|
339
|
+
if (ref instanceof java.lang.String) {
|
|
340
|
+
com.google.protobuf.ByteString b =
|
|
341
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
342
|
+
(java.lang.String) ref);
|
|
343
|
+
serial_ = b;
|
|
344
|
+
return b;
|
|
345
|
+
} else {
|
|
346
|
+
return (com.google.protobuf.ByteString) ref;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
public static final int TYPE_NAME_FIELD_NUMBER = 10;
|
|
351
|
+
private volatile java.lang.Object typeName_;
|
|
352
|
+
/**
|
|
353
|
+
* <code>string type_name = 10;</code>
|
|
354
|
+
* @return Whether the typeName field is set.
|
|
355
|
+
*/
|
|
356
|
+
@java.lang.Override
|
|
357
|
+
public boolean hasTypeName() {
|
|
358
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* <code>string type_name = 10;</code>
|
|
362
|
+
* @return The typeName.
|
|
363
|
+
*/
|
|
364
|
+
@java.lang.Override
|
|
365
|
+
public java.lang.String getTypeName() {
|
|
366
|
+
java.lang.Object ref = typeName_;
|
|
367
|
+
if (ref instanceof java.lang.String) {
|
|
368
|
+
return (java.lang.String) ref;
|
|
369
|
+
} else {
|
|
370
|
+
com.google.protobuf.ByteString bs =
|
|
371
|
+
(com.google.protobuf.ByteString) ref;
|
|
372
|
+
java.lang.String s = bs.toStringUtf8();
|
|
373
|
+
typeName_ = s;
|
|
374
|
+
return s;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* <code>string type_name = 10;</code>
|
|
379
|
+
* @return The bytes for typeName.
|
|
380
|
+
*/
|
|
381
|
+
@java.lang.Override
|
|
382
|
+
public com.google.protobuf.ByteString
|
|
383
|
+
getTypeNameBytes() {
|
|
384
|
+
java.lang.Object ref = typeName_;
|
|
385
|
+
if (ref instanceof java.lang.String) {
|
|
386
|
+
com.google.protobuf.ByteString b =
|
|
387
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
388
|
+
(java.lang.String) ref);
|
|
389
|
+
typeName_ = b;
|
|
390
|
+
return b;
|
|
391
|
+
} else {
|
|
392
|
+
return (com.google.protobuf.ByteString) ref;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
public static final int MAKE_NAME_FIELD_NUMBER = 11;
|
|
397
|
+
private volatile java.lang.Object makeName_;
|
|
398
|
+
/**
|
|
399
|
+
* <code>string make_name = 11;</code>
|
|
400
|
+
* @return Whether the makeName field is set.
|
|
401
|
+
*/
|
|
402
|
+
@java.lang.Override
|
|
403
|
+
public boolean hasMakeName() {
|
|
404
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* <code>string make_name = 11;</code>
|
|
408
|
+
* @return The makeName.
|
|
409
|
+
*/
|
|
410
|
+
@java.lang.Override
|
|
411
|
+
public java.lang.String getMakeName() {
|
|
412
|
+
java.lang.Object ref = makeName_;
|
|
413
|
+
if (ref instanceof java.lang.String) {
|
|
414
|
+
return (java.lang.String) ref;
|
|
415
|
+
} else {
|
|
416
|
+
com.google.protobuf.ByteString bs =
|
|
417
|
+
(com.google.protobuf.ByteString) ref;
|
|
418
|
+
java.lang.String s = bs.toStringUtf8();
|
|
419
|
+
makeName_ = s;
|
|
420
|
+
return s;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* <code>string make_name = 11;</code>
|
|
425
|
+
* @return The bytes for makeName.
|
|
426
|
+
*/
|
|
427
|
+
@java.lang.Override
|
|
428
|
+
public com.google.protobuf.ByteString
|
|
429
|
+
getMakeNameBytes() {
|
|
430
|
+
java.lang.Object ref = makeName_;
|
|
431
|
+
if (ref instanceof java.lang.String) {
|
|
432
|
+
com.google.protobuf.ByteString b =
|
|
433
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
434
|
+
(java.lang.String) ref);
|
|
435
|
+
makeName_ = b;
|
|
436
|
+
return b;
|
|
437
|
+
} else {
|
|
438
|
+
return (com.google.protobuf.ByteString) ref;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
public static final int MODEL_NAME_FIELD_NUMBER = 12;
|
|
443
|
+
private volatile java.lang.Object modelName_;
|
|
444
|
+
/**
|
|
445
|
+
* <code>string model_name = 12;</code>
|
|
446
|
+
* @return Whether the modelName field is set.
|
|
447
|
+
*/
|
|
448
|
+
@java.lang.Override
|
|
449
|
+
public boolean hasModelName() {
|
|
450
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* <code>string model_name = 12;</code>
|
|
454
|
+
* @return The modelName.
|
|
455
|
+
*/
|
|
456
|
+
@java.lang.Override
|
|
457
|
+
public java.lang.String getModelName() {
|
|
458
|
+
java.lang.Object ref = modelName_;
|
|
459
|
+
if (ref instanceof java.lang.String) {
|
|
460
|
+
return (java.lang.String) ref;
|
|
461
|
+
} else {
|
|
462
|
+
com.google.protobuf.ByteString bs =
|
|
463
|
+
(com.google.protobuf.ByteString) ref;
|
|
464
|
+
java.lang.String s = bs.toStringUtf8();
|
|
465
|
+
modelName_ = s;
|
|
466
|
+
return s;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* <code>string model_name = 12;</code>
|
|
471
|
+
* @return The bytes for modelName.
|
|
472
|
+
*/
|
|
473
|
+
@java.lang.Override
|
|
474
|
+
public com.google.protobuf.ByteString
|
|
475
|
+
getModelNameBytes() {
|
|
476
|
+
java.lang.Object ref = modelName_;
|
|
477
|
+
if (ref instanceof java.lang.String) {
|
|
478
|
+
com.google.protobuf.ByteString b =
|
|
479
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
480
|
+
(java.lang.String) ref);
|
|
481
|
+
modelName_ = b;
|
|
482
|
+
return b;
|
|
483
|
+
} else {
|
|
484
|
+
return (com.google.protobuf.ByteString) ref;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
public static final int FAMILY_NAME_FIELD_NUMBER = 13;
|
|
489
|
+
private volatile java.lang.Object familyName_;
|
|
490
|
+
/**
|
|
491
|
+
* <code>string family_name = 13;</code>
|
|
492
|
+
* @return Whether the familyName field is set.
|
|
493
|
+
*/
|
|
494
|
+
@java.lang.Override
|
|
495
|
+
public boolean hasFamilyName() {
|
|
496
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* <code>string family_name = 13;</code>
|
|
500
|
+
* @return The familyName.
|
|
501
|
+
*/
|
|
502
|
+
@java.lang.Override
|
|
503
|
+
public java.lang.String getFamilyName() {
|
|
504
|
+
java.lang.Object ref = familyName_;
|
|
505
|
+
if (ref instanceof java.lang.String) {
|
|
506
|
+
return (java.lang.String) ref;
|
|
507
|
+
} else {
|
|
508
|
+
com.google.protobuf.ByteString bs =
|
|
509
|
+
(com.google.protobuf.ByteString) ref;
|
|
510
|
+
java.lang.String s = bs.toStringUtf8();
|
|
511
|
+
familyName_ = s;
|
|
512
|
+
return s;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* <code>string family_name = 13;</code>
|
|
517
|
+
* @return The bytes for familyName.
|
|
518
|
+
*/
|
|
519
|
+
@java.lang.Override
|
|
520
|
+
public com.google.protobuf.ByteString
|
|
521
|
+
getFamilyNameBytes() {
|
|
522
|
+
java.lang.Object ref = familyName_;
|
|
523
|
+
if (ref instanceof java.lang.String) {
|
|
524
|
+
com.google.protobuf.ByteString b =
|
|
525
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
526
|
+
(java.lang.String) ref);
|
|
527
|
+
familyName_ = b;
|
|
528
|
+
return b;
|
|
529
|
+
} else {
|
|
530
|
+
return (com.google.protobuf.ByteString) ref;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
public static final int CPE_FIELD_NUMBER = 21;
|
|
535
|
+
private volatile java.lang.Object cpe_;
|
|
536
|
+
/**
|
|
537
|
+
* <code>string cpe = 21;</code>
|
|
538
|
+
* @return Whether the cpe field is set.
|
|
539
|
+
*/
|
|
540
|
+
@java.lang.Override
|
|
541
|
+
public boolean hasCpe() {
|
|
542
|
+
return ((bitField0_ & 0x00000400) != 0);
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* <code>string cpe = 21;</code>
|
|
546
|
+
* @return The cpe.
|
|
547
|
+
*/
|
|
548
|
+
@java.lang.Override
|
|
549
|
+
public java.lang.String getCpe() {
|
|
550
|
+
java.lang.Object ref = cpe_;
|
|
551
|
+
if (ref instanceof java.lang.String) {
|
|
552
|
+
return (java.lang.String) ref;
|
|
553
|
+
} else {
|
|
554
|
+
com.google.protobuf.ByteString bs =
|
|
555
|
+
(com.google.protobuf.ByteString) ref;
|
|
556
|
+
java.lang.String s = bs.toStringUtf8();
|
|
557
|
+
cpe_ = s;
|
|
558
|
+
return s;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* <code>string cpe = 21;</code>
|
|
563
|
+
* @return The bytes for cpe.
|
|
564
|
+
*/
|
|
565
|
+
@java.lang.Override
|
|
566
|
+
public com.google.protobuf.ByteString
|
|
567
|
+
getCpeBytes() {
|
|
568
|
+
java.lang.Object ref = cpe_;
|
|
569
|
+
if (ref instanceof java.lang.String) {
|
|
570
|
+
com.google.protobuf.ByteString b =
|
|
571
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
572
|
+
(java.lang.String) ref);
|
|
573
|
+
cpe_ = b;
|
|
574
|
+
return b;
|
|
575
|
+
} else {
|
|
576
|
+
return (com.google.protobuf.ByteString) ref;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
public static final int RANK_FIELD_NUMBER = 20;
|
|
581
|
+
private int rank_;
|
|
582
|
+
/**
|
|
583
|
+
* <code>int32 rank = 20;</code>
|
|
584
|
+
* @return Whether the rank field is set.
|
|
585
|
+
*/
|
|
586
|
+
@java.lang.Override
|
|
587
|
+
public boolean hasRank() {
|
|
588
|
+
return ((bitField0_ & 0x00000800) != 0);
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* <code>int32 rank = 20;</code>
|
|
592
|
+
* @return The rank.
|
|
593
|
+
*/
|
|
594
|
+
@java.lang.Override
|
|
595
|
+
public int getRank() {
|
|
596
|
+
return rank_;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
public static final int CATALOG_BRAND_FIELD_NUMBER = 22;
|
|
600
|
+
private com.lansweeper.dp.outbound.v1.CatalogBrand catalogBrand_;
|
|
601
|
+
/**
|
|
602
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
603
|
+
* @return Whether the catalogBrand field is set.
|
|
604
|
+
*/
|
|
605
|
+
@java.lang.Override
|
|
606
|
+
public boolean hasCatalogBrand() {
|
|
607
|
+
return ((bitField0_ & 0x00001000) != 0);
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
611
|
+
* @return The catalogBrand.
|
|
612
|
+
*/
|
|
613
|
+
@java.lang.Override
|
|
614
|
+
public com.lansweeper.dp.outbound.v1.CatalogBrand getCatalogBrand() {
|
|
615
|
+
return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
619
|
+
*/
|
|
620
|
+
@java.lang.Override
|
|
621
|
+
public com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder getCatalogBrandOrBuilder() {
|
|
622
|
+
return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
public static final int CATALOG_MODEL_FIELD_NUMBER = 23;
|
|
626
|
+
private com.lansweeper.dp.outbound.v1.CatalogModel catalogModel_;
|
|
627
|
+
/**
|
|
628
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
629
|
+
* @return Whether the catalogModel field is set.
|
|
630
|
+
*/
|
|
631
|
+
@java.lang.Override
|
|
632
|
+
public boolean hasCatalogModel() {
|
|
633
|
+
return ((bitField0_ & 0x00002000) != 0);
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
637
|
+
* @return The catalogModel.
|
|
638
|
+
*/
|
|
639
|
+
@java.lang.Override
|
|
640
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel getCatalogModel() {
|
|
641
|
+
return catalogModel_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogModel_;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
645
|
+
*/
|
|
646
|
+
@java.lang.Override
|
|
647
|
+
public com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder getCatalogModelOrBuilder() {
|
|
648
|
+
return catalogModel_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogModel_;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
public static final int CATALOG_FAMILY_FIELD_NUMBER = 25;
|
|
652
|
+
private com.lansweeper.dp.outbound.v1.CatalogModel catalogFamily_;
|
|
653
|
+
/**
|
|
654
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
655
|
+
* @return Whether the catalogFamily field is set.
|
|
656
|
+
*/
|
|
657
|
+
@java.lang.Override
|
|
658
|
+
public boolean hasCatalogFamily() {
|
|
659
|
+
return ((bitField0_ & 0x00004000) != 0);
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
663
|
+
* @return The catalogFamily.
|
|
664
|
+
*/
|
|
665
|
+
@java.lang.Override
|
|
666
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel getCatalogFamily() {
|
|
667
|
+
return catalogFamily_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogFamily_;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
671
|
+
*/
|
|
672
|
+
@java.lang.Override
|
|
673
|
+
public com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder getCatalogFamilyOrBuilder() {
|
|
674
|
+
return catalogFamily_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogFamily_;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
public static final int RAW_FIELD_NUMBER = 24;
|
|
678
|
+
private com.lansweeper.dp.outbound.v1.RawHardwareInfo raw_;
|
|
679
|
+
/**
|
|
680
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
681
|
+
* @return Whether the raw field is set.
|
|
682
|
+
*/
|
|
683
|
+
@java.lang.Override
|
|
684
|
+
public boolean hasRaw() {
|
|
685
|
+
return ((bitField0_ & 0x00008000) != 0);
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
689
|
+
* @return The raw.
|
|
690
|
+
*/
|
|
691
|
+
@java.lang.Override
|
|
692
|
+
public com.lansweeper.dp.outbound.v1.RawHardwareInfo getRaw() {
|
|
693
|
+
return raw_ == null ? com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance() : raw_;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
697
|
+
*/
|
|
698
|
+
@java.lang.Override
|
|
699
|
+
public com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder getRawOrBuilder() {
|
|
700
|
+
return raw_ == null ? com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance() : raw_;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
private byte memoizedIsInitialized = -1;
|
|
704
|
+
@java.lang.Override
|
|
705
|
+
public final boolean isInitialized() {
|
|
706
|
+
byte isInitialized = memoizedIsInitialized;
|
|
707
|
+
if (isInitialized == 1) return true;
|
|
708
|
+
if (isInitialized == 0) return false;
|
|
709
|
+
|
|
710
|
+
memoizedIsInitialized = 1;
|
|
711
|
+
return true;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
@java.lang.Override
|
|
715
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
716
|
+
throws java.io.IOException {
|
|
717
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
718
|
+
output.writeInt64(1, typeId_);
|
|
719
|
+
}
|
|
720
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
721
|
+
output.writeInt64(2, makeId_);
|
|
722
|
+
}
|
|
723
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
724
|
+
output.writeInt64(3, modelId_);
|
|
725
|
+
}
|
|
726
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
727
|
+
output.writeInt64(4, familyId_);
|
|
728
|
+
}
|
|
729
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
730
|
+
output.writeBool(6, isFamily_);
|
|
731
|
+
}
|
|
732
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
733
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serial_);
|
|
734
|
+
}
|
|
735
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
736
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, typeName_);
|
|
737
|
+
}
|
|
738
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
739
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, makeName_);
|
|
740
|
+
}
|
|
741
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
742
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, modelName_);
|
|
743
|
+
}
|
|
744
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
745
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, familyName_);
|
|
746
|
+
}
|
|
747
|
+
if (((bitField0_ & 0x00000800) != 0)) {
|
|
748
|
+
output.writeInt32(20, rank_);
|
|
749
|
+
}
|
|
750
|
+
if (((bitField0_ & 0x00000400) != 0)) {
|
|
751
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, cpe_);
|
|
752
|
+
}
|
|
753
|
+
if (((bitField0_ & 0x00001000) != 0)) {
|
|
754
|
+
output.writeMessage(22, getCatalogBrand());
|
|
755
|
+
}
|
|
756
|
+
if (((bitField0_ & 0x00002000) != 0)) {
|
|
757
|
+
output.writeMessage(23, getCatalogModel());
|
|
758
|
+
}
|
|
759
|
+
if (((bitField0_ & 0x00008000) != 0)) {
|
|
760
|
+
output.writeMessage(24, getRaw());
|
|
761
|
+
}
|
|
762
|
+
if (((bitField0_ & 0x00004000) != 0)) {
|
|
763
|
+
output.writeMessage(25, getCatalogFamily());
|
|
764
|
+
}
|
|
765
|
+
unknownFields.writeTo(output);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
@java.lang.Override
|
|
769
|
+
public int getSerializedSize() {
|
|
770
|
+
int size = memoizedSize;
|
|
771
|
+
if (size != -1) return size;
|
|
772
|
+
|
|
773
|
+
size = 0;
|
|
774
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
775
|
+
size += com.google.protobuf.CodedOutputStream
|
|
776
|
+
.computeInt64Size(1, typeId_);
|
|
777
|
+
}
|
|
778
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
779
|
+
size += com.google.protobuf.CodedOutputStream
|
|
780
|
+
.computeInt64Size(2, makeId_);
|
|
781
|
+
}
|
|
782
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
783
|
+
size += com.google.protobuf.CodedOutputStream
|
|
784
|
+
.computeInt64Size(3, modelId_);
|
|
785
|
+
}
|
|
786
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
787
|
+
size += com.google.protobuf.CodedOutputStream
|
|
788
|
+
.computeInt64Size(4, familyId_);
|
|
789
|
+
}
|
|
790
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
791
|
+
size += com.google.protobuf.CodedOutputStream
|
|
792
|
+
.computeBoolSize(6, isFamily_);
|
|
793
|
+
}
|
|
794
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
795
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serial_);
|
|
796
|
+
}
|
|
797
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
798
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, typeName_);
|
|
799
|
+
}
|
|
800
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
801
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, makeName_);
|
|
802
|
+
}
|
|
803
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
804
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, modelName_);
|
|
805
|
+
}
|
|
806
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
807
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, familyName_);
|
|
808
|
+
}
|
|
809
|
+
if (((bitField0_ & 0x00000800) != 0)) {
|
|
810
|
+
size += com.google.protobuf.CodedOutputStream
|
|
811
|
+
.computeInt32Size(20, rank_);
|
|
812
|
+
}
|
|
813
|
+
if (((bitField0_ & 0x00000400) != 0)) {
|
|
814
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, cpe_);
|
|
815
|
+
}
|
|
816
|
+
if (((bitField0_ & 0x00001000) != 0)) {
|
|
817
|
+
size += com.google.protobuf.CodedOutputStream
|
|
818
|
+
.computeMessageSize(22, getCatalogBrand());
|
|
819
|
+
}
|
|
820
|
+
if (((bitField0_ & 0x00002000) != 0)) {
|
|
821
|
+
size += com.google.protobuf.CodedOutputStream
|
|
822
|
+
.computeMessageSize(23, getCatalogModel());
|
|
823
|
+
}
|
|
824
|
+
if (((bitField0_ & 0x00008000) != 0)) {
|
|
825
|
+
size += com.google.protobuf.CodedOutputStream
|
|
826
|
+
.computeMessageSize(24, getRaw());
|
|
827
|
+
}
|
|
828
|
+
if (((bitField0_ & 0x00004000) != 0)) {
|
|
829
|
+
size += com.google.protobuf.CodedOutputStream
|
|
830
|
+
.computeMessageSize(25, getCatalogFamily());
|
|
831
|
+
}
|
|
832
|
+
size += unknownFields.getSerializedSize();
|
|
833
|
+
memoizedSize = size;
|
|
834
|
+
return size;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
@java.lang.Override
|
|
838
|
+
public boolean equals(final java.lang.Object obj) {
|
|
839
|
+
if (obj == this) {
|
|
840
|
+
return true;
|
|
841
|
+
}
|
|
842
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.HardwareInfo)) {
|
|
843
|
+
return super.equals(obj);
|
|
844
|
+
}
|
|
845
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo other = (com.lansweeper.dp.outbound.v1.HardwareInfo) obj;
|
|
846
|
+
|
|
847
|
+
if (hasTypeId() != other.hasTypeId()) return false;
|
|
848
|
+
if (hasTypeId()) {
|
|
849
|
+
if (getTypeId()
|
|
850
|
+
!= other.getTypeId()) return false;
|
|
851
|
+
}
|
|
852
|
+
if (hasMakeId() != other.hasMakeId()) return false;
|
|
853
|
+
if (hasMakeId()) {
|
|
854
|
+
if (getMakeId()
|
|
855
|
+
!= other.getMakeId()) return false;
|
|
856
|
+
}
|
|
857
|
+
if (hasModelId() != other.hasModelId()) return false;
|
|
858
|
+
if (hasModelId()) {
|
|
859
|
+
if (getModelId()
|
|
860
|
+
!= other.getModelId()) return false;
|
|
861
|
+
}
|
|
862
|
+
if (hasFamilyId() != other.hasFamilyId()) return false;
|
|
863
|
+
if (hasFamilyId()) {
|
|
864
|
+
if (getFamilyId()
|
|
865
|
+
!= other.getFamilyId()) return false;
|
|
866
|
+
}
|
|
867
|
+
if (hasIsFamily() != other.hasIsFamily()) return false;
|
|
868
|
+
if (hasIsFamily()) {
|
|
869
|
+
if (getIsFamily()
|
|
870
|
+
!= other.getIsFamily()) return false;
|
|
871
|
+
}
|
|
872
|
+
if (hasSerial() != other.hasSerial()) return false;
|
|
873
|
+
if (hasSerial()) {
|
|
874
|
+
if (!getSerial()
|
|
875
|
+
.equals(other.getSerial())) return false;
|
|
876
|
+
}
|
|
877
|
+
if (hasTypeName() != other.hasTypeName()) return false;
|
|
878
|
+
if (hasTypeName()) {
|
|
879
|
+
if (!getTypeName()
|
|
880
|
+
.equals(other.getTypeName())) return false;
|
|
881
|
+
}
|
|
882
|
+
if (hasMakeName() != other.hasMakeName()) return false;
|
|
883
|
+
if (hasMakeName()) {
|
|
884
|
+
if (!getMakeName()
|
|
885
|
+
.equals(other.getMakeName())) return false;
|
|
886
|
+
}
|
|
887
|
+
if (hasModelName() != other.hasModelName()) return false;
|
|
888
|
+
if (hasModelName()) {
|
|
889
|
+
if (!getModelName()
|
|
890
|
+
.equals(other.getModelName())) return false;
|
|
891
|
+
}
|
|
892
|
+
if (hasFamilyName() != other.hasFamilyName()) return false;
|
|
893
|
+
if (hasFamilyName()) {
|
|
894
|
+
if (!getFamilyName()
|
|
895
|
+
.equals(other.getFamilyName())) return false;
|
|
896
|
+
}
|
|
897
|
+
if (hasCpe() != other.hasCpe()) return false;
|
|
898
|
+
if (hasCpe()) {
|
|
899
|
+
if (!getCpe()
|
|
900
|
+
.equals(other.getCpe())) return false;
|
|
901
|
+
}
|
|
902
|
+
if (hasRank() != other.hasRank()) return false;
|
|
903
|
+
if (hasRank()) {
|
|
904
|
+
if (getRank()
|
|
905
|
+
!= other.getRank()) return false;
|
|
906
|
+
}
|
|
907
|
+
if (hasCatalogBrand() != other.hasCatalogBrand()) return false;
|
|
908
|
+
if (hasCatalogBrand()) {
|
|
909
|
+
if (!getCatalogBrand()
|
|
910
|
+
.equals(other.getCatalogBrand())) return false;
|
|
911
|
+
}
|
|
912
|
+
if (hasCatalogModel() != other.hasCatalogModel()) return false;
|
|
913
|
+
if (hasCatalogModel()) {
|
|
914
|
+
if (!getCatalogModel()
|
|
915
|
+
.equals(other.getCatalogModel())) return false;
|
|
916
|
+
}
|
|
917
|
+
if (hasCatalogFamily() != other.hasCatalogFamily()) return false;
|
|
918
|
+
if (hasCatalogFamily()) {
|
|
919
|
+
if (!getCatalogFamily()
|
|
920
|
+
.equals(other.getCatalogFamily())) return false;
|
|
921
|
+
}
|
|
922
|
+
if (hasRaw() != other.hasRaw()) return false;
|
|
923
|
+
if (hasRaw()) {
|
|
924
|
+
if (!getRaw()
|
|
925
|
+
.equals(other.getRaw())) return false;
|
|
926
|
+
}
|
|
927
|
+
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
928
|
+
return true;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
@java.lang.Override
|
|
932
|
+
public int hashCode() {
|
|
933
|
+
if (memoizedHashCode != 0) {
|
|
934
|
+
return memoizedHashCode;
|
|
935
|
+
}
|
|
936
|
+
int hash = 41;
|
|
937
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
938
|
+
if (hasTypeId()) {
|
|
939
|
+
hash = (37 * hash) + TYPE_ID_FIELD_NUMBER;
|
|
940
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
941
|
+
getTypeId());
|
|
942
|
+
}
|
|
943
|
+
if (hasMakeId()) {
|
|
944
|
+
hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
|
|
945
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
946
|
+
getMakeId());
|
|
947
|
+
}
|
|
948
|
+
if (hasModelId()) {
|
|
949
|
+
hash = (37 * hash) + MODEL_ID_FIELD_NUMBER;
|
|
950
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
951
|
+
getModelId());
|
|
952
|
+
}
|
|
953
|
+
if (hasFamilyId()) {
|
|
954
|
+
hash = (37 * hash) + FAMILY_ID_FIELD_NUMBER;
|
|
955
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
956
|
+
getFamilyId());
|
|
957
|
+
}
|
|
958
|
+
if (hasIsFamily()) {
|
|
959
|
+
hash = (37 * hash) + IS_FAMILY_FIELD_NUMBER;
|
|
960
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
961
|
+
getIsFamily());
|
|
962
|
+
}
|
|
963
|
+
if (hasSerial()) {
|
|
964
|
+
hash = (37 * hash) + SERIAL_FIELD_NUMBER;
|
|
965
|
+
hash = (53 * hash) + getSerial().hashCode();
|
|
966
|
+
}
|
|
967
|
+
if (hasTypeName()) {
|
|
968
|
+
hash = (37 * hash) + TYPE_NAME_FIELD_NUMBER;
|
|
969
|
+
hash = (53 * hash) + getTypeName().hashCode();
|
|
970
|
+
}
|
|
971
|
+
if (hasMakeName()) {
|
|
972
|
+
hash = (37 * hash) + MAKE_NAME_FIELD_NUMBER;
|
|
973
|
+
hash = (53 * hash) + getMakeName().hashCode();
|
|
974
|
+
}
|
|
975
|
+
if (hasModelName()) {
|
|
976
|
+
hash = (37 * hash) + MODEL_NAME_FIELD_NUMBER;
|
|
977
|
+
hash = (53 * hash) + getModelName().hashCode();
|
|
978
|
+
}
|
|
979
|
+
if (hasFamilyName()) {
|
|
980
|
+
hash = (37 * hash) + FAMILY_NAME_FIELD_NUMBER;
|
|
981
|
+
hash = (53 * hash) + getFamilyName().hashCode();
|
|
982
|
+
}
|
|
983
|
+
if (hasCpe()) {
|
|
984
|
+
hash = (37 * hash) + CPE_FIELD_NUMBER;
|
|
985
|
+
hash = (53 * hash) + getCpe().hashCode();
|
|
986
|
+
}
|
|
987
|
+
if (hasRank()) {
|
|
988
|
+
hash = (37 * hash) + RANK_FIELD_NUMBER;
|
|
989
|
+
hash = (53 * hash) + getRank();
|
|
990
|
+
}
|
|
991
|
+
if (hasCatalogBrand()) {
|
|
992
|
+
hash = (37 * hash) + CATALOG_BRAND_FIELD_NUMBER;
|
|
993
|
+
hash = (53 * hash) + getCatalogBrand().hashCode();
|
|
994
|
+
}
|
|
995
|
+
if (hasCatalogModel()) {
|
|
996
|
+
hash = (37 * hash) + CATALOG_MODEL_FIELD_NUMBER;
|
|
997
|
+
hash = (53 * hash) + getCatalogModel().hashCode();
|
|
998
|
+
}
|
|
999
|
+
if (hasCatalogFamily()) {
|
|
1000
|
+
hash = (37 * hash) + CATALOG_FAMILY_FIELD_NUMBER;
|
|
1001
|
+
hash = (53 * hash) + getCatalogFamily().hashCode();
|
|
1002
|
+
}
|
|
1003
|
+
if (hasRaw()) {
|
|
1004
|
+
hash = (37 * hash) + RAW_FIELD_NUMBER;
|
|
1005
|
+
hash = (53 * hash) + getRaw().hashCode();
|
|
1006
|
+
}
|
|
1007
|
+
hash = (29 * hash) + unknownFields.hashCode();
|
|
1008
|
+
memoizedHashCode = hash;
|
|
1009
|
+
return hash;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1013
|
+
java.nio.ByteBuffer data)
|
|
1014
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1015
|
+
return PARSER.parseFrom(data);
|
|
1016
|
+
}
|
|
1017
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1018
|
+
java.nio.ByteBuffer data,
|
|
1019
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1020
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1021
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
1022
|
+
}
|
|
1023
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1024
|
+
com.google.protobuf.ByteString data)
|
|
1025
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1026
|
+
return PARSER.parseFrom(data);
|
|
1027
|
+
}
|
|
1028
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1029
|
+
com.google.protobuf.ByteString data,
|
|
1030
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1031
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1032
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
1033
|
+
}
|
|
1034
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(byte[] data)
|
|
1035
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1036
|
+
return PARSER.parseFrom(data);
|
|
1037
|
+
}
|
|
1038
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1039
|
+
byte[] data,
|
|
1040
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1041
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1042
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
1043
|
+
}
|
|
1044
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(java.io.InputStream input)
|
|
1045
|
+
throws java.io.IOException {
|
|
1046
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1047
|
+
.parseWithIOException(PARSER, input);
|
|
1048
|
+
}
|
|
1049
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1050
|
+
java.io.InputStream input,
|
|
1051
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1052
|
+
throws java.io.IOException {
|
|
1053
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1054
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
1055
|
+
}
|
|
1056
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseDelimitedFrom(java.io.InputStream input)
|
|
1057
|
+
throws java.io.IOException {
|
|
1058
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1059
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
1060
|
+
}
|
|
1061
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseDelimitedFrom(
|
|
1062
|
+
java.io.InputStream input,
|
|
1063
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1064
|
+
throws java.io.IOException {
|
|
1065
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1066
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
1067
|
+
}
|
|
1068
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1069
|
+
com.google.protobuf.CodedInputStream input)
|
|
1070
|
+
throws java.io.IOException {
|
|
1071
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1072
|
+
.parseWithIOException(PARSER, input);
|
|
1073
|
+
}
|
|
1074
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo parseFrom(
|
|
1075
|
+
com.google.protobuf.CodedInputStream input,
|
|
1076
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1077
|
+
throws java.io.IOException {
|
|
1078
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
1079
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
@java.lang.Override
|
|
1083
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
1084
|
+
public static Builder newBuilder() {
|
|
1085
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
1086
|
+
}
|
|
1087
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.HardwareInfo prototype) {
|
|
1088
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
1089
|
+
}
|
|
1090
|
+
@java.lang.Override
|
|
1091
|
+
public Builder toBuilder() {
|
|
1092
|
+
return this == DEFAULT_INSTANCE
|
|
1093
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
@java.lang.Override
|
|
1097
|
+
protected Builder newBuilderForType(
|
|
1098
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
1099
|
+
Builder builder = new Builder(parent);
|
|
1100
|
+
return builder;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.HardwareInfo}
|
|
1104
|
+
*/
|
|
1105
|
+
public static final class Builder extends
|
|
1106
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
1107
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.HardwareInfo)
|
|
1108
|
+
com.lansweeper.dp.outbound.v1.HardwareInfoOrBuilder {
|
|
1109
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
1110
|
+
getDescriptor() {
|
|
1111
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HardwareInfo_descriptor;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
@java.lang.Override
|
|
1115
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
1116
|
+
internalGetFieldAccessorTable() {
|
|
1117
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HardwareInfo_fieldAccessorTable
|
|
1118
|
+
.ensureFieldAccessorsInitialized(
|
|
1119
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo.class, com.lansweeper.dp.outbound.v1.HardwareInfo.Builder.class);
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
// Construct using com.lansweeper.dp.outbound.v1.HardwareInfo.newBuilder()
|
|
1123
|
+
private Builder() {
|
|
1124
|
+
maybeForceBuilderInitialization();
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
private Builder(
|
|
1128
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
1129
|
+
super(parent);
|
|
1130
|
+
maybeForceBuilderInitialization();
|
|
1131
|
+
}
|
|
1132
|
+
private void maybeForceBuilderInitialization() {
|
|
1133
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
1134
|
+
.alwaysUseFieldBuilders) {
|
|
1135
|
+
getCatalogBrandFieldBuilder();
|
|
1136
|
+
getCatalogModelFieldBuilder();
|
|
1137
|
+
getCatalogFamilyFieldBuilder();
|
|
1138
|
+
getRawFieldBuilder();
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
@java.lang.Override
|
|
1142
|
+
public Builder clear() {
|
|
1143
|
+
super.clear();
|
|
1144
|
+
typeId_ = 0L;
|
|
1145
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1146
|
+
makeId_ = 0L;
|
|
1147
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1148
|
+
modelId_ = 0L;
|
|
1149
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1150
|
+
familyId_ = 0L;
|
|
1151
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1152
|
+
isFamily_ = false;
|
|
1153
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1154
|
+
serial_ = "";
|
|
1155
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1156
|
+
typeName_ = "";
|
|
1157
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1158
|
+
makeName_ = "";
|
|
1159
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1160
|
+
modelName_ = "";
|
|
1161
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
1162
|
+
familyName_ = "";
|
|
1163
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
1164
|
+
cpe_ = "";
|
|
1165
|
+
bitField0_ = (bitField0_ & ~0x00000400);
|
|
1166
|
+
rank_ = 0;
|
|
1167
|
+
bitField0_ = (bitField0_ & ~0x00000800);
|
|
1168
|
+
if (catalogBrandBuilder_ == null) {
|
|
1169
|
+
catalogBrand_ = null;
|
|
1170
|
+
} else {
|
|
1171
|
+
catalogBrandBuilder_.clear();
|
|
1172
|
+
}
|
|
1173
|
+
bitField0_ = (bitField0_ & ~0x00001000);
|
|
1174
|
+
if (catalogModelBuilder_ == null) {
|
|
1175
|
+
catalogModel_ = null;
|
|
1176
|
+
} else {
|
|
1177
|
+
catalogModelBuilder_.clear();
|
|
1178
|
+
}
|
|
1179
|
+
bitField0_ = (bitField0_ & ~0x00002000);
|
|
1180
|
+
if (catalogFamilyBuilder_ == null) {
|
|
1181
|
+
catalogFamily_ = null;
|
|
1182
|
+
} else {
|
|
1183
|
+
catalogFamilyBuilder_.clear();
|
|
1184
|
+
}
|
|
1185
|
+
bitField0_ = (bitField0_ & ~0x00004000);
|
|
1186
|
+
if (rawBuilder_ == null) {
|
|
1187
|
+
raw_ = null;
|
|
1188
|
+
} else {
|
|
1189
|
+
rawBuilder_.clear();
|
|
1190
|
+
}
|
|
1191
|
+
bitField0_ = (bitField0_ & ~0x00008000);
|
|
1192
|
+
return this;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
@java.lang.Override
|
|
1196
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
1197
|
+
getDescriptorForType() {
|
|
1198
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_HardwareInfo_descriptor;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
@java.lang.Override
|
|
1202
|
+
public com.lansweeper.dp.outbound.v1.HardwareInfo getDefaultInstanceForType() {
|
|
1203
|
+
return com.lansweeper.dp.outbound.v1.HardwareInfo.getDefaultInstance();
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
@java.lang.Override
|
|
1207
|
+
public com.lansweeper.dp.outbound.v1.HardwareInfo build() {
|
|
1208
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo result = buildPartial();
|
|
1209
|
+
if (!result.isInitialized()) {
|
|
1210
|
+
throw newUninitializedMessageException(result);
|
|
1211
|
+
}
|
|
1212
|
+
return result;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
@java.lang.Override
|
|
1216
|
+
public com.lansweeper.dp.outbound.v1.HardwareInfo buildPartial() {
|
|
1217
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo result = new com.lansweeper.dp.outbound.v1.HardwareInfo(this);
|
|
1218
|
+
int from_bitField0_ = bitField0_;
|
|
1219
|
+
int to_bitField0_ = 0;
|
|
1220
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
1221
|
+
result.typeId_ = typeId_;
|
|
1222
|
+
to_bitField0_ |= 0x00000001;
|
|
1223
|
+
}
|
|
1224
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
1225
|
+
result.makeId_ = makeId_;
|
|
1226
|
+
to_bitField0_ |= 0x00000002;
|
|
1227
|
+
}
|
|
1228
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
1229
|
+
result.modelId_ = modelId_;
|
|
1230
|
+
to_bitField0_ |= 0x00000004;
|
|
1231
|
+
}
|
|
1232
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
1233
|
+
result.familyId_ = familyId_;
|
|
1234
|
+
to_bitField0_ |= 0x00000008;
|
|
1235
|
+
}
|
|
1236
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
1237
|
+
result.isFamily_ = isFamily_;
|
|
1238
|
+
to_bitField0_ |= 0x00000010;
|
|
1239
|
+
}
|
|
1240
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
1241
|
+
to_bitField0_ |= 0x00000020;
|
|
1242
|
+
}
|
|
1243
|
+
result.serial_ = serial_;
|
|
1244
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
1245
|
+
to_bitField0_ |= 0x00000040;
|
|
1246
|
+
}
|
|
1247
|
+
result.typeName_ = typeName_;
|
|
1248
|
+
if (((from_bitField0_ & 0x00000080) != 0)) {
|
|
1249
|
+
to_bitField0_ |= 0x00000080;
|
|
1250
|
+
}
|
|
1251
|
+
result.makeName_ = makeName_;
|
|
1252
|
+
if (((from_bitField0_ & 0x00000100) != 0)) {
|
|
1253
|
+
to_bitField0_ |= 0x00000100;
|
|
1254
|
+
}
|
|
1255
|
+
result.modelName_ = modelName_;
|
|
1256
|
+
if (((from_bitField0_ & 0x00000200) != 0)) {
|
|
1257
|
+
to_bitField0_ |= 0x00000200;
|
|
1258
|
+
}
|
|
1259
|
+
result.familyName_ = familyName_;
|
|
1260
|
+
if (((from_bitField0_ & 0x00000400) != 0)) {
|
|
1261
|
+
to_bitField0_ |= 0x00000400;
|
|
1262
|
+
}
|
|
1263
|
+
result.cpe_ = cpe_;
|
|
1264
|
+
if (((from_bitField0_ & 0x00000800) != 0)) {
|
|
1265
|
+
result.rank_ = rank_;
|
|
1266
|
+
to_bitField0_ |= 0x00000800;
|
|
1267
|
+
}
|
|
1268
|
+
if (((from_bitField0_ & 0x00001000) != 0)) {
|
|
1269
|
+
if (catalogBrandBuilder_ == null) {
|
|
1270
|
+
result.catalogBrand_ = catalogBrand_;
|
|
1271
|
+
} else {
|
|
1272
|
+
result.catalogBrand_ = catalogBrandBuilder_.build();
|
|
1273
|
+
}
|
|
1274
|
+
to_bitField0_ |= 0x00001000;
|
|
1275
|
+
}
|
|
1276
|
+
if (((from_bitField0_ & 0x00002000) != 0)) {
|
|
1277
|
+
if (catalogModelBuilder_ == null) {
|
|
1278
|
+
result.catalogModel_ = catalogModel_;
|
|
1279
|
+
} else {
|
|
1280
|
+
result.catalogModel_ = catalogModelBuilder_.build();
|
|
1281
|
+
}
|
|
1282
|
+
to_bitField0_ |= 0x00002000;
|
|
1283
|
+
}
|
|
1284
|
+
if (((from_bitField0_ & 0x00004000) != 0)) {
|
|
1285
|
+
if (catalogFamilyBuilder_ == null) {
|
|
1286
|
+
result.catalogFamily_ = catalogFamily_;
|
|
1287
|
+
} else {
|
|
1288
|
+
result.catalogFamily_ = catalogFamilyBuilder_.build();
|
|
1289
|
+
}
|
|
1290
|
+
to_bitField0_ |= 0x00004000;
|
|
1291
|
+
}
|
|
1292
|
+
if (((from_bitField0_ & 0x00008000) != 0)) {
|
|
1293
|
+
if (rawBuilder_ == null) {
|
|
1294
|
+
result.raw_ = raw_;
|
|
1295
|
+
} else {
|
|
1296
|
+
result.raw_ = rawBuilder_.build();
|
|
1297
|
+
}
|
|
1298
|
+
to_bitField0_ |= 0x00008000;
|
|
1299
|
+
}
|
|
1300
|
+
result.bitField0_ = to_bitField0_;
|
|
1301
|
+
onBuilt();
|
|
1302
|
+
return result;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
@java.lang.Override
|
|
1306
|
+
public Builder clone() {
|
|
1307
|
+
return super.clone();
|
|
1308
|
+
}
|
|
1309
|
+
@java.lang.Override
|
|
1310
|
+
public Builder setField(
|
|
1311
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1312
|
+
java.lang.Object value) {
|
|
1313
|
+
return super.setField(field, value);
|
|
1314
|
+
}
|
|
1315
|
+
@java.lang.Override
|
|
1316
|
+
public Builder clearField(
|
|
1317
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
1318
|
+
return super.clearField(field);
|
|
1319
|
+
}
|
|
1320
|
+
@java.lang.Override
|
|
1321
|
+
public Builder clearOneof(
|
|
1322
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
1323
|
+
return super.clearOneof(oneof);
|
|
1324
|
+
}
|
|
1325
|
+
@java.lang.Override
|
|
1326
|
+
public Builder setRepeatedField(
|
|
1327
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1328
|
+
int index, java.lang.Object value) {
|
|
1329
|
+
return super.setRepeatedField(field, index, value);
|
|
1330
|
+
}
|
|
1331
|
+
@java.lang.Override
|
|
1332
|
+
public Builder addRepeatedField(
|
|
1333
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
1334
|
+
java.lang.Object value) {
|
|
1335
|
+
return super.addRepeatedField(field, value);
|
|
1336
|
+
}
|
|
1337
|
+
@java.lang.Override
|
|
1338
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
1339
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.HardwareInfo) {
|
|
1340
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.HardwareInfo)other);
|
|
1341
|
+
} else {
|
|
1342
|
+
super.mergeFrom(other);
|
|
1343
|
+
return this;
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.HardwareInfo other) {
|
|
1348
|
+
if (other == com.lansweeper.dp.outbound.v1.HardwareInfo.getDefaultInstance()) return this;
|
|
1349
|
+
if (other.hasTypeId()) {
|
|
1350
|
+
setTypeId(other.getTypeId());
|
|
1351
|
+
}
|
|
1352
|
+
if (other.hasMakeId()) {
|
|
1353
|
+
setMakeId(other.getMakeId());
|
|
1354
|
+
}
|
|
1355
|
+
if (other.hasModelId()) {
|
|
1356
|
+
setModelId(other.getModelId());
|
|
1357
|
+
}
|
|
1358
|
+
if (other.hasFamilyId()) {
|
|
1359
|
+
setFamilyId(other.getFamilyId());
|
|
1360
|
+
}
|
|
1361
|
+
if (other.hasIsFamily()) {
|
|
1362
|
+
setIsFamily(other.getIsFamily());
|
|
1363
|
+
}
|
|
1364
|
+
if (other.hasSerial()) {
|
|
1365
|
+
bitField0_ |= 0x00000020;
|
|
1366
|
+
serial_ = other.serial_;
|
|
1367
|
+
onChanged();
|
|
1368
|
+
}
|
|
1369
|
+
if (other.hasTypeName()) {
|
|
1370
|
+
bitField0_ |= 0x00000040;
|
|
1371
|
+
typeName_ = other.typeName_;
|
|
1372
|
+
onChanged();
|
|
1373
|
+
}
|
|
1374
|
+
if (other.hasMakeName()) {
|
|
1375
|
+
bitField0_ |= 0x00000080;
|
|
1376
|
+
makeName_ = other.makeName_;
|
|
1377
|
+
onChanged();
|
|
1378
|
+
}
|
|
1379
|
+
if (other.hasModelName()) {
|
|
1380
|
+
bitField0_ |= 0x00000100;
|
|
1381
|
+
modelName_ = other.modelName_;
|
|
1382
|
+
onChanged();
|
|
1383
|
+
}
|
|
1384
|
+
if (other.hasFamilyName()) {
|
|
1385
|
+
bitField0_ |= 0x00000200;
|
|
1386
|
+
familyName_ = other.familyName_;
|
|
1387
|
+
onChanged();
|
|
1388
|
+
}
|
|
1389
|
+
if (other.hasCpe()) {
|
|
1390
|
+
bitField0_ |= 0x00000400;
|
|
1391
|
+
cpe_ = other.cpe_;
|
|
1392
|
+
onChanged();
|
|
1393
|
+
}
|
|
1394
|
+
if (other.hasRank()) {
|
|
1395
|
+
setRank(other.getRank());
|
|
1396
|
+
}
|
|
1397
|
+
if (other.hasCatalogBrand()) {
|
|
1398
|
+
mergeCatalogBrand(other.getCatalogBrand());
|
|
1399
|
+
}
|
|
1400
|
+
if (other.hasCatalogModel()) {
|
|
1401
|
+
mergeCatalogModel(other.getCatalogModel());
|
|
1402
|
+
}
|
|
1403
|
+
if (other.hasCatalogFamily()) {
|
|
1404
|
+
mergeCatalogFamily(other.getCatalogFamily());
|
|
1405
|
+
}
|
|
1406
|
+
if (other.hasRaw()) {
|
|
1407
|
+
mergeRaw(other.getRaw());
|
|
1408
|
+
}
|
|
1409
|
+
this.mergeUnknownFields(other.unknownFields);
|
|
1410
|
+
onChanged();
|
|
1411
|
+
return this;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
@java.lang.Override
|
|
1415
|
+
public final boolean isInitialized() {
|
|
1416
|
+
return true;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
@java.lang.Override
|
|
1420
|
+
public Builder mergeFrom(
|
|
1421
|
+
com.google.protobuf.CodedInputStream input,
|
|
1422
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1423
|
+
throws java.io.IOException {
|
|
1424
|
+
com.lansweeper.dp.outbound.v1.HardwareInfo parsedMessage = null;
|
|
1425
|
+
try {
|
|
1426
|
+
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
1427
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1428
|
+
parsedMessage = (com.lansweeper.dp.outbound.v1.HardwareInfo) e.getUnfinishedMessage();
|
|
1429
|
+
throw e.unwrapIOException();
|
|
1430
|
+
} finally {
|
|
1431
|
+
if (parsedMessage != null) {
|
|
1432
|
+
mergeFrom(parsedMessage);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
return this;
|
|
1436
|
+
}
|
|
1437
|
+
private int bitField0_;
|
|
1438
|
+
|
|
1439
|
+
private long typeId_ ;
|
|
1440
|
+
/**
|
|
1441
|
+
* <code>int64 type_id = 1;</code>
|
|
1442
|
+
* @return Whether the typeId field is set.
|
|
1443
|
+
*/
|
|
1444
|
+
@java.lang.Override
|
|
1445
|
+
public boolean hasTypeId() {
|
|
1446
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
1447
|
+
}
|
|
1448
|
+
/**
|
|
1449
|
+
* <code>int64 type_id = 1;</code>
|
|
1450
|
+
* @return The typeId.
|
|
1451
|
+
*/
|
|
1452
|
+
@java.lang.Override
|
|
1453
|
+
public long getTypeId() {
|
|
1454
|
+
return typeId_;
|
|
1455
|
+
}
|
|
1456
|
+
/**
|
|
1457
|
+
* <code>int64 type_id = 1;</code>
|
|
1458
|
+
* @param value The typeId to set.
|
|
1459
|
+
* @return This builder for chaining.
|
|
1460
|
+
*/
|
|
1461
|
+
public Builder setTypeId(long value) {
|
|
1462
|
+
bitField0_ |= 0x00000001;
|
|
1463
|
+
typeId_ = value;
|
|
1464
|
+
onChanged();
|
|
1465
|
+
return this;
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* <code>int64 type_id = 1;</code>
|
|
1469
|
+
* @return This builder for chaining.
|
|
1470
|
+
*/
|
|
1471
|
+
public Builder clearTypeId() {
|
|
1472
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1473
|
+
typeId_ = 0L;
|
|
1474
|
+
onChanged();
|
|
1475
|
+
return this;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
private long makeId_ ;
|
|
1479
|
+
/**
|
|
1480
|
+
* <code>int64 make_id = 2;</code>
|
|
1481
|
+
* @return Whether the makeId field is set.
|
|
1482
|
+
*/
|
|
1483
|
+
@java.lang.Override
|
|
1484
|
+
public boolean hasMakeId() {
|
|
1485
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* <code>int64 make_id = 2;</code>
|
|
1489
|
+
* @return The makeId.
|
|
1490
|
+
*/
|
|
1491
|
+
@java.lang.Override
|
|
1492
|
+
public long getMakeId() {
|
|
1493
|
+
return makeId_;
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* <code>int64 make_id = 2;</code>
|
|
1497
|
+
* @param value The makeId to set.
|
|
1498
|
+
* @return This builder for chaining.
|
|
1499
|
+
*/
|
|
1500
|
+
public Builder setMakeId(long value) {
|
|
1501
|
+
bitField0_ |= 0x00000002;
|
|
1502
|
+
makeId_ = value;
|
|
1503
|
+
onChanged();
|
|
1504
|
+
return this;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* <code>int64 make_id = 2;</code>
|
|
1508
|
+
* @return This builder for chaining.
|
|
1509
|
+
*/
|
|
1510
|
+
public Builder clearMakeId() {
|
|
1511
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1512
|
+
makeId_ = 0L;
|
|
1513
|
+
onChanged();
|
|
1514
|
+
return this;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
private long modelId_ ;
|
|
1518
|
+
/**
|
|
1519
|
+
* <code>int64 model_id = 3;</code>
|
|
1520
|
+
* @return Whether the modelId field is set.
|
|
1521
|
+
*/
|
|
1522
|
+
@java.lang.Override
|
|
1523
|
+
public boolean hasModelId() {
|
|
1524
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* <code>int64 model_id = 3;</code>
|
|
1528
|
+
* @return The modelId.
|
|
1529
|
+
*/
|
|
1530
|
+
@java.lang.Override
|
|
1531
|
+
public long getModelId() {
|
|
1532
|
+
return modelId_;
|
|
1533
|
+
}
|
|
1534
|
+
/**
|
|
1535
|
+
* <code>int64 model_id = 3;</code>
|
|
1536
|
+
* @param value The modelId to set.
|
|
1537
|
+
* @return This builder for chaining.
|
|
1538
|
+
*/
|
|
1539
|
+
public Builder setModelId(long value) {
|
|
1540
|
+
bitField0_ |= 0x00000004;
|
|
1541
|
+
modelId_ = value;
|
|
1542
|
+
onChanged();
|
|
1543
|
+
return this;
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* <code>int64 model_id = 3;</code>
|
|
1547
|
+
* @return This builder for chaining.
|
|
1548
|
+
*/
|
|
1549
|
+
public Builder clearModelId() {
|
|
1550
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1551
|
+
modelId_ = 0L;
|
|
1552
|
+
onChanged();
|
|
1553
|
+
return this;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
private long familyId_ ;
|
|
1557
|
+
/**
|
|
1558
|
+
* <code>int64 family_id = 4;</code>
|
|
1559
|
+
* @return Whether the familyId field is set.
|
|
1560
|
+
*/
|
|
1561
|
+
@java.lang.Override
|
|
1562
|
+
public boolean hasFamilyId() {
|
|
1563
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1564
|
+
}
|
|
1565
|
+
/**
|
|
1566
|
+
* <code>int64 family_id = 4;</code>
|
|
1567
|
+
* @return The familyId.
|
|
1568
|
+
*/
|
|
1569
|
+
@java.lang.Override
|
|
1570
|
+
public long getFamilyId() {
|
|
1571
|
+
return familyId_;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* <code>int64 family_id = 4;</code>
|
|
1575
|
+
* @param value The familyId to set.
|
|
1576
|
+
* @return This builder for chaining.
|
|
1577
|
+
*/
|
|
1578
|
+
public Builder setFamilyId(long value) {
|
|
1579
|
+
bitField0_ |= 0x00000008;
|
|
1580
|
+
familyId_ = value;
|
|
1581
|
+
onChanged();
|
|
1582
|
+
return this;
|
|
1583
|
+
}
|
|
1584
|
+
/**
|
|
1585
|
+
* <code>int64 family_id = 4;</code>
|
|
1586
|
+
* @return This builder for chaining.
|
|
1587
|
+
*/
|
|
1588
|
+
public Builder clearFamilyId() {
|
|
1589
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1590
|
+
familyId_ = 0L;
|
|
1591
|
+
onChanged();
|
|
1592
|
+
return this;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
private boolean isFamily_ ;
|
|
1596
|
+
/**
|
|
1597
|
+
* <code>bool is_family = 6;</code>
|
|
1598
|
+
* @return Whether the isFamily field is set.
|
|
1599
|
+
*/
|
|
1600
|
+
@java.lang.Override
|
|
1601
|
+
public boolean hasIsFamily() {
|
|
1602
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* <code>bool is_family = 6;</code>
|
|
1606
|
+
* @return The isFamily.
|
|
1607
|
+
*/
|
|
1608
|
+
@java.lang.Override
|
|
1609
|
+
public boolean getIsFamily() {
|
|
1610
|
+
return isFamily_;
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* <code>bool is_family = 6;</code>
|
|
1614
|
+
* @param value The isFamily to set.
|
|
1615
|
+
* @return This builder for chaining.
|
|
1616
|
+
*/
|
|
1617
|
+
public Builder setIsFamily(boolean value) {
|
|
1618
|
+
bitField0_ |= 0x00000010;
|
|
1619
|
+
isFamily_ = value;
|
|
1620
|
+
onChanged();
|
|
1621
|
+
return this;
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* <code>bool is_family = 6;</code>
|
|
1625
|
+
* @return This builder for chaining.
|
|
1626
|
+
*/
|
|
1627
|
+
public Builder clearIsFamily() {
|
|
1628
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1629
|
+
isFamily_ = false;
|
|
1630
|
+
onChanged();
|
|
1631
|
+
return this;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
private java.lang.Object serial_ = "";
|
|
1635
|
+
/**
|
|
1636
|
+
* <code>string serial = 7;</code>
|
|
1637
|
+
* @return Whether the serial field is set.
|
|
1638
|
+
*/
|
|
1639
|
+
public boolean hasSerial() {
|
|
1640
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* <code>string serial = 7;</code>
|
|
1644
|
+
* @return The serial.
|
|
1645
|
+
*/
|
|
1646
|
+
public java.lang.String getSerial() {
|
|
1647
|
+
java.lang.Object ref = serial_;
|
|
1648
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1649
|
+
com.google.protobuf.ByteString bs =
|
|
1650
|
+
(com.google.protobuf.ByteString) ref;
|
|
1651
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1652
|
+
serial_ = s;
|
|
1653
|
+
return s;
|
|
1654
|
+
} else {
|
|
1655
|
+
return (java.lang.String) ref;
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
/**
|
|
1659
|
+
* <code>string serial = 7;</code>
|
|
1660
|
+
* @return The bytes for serial.
|
|
1661
|
+
*/
|
|
1662
|
+
public com.google.protobuf.ByteString
|
|
1663
|
+
getSerialBytes() {
|
|
1664
|
+
java.lang.Object ref = serial_;
|
|
1665
|
+
if (ref instanceof String) {
|
|
1666
|
+
com.google.protobuf.ByteString b =
|
|
1667
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1668
|
+
(java.lang.String) ref);
|
|
1669
|
+
serial_ = b;
|
|
1670
|
+
return b;
|
|
1671
|
+
} else {
|
|
1672
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* <code>string serial = 7;</code>
|
|
1677
|
+
* @param value The serial to set.
|
|
1678
|
+
* @return This builder for chaining.
|
|
1679
|
+
*/
|
|
1680
|
+
public Builder setSerial(
|
|
1681
|
+
java.lang.String value) {
|
|
1682
|
+
if (value == null) {
|
|
1683
|
+
throw new NullPointerException();
|
|
1684
|
+
}
|
|
1685
|
+
bitField0_ |= 0x00000020;
|
|
1686
|
+
serial_ = value;
|
|
1687
|
+
onChanged();
|
|
1688
|
+
return this;
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* <code>string serial = 7;</code>
|
|
1692
|
+
* @return This builder for chaining.
|
|
1693
|
+
*/
|
|
1694
|
+
public Builder clearSerial() {
|
|
1695
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1696
|
+
serial_ = getDefaultInstance().getSerial();
|
|
1697
|
+
onChanged();
|
|
1698
|
+
return this;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* <code>string serial = 7;</code>
|
|
1702
|
+
* @param value The bytes for serial to set.
|
|
1703
|
+
* @return This builder for chaining.
|
|
1704
|
+
*/
|
|
1705
|
+
public Builder setSerialBytes(
|
|
1706
|
+
com.google.protobuf.ByteString value) {
|
|
1707
|
+
if (value == null) {
|
|
1708
|
+
throw new NullPointerException();
|
|
1709
|
+
}
|
|
1710
|
+
checkByteStringIsUtf8(value);
|
|
1711
|
+
bitField0_ |= 0x00000020;
|
|
1712
|
+
serial_ = value;
|
|
1713
|
+
onChanged();
|
|
1714
|
+
return this;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
private java.lang.Object typeName_ = "";
|
|
1718
|
+
/**
|
|
1719
|
+
* <code>string type_name = 10;</code>
|
|
1720
|
+
* @return Whether the typeName field is set.
|
|
1721
|
+
*/
|
|
1722
|
+
public boolean hasTypeName() {
|
|
1723
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
* <code>string type_name = 10;</code>
|
|
1727
|
+
* @return The typeName.
|
|
1728
|
+
*/
|
|
1729
|
+
public java.lang.String getTypeName() {
|
|
1730
|
+
java.lang.Object ref = typeName_;
|
|
1731
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1732
|
+
com.google.protobuf.ByteString bs =
|
|
1733
|
+
(com.google.protobuf.ByteString) ref;
|
|
1734
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1735
|
+
typeName_ = s;
|
|
1736
|
+
return s;
|
|
1737
|
+
} else {
|
|
1738
|
+
return (java.lang.String) ref;
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* <code>string type_name = 10;</code>
|
|
1743
|
+
* @return The bytes for typeName.
|
|
1744
|
+
*/
|
|
1745
|
+
public com.google.protobuf.ByteString
|
|
1746
|
+
getTypeNameBytes() {
|
|
1747
|
+
java.lang.Object ref = typeName_;
|
|
1748
|
+
if (ref instanceof String) {
|
|
1749
|
+
com.google.protobuf.ByteString b =
|
|
1750
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1751
|
+
(java.lang.String) ref);
|
|
1752
|
+
typeName_ = b;
|
|
1753
|
+
return b;
|
|
1754
|
+
} else {
|
|
1755
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* <code>string type_name = 10;</code>
|
|
1760
|
+
* @param value The typeName to set.
|
|
1761
|
+
* @return This builder for chaining.
|
|
1762
|
+
*/
|
|
1763
|
+
public Builder setTypeName(
|
|
1764
|
+
java.lang.String value) {
|
|
1765
|
+
if (value == null) {
|
|
1766
|
+
throw new NullPointerException();
|
|
1767
|
+
}
|
|
1768
|
+
bitField0_ |= 0x00000040;
|
|
1769
|
+
typeName_ = value;
|
|
1770
|
+
onChanged();
|
|
1771
|
+
return this;
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* <code>string type_name = 10;</code>
|
|
1775
|
+
* @return This builder for chaining.
|
|
1776
|
+
*/
|
|
1777
|
+
public Builder clearTypeName() {
|
|
1778
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1779
|
+
typeName_ = getDefaultInstance().getTypeName();
|
|
1780
|
+
onChanged();
|
|
1781
|
+
return this;
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* <code>string type_name = 10;</code>
|
|
1785
|
+
* @param value The bytes for typeName to set.
|
|
1786
|
+
* @return This builder for chaining.
|
|
1787
|
+
*/
|
|
1788
|
+
public Builder setTypeNameBytes(
|
|
1789
|
+
com.google.protobuf.ByteString value) {
|
|
1790
|
+
if (value == null) {
|
|
1791
|
+
throw new NullPointerException();
|
|
1792
|
+
}
|
|
1793
|
+
checkByteStringIsUtf8(value);
|
|
1794
|
+
bitField0_ |= 0x00000040;
|
|
1795
|
+
typeName_ = value;
|
|
1796
|
+
onChanged();
|
|
1797
|
+
return this;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
private java.lang.Object makeName_ = "";
|
|
1801
|
+
/**
|
|
1802
|
+
* <code>string make_name = 11;</code>
|
|
1803
|
+
* @return Whether the makeName field is set.
|
|
1804
|
+
*/
|
|
1805
|
+
public boolean hasMakeName() {
|
|
1806
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* <code>string make_name = 11;</code>
|
|
1810
|
+
* @return The makeName.
|
|
1811
|
+
*/
|
|
1812
|
+
public java.lang.String getMakeName() {
|
|
1813
|
+
java.lang.Object ref = makeName_;
|
|
1814
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1815
|
+
com.google.protobuf.ByteString bs =
|
|
1816
|
+
(com.google.protobuf.ByteString) ref;
|
|
1817
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1818
|
+
makeName_ = s;
|
|
1819
|
+
return s;
|
|
1820
|
+
} else {
|
|
1821
|
+
return (java.lang.String) ref;
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* <code>string make_name = 11;</code>
|
|
1826
|
+
* @return The bytes for makeName.
|
|
1827
|
+
*/
|
|
1828
|
+
public com.google.protobuf.ByteString
|
|
1829
|
+
getMakeNameBytes() {
|
|
1830
|
+
java.lang.Object ref = makeName_;
|
|
1831
|
+
if (ref instanceof String) {
|
|
1832
|
+
com.google.protobuf.ByteString b =
|
|
1833
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1834
|
+
(java.lang.String) ref);
|
|
1835
|
+
makeName_ = b;
|
|
1836
|
+
return b;
|
|
1837
|
+
} else {
|
|
1838
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* <code>string make_name = 11;</code>
|
|
1843
|
+
* @param value The makeName to set.
|
|
1844
|
+
* @return This builder for chaining.
|
|
1845
|
+
*/
|
|
1846
|
+
public Builder setMakeName(
|
|
1847
|
+
java.lang.String value) {
|
|
1848
|
+
if (value == null) {
|
|
1849
|
+
throw new NullPointerException();
|
|
1850
|
+
}
|
|
1851
|
+
bitField0_ |= 0x00000080;
|
|
1852
|
+
makeName_ = value;
|
|
1853
|
+
onChanged();
|
|
1854
|
+
return this;
|
|
1855
|
+
}
|
|
1856
|
+
/**
|
|
1857
|
+
* <code>string make_name = 11;</code>
|
|
1858
|
+
* @return This builder for chaining.
|
|
1859
|
+
*/
|
|
1860
|
+
public Builder clearMakeName() {
|
|
1861
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1862
|
+
makeName_ = getDefaultInstance().getMakeName();
|
|
1863
|
+
onChanged();
|
|
1864
|
+
return this;
|
|
1865
|
+
}
|
|
1866
|
+
/**
|
|
1867
|
+
* <code>string make_name = 11;</code>
|
|
1868
|
+
* @param value The bytes for makeName to set.
|
|
1869
|
+
* @return This builder for chaining.
|
|
1870
|
+
*/
|
|
1871
|
+
public Builder setMakeNameBytes(
|
|
1872
|
+
com.google.protobuf.ByteString value) {
|
|
1873
|
+
if (value == null) {
|
|
1874
|
+
throw new NullPointerException();
|
|
1875
|
+
}
|
|
1876
|
+
checkByteStringIsUtf8(value);
|
|
1877
|
+
bitField0_ |= 0x00000080;
|
|
1878
|
+
makeName_ = value;
|
|
1879
|
+
onChanged();
|
|
1880
|
+
return this;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
private java.lang.Object modelName_ = "";
|
|
1884
|
+
/**
|
|
1885
|
+
* <code>string model_name = 12;</code>
|
|
1886
|
+
* @return Whether the modelName field is set.
|
|
1887
|
+
*/
|
|
1888
|
+
public boolean hasModelName() {
|
|
1889
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* <code>string model_name = 12;</code>
|
|
1893
|
+
* @return The modelName.
|
|
1894
|
+
*/
|
|
1895
|
+
public java.lang.String getModelName() {
|
|
1896
|
+
java.lang.Object ref = modelName_;
|
|
1897
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1898
|
+
com.google.protobuf.ByteString bs =
|
|
1899
|
+
(com.google.protobuf.ByteString) ref;
|
|
1900
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1901
|
+
modelName_ = s;
|
|
1902
|
+
return s;
|
|
1903
|
+
} else {
|
|
1904
|
+
return (java.lang.String) ref;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* <code>string model_name = 12;</code>
|
|
1909
|
+
* @return The bytes for modelName.
|
|
1910
|
+
*/
|
|
1911
|
+
public com.google.protobuf.ByteString
|
|
1912
|
+
getModelNameBytes() {
|
|
1913
|
+
java.lang.Object ref = modelName_;
|
|
1914
|
+
if (ref instanceof String) {
|
|
1915
|
+
com.google.protobuf.ByteString b =
|
|
1916
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1917
|
+
(java.lang.String) ref);
|
|
1918
|
+
modelName_ = b;
|
|
1919
|
+
return b;
|
|
1920
|
+
} else {
|
|
1921
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* <code>string model_name = 12;</code>
|
|
1926
|
+
* @param value The modelName to set.
|
|
1927
|
+
* @return This builder for chaining.
|
|
1928
|
+
*/
|
|
1929
|
+
public Builder setModelName(
|
|
1930
|
+
java.lang.String value) {
|
|
1931
|
+
if (value == null) {
|
|
1932
|
+
throw new NullPointerException();
|
|
1933
|
+
}
|
|
1934
|
+
bitField0_ |= 0x00000100;
|
|
1935
|
+
modelName_ = value;
|
|
1936
|
+
onChanged();
|
|
1937
|
+
return this;
|
|
1938
|
+
}
|
|
1939
|
+
/**
|
|
1940
|
+
* <code>string model_name = 12;</code>
|
|
1941
|
+
* @return This builder for chaining.
|
|
1942
|
+
*/
|
|
1943
|
+
public Builder clearModelName() {
|
|
1944
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
1945
|
+
modelName_ = getDefaultInstance().getModelName();
|
|
1946
|
+
onChanged();
|
|
1947
|
+
return this;
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* <code>string model_name = 12;</code>
|
|
1951
|
+
* @param value The bytes for modelName to set.
|
|
1952
|
+
* @return This builder for chaining.
|
|
1953
|
+
*/
|
|
1954
|
+
public Builder setModelNameBytes(
|
|
1955
|
+
com.google.protobuf.ByteString value) {
|
|
1956
|
+
if (value == null) {
|
|
1957
|
+
throw new NullPointerException();
|
|
1958
|
+
}
|
|
1959
|
+
checkByteStringIsUtf8(value);
|
|
1960
|
+
bitField0_ |= 0x00000100;
|
|
1961
|
+
modelName_ = value;
|
|
1962
|
+
onChanged();
|
|
1963
|
+
return this;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
private java.lang.Object familyName_ = "";
|
|
1967
|
+
/**
|
|
1968
|
+
* <code>string family_name = 13;</code>
|
|
1969
|
+
* @return Whether the familyName field is set.
|
|
1970
|
+
*/
|
|
1971
|
+
public boolean hasFamilyName() {
|
|
1972
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* <code>string family_name = 13;</code>
|
|
1976
|
+
* @return The familyName.
|
|
1977
|
+
*/
|
|
1978
|
+
public java.lang.String getFamilyName() {
|
|
1979
|
+
java.lang.Object ref = familyName_;
|
|
1980
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1981
|
+
com.google.protobuf.ByteString bs =
|
|
1982
|
+
(com.google.protobuf.ByteString) ref;
|
|
1983
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1984
|
+
familyName_ = s;
|
|
1985
|
+
return s;
|
|
1986
|
+
} else {
|
|
1987
|
+
return (java.lang.String) ref;
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* <code>string family_name = 13;</code>
|
|
1992
|
+
* @return The bytes for familyName.
|
|
1993
|
+
*/
|
|
1994
|
+
public com.google.protobuf.ByteString
|
|
1995
|
+
getFamilyNameBytes() {
|
|
1996
|
+
java.lang.Object ref = familyName_;
|
|
1997
|
+
if (ref instanceof String) {
|
|
1998
|
+
com.google.protobuf.ByteString b =
|
|
1999
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
2000
|
+
(java.lang.String) ref);
|
|
2001
|
+
familyName_ = b;
|
|
2002
|
+
return b;
|
|
2003
|
+
} else {
|
|
2004
|
+
return (com.google.protobuf.ByteString) ref;
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* <code>string family_name = 13;</code>
|
|
2009
|
+
* @param value The familyName to set.
|
|
2010
|
+
* @return This builder for chaining.
|
|
2011
|
+
*/
|
|
2012
|
+
public Builder setFamilyName(
|
|
2013
|
+
java.lang.String value) {
|
|
2014
|
+
if (value == null) {
|
|
2015
|
+
throw new NullPointerException();
|
|
2016
|
+
}
|
|
2017
|
+
bitField0_ |= 0x00000200;
|
|
2018
|
+
familyName_ = value;
|
|
2019
|
+
onChanged();
|
|
2020
|
+
return this;
|
|
2021
|
+
}
|
|
2022
|
+
/**
|
|
2023
|
+
* <code>string family_name = 13;</code>
|
|
2024
|
+
* @return This builder for chaining.
|
|
2025
|
+
*/
|
|
2026
|
+
public Builder clearFamilyName() {
|
|
2027
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
2028
|
+
familyName_ = getDefaultInstance().getFamilyName();
|
|
2029
|
+
onChanged();
|
|
2030
|
+
return this;
|
|
2031
|
+
}
|
|
2032
|
+
/**
|
|
2033
|
+
* <code>string family_name = 13;</code>
|
|
2034
|
+
* @param value The bytes for familyName to set.
|
|
2035
|
+
* @return This builder for chaining.
|
|
2036
|
+
*/
|
|
2037
|
+
public Builder setFamilyNameBytes(
|
|
2038
|
+
com.google.protobuf.ByteString value) {
|
|
2039
|
+
if (value == null) {
|
|
2040
|
+
throw new NullPointerException();
|
|
2041
|
+
}
|
|
2042
|
+
checkByteStringIsUtf8(value);
|
|
2043
|
+
bitField0_ |= 0x00000200;
|
|
2044
|
+
familyName_ = value;
|
|
2045
|
+
onChanged();
|
|
2046
|
+
return this;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
private java.lang.Object cpe_ = "";
|
|
2050
|
+
/**
|
|
2051
|
+
* <code>string cpe = 21;</code>
|
|
2052
|
+
* @return Whether the cpe field is set.
|
|
2053
|
+
*/
|
|
2054
|
+
public boolean hasCpe() {
|
|
2055
|
+
return ((bitField0_ & 0x00000400) != 0);
|
|
2056
|
+
}
|
|
2057
|
+
/**
|
|
2058
|
+
* <code>string cpe = 21;</code>
|
|
2059
|
+
* @return The cpe.
|
|
2060
|
+
*/
|
|
2061
|
+
public java.lang.String getCpe() {
|
|
2062
|
+
java.lang.Object ref = cpe_;
|
|
2063
|
+
if (!(ref instanceof java.lang.String)) {
|
|
2064
|
+
com.google.protobuf.ByteString bs =
|
|
2065
|
+
(com.google.protobuf.ByteString) ref;
|
|
2066
|
+
java.lang.String s = bs.toStringUtf8();
|
|
2067
|
+
cpe_ = s;
|
|
2068
|
+
return s;
|
|
2069
|
+
} else {
|
|
2070
|
+
return (java.lang.String) ref;
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
/**
|
|
2074
|
+
* <code>string cpe = 21;</code>
|
|
2075
|
+
* @return The bytes for cpe.
|
|
2076
|
+
*/
|
|
2077
|
+
public com.google.protobuf.ByteString
|
|
2078
|
+
getCpeBytes() {
|
|
2079
|
+
java.lang.Object ref = cpe_;
|
|
2080
|
+
if (ref instanceof String) {
|
|
2081
|
+
com.google.protobuf.ByteString b =
|
|
2082
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
2083
|
+
(java.lang.String) ref);
|
|
2084
|
+
cpe_ = b;
|
|
2085
|
+
return b;
|
|
2086
|
+
} else {
|
|
2087
|
+
return (com.google.protobuf.ByteString) ref;
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
/**
|
|
2091
|
+
* <code>string cpe = 21;</code>
|
|
2092
|
+
* @param value The cpe to set.
|
|
2093
|
+
* @return This builder for chaining.
|
|
2094
|
+
*/
|
|
2095
|
+
public Builder setCpe(
|
|
2096
|
+
java.lang.String value) {
|
|
2097
|
+
if (value == null) {
|
|
2098
|
+
throw new NullPointerException();
|
|
2099
|
+
}
|
|
2100
|
+
bitField0_ |= 0x00000400;
|
|
2101
|
+
cpe_ = value;
|
|
2102
|
+
onChanged();
|
|
2103
|
+
return this;
|
|
2104
|
+
}
|
|
2105
|
+
/**
|
|
2106
|
+
* <code>string cpe = 21;</code>
|
|
2107
|
+
* @return This builder for chaining.
|
|
2108
|
+
*/
|
|
2109
|
+
public Builder clearCpe() {
|
|
2110
|
+
bitField0_ = (bitField0_ & ~0x00000400);
|
|
2111
|
+
cpe_ = getDefaultInstance().getCpe();
|
|
2112
|
+
onChanged();
|
|
2113
|
+
return this;
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* <code>string cpe = 21;</code>
|
|
2117
|
+
* @param value The bytes for cpe to set.
|
|
2118
|
+
* @return This builder for chaining.
|
|
2119
|
+
*/
|
|
2120
|
+
public Builder setCpeBytes(
|
|
2121
|
+
com.google.protobuf.ByteString value) {
|
|
2122
|
+
if (value == null) {
|
|
2123
|
+
throw new NullPointerException();
|
|
2124
|
+
}
|
|
2125
|
+
checkByteStringIsUtf8(value);
|
|
2126
|
+
bitField0_ |= 0x00000400;
|
|
2127
|
+
cpe_ = value;
|
|
2128
|
+
onChanged();
|
|
2129
|
+
return this;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
private int rank_ ;
|
|
2133
|
+
/**
|
|
2134
|
+
* <code>int32 rank = 20;</code>
|
|
2135
|
+
* @return Whether the rank field is set.
|
|
2136
|
+
*/
|
|
2137
|
+
@java.lang.Override
|
|
2138
|
+
public boolean hasRank() {
|
|
2139
|
+
return ((bitField0_ & 0x00000800) != 0);
|
|
2140
|
+
}
|
|
2141
|
+
/**
|
|
2142
|
+
* <code>int32 rank = 20;</code>
|
|
2143
|
+
* @return The rank.
|
|
2144
|
+
*/
|
|
2145
|
+
@java.lang.Override
|
|
2146
|
+
public int getRank() {
|
|
2147
|
+
return rank_;
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* <code>int32 rank = 20;</code>
|
|
2151
|
+
* @param value The rank to set.
|
|
2152
|
+
* @return This builder for chaining.
|
|
2153
|
+
*/
|
|
2154
|
+
public Builder setRank(int value) {
|
|
2155
|
+
bitField0_ |= 0x00000800;
|
|
2156
|
+
rank_ = value;
|
|
2157
|
+
onChanged();
|
|
2158
|
+
return this;
|
|
2159
|
+
}
|
|
2160
|
+
/**
|
|
2161
|
+
* <code>int32 rank = 20;</code>
|
|
2162
|
+
* @return This builder for chaining.
|
|
2163
|
+
*/
|
|
2164
|
+
public Builder clearRank() {
|
|
2165
|
+
bitField0_ = (bitField0_ & ~0x00000800);
|
|
2166
|
+
rank_ = 0;
|
|
2167
|
+
onChanged();
|
|
2168
|
+
return this;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
private com.lansweeper.dp.outbound.v1.CatalogBrand catalogBrand_;
|
|
2172
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2173
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder> catalogBrandBuilder_;
|
|
2174
|
+
/**
|
|
2175
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2176
|
+
* @return Whether the catalogBrand field is set.
|
|
2177
|
+
*/
|
|
2178
|
+
public boolean hasCatalogBrand() {
|
|
2179
|
+
return ((bitField0_ & 0x00001000) != 0);
|
|
2180
|
+
}
|
|
2181
|
+
/**
|
|
2182
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2183
|
+
* @return The catalogBrand.
|
|
2184
|
+
*/
|
|
2185
|
+
public com.lansweeper.dp.outbound.v1.CatalogBrand getCatalogBrand() {
|
|
2186
|
+
if (catalogBrandBuilder_ == null) {
|
|
2187
|
+
return catalogBrand_ == null ? com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
|
|
2188
|
+
} else {
|
|
2189
|
+
return catalogBrandBuilder_.getMessage();
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
/**
|
|
2193
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2194
|
+
*/
|
|
2195
|
+
public Builder setCatalogBrand(com.lansweeper.dp.outbound.v1.CatalogBrand value) {
|
|
2196
|
+
if (catalogBrandBuilder_ == null) {
|
|
2197
|
+
if (value == null) {
|
|
2198
|
+
throw new NullPointerException();
|
|
2199
|
+
}
|
|
2200
|
+
catalogBrand_ = value;
|
|
2201
|
+
onChanged();
|
|
2202
|
+
} else {
|
|
2203
|
+
catalogBrandBuilder_.setMessage(value);
|
|
2204
|
+
}
|
|
2205
|
+
bitField0_ |= 0x00001000;
|
|
2206
|
+
return this;
|
|
2207
|
+
}
|
|
2208
|
+
/**
|
|
2209
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2210
|
+
*/
|
|
2211
|
+
public Builder setCatalogBrand(
|
|
2212
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand.Builder builderForValue) {
|
|
2213
|
+
if (catalogBrandBuilder_ == null) {
|
|
2214
|
+
catalogBrand_ = builderForValue.build();
|
|
2215
|
+
onChanged();
|
|
2216
|
+
} else {
|
|
2217
|
+
catalogBrandBuilder_.setMessage(builderForValue.build());
|
|
2218
|
+
}
|
|
2219
|
+
bitField0_ |= 0x00001000;
|
|
2220
|
+
return this;
|
|
2221
|
+
}
|
|
2222
|
+
/**
|
|
2223
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2224
|
+
*/
|
|
2225
|
+
public Builder mergeCatalogBrand(com.lansweeper.dp.outbound.v1.CatalogBrand value) {
|
|
2226
|
+
if (catalogBrandBuilder_ == null) {
|
|
2227
|
+
if (((bitField0_ & 0x00001000) != 0) &&
|
|
2228
|
+
catalogBrand_ != null &&
|
|
2229
|
+
catalogBrand_ != com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance()) {
|
|
2230
|
+
catalogBrand_ =
|
|
2231
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand.newBuilder(catalogBrand_).mergeFrom(value).buildPartial();
|
|
2232
|
+
} else {
|
|
2233
|
+
catalogBrand_ = value;
|
|
2234
|
+
}
|
|
2235
|
+
onChanged();
|
|
2236
|
+
} else {
|
|
2237
|
+
catalogBrandBuilder_.mergeFrom(value);
|
|
2238
|
+
}
|
|
2239
|
+
bitField0_ |= 0x00001000;
|
|
2240
|
+
return this;
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2244
|
+
*/
|
|
2245
|
+
public Builder clearCatalogBrand() {
|
|
2246
|
+
if (catalogBrandBuilder_ == null) {
|
|
2247
|
+
catalogBrand_ = null;
|
|
2248
|
+
onChanged();
|
|
2249
|
+
} else {
|
|
2250
|
+
catalogBrandBuilder_.clear();
|
|
2251
|
+
}
|
|
2252
|
+
bitField0_ = (bitField0_ & ~0x00001000);
|
|
2253
|
+
return this;
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2257
|
+
*/
|
|
2258
|
+
public com.lansweeper.dp.outbound.v1.CatalogBrand.Builder getCatalogBrandBuilder() {
|
|
2259
|
+
bitField0_ |= 0x00001000;
|
|
2260
|
+
onChanged();
|
|
2261
|
+
return getCatalogBrandFieldBuilder().getBuilder();
|
|
2262
|
+
}
|
|
2263
|
+
/**
|
|
2264
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2265
|
+
*/
|
|
2266
|
+
public com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder getCatalogBrandOrBuilder() {
|
|
2267
|
+
if (catalogBrandBuilder_ != null) {
|
|
2268
|
+
return catalogBrandBuilder_.getMessageOrBuilder();
|
|
2269
|
+
} else {
|
|
2270
|
+
return catalogBrand_ == null ?
|
|
2271
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand.getDefaultInstance() : catalogBrand_;
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
/**
|
|
2275
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogBrand catalog_brand = 22;</code>
|
|
2276
|
+
*/
|
|
2277
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2278
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder>
|
|
2279
|
+
getCatalogBrandFieldBuilder() {
|
|
2280
|
+
if (catalogBrandBuilder_ == null) {
|
|
2281
|
+
catalogBrandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
2282
|
+
com.lansweeper.dp.outbound.v1.CatalogBrand, com.lansweeper.dp.outbound.v1.CatalogBrand.Builder, com.lansweeper.dp.outbound.v1.CatalogBrandOrBuilder>(
|
|
2283
|
+
getCatalogBrand(),
|
|
2284
|
+
getParentForChildren(),
|
|
2285
|
+
isClean());
|
|
2286
|
+
catalogBrand_ = null;
|
|
2287
|
+
}
|
|
2288
|
+
return catalogBrandBuilder_;
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
private com.lansweeper.dp.outbound.v1.CatalogModel catalogModel_;
|
|
2292
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2293
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder> catalogModelBuilder_;
|
|
2294
|
+
/**
|
|
2295
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2296
|
+
* @return Whether the catalogModel field is set.
|
|
2297
|
+
*/
|
|
2298
|
+
public boolean hasCatalogModel() {
|
|
2299
|
+
return ((bitField0_ & 0x00002000) != 0);
|
|
2300
|
+
}
|
|
2301
|
+
/**
|
|
2302
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2303
|
+
* @return The catalogModel.
|
|
2304
|
+
*/
|
|
2305
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel getCatalogModel() {
|
|
2306
|
+
if (catalogModelBuilder_ == null) {
|
|
2307
|
+
return catalogModel_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogModel_;
|
|
2308
|
+
} else {
|
|
2309
|
+
return catalogModelBuilder_.getMessage();
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
/**
|
|
2313
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2314
|
+
*/
|
|
2315
|
+
public Builder setCatalogModel(com.lansweeper.dp.outbound.v1.CatalogModel value) {
|
|
2316
|
+
if (catalogModelBuilder_ == null) {
|
|
2317
|
+
if (value == null) {
|
|
2318
|
+
throw new NullPointerException();
|
|
2319
|
+
}
|
|
2320
|
+
catalogModel_ = value;
|
|
2321
|
+
onChanged();
|
|
2322
|
+
} else {
|
|
2323
|
+
catalogModelBuilder_.setMessage(value);
|
|
2324
|
+
}
|
|
2325
|
+
bitField0_ |= 0x00002000;
|
|
2326
|
+
return this;
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2330
|
+
*/
|
|
2331
|
+
public Builder setCatalogModel(
|
|
2332
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.Builder builderForValue) {
|
|
2333
|
+
if (catalogModelBuilder_ == null) {
|
|
2334
|
+
catalogModel_ = builderForValue.build();
|
|
2335
|
+
onChanged();
|
|
2336
|
+
} else {
|
|
2337
|
+
catalogModelBuilder_.setMessage(builderForValue.build());
|
|
2338
|
+
}
|
|
2339
|
+
bitField0_ |= 0x00002000;
|
|
2340
|
+
return this;
|
|
2341
|
+
}
|
|
2342
|
+
/**
|
|
2343
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2344
|
+
*/
|
|
2345
|
+
public Builder mergeCatalogModel(com.lansweeper.dp.outbound.v1.CatalogModel value) {
|
|
2346
|
+
if (catalogModelBuilder_ == null) {
|
|
2347
|
+
if (((bitField0_ & 0x00002000) != 0) &&
|
|
2348
|
+
catalogModel_ != null &&
|
|
2349
|
+
catalogModel_ != com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance()) {
|
|
2350
|
+
catalogModel_ =
|
|
2351
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.newBuilder(catalogModel_).mergeFrom(value).buildPartial();
|
|
2352
|
+
} else {
|
|
2353
|
+
catalogModel_ = value;
|
|
2354
|
+
}
|
|
2355
|
+
onChanged();
|
|
2356
|
+
} else {
|
|
2357
|
+
catalogModelBuilder_.mergeFrom(value);
|
|
2358
|
+
}
|
|
2359
|
+
bitField0_ |= 0x00002000;
|
|
2360
|
+
return this;
|
|
2361
|
+
}
|
|
2362
|
+
/**
|
|
2363
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2364
|
+
*/
|
|
2365
|
+
public Builder clearCatalogModel() {
|
|
2366
|
+
if (catalogModelBuilder_ == null) {
|
|
2367
|
+
catalogModel_ = null;
|
|
2368
|
+
onChanged();
|
|
2369
|
+
} else {
|
|
2370
|
+
catalogModelBuilder_.clear();
|
|
2371
|
+
}
|
|
2372
|
+
bitField0_ = (bitField0_ & ~0x00002000);
|
|
2373
|
+
return this;
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2377
|
+
*/
|
|
2378
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel.Builder getCatalogModelBuilder() {
|
|
2379
|
+
bitField0_ |= 0x00002000;
|
|
2380
|
+
onChanged();
|
|
2381
|
+
return getCatalogModelFieldBuilder().getBuilder();
|
|
2382
|
+
}
|
|
2383
|
+
/**
|
|
2384
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2385
|
+
*/
|
|
2386
|
+
public com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder getCatalogModelOrBuilder() {
|
|
2387
|
+
if (catalogModelBuilder_ != null) {
|
|
2388
|
+
return catalogModelBuilder_.getMessageOrBuilder();
|
|
2389
|
+
} else {
|
|
2390
|
+
return catalogModel_ == null ?
|
|
2391
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogModel_;
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
/**
|
|
2395
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_model = 23;</code>
|
|
2396
|
+
*/
|
|
2397
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2398
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder>
|
|
2399
|
+
getCatalogModelFieldBuilder() {
|
|
2400
|
+
if (catalogModelBuilder_ == null) {
|
|
2401
|
+
catalogModelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
2402
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder>(
|
|
2403
|
+
getCatalogModel(),
|
|
2404
|
+
getParentForChildren(),
|
|
2405
|
+
isClean());
|
|
2406
|
+
catalogModel_ = null;
|
|
2407
|
+
}
|
|
2408
|
+
return catalogModelBuilder_;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
private com.lansweeper.dp.outbound.v1.CatalogModel catalogFamily_;
|
|
2412
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2413
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder> catalogFamilyBuilder_;
|
|
2414
|
+
/**
|
|
2415
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2416
|
+
* @return Whether the catalogFamily field is set.
|
|
2417
|
+
*/
|
|
2418
|
+
public boolean hasCatalogFamily() {
|
|
2419
|
+
return ((bitField0_ & 0x00004000) != 0);
|
|
2420
|
+
}
|
|
2421
|
+
/**
|
|
2422
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2423
|
+
* @return The catalogFamily.
|
|
2424
|
+
*/
|
|
2425
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel getCatalogFamily() {
|
|
2426
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2427
|
+
return catalogFamily_ == null ? com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogFamily_;
|
|
2428
|
+
} else {
|
|
2429
|
+
return catalogFamilyBuilder_.getMessage();
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2434
|
+
*/
|
|
2435
|
+
public Builder setCatalogFamily(com.lansweeper.dp.outbound.v1.CatalogModel value) {
|
|
2436
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2437
|
+
if (value == null) {
|
|
2438
|
+
throw new NullPointerException();
|
|
2439
|
+
}
|
|
2440
|
+
catalogFamily_ = value;
|
|
2441
|
+
onChanged();
|
|
2442
|
+
} else {
|
|
2443
|
+
catalogFamilyBuilder_.setMessage(value);
|
|
2444
|
+
}
|
|
2445
|
+
bitField0_ |= 0x00004000;
|
|
2446
|
+
return this;
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2450
|
+
*/
|
|
2451
|
+
public Builder setCatalogFamily(
|
|
2452
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.Builder builderForValue) {
|
|
2453
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2454
|
+
catalogFamily_ = builderForValue.build();
|
|
2455
|
+
onChanged();
|
|
2456
|
+
} else {
|
|
2457
|
+
catalogFamilyBuilder_.setMessage(builderForValue.build());
|
|
2458
|
+
}
|
|
2459
|
+
bitField0_ |= 0x00004000;
|
|
2460
|
+
return this;
|
|
2461
|
+
}
|
|
2462
|
+
/**
|
|
2463
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2464
|
+
*/
|
|
2465
|
+
public Builder mergeCatalogFamily(com.lansweeper.dp.outbound.v1.CatalogModel value) {
|
|
2466
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2467
|
+
if (((bitField0_ & 0x00004000) != 0) &&
|
|
2468
|
+
catalogFamily_ != null &&
|
|
2469
|
+
catalogFamily_ != com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance()) {
|
|
2470
|
+
catalogFamily_ =
|
|
2471
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.newBuilder(catalogFamily_).mergeFrom(value).buildPartial();
|
|
2472
|
+
} else {
|
|
2473
|
+
catalogFamily_ = value;
|
|
2474
|
+
}
|
|
2475
|
+
onChanged();
|
|
2476
|
+
} else {
|
|
2477
|
+
catalogFamilyBuilder_.mergeFrom(value);
|
|
2478
|
+
}
|
|
2479
|
+
bitField0_ |= 0x00004000;
|
|
2480
|
+
return this;
|
|
2481
|
+
}
|
|
2482
|
+
/**
|
|
2483
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2484
|
+
*/
|
|
2485
|
+
public Builder clearCatalogFamily() {
|
|
2486
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2487
|
+
catalogFamily_ = null;
|
|
2488
|
+
onChanged();
|
|
2489
|
+
} else {
|
|
2490
|
+
catalogFamilyBuilder_.clear();
|
|
2491
|
+
}
|
|
2492
|
+
bitField0_ = (bitField0_ & ~0x00004000);
|
|
2493
|
+
return this;
|
|
2494
|
+
}
|
|
2495
|
+
/**
|
|
2496
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2497
|
+
*/
|
|
2498
|
+
public com.lansweeper.dp.outbound.v1.CatalogModel.Builder getCatalogFamilyBuilder() {
|
|
2499
|
+
bitField0_ |= 0x00004000;
|
|
2500
|
+
onChanged();
|
|
2501
|
+
return getCatalogFamilyFieldBuilder().getBuilder();
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2505
|
+
*/
|
|
2506
|
+
public com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder getCatalogFamilyOrBuilder() {
|
|
2507
|
+
if (catalogFamilyBuilder_ != null) {
|
|
2508
|
+
return catalogFamilyBuilder_.getMessageOrBuilder();
|
|
2509
|
+
} else {
|
|
2510
|
+
return catalogFamily_ == null ?
|
|
2511
|
+
com.lansweeper.dp.outbound.v1.CatalogModel.getDefaultInstance() : catalogFamily_;
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
/**
|
|
2515
|
+
* <code>.com.lansweeper.dp.outbound.v1.CatalogModel catalog_family = 25;</code>
|
|
2516
|
+
*/
|
|
2517
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2518
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder>
|
|
2519
|
+
getCatalogFamilyFieldBuilder() {
|
|
2520
|
+
if (catalogFamilyBuilder_ == null) {
|
|
2521
|
+
catalogFamilyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
2522
|
+
com.lansweeper.dp.outbound.v1.CatalogModel, com.lansweeper.dp.outbound.v1.CatalogModel.Builder, com.lansweeper.dp.outbound.v1.CatalogModelOrBuilder>(
|
|
2523
|
+
getCatalogFamily(),
|
|
2524
|
+
getParentForChildren(),
|
|
2525
|
+
isClean());
|
|
2526
|
+
catalogFamily_ = null;
|
|
2527
|
+
}
|
|
2528
|
+
return catalogFamilyBuilder_;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
private com.lansweeper.dp.outbound.v1.RawHardwareInfo raw_;
|
|
2532
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2533
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo, com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder, com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder> rawBuilder_;
|
|
2534
|
+
/**
|
|
2535
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2536
|
+
* @return Whether the raw field is set.
|
|
2537
|
+
*/
|
|
2538
|
+
public boolean hasRaw() {
|
|
2539
|
+
return ((bitField0_ & 0x00008000) != 0);
|
|
2540
|
+
}
|
|
2541
|
+
/**
|
|
2542
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2543
|
+
* @return The raw.
|
|
2544
|
+
*/
|
|
2545
|
+
public com.lansweeper.dp.outbound.v1.RawHardwareInfo getRaw() {
|
|
2546
|
+
if (rawBuilder_ == null) {
|
|
2547
|
+
return raw_ == null ? com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance() : raw_;
|
|
2548
|
+
} else {
|
|
2549
|
+
return rawBuilder_.getMessage();
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
/**
|
|
2553
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2554
|
+
*/
|
|
2555
|
+
public Builder setRaw(com.lansweeper.dp.outbound.v1.RawHardwareInfo value) {
|
|
2556
|
+
if (rawBuilder_ == null) {
|
|
2557
|
+
if (value == null) {
|
|
2558
|
+
throw new NullPointerException();
|
|
2559
|
+
}
|
|
2560
|
+
raw_ = value;
|
|
2561
|
+
onChanged();
|
|
2562
|
+
} else {
|
|
2563
|
+
rawBuilder_.setMessage(value);
|
|
2564
|
+
}
|
|
2565
|
+
bitField0_ |= 0x00008000;
|
|
2566
|
+
return this;
|
|
2567
|
+
}
|
|
2568
|
+
/**
|
|
2569
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2570
|
+
*/
|
|
2571
|
+
public Builder setRaw(
|
|
2572
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder builderForValue) {
|
|
2573
|
+
if (rawBuilder_ == null) {
|
|
2574
|
+
raw_ = builderForValue.build();
|
|
2575
|
+
onChanged();
|
|
2576
|
+
} else {
|
|
2577
|
+
rawBuilder_.setMessage(builderForValue.build());
|
|
2578
|
+
}
|
|
2579
|
+
bitField0_ |= 0x00008000;
|
|
2580
|
+
return this;
|
|
2581
|
+
}
|
|
2582
|
+
/**
|
|
2583
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2584
|
+
*/
|
|
2585
|
+
public Builder mergeRaw(com.lansweeper.dp.outbound.v1.RawHardwareInfo value) {
|
|
2586
|
+
if (rawBuilder_ == null) {
|
|
2587
|
+
if (((bitField0_ & 0x00008000) != 0) &&
|
|
2588
|
+
raw_ != null &&
|
|
2589
|
+
raw_ != com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance()) {
|
|
2590
|
+
raw_ =
|
|
2591
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo.newBuilder(raw_).mergeFrom(value).buildPartial();
|
|
2592
|
+
} else {
|
|
2593
|
+
raw_ = value;
|
|
2594
|
+
}
|
|
2595
|
+
onChanged();
|
|
2596
|
+
} else {
|
|
2597
|
+
rawBuilder_.mergeFrom(value);
|
|
2598
|
+
}
|
|
2599
|
+
bitField0_ |= 0x00008000;
|
|
2600
|
+
return this;
|
|
2601
|
+
}
|
|
2602
|
+
/**
|
|
2603
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2604
|
+
*/
|
|
2605
|
+
public Builder clearRaw() {
|
|
2606
|
+
if (rawBuilder_ == null) {
|
|
2607
|
+
raw_ = null;
|
|
2608
|
+
onChanged();
|
|
2609
|
+
} else {
|
|
2610
|
+
rawBuilder_.clear();
|
|
2611
|
+
}
|
|
2612
|
+
bitField0_ = (bitField0_ & ~0x00008000);
|
|
2613
|
+
return this;
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2617
|
+
*/
|
|
2618
|
+
public com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder getRawBuilder() {
|
|
2619
|
+
bitField0_ |= 0x00008000;
|
|
2620
|
+
onChanged();
|
|
2621
|
+
return getRawFieldBuilder().getBuilder();
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2625
|
+
*/
|
|
2626
|
+
public com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder getRawOrBuilder() {
|
|
2627
|
+
if (rawBuilder_ != null) {
|
|
2628
|
+
return rawBuilder_.getMessageOrBuilder();
|
|
2629
|
+
} else {
|
|
2630
|
+
return raw_ == null ?
|
|
2631
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo.getDefaultInstance() : raw_;
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* <code>.com.lansweeper.dp.outbound.v1.RawHardwareInfo raw = 24;</code>
|
|
2636
|
+
*/
|
|
2637
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
2638
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo, com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder, com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder>
|
|
2639
|
+
getRawFieldBuilder() {
|
|
2640
|
+
if (rawBuilder_ == null) {
|
|
2641
|
+
rawBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
2642
|
+
com.lansweeper.dp.outbound.v1.RawHardwareInfo, com.lansweeper.dp.outbound.v1.RawHardwareInfo.Builder, com.lansweeper.dp.outbound.v1.RawHardwareInfoOrBuilder>(
|
|
2643
|
+
getRaw(),
|
|
2644
|
+
getParentForChildren(),
|
|
2645
|
+
isClean());
|
|
2646
|
+
raw_ = null;
|
|
2647
|
+
}
|
|
2648
|
+
return rawBuilder_;
|
|
2649
|
+
}
|
|
2650
|
+
@java.lang.Override
|
|
2651
|
+
public final Builder setUnknownFields(
|
|
2652
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
2653
|
+
return super.setUnknownFields(unknownFields);
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
@java.lang.Override
|
|
2657
|
+
public final Builder mergeUnknownFields(
|
|
2658
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
2659
|
+
return super.mergeUnknownFields(unknownFields);
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.HardwareInfo)
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.HardwareInfo)
|
|
2667
|
+
private static final com.lansweeper.dp.outbound.v1.HardwareInfo DEFAULT_INSTANCE;
|
|
2668
|
+
static {
|
|
2669
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.HardwareInfo();
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
public static com.lansweeper.dp.outbound.v1.HardwareInfo getDefaultInstance() {
|
|
2673
|
+
return DEFAULT_INSTANCE;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
private static final com.google.protobuf.Parser<HardwareInfo>
|
|
2677
|
+
PARSER = new com.google.protobuf.AbstractParser<HardwareInfo>() {
|
|
2678
|
+
@java.lang.Override
|
|
2679
|
+
public HardwareInfo parsePartialFrom(
|
|
2680
|
+
com.google.protobuf.CodedInputStream input,
|
|
2681
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
2682
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
2683
|
+
return new HardwareInfo(input, extensionRegistry);
|
|
2684
|
+
}
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
public static com.google.protobuf.Parser<HardwareInfo> parser() {
|
|
2688
|
+
return PARSER;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
@java.lang.Override
|
|
2692
|
+
public com.google.protobuf.Parser<HardwareInfo> getParserForType() {
|
|
2693
|
+
return PARSER;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
@java.lang.Override
|
|
2697
|
+
public com.lansweeper.dp.outbound.v1.HardwareInfo getDefaultInstanceForType() {
|
|
2698
|
+
return DEFAULT_INSTANCE;
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
}
|
|
2702
|
+
|