@lansweeper/data-platform-outbound-grpc 0.3.21 → 0.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +595 -0
  4. package/gen-proto/outbound_pb.js +10520 -5772
  5. package/generated-go/outbound.pb.go +21226 -19856
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +105 -1
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$1.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$1.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$1.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$Builder.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$1.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$Builder.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.class +0 -0
  31. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.class +0 -0
  32. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$1.class +0 -0
  33. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$Builder.class +0 -0
  34. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.class +0 -0
  35. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.class +0 -0
  36. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$1.class +0 -0
  37. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$Builder.class +0 -0
  38. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.class +0 -0
  39. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.class +0 -0
  40. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$1.class +0 -0
  41. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$Builder.class +0 -0
  42. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.class +0 -0
  43. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.class +0 -0
  44. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
  45. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$1.class +0 -0
  46. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$Builder.class +0 -0
  47. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.class +0 -0
  48. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.class +0 -0
  49. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$1.class +0 -0
  50. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$Builder.class +0 -0
  51. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields.class +0 -0
  52. package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.class +0 -0
  53. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  54. package/model/target/classes/outbound.proto +105 -1
  55. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +2911 -620
  56. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.java +1283 -0
  57. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.java +106 -0
  58. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.java +1673 -0
  59. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.java +146 -0
  60. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.java +1516 -0
  61. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.java +129 -0
  62. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.java +1843 -0
  63. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.java +168 -0
  64. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.java +1304 -0
  65. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.java +111 -0
  66. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.java +2076 -0
  67. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.java +165 -0
  68. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.java +1940 -0
  69. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.java +179 -0
  70. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.java +731 -0
  71. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.java +44 -0
  72. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +159 -0
  73. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.java +1508 -0
  74. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.java +129 -0
  75. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFields.java +169 -12
  76. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +17 -0
  77. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3390 -3200
  78. package/model/target/maven-archiver/pom.properties +2 -2
  79. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +36 -0
  80. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +18 -0
  81. package/model/target/{outbound-model-0.3.20-sources.jar → outbound-model-0.3.21-sources.jar} +0 -0
  82. package/model/target/{outbound-model-0.3.20.jar → outbound-model-0.3.21.jar} +0 -0
  83. package/package.json +2 -2
  84. package/pom.xml +1 -1
  85. package/proto/outbound.proto +105 -1
  86. package/service/pom.xml +1 -1
  87. package/service/target/maven-archiver/pom.properties +2 -2
  88. package/service/target/{outbound-service-0.3.20-sources.jar → outbound-service-0.3.21-sources.jar} +0 -0
  89. package/service/target/{outbound-service-0.3.20.jar → outbound-service-0.3.21.jar} +0 -0
@@ -0,0 +1,1304 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: outbound.proto
3
+
4
+ // Protobuf Java Version: 3.25.1
5
+ package com.lansweeper.dp.outbound.v1;
6
+
7
+ /**
8
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume}
9
+ */
10
+ public final class ComputerLinuxPhysicalVolume extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)
13
+ ComputerLinuxPhysicalVolumeOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use ComputerLinuxPhysicalVolume.newBuilder() to construct.
16
+ private ComputerLinuxPhysicalVolume(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private ComputerLinuxPhysicalVolume() {
20
+ relatedGroup_ = "";
21
+ name_ = "";
22
+ uuid_ = "";
23
+ inUse_ = "";
24
+ }
25
+
26
+ @java.lang.Override
27
+ @SuppressWarnings({"unused"})
28
+ protected java.lang.Object newInstance(
29
+ UnusedPrivateParameter unused) {
30
+ return new ComputerLinuxPhysicalVolume();
31
+ }
32
+
33
+ public static final com.google.protobuf.Descriptors.Descriptor
34
+ getDescriptor() {
35
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalVolume_descriptor;
36
+ }
37
+
38
+ @java.lang.Override
39
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
40
+ internalGetFieldAccessorTable() {
41
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalVolume_fieldAccessorTable
42
+ .ensureFieldAccessorsInitialized(
43
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.class, com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.Builder.class);
44
+ }
45
+
46
+ private int bitField0_;
47
+ public static final int RELATED_GROUP_FIELD_NUMBER = 1;
48
+ @SuppressWarnings("serial")
49
+ private volatile java.lang.Object relatedGroup_ = "";
50
+ /**
51
+ * <code>optional string related_group = 1;</code>
52
+ * @return Whether the relatedGroup field is set.
53
+ */
54
+ @java.lang.Override
55
+ public boolean hasRelatedGroup() {
56
+ return ((bitField0_ & 0x00000001) != 0);
57
+ }
58
+ /**
59
+ * <code>optional string related_group = 1;</code>
60
+ * @return The relatedGroup.
61
+ */
62
+ @java.lang.Override
63
+ public java.lang.String getRelatedGroup() {
64
+ java.lang.Object ref = relatedGroup_;
65
+ if (ref instanceof java.lang.String) {
66
+ return (java.lang.String) ref;
67
+ } else {
68
+ com.google.protobuf.ByteString bs =
69
+ (com.google.protobuf.ByteString) ref;
70
+ java.lang.String s = bs.toStringUtf8();
71
+ relatedGroup_ = s;
72
+ return s;
73
+ }
74
+ }
75
+ /**
76
+ * <code>optional string related_group = 1;</code>
77
+ * @return The bytes for relatedGroup.
78
+ */
79
+ @java.lang.Override
80
+ public com.google.protobuf.ByteString
81
+ getRelatedGroupBytes() {
82
+ java.lang.Object ref = relatedGroup_;
83
+ if (ref instanceof java.lang.String) {
84
+ com.google.protobuf.ByteString b =
85
+ com.google.protobuf.ByteString.copyFromUtf8(
86
+ (java.lang.String) ref);
87
+ relatedGroup_ = b;
88
+ return b;
89
+ } else {
90
+ return (com.google.protobuf.ByteString) ref;
91
+ }
92
+ }
93
+
94
+ public static final int NAME_FIELD_NUMBER = 2;
95
+ @SuppressWarnings("serial")
96
+ private volatile java.lang.Object name_ = "";
97
+ /**
98
+ * <code>optional string name = 2;</code>
99
+ * @return Whether the name field is set.
100
+ */
101
+ @java.lang.Override
102
+ public boolean hasName() {
103
+ return ((bitField0_ & 0x00000002) != 0);
104
+ }
105
+ /**
106
+ * <code>optional string name = 2;</code>
107
+ * @return The name.
108
+ */
109
+ @java.lang.Override
110
+ public java.lang.String getName() {
111
+ java.lang.Object ref = name_;
112
+ if (ref instanceof java.lang.String) {
113
+ return (java.lang.String) ref;
114
+ } else {
115
+ com.google.protobuf.ByteString bs =
116
+ (com.google.protobuf.ByteString) ref;
117
+ java.lang.String s = bs.toStringUtf8();
118
+ name_ = s;
119
+ return s;
120
+ }
121
+ }
122
+ /**
123
+ * <code>optional string name = 2;</code>
124
+ * @return The bytes for name.
125
+ */
126
+ @java.lang.Override
127
+ public com.google.protobuf.ByteString
128
+ getNameBytes() {
129
+ java.lang.Object ref = name_;
130
+ if (ref instanceof java.lang.String) {
131
+ com.google.protobuf.ByteString b =
132
+ com.google.protobuf.ByteString.copyFromUtf8(
133
+ (java.lang.String) ref);
134
+ name_ = b;
135
+ return b;
136
+ } else {
137
+ return (com.google.protobuf.ByteString) ref;
138
+ }
139
+ }
140
+
141
+ public static final int UUID_FIELD_NUMBER = 3;
142
+ @SuppressWarnings("serial")
143
+ private volatile java.lang.Object uuid_ = "";
144
+ /**
145
+ * <code>optional string uuid = 3;</code>
146
+ * @return Whether the uuid field is set.
147
+ */
148
+ @java.lang.Override
149
+ public boolean hasUuid() {
150
+ return ((bitField0_ & 0x00000004) != 0);
151
+ }
152
+ /**
153
+ * <code>optional string uuid = 3;</code>
154
+ * @return The uuid.
155
+ */
156
+ @java.lang.Override
157
+ public java.lang.String getUuid() {
158
+ java.lang.Object ref = uuid_;
159
+ if (ref instanceof java.lang.String) {
160
+ return (java.lang.String) ref;
161
+ } else {
162
+ com.google.protobuf.ByteString bs =
163
+ (com.google.protobuf.ByteString) ref;
164
+ java.lang.String s = bs.toStringUtf8();
165
+ uuid_ = s;
166
+ return s;
167
+ }
168
+ }
169
+ /**
170
+ * <code>optional string uuid = 3;</code>
171
+ * @return The bytes for uuid.
172
+ */
173
+ @java.lang.Override
174
+ public com.google.protobuf.ByteString
175
+ getUuidBytes() {
176
+ java.lang.Object ref = uuid_;
177
+ if (ref instanceof java.lang.String) {
178
+ com.google.protobuf.ByteString b =
179
+ com.google.protobuf.ByteString.copyFromUtf8(
180
+ (java.lang.String) ref);
181
+ uuid_ = b;
182
+ return b;
183
+ } else {
184
+ return (com.google.protobuf.ByteString) ref;
185
+ }
186
+ }
187
+
188
+ public static final int SIZE_FIELD_NUMBER = 4;
189
+ private long size_ = 0L;
190
+ /**
191
+ * <code>optional int64 size = 4;</code>
192
+ * @return Whether the size field is set.
193
+ */
194
+ @java.lang.Override
195
+ public boolean hasSize() {
196
+ return ((bitField0_ & 0x00000008) != 0);
197
+ }
198
+ /**
199
+ * <code>optional int64 size = 4;</code>
200
+ * @return The size.
201
+ */
202
+ @java.lang.Override
203
+ public long getSize() {
204
+ return size_;
205
+ }
206
+
207
+ public static final int FREE_FIELD_NUMBER = 5;
208
+ private long free_ = 0L;
209
+ /**
210
+ * <code>optional int64 free = 5;</code>
211
+ * @return Whether the free field is set.
212
+ */
213
+ @java.lang.Override
214
+ public boolean hasFree() {
215
+ return ((bitField0_ & 0x00000010) != 0);
216
+ }
217
+ /**
218
+ * <code>optional int64 free = 5;</code>
219
+ * @return The free.
220
+ */
221
+ @java.lang.Override
222
+ public long getFree() {
223
+ return free_;
224
+ }
225
+
226
+ public static final int USED_FIELD_NUMBER = 6;
227
+ private long used_ = 0L;
228
+ /**
229
+ * <code>optional int64 used = 6;</code>
230
+ * @return Whether the used field is set.
231
+ */
232
+ @java.lang.Override
233
+ public boolean hasUsed() {
234
+ return ((bitField0_ & 0x00000020) != 0);
235
+ }
236
+ /**
237
+ * <code>optional int64 used = 6;</code>
238
+ * @return The used.
239
+ */
240
+ @java.lang.Override
241
+ public long getUsed() {
242
+ return used_;
243
+ }
244
+
245
+ public static final int IN_USE_FIELD_NUMBER = 7;
246
+ @SuppressWarnings("serial")
247
+ private volatile java.lang.Object inUse_ = "";
248
+ /**
249
+ * <code>optional string in_use = 7;</code>
250
+ * @return Whether the inUse field is set.
251
+ */
252
+ @java.lang.Override
253
+ public boolean hasInUse() {
254
+ return ((bitField0_ & 0x00000040) != 0);
255
+ }
256
+ /**
257
+ * <code>optional string in_use = 7;</code>
258
+ * @return The inUse.
259
+ */
260
+ @java.lang.Override
261
+ public java.lang.String getInUse() {
262
+ java.lang.Object ref = inUse_;
263
+ if (ref instanceof java.lang.String) {
264
+ return (java.lang.String) ref;
265
+ } else {
266
+ com.google.protobuf.ByteString bs =
267
+ (com.google.protobuf.ByteString) ref;
268
+ java.lang.String s = bs.toStringUtf8();
269
+ inUse_ = s;
270
+ return s;
271
+ }
272
+ }
273
+ /**
274
+ * <code>optional string in_use = 7;</code>
275
+ * @return The bytes for inUse.
276
+ */
277
+ @java.lang.Override
278
+ public com.google.protobuf.ByteString
279
+ getInUseBytes() {
280
+ java.lang.Object ref = inUse_;
281
+ if (ref instanceof java.lang.String) {
282
+ com.google.protobuf.ByteString b =
283
+ com.google.protobuf.ByteString.copyFromUtf8(
284
+ (java.lang.String) ref);
285
+ inUse_ = b;
286
+ return b;
287
+ } else {
288
+ return (com.google.protobuf.ByteString) ref;
289
+ }
290
+ }
291
+
292
+ private byte memoizedIsInitialized = -1;
293
+ @java.lang.Override
294
+ public final boolean isInitialized() {
295
+ byte isInitialized = memoizedIsInitialized;
296
+ if (isInitialized == 1) return true;
297
+ if (isInitialized == 0) return false;
298
+
299
+ memoizedIsInitialized = 1;
300
+ return true;
301
+ }
302
+
303
+ @java.lang.Override
304
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
305
+ throws java.io.IOException {
306
+ if (((bitField0_ & 0x00000001) != 0)) {
307
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, relatedGroup_);
308
+ }
309
+ if (((bitField0_ & 0x00000002) != 0)) {
310
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
311
+ }
312
+ if (((bitField0_ & 0x00000004) != 0)) {
313
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uuid_);
314
+ }
315
+ if (((bitField0_ & 0x00000008) != 0)) {
316
+ output.writeInt64(4, size_);
317
+ }
318
+ if (((bitField0_ & 0x00000010) != 0)) {
319
+ output.writeInt64(5, free_);
320
+ }
321
+ if (((bitField0_ & 0x00000020) != 0)) {
322
+ output.writeInt64(6, used_);
323
+ }
324
+ if (((bitField0_ & 0x00000040) != 0)) {
325
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, inUse_);
326
+ }
327
+ getUnknownFields().writeTo(output);
328
+ }
329
+
330
+ @java.lang.Override
331
+ public int getSerializedSize() {
332
+ int size = memoizedSize;
333
+ if (size != -1) return size;
334
+
335
+ size = 0;
336
+ if (((bitField0_ & 0x00000001) != 0)) {
337
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, relatedGroup_);
338
+ }
339
+ if (((bitField0_ & 0x00000002) != 0)) {
340
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
341
+ }
342
+ if (((bitField0_ & 0x00000004) != 0)) {
343
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uuid_);
344
+ }
345
+ if (((bitField0_ & 0x00000008) != 0)) {
346
+ size += com.google.protobuf.CodedOutputStream
347
+ .computeInt64Size(4, size_);
348
+ }
349
+ if (((bitField0_ & 0x00000010) != 0)) {
350
+ size += com.google.protobuf.CodedOutputStream
351
+ .computeInt64Size(5, free_);
352
+ }
353
+ if (((bitField0_ & 0x00000020) != 0)) {
354
+ size += com.google.protobuf.CodedOutputStream
355
+ .computeInt64Size(6, used_);
356
+ }
357
+ if (((bitField0_ & 0x00000040) != 0)) {
358
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, inUse_);
359
+ }
360
+ size += getUnknownFields().getSerializedSize();
361
+ memoizedSize = size;
362
+ return size;
363
+ }
364
+
365
+ @java.lang.Override
366
+ public boolean equals(final java.lang.Object obj) {
367
+ if (obj == this) {
368
+ return true;
369
+ }
370
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)) {
371
+ return super.equals(obj);
372
+ }
373
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume other = (com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume) obj;
374
+
375
+ if (hasRelatedGroup() != other.hasRelatedGroup()) return false;
376
+ if (hasRelatedGroup()) {
377
+ if (!getRelatedGroup()
378
+ .equals(other.getRelatedGroup())) return false;
379
+ }
380
+ if (hasName() != other.hasName()) return false;
381
+ if (hasName()) {
382
+ if (!getName()
383
+ .equals(other.getName())) return false;
384
+ }
385
+ if (hasUuid() != other.hasUuid()) return false;
386
+ if (hasUuid()) {
387
+ if (!getUuid()
388
+ .equals(other.getUuid())) return false;
389
+ }
390
+ if (hasSize() != other.hasSize()) return false;
391
+ if (hasSize()) {
392
+ if (getSize()
393
+ != other.getSize()) return false;
394
+ }
395
+ if (hasFree() != other.hasFree()) return false;
396
+ if (hasFree()) {
397
+ if (getFree()
398
+ != other.getFree()) return false;
399
+ }
400
+ if (hasUsed() != other.hasUsed()) return false;
401
+ if (hasUsed()) {
402
+ if (getUsed()
403
+ != other.getUsed()) return false;
404
+ }
405
+ if (hasInUse() != other.hasInUse()) return false;
406
+ if (hasInUse()) {
407
+ if (!getInUse()
408
+ .equals(other.getInUse())) return false;
409
+ }
410
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
411
+ return true;
412
+ }
413
+
414
+ @java.lang.Override
415
+ public int hashCode() {
416
+ if (memoizedHashCode != 0) {
417
+ return memoizedHashCode;
418
+ }
419
+ int hash = 41;
420
+ hash = (19 * hash) + getDescriptor().hashCode();
421
+ if (hasRelatedGroup()) {
422
+ hash = (37 * hash) + RELATED_GROUP_FIELD_NUMBER;
423
+ hash = (53 * hash) + getRelatedGroup().hashCode();
424
+ }
425
+ if (hasName()) {
426
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
427
+ hash = (53 * hash) + getName().hashCode();
428
+ }
429
+ if (hasUuid()) {
430
+ hash = (37 * hash) + UUID_FIELD_NUMBER;
431
+ hash = (53 * hash) + getUuid().hashCode();
432
+ }
433
+ if (hasSize()) {
434
+ hash = (37 * hash) + SIZE_FIELD_NUMBER;
435
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
436
+ getSize());
437
+ }
438
+ if (hasFree()) {
439
+ hash = (37 * hash) + FREE_FIELD_NUMBER;
440
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
441
+ getFree());
442
+ }
443
+ if (hasUsed()) {
444
+ hash = (37 * hash) + USED_FIELD_NUMBER;
445
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
446
+ getUsed());
447
+ }
448
+ if (hasInUse()) {
449
+ hash = (37 * hash) + IN_USE_FIELD_NUMBER;
450
+ hash = (53 * hash) + getInUse().hashCode();
451
+ }
452
+ hash = (29 * hash) + getUnknownFields().hashCode();
453
+ memoizedHashCode = hash;
454
+ return hash;
455
+ }
456
+
457
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
458
+ java.nio.ByteBuffer data)
459
+ throws com.google.protobuf.InvalidProtocolBufferException {
460
+ return PARSER.parseFrom(data);
461
+ }
462
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
463
+ java.nio.ByteBuffer data,
464
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465
+ throws com.google.protobuf.InvalidProtocolBufferException {
466
+ return PARSER.parseFrom(data, extensionRegistry);
467
+ }
468
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
469
+ com.google.protobuf.ByteString data)
470
+ throws com.google.protobuf.InvalidProtocolBufferException {
471
+ return PARSER.parseFrom(data);
472
+ }
473
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
474
+ com.google.protobuf.ByteString data,
475
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
476
+ throws com.google.protobuf.InvalidProtocolBufferException {
477
+ return PARSER.parseFrom(data, extensionRegistry);
478
+ }
479
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(byte[] data)
480
+ throws com.google.protobuf.InvalidProtocolBufferException {
481
+ return PARSER.parseFrom(data);
482
+ }
483
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
484
+ byte[] data,
485
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
486
+ throws com.google.protobuf.InvalidProtocolBufferException {
487
+ return PARSER.parseFrom(data, extensionRegistry);
488
+ }
489
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(java.io.InputStream input)
490
+ throws java.io.IOException {
491
+ return com.google.protobuf.GeneratedMessageV3
492
+ .parseWithIOException(PARSER, input);
493
+ }
494
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
495
+ java.io.InputStream input,
496
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
497
+ throws java.io.IOException {
498
+ return com.google.protobuf.GeneratedMessageV3
499
+ .parseWithIOException(PARSER, input, extensionRegistry);
500
+ }
501
+
502
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseDelimitedFrom(java.io.InputStream input)
503
+ throws java.io.IOException {
504
+ return com.google.protobuf.GeneratedMessageV3
505
+ .parseDelimitedWithIOException(PARSER, input);
506
+ }
507
+
508
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseDelimitedFrom(
509
+ java.io.InputStream input,
510
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
511
+ throws java.io.IOException {
512
+ return com.google.protobuf.GeneratedMessageV3
513
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
514
+ }
515
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
516
+ com.google.protobuf.CodedInputStream input)
517
+ throws java.io.IOException {
518
+ return com.google.protobuf.GeneratedMessageV3
519
+ .parseWithIOException(PARSER, input);
520
+ }
521
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume parseFrom(
522
+ com.google.protobuf.CodedInputStream input,
523
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
524
+ throws java.io.IOException {
525
+ return com.google.protobuf.GeneratedMessageV3
526
+ .parseWithIOException(PARSER, input, extensionRegistry);
527
+ }
528
+
529
+ @java.lang.Override
530
+ public Builder newBuilderForType() { return newBuilder(); }
531
+ public static Builder newBuilder() {
532
+ return DEFAULT_INSTANCE.toBuilder();
533
+ }
534
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume prototype) {
535
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
536
+ }
537
+ @java.lang.Override
538
+ public Builder toBuilder() {
539
+ return this == DEFAULT_INSTANCE
540
+ ? new Builder() : new Builder().mergeFrom(this);
541
+ }
542
+
543
+ @java.lang.Override
544
+ protected Builder newBuilderForType(
545
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
546
+ Builder builder = new Builder(parent);
547
+ return builder;
548
+ }
549
+ /**
550
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume}
551
+ */
552
+ public static final class Builder extends
553
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
554
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)
555
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolumeOrBuilder {
556
+ public static final com.google.protobuf.Descriptors.Descriptor
557
+ getDescriptor() {
558
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalVolume_descriptor;
559
+ }
560
+
561
+ @java.lang.Override
562
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
563
+ internalGetFieldAccessorTable() {
564
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalVolume_fieldAccessorTable
565
+ .ensureFieldAccessorsInitialized(
566
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.class, com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.Builder.class);
567
+ }
568
+
569
+ // Construct using com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.newBuilder()
570
+ private Builder() {
571
+
572
+ }
573
+
574
+ private Builder(
575
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
576
+ super(parent);
577
+
578
+ }
579
+ @java.lang.Override
580
+ public Builder clear() {
581
+ super.clear();
582
+ bitField0_ = 0;
583
+ relatedGroup_ = "";
584
+ name_ = "";
585
+ uuid_ = "";
586
+ size_ = 0L;
587
+ free_ = 0L;
588
+ used_ = 0L;
589
+ inUse_ = "";
590
+ return this;
591
+ }
592
+
593
+ @java.lang.Override
594
+ public com.google.protobuf.Descriptors.Descriptor
595
+ getDescriptorForType() {
596
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalVolume_descriptor;
597
+ }
598
+
599
+ @java.lang.Override
600
+ public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume getDefaultInstanceForType() {
601
+ return com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.getDefaultInstance();
602
+ }
603
+
604
+ @java.lang.Override
605
+ public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume build() {
606
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume result = buildPartial();
607
+ if (!result.isInitialized()) {
608
+ throw newUninitializedMessageException(result);
609
+ }
610
+ return result;
611
+ }
612
+
613
+ @java.lang.Override
614
+ public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume buildPartial() {
615
+ com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume result = new com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume(this);
616
+ if (bitField0_ != 0) { buildPartial0(result); }
617
+ onBuilt();
618
+ return result;
619
+ }
620
+
621
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume result) {
622
+ int from_bitField0_ = bitField0_;
623
+ int to_bitField0_ = 0;
624
+ if (((from_bitField0_ & 0x00000001) != 0)) {
625
+ result.relatedGroup_ = relatedGroup_;
626
+ to_bitField0_ |= 0x00000001;
627
+ }
628
+ if (((from_bitField0_ & 0x00000002) != 0)) {
629
+ result.name_ = name_;
630
+ to_bitField0_ |= 0x00000002;
631
+ }
632
+ if (((from_bitField0_ & 0x00000004) != 0)) {
633
+ result.uuid_ = uuid_;
634
+ to_bitField0_ |= 0x00000004;
635
+ }
636
+ if (((from_bitField0_ & 0x00000008) != 0)) {
637
+ result.size_ = size_;
638
+ to_bitField0_ |= 0x00000008;
639
+ }
640
+ if (((from_bitField0_ & 0x00000010) != 0)) {
641
+ result.free_ = free_;
642
+ to_bitField0_ |= 0x00000010;
643
+ }
644
+ if (((from_bitField0_ & 0x00000020) != 0)) {
645
+ result.used_ = used_;
646
+ to_bitField0_ |= 0x00000020;
647
+ }
648
+ if (((from_bitField0_ & 0x00000040) != 0)) {
649
+ result.inUse_ = inUse_;
650
+ to_bitField0_ |= 0x00000040;
651
+ }
652
+ result.bitField0_ |= to_bitField0_;
653
+ }
654
+
655
+ @java.lang.Override
656
+ public Builder clone() {
657
+ return super.clone();
658
+ }
659
+ @java.lang.Override
660
+ public Builder setField(
661
+ com.google.protobuf.Descriptors.FieldDescriptor field,
662
+ java.lang.Object value) {
663
+ return super.setField(field, value);
664
+ }
665
+ @java.lang.Override
666
+ public Builder clearField(
667
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
668
+ return super.clearField(field);
669
+ }
670
+ @java.lang.Override
671
+ public Builder clearOneof(
672
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
673
+ return super.clearOneof(oneof);
674
+ }
675
+ @java.lang.Override
676
+ public Builder setRepeatedField(
677
+ com.google.protobuf.Descriptors.FieldDescriptor field,
678
+ int index, java.lang.Object value) {
679
+ return super.setRepeatedField(field, index, value);
680
+ }
681
+ @java.lang.Override
682
+ public Builder addRepeatedField(
683
+ com.google.protobuf.Descriptors.FieldDescriptor field,
684
+ java.lang.Object value) {
685
+ return super.addRepeatedField(field, value);
686
+ }
687
+ @java.lang.Override
688
+ public Builder mergeFrom(com.google.protobuf.Message other) {
689
+ if (other instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume) {
690
+ return mergeFrom((com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)other);
691
+ } else {
692
+ super.mergeFrom(other);
693
+ return this;
694
+ }
695
+ }
696
+
697
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume other) {
698
+ if (other == com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume.getDefaultInstance()) return this;
699
+ if (other.hasRelatedGroup()) {
700
+ relatedGroup_ = other.relatedGroup_;
701
+ bitField0_ |= 0x00000001;
702
+ onChanged();
703
+ }
704
+ if (other.hasName()) {
705
+ name_ = other.name_;
706
+ bitField0_ |= 0x00000002;
707
+ onChanged();
708
+ }
709
+ if (other.hasUuid()) {
710
+ uuid_ = other.uuid_;
711
+ bitField0_ |= 0x00000004;
712
+ onChanged();
713
+ }
714
+ if (other.hasSize()) {
715
+ setSize(other.getSize());
716
+ }
717
+ if (other.hasFree()) {
718
+ setFree(other.getFree());
719
+ }
720
+ if (other.hasUsed()) {
721
+ setUsed(other.getUsed());
722
+ }
723
+ if (other.hasInUse()) {
724
+ inUse_ = other.inUse_;
725
+ bitField0_ |= 0x00000040;
726
+ onChanged();
727
+ }
728
+ this.mergeUnknownFields(other.getUnknownFields());
729
+ onChanged();
730
+ return this;
731
+ }
732
+
733
+ @java.lang.Override
734
+ public final boolean isInitialized() {
735
+ return true;
736
+ }
737
+
738
+ @java.lang.Override
739
+ public Builder mergeFrom(
740
+ com.google.protobuf.CodedInputStream input,
741
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
742
+ throws java.io.IOException {
743
+ if (extensionRegistry == null) {
744
+ throw new java.lang.NullPointerException();
745
+ }
746
+ try {
747
+ boolean done = false;
748
+ while (!done) {
749
+ int tag = input.readTag();
750
+ switch (tag) {
751
+ case 0:
752
+ done = true;
753
+ break;
754
+ case 10: {
755
+ relatedGroup_ = input.readStringRequireUtf8();
756
+ bitField0_ |= 0x00000001;
757
+ break;
758
+ } // case 10
759
+ case 18: {
760
+ name_ = input.readStringRequireUtf8();
761
+ bitField0_ |= 0x00000002;
762
+ break;
763
+ } // case 18
764
+ case 26: {
765
+ uuid_ = input.readStringRequireUtf8();
766
+ bitField0_ |= 0x00000004;
767
+ break;
768
+ } // case 26
769
+ case 32: {
770
+ size_ = input.readInt64();
771
+ bitField0_ |= 0x00000008;
772
+ break;
773
+ } // case 32
774
+ case 40: {
775
+ free_ = input.readInt64();
776
+ bitField0_ |= 0x00000010;
777
+ break;
778
+ } // case 40
779
+ case 48: {
780
+ used_ = input.readInt64();
781
+ bitField0_ |= 0x00000020;
782
+ break;
783
+ } // case 48
784
+ case 58: {
785
+ inUse_ = input.readStringRequireUtf8();
786
+ bitField0_ |= 0x00000040;
787
+ break;
788
+ } // case 58
789
+ default: {
790
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
791
+ done = true; // was an endgroup tag
792
+ }
793
+ break;
794
+ } // default:
795
+ } // switch (tag)
796
+ } // while (!done)
797
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
798
+ throw e.unwrapIOException();
799
+ } finally {
800
+ onChanged();
801
+ } // finally
802
+ return this;
803
+ }
804
+ private int bitField0_;
805
+
806
+ private java.lang.Object relatedGroup_ = "";
807
+ /**
808
+ * <code>optional string related_group = 1;</code>
809
+ * @return Whether the relatedGroup field is set.
810
+ */
811
+ public boolean hasRelatedGroup() {
812
+ return ((bitField0_ & 0x00000001) != 0);
813
+ }
814
+ /**
815
+ * <code>optional string related_group = 1;</code>
816
+ * @return The relatedGroup.
817
+ */
818
+ public java.lang.String getRelatedGroup() {
819
+ java.lang.Object ref = relatedGroup_;
820
+ if (!(ref instanceof java.lang.String)) {
821
+ com.google.protobuf.ByteString bs =
822
+ (com.google.protobuf.ByteString) ref;
823
+ java.lang.String s = bs.toStringUtf8();
824
+ relatedGroup_ = s;
825
+ return s;
826
+ } else {
827
+ return (java.lang.String) ref;
828
+ }
829
+ }
830
+ /**
831
+ * <code>optional string related_group = 1;</code>
832
+ * @return The bytes for relatedGroup.
833
+ */
834
+ public com.google.protobuf.ByteString
835
+ getRelatedGroupBytes() {
836
+ java.lang.Object ref = relatedGroup_;
837
+ if (ref instanceof String) {
838
+ com.google.protobuf.ByteString b =
839
+ com.google.protobuf.ByteString.copyFromUtf8(
840
+ (java.lang.String) ref);
841
+ relatedGroup_ = b;
842
+ return b;
843
+ } else {
844
+ return (com.google.protobuf.ByteString) ref;
845
+ }
846
+ }
847
+ /**
848
+ * <code>optional string related_group = 1;</code>
849
+ * @param value The relatedGroup to set.
850
+ * @return This builder for chaining.
851
+ */
852
+ public Builder setRelatedGroup(
853
+ java.lang.String value) {
854
+ if (value == null) { throw new NullPointerException(); }
855
+ relatedGroup_ = value;
856
+ bitField0_ |= 0x00000001;
857
+ onChanged();
858
+ return this;
859
+ }
860
+ /**
861
+ * <code>optional string related_group = 1;</code>
862
+ * @return This builder for chaining.
863
+ */
864
+ public Builder clearRelatedGroup() {
865
+ relatedGroup_ = getDefaultInstance().getRelatedGroup();
866
+ bitField0_ = (bitField0_ & ~0x00000001);
867
+ onChanged();
868
+ return this;
869
+ }
870
+ /**
871
+ * <code>optional string related_group = 1;</code>
872
+ * @param value The bytes for relatedGroup to set.
873
+ * @return This builder for chaining.
874
+ */
875
+ public Builder setRelatedGroupBytes(
876
+ com.google.protobuf.ByteString value) {
877
+ if (value == null) { throw new NullPointerException(); }
878
+ checkByteStringIsUtf8(value);
879
+ relatedGroup_ = value;
880
+ bitField0_ |= 0x00000001;
881
+ onChanged();
882
+ return this;
883
+ }
884
+
885
+ private java.lang.Object name_ = "";
886
+ /**
887
+ * <code>optional string name = 2;</code>
888
+ * @return Whether the name field is set.
889
+ */
890
+ public boolean hasName() {
891
+ return ((bitField0_ & 0x00000002) != 0);
892
+ }
893
+ /**
894
+ * <code>optional string name = 2;</code>
895
+ * @return The name.
896
+ */
897
+ public java.lang.String getName() {
898
+ java.lang.Object ref = name_;
899
+ if (!(ref instanceof java.lang.String)) {
900
+ com.google.protobuf.ByteString bs =
901
+ (com.google.protobuf.ByteString) ref;
902
+ java.lang.String s = bs.toStringUtf8();
903
+ name_ = s;
904
+ return s;
905
+ } else {
906
+ return (java.lang.String) ref;
907
+ }
908
+ }
909
+ /**
910
+ * <code>optional string name = 2;</code>
911
+ * @return The bytes for name.
912
+ */
913
+ public com.google.protobuf.ByteString
914
+ getNameBytes() {
915
+ java.lang.Object ref = name_;
916
+ if (ref instanceof String) {
917
+ com.google.protobuf.ByteString b =
918
+ com.google.protobuf.ByteString.copyFromUtf8(
919
+ (java.lang.String) ref);
920
+ name_ = b;
921
+ return b;
922
+ } else {
923
+ return (com.google.protobuf.ByteString) ref;
924
+ }
925
+ }
926
+ /**
927
+ * <code>optional string name = 2;</code>
928
+ * @param value The name to set.
929
+ * @return This builder for chaining.
930
+ */
931
+ public Builder setName(
932
+ java.lang.String value) {
933
+ if (value == null) { throw new NullPointerException(); }
934
+ name_ = value;
935
+ bitField0_ |= 0x00000002;
936
+ onChanged();
937
+ return this;
938
+ }
939
+ /**
940
+ * <code>optional string name = 2;</code>
941
+ * @return This builder for chaining.
942
+ */
943
+ public Builder clearName() {
944
+ name_ = getDefaultInstance().getName();
945
+ bitField0_ = (bitField0_ & ~0x00000002);
946
+ onChanged();
947
+ return this;
948
+ }
949
+ /**
950
+ * <code>optional string name = 2;</code>
951
+ * @param value The bytes for name to set.
952
+ * @return This builder for chaining.
953
+ */
954
+ public Builder setNameBytes(
955
+ com.google.protobuf.ByteString value) {
956
+ if (value == null) { throw new NullPointerException(); }
957
+ checkByteStringIsUtf8(value);
958
+ name_ = value;
959
+ bitField0_ |= 0x00000002;
960
+ onChanged();
961
+ return this;
962
+ }
963
+
964
+ private java.lang.Object uuid_ = "";
965
+ /**
966
+ * <code>optional string uuid = 3;</code>
967
+ * @return Whether the uuid field is set.
968
+ */
969
+ public boolean hasUuid() {
970
+ return ((bitField0_ & 0x00000004) != 0);
971
+ }
972
+ /**
973
+ * <code>optional string uuid = 3;</code>
974
+ * @return The uuid.
975
+ */
976
+ public java.lang.String getUuid() {
977
+ java.lang.Object ref = uuid_;
978
+ if (!(ref instanceof java.lang.String)) {
979
+ com.google.protobuf.ByteString bs =
980
+ (com.google.protobuf.ByteString) ref;
981
+ java.lang.String s = bs.toStringUtf8();
982
+ uuid_ = s;
983
+ return s;
984
+ } else {
985
+ return (java.lang.String) ref;
986
+ }
987
+ }
988
+ /**
989
+ * <code>optional string uuid = 3;</code>
990
+ * @return The bytes for uuid.
991
+ */
992
+ public com.google.protobuf.ByteString
993
+ getUuidBytes() {
994
+ java.lang.Object ref = uuid_;
995
+ if (ref instanceof String) {
996
+ com.google.protobuf.ByteString b =
997
+ com.google.protobuf.ByteString.copyFromUtf8(
998
+ (java.lang.String) ref);
999
+ uuid_ = b;
1000
+ return b;
1001
+ } else {
1002
+ return (com.google.protobuf.ByteString) ref;
1003
+ }
1004
+ }
1005
+ /**
1006
+ * <code>optional string uuid = 3;</code>
1007
+ * @param value The uuid to set.
1008
+ * @return This builder for chaining.
1009
+ */
1010
+ public Builder setUuid(
1011
+ java.lang.String value) {
1012
+ if (value == null) { throw new NullPointerException(); }
1013
+ uuid_ = value;
1014
+ bitField0_ |= 0x00000004;
1015
+ onChanged();
1016
+ return this;
1017
+ }
1018
+ /**
1019
+ * <code>optional string uuid = 3;</code>
1020
+ * @return This builder for chaining.
1021
+ */
1022
+ public Builder clearUuid() {
1023
+ uuid_ = getDefaultInstance().getUuid();
1024
+ bitField0_ = (bitField0_ & ~0x00000004);
1025
+ onChanged();
1026
+ return this;
1027
+ }
1028
+ /**
1029
+ * <code>optional string uuid = 3;</code>
1030
+ * @param value The bytes for uuid to set.
1031
+ * @return This builder for chaining.
1032
+ */
1033
+ public Builder setUuidBytes(
1034
+ com.google.protobuf.ByteString value) {
1035
+ if (value == null) { throw new NullPointerException(); }
1036
+ checkByteStringIsUtf8(value);
1037
+ uuid_ = value;
1038
+ bitField0_ |= 0x00000004;
1039
+ onChanged();
1040
+ return this;
1041
+ }
1042
+
1043
+ private long size_ ;
1044
+ /**
1045
+ * <code>optional int64 size = 4;</code>
1046
+ * @return Whether the size field is set.
1047
+ */
1048
+ @java.lang.Override
1049
+ public boolean hasSize() {
1050
+ return ((bitField0_ & 0x00000008) != 0);
1051
+ }
1052
+ /**
1053
+ * <code>optional int64 size = 4;</code>
1054
+ * @return The size.
1055
+ */
1056
+ @java.lang.Override
1057
+ public long getSize() {
1058
+ return size_;
1059
+ }
1060
+ /**
1061
+ * <code>optional int64 size = 4;</code>
1062
+ * @param value The size to set.
1063
+ * @return This builder for chaining.
1064
+ */
1065
+ public Builder setSize(long value) {
1066
+
1067
+ size_ = value;
1068
+ bitField0_ |= 0x00000008;
1069
+ onChanged();
1070
+ return this;
1071
+ }
1072
+ /**
1073
+ * <code>optional int64 size = 4;</code>
1074
+ * @return This builder for chaining.
1075
+ */
1076
+ public Builder clearSize() {
1077
+ bitField0_ = (bitField0_ & ~0x00000008);
1078
+ size_ = 0L;
1079
+ onChanged();
1080
+ return this;
1081
+ }
1082
+
1083
+ private long free_ ;
1084
+ /**
1085
+ * <code>optional int64 free = 5;</code>
1086
+ * @return Whether the free field is set.
1087
+ */
1088
+ @java.lang.Override
1089
+ public boolean hasFree() {
1090
+ return ((bitField0_ & 0x00000010) != 0);
1091
+ }
1092
+ /**
1093
+ * <code>optional int64 free = 5;</code>
1094
+ * @return The free.
1095
+ */
1096
+ @java.lang.Override
1097
+ public long getFree() {
1098
+ return free_;
1099
+ }
1100
+ /**
1101
+ * <code>optional int64 free = 5;</code>
1102
+ * @param value The free to set.
1103
+ * @return This builder for chaining.
1104
+ */
1105
+ public Builder setFree(long value) {
1106
+
1107
+ free_ = value;
1108
+ bitField0_ |= 0x00000010;
1109
+ onChanged();
1110
+ return this;
1111
+ }
1112
+ /**
1113
+ * <code>optional int64 free = 5;</code>
1114
+ * @return This builder for chaining.
1115
+ */
1116
+ public Builder clearFree() {
1117
+ bitField0_ = (bitField0_ & ~0x00000010);
1118
+ free_ = 0L;
1119
+ onChanged();
1120
+ return this;
1121
+ }
1122
+
1123
+ private long used_ ;
1124
+ /**
1125
+ * <code>optional int64 used = 6;</code>
1126
+ * @return Whether the used field is set.
1127
+ */
1128
+ @java.lang.Override
1129
+ public boolean hasUsed() {
1130
+ return ((bitField0_ & 0x00000020) != 0);
1131
+ }
1132
+ /**
1133
+ * <code>optional int64 used = 6;</code>
1134
+ * @return The used.
1135
+ */
1136
+ @java.lang.Override
1137
+ public long getUsed() {
1138
+ return used_;
1139
+ }
1140
+ /**
1141
+ * <code>optional int64 used = 6;</code>
1142
+ * @param value The used to set.
1143
+ * @return This builder for chaining.
1144
+ */
1145
+ public Builder setUsed(long value) {
1146
+
1147
+ used_ = value;
1148
+ bitField0_ |= 0x00000020;
1149
+ onChanged();
1150
+ return this;
1151
+ }
1152
+ /**
1153
+ * <code>optional int64 used = 6;</code>
1154
+ * @return This builder for chaining.
1155
+ */
1156
+ public Builder clearUsed() {
1157
+ bitField0_ = (bitField0_ & ~0x00000020);
1158
+ used_ = 0L;
1159
+ onChanged();
1160
+ return this;
1161
+ }
1162
+
1163
+ private java.lang.Object inUse_ = "";
1164
+ /**
1165
+ * <code>optional string in_use = 7;</code>
1166
+ * @return Whether the inUse field is set.
1167
+ */
1168
+ public boolean hasInUse() {
1169
+ return ((bitField0_ & 0x00000040) != 0);
1170
+ }
1171
+ /**
1172
+ * <code>optional string in_use = 7;</code>
1173
+ * @return The inUse.
1174
+ */
1175
+ public java.lang.String getInUse() {
1176
+ java.lang.Object ref = inUse_;
1177
+ if (!(ref instanceof java.lang.String)) {
1178
+ com.google.protobuf.ByteString bs =
1179
+ (com.google.protobuf.ByteString) ref;
1180
+ java.lang.String s = bs.toStringUtf8();
1181
+ inUse_ = s;
1182
+ return s;
1183
+ } else {
1184
+ return (java.lang.String) ref;
1185
+ }
1186
+ }
1187
+ /**
1188
+ * <code>optional string in_use = 7;</code>
1189
+ * @return The bytes for inUse.
1190
+ */
1191
+ public com.google.protobuf.ByteString
1192
+ getInUseBytes() {
1193
+ java.lang.Object ref = inUse_;
1194
+ if (ref instanceof String) {
1195
+ com.google.protobuf.ByteString b =
1196
+ com.google.protobuf.ByteString.copyFromUtf8(
1197
+ (java.lang.String) ref);
1198
+ inUse_ = b;
1199
+ return b;
1200
+ } else {
1201
+ return (com.google.protobuf.ByteString) ref;
1202
+ }
1203
+ }
1204
+ /**
1205
+ * <code>optional string in_use = 7;</code>
1206
+ * @param value The inUse to set.
1207
+ * @return This builder for chaining.
1208
+ */
1209
+ public Builder setInUse(
1210
+ java.lang.String value) {
1211
+ if (value == null) { throw new NullPointerException(); }
1212
+ inUse_ = value;
1213
+ bitField0_ |= 0x00000040;
1214
+ onChanged();
1215
+ return this;
1216
+ }
1217
+ /**
1218
+ * <code>optional string in_use = 7;</code>
1219
+ * @return This builder for chaining.
1220
+ */
1221
+ public Builder clearInUse() {
1222
+ inUse_ = getDefaultInstance().getInUse();
1223
+ bitField0_ = (bitField0_ & ~0x00000040);
1224
+ onChanged();
1225
+ return this;
1226
+ }
1227
+ /**
1228
+ * <code>optional string in_use = 7;</code>
1229
+ * @param value The bytes for inUse to set.
1230
+ * @return This builder for chaining.
1231
+ */
1232
+ public Builder setInUseBytes(
1233
+ com.google.protobuf.ByteString value) {
1234
+ if (value == null) { throw new NullPointerException(); }
1235
+ checkByteStringIsUtf8(value);
1236
+ inUse_ = value;
1237
+ bitField0_ |= 0x00000040;
1238
+ onChanged();
1239
+ return this;
1240
+ }
1241
+ @java.lang.Override
1242
+ public final Builder setUnknownFields(
1243
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1244
+ return super.setUnknownFields(unknownFields);
1245
+ }
1246
+
1247
+ @java.lang.Override
1248
+ public final Builder mergeUnknownFields(
1249
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
1250
+ return super.mergeUnknownFields(unknownFields);
1251
+ }
1252
+
1253
+
1254
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)
1255
+ }
1256
+
1257
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume)
1258
+ private static final com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume DEFAULT_INSTANCE;
1259
+ static {
1260
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume();
1261
+ }
1262
+
1263
+ public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume getDefaultInstance() {
1264
+ return DEFAULT_INSTANCE;
1265
+ }
1266
+
1267
+ private static final com.google.protobuf.Parser<ComputerLinuxPhysicalVolume>
1268
+ PARSER = new com.google.protobuf.AbstractParser<ComputerLinuxPhysicalVolume>() {
1269
+ @java.lang.Override
1270
+ public ComputerLinuxPhysicalVolume parsePartialFrom(
1271
+ com.google.protobuf.CodedInputStream input,
1272
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1273
+ throws com.google.protobuf.InvalidProtocolBufferException {
1274
+ Builder builder = newBuilder();
1275
+ try {
1276
+ builder.mergeFrom(input, extensionRegistry);
1277
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1278
+ throw e.setUnfinishedMessage(builder.buildPartial());
1279
+ } catch (com.google.protobuf.UninitializedMessageException e) {
1280
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1281
+ } catch (java.io.IOException e) {
1282
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
1283
+ .setUnfinishedMessage(builder.buildPartial());
1284
+ }
1285
+ return builder.buildPartial();
1286
+ }
1287
+ };
1288
+
1289
+ public static com.google.protobuf.Parser<ComputerLinuxPhysicalVolume> parser() {
1290
+ return PARSER;
1291
+ }
1292
+
1293
+ @java.lang.Override
1294
+ public com.google.protobuf.Parser<ComputerLinuxPhysicalVolume> getParserForType() {
1295
+ return PARSER;
1296
+ }
1297
+
1298
+ @java.lang.Override
1299
+ public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalVolume getDefaultInstanceForType() {
1300
+ return DEFAULT_INSTANCE;
1301
+ }
1302
+
1303
+ }
1304
+