@lansweeper/data-platform-outbound-grpc 0.3.21 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +595 -0
- package/gen-proto/outbound_pb.js +10520 -5772
- package/generated-go/outbound.pb.go +20466 -19096
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +105 -1
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFields.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +105 -1
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +2911 -620
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolume.java +1283 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxLogicalVolumeOrBuilder.java +106 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryController.java +1673 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.java +146 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModule.java +1516 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryModuleOrBuilder.java +129 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDisk.java +1843 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalHardDiskOrBuilder.java +168 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolume.java +1304 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.java +111 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroup.java +2076 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.java +165 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplay.java +1940 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDisplayOrBuilder.java +179 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewire.java +731 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacFirewireOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +159 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineering.java +1508 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerQuickFixEngineeringOrBuilder.java +129 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFields.java +169 -12
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CoreFieldsOrBuilder.java +17 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3384 -3194
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +36 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +18 -0
- package/model/target/{outbound-model-0.3.20-sources.jar → outbound-model-0.3.22-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.20.jar → outbound-model-0.3.22.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +105 -1
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.20-sources.jar → outbound-service-0.3.22-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.20.jar → outbound-service-0.3.22.jar} +0 -0
|
@@ -0,0 +1,1843 @@
|
|
|
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.ComputerLinuxPhysicalHardDisk}
|
|
9
|
+
*/
|
|
10
|
+
public final class ComputerLinuxPhysicalHardDisk extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)
|
|
13
|
+
ComputerLinuxPhysicalHardDiskOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use ComputerLinuxPhysicalHardDisk.newBuilder() to construct.
|
|
16
|
+
private ComputerLinuxPhysicalHardDisk(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private ComputerLinuxPhysicalHardDisk() {
|
|
20
|
+
name_ = "";
|
|
21
|
+
state_ = "";
|
|
22
|
+
hctl_ = "";
|
|
23
|
+
majmin_ = "";
|
|
24
|
+
model_ = "";
|
|
25
|
+
serial_ = "";
|
|
26
|
+
vendor_ = "";
|
|
27
|
+
rev_ = "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@java.lang.Override
|
|
31
|
+
@SuppressWarnings({"unused"})
|
|
32
|
+
protected java.lang.Object newInstance(
|
|
33
|
+
UnusedPrivateParameter unused) {
|
|
34
|
+
return new ComputerLinuxPhysicalHardDisk();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
38
|
+
getDescriptor() {
|
|
39
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalHardDisk_descriptor;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@java.lang.Override
|
|
43
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
44
|
+
internalGetFieldAccessorTable() {
|
|
45
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalHardDisk_fieldAccessorTable
|
|
46
|
+
.ensureFieldAccessorsInitialized(
|
|
47
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.class, com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.Builder.class);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
private int bitField0_;
|
|
51
|
+
public static final int NAME_FIELD_NUMBER = 1;
|
|
52
|
+
@SuppressWarnings("serial")
|
|
53
|
+
private volatile java.lang.Object name_ = "";
|
|
54
|
+
/**
|
|
55
|
+
* <code>optional string name = 1;</code>
|
|
56
|
+
* @return Whether the name field is set.
|
|
57
|
+
*/
|
|
58
|
+
@java.lang.Override
|
|
59
|
+
public boolean hasName() {
|
|
60
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* <code>optional string name = 1;</code>
|
|
64
|
+
* @return The name.
|
|
65
|
+
*/
|
|
66
|
+
@java.lang.Override
|
|
67
|
+
public java.lang.String getName() {
|
|
68
|
+
java.lang.Object ref = name_;
|
|
69
|
+
if (ref instanceof java.lang.String) {
|
|
70
|
+
return (java.lang.String) ref;
|
|
71
|
+
} else {
|
|
72
|
+
com.google.protobuf.ByteString bs =
|
|
73
|
+
(com.google.protobuf.ByteString) ref;
|
|
74
|
+
java.lang.String s = bs.toStringUtf8();
|
|
75
|
+
name_ = s;
|
|
76
|
+
return s;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <code>optional string name = 1;</code>
|
|
81
|
+
* @return The bytes for name.
|
|
82
|
+
*/
|
|
83
|
+
@java.lang.Override
|
|
84
|
+
public com.google.protobuf.ByteString
|
|
85
|
+
getNameBytes() {
|
|
86
|
+
java.lang.Object ref = name_;
|
|
87
|
+
if (ref instanceof java.lang.String) {
|
|
88
|
+
com.google.protobuf.ByteString b =
|
|
89
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
90
|
+
(java.lang.String) ref);
|
|
91
|
+
name_ = b;
|
|
92
|
+
return b;
|
|
93
|
+
} else {
|
|
94
|
+
return (com.google.protobuf.ByteString) ref;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static final int STATE_FIELD_NUMBER = 2;
|
|
99
|
+
@SuppressWarnings("serial")
|
|
100
|
+
private volatile java.lang.Object state_ = "";
|
|
101
|
+
/**
|
|
102
|
+
* <code>optional string state = 2;</code>
|
|
103
|
+
* @return Whether the state field is set.
|
|
104
|
+
*/
|
|
105
|
+
@java.lang.Override
|
|
106
|
+
public boolean hasState() {
|
|
107
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <code>optional string state = 2;</code>
|
|
111
|
+
* @return The state.
|
|
112
|
+
*/
|
|
113
|
+
@java.lang.Override
|
|
114
|
+
public java.lang.String getState() {
|
|
115
|
+
java.lang.Object ref = state_;
|
|
116
|
+
if (ref instanceof java.lang.String) {
|
|
117
|
+
return (java.lang.String) ref;
|
|
118
|
+
} else {
|
|
119
|
+
com.google.protobuf.ByteString bs =
|
|
120
|
+
(com.google.protobuf.ByteString) ref;
|
|
121
|
+
java.lang.String s = bs.toStringUtf8();
|
|
122
|
+
state_ = s;
|
|
123
|
+
return s;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* <code>optional string state = 2;</code>
|
|
128
|
+
* @return The bytes for state.
|
|
129
|
+
*/
|
|
130
|
+
@java.lang.Override
|
|
131
|
+
public com.google.protobuf.ByteString
|
|
132
|
+
getStateBytes() {
|
|
133
|
+
java.lang.Object ref = state_;
|
|
134
|
+
if (ref instanceof java.lang.String) {
|
|
135
|
+
com.google.protobuf.ByteString b =
|
|
136
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
137
|
+
(java.lang.String) ref);
|
|
138
|
+
state_ = b;
|
|
139
|
+
return b;
|
|
140
|
+
} else {
|
|
141
|
+
return (com.google.protobuf.ByteString) ref;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
public static final int SIZE_FIELD_NUMBER = 3;
|
|
146
|
+
private long size_ = 0L;
|
|
147
|
+
/**
|
|
148
|
+
* <code>optional int64 size = 3;</code>
|
|
149
|
+
* @return Whether the size field is set.
|
|
150
|
+
*/
|
|
151
|
+
@java.lang.Override
|
|
152
|
+
public boolean hasSize() {
|
|
153
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* <code>optional int64 size = 3;</code>
|
|
157
|
+
* @return The size.
|
|
158
|
+
*/
|
|
159
|
+
@java.lang.Override
|
|
160
|
+
public long getSize() {
|
|
161
|
+
return size_;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
public static final int HCTL_FIELD_NUMBER = 4;
|
|
165
|
+
@SuppressWarnings("serial")
|
|
166
|
+
private volatile java.lang.Object hctl_ = "";
|
|
167
|
+
/**
|
|
168
|
+
* <code>optional string hctl = 4;</code>
|
|
169
|
+
* @return Whether the hctl field is set.
|
|
170
|
+
*/
|
|
171
|
+
@java.lang.Override
|
|
172
|
+
public boolean hasHctl() {
|
|
173
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* <code>optional string hctl = 4;</code>
|
|
177
|
+
* @return The hctl.
|
|
178
|
+
*/
|
|
179
|
+
@java.lang.Override
|
|
180
|
+
public java.lang.String getHctl() {
|
|
181
|
+
java.lang.Object ref = hctl_;
|
|
182
|
+
if (ref instanceof java.lang.String) {
|
|
183
|
+
return (java.lang.String) ref;
|
|
184
|
+
} else {
|
|
185
|
+
com.google.protobuf.ByteString bs =
|
|
186
|
+
(com.google.protobuf.ByteString) ref;
|
|
187
|
+
java.lang.String s = bs.toStringUtf8();
|
|
188
|
+
hctl_ = s;
|
|
189
|
+
return s;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* <code>optional string hctl = 4;</code>
|
|
194
|
+
* @return The bytes for hctl.
|
|
195
|
+
*/
|
|
196
|
+
@java.lang.Override
|
|
197
|
+
public com.google.protobuf.ByteString
|
|
198
|
+
getHctlBytes() {
|
|
199
|
+
java.lang.Object ref = hctl_;
|
|
200
|
+
if (ref instanceof java.lang.String) {
|
|
201
|
+
com.google.protobuf.ByteString b =
|
|
202
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
203
|
+
(java.lang.String) ref);
|
|
204
|
+
hctl_ = b;
|
|
205
|
+
return b;
|
|
206
|
+
} else {
|
|
207
|
+
return (com.google.protobuf.ByteString) ref;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
public static final int MAJMIN_FIELD_NUMBER = 5;
|
|
212
|
+
@SuppressWarnings("serial")
|
|
213
|
+
private volatile java.lang.Object majmin_ = "";
|
|
214
|
+
/**
|
|
215
|
+
* <code>optional string majmin = 5;</code>
|
|
216
|
+
* @return Whether the majmin field is set.
|
|
217
|
+
*/
|
|
218
|
+
@java.lang.Override
|
|
219
|
+
public boolean hasMajmin() {
|
|
220
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* <code>optional string majmin = 5;</code>
|
|
224
|
+
* @return The majmin.
|
|
225
|
+
*/
|
|
226
|
+
@java.lang.Override
|
|
227
|
+
public java.lang.String getMajmin() {
|
|
228
|
+
java.lang.Object ref = majmin_;
|
|
229
|
+
if (ref instanceof java.lang.String) {
|
|
230
|
+
return (java.lang.String) ref;
|
|
231
|
+
} else {
|
|
232
|
+
com.google.protobuf.ByteString bs =
|
|
233
|
+
(com.google.protobuf.ByteString) ref;
|
|
234
|
+
java.lang.String s = bs.toStringUtf8();
|
|
235
|
+
majmin_ = s;
|
|
236
|
+
return s;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* <code>optional string majmin = 5;</code>
|
|
241
|
+
* @return The bytes for majmin.
|
|
242
|
+
*/
|
|
243
|
+
@java.lang.Override
|
|
244
|
+
public com.google.protobuf.ByteString
|
|
245
|
+
getMajminBytes() {
|
|
246
|
+
java.lang.Object ref = majmin_;
|
|
247
|
+
if (ref instanceof java.lang.String) {
|
|
248
|
+
com.google.protobuf.ByteString b =
|
|
249
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
250
|
+
(java.lang.String) ref);
|
|
251
|
+
majmin_ = b;
|
|
252
|
+
return b;
|
|
253
|
+
} else {
|
|
254
|
+
return (com.google.protobuf.ByteString) ref;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
public static final int HOTPLUG_FIELD_NUMBER = 6;
|
|
259
|
+
private boolean hotplug_ = false;
|
|
260
|
+
/**
|
|
261
|
+
* <code>optional bool hotplug = 6;</code>
|
|
262
|
+
* @return Whether the hotplug field is set.
|
|
263
|
+
*/
|
|
264
|
+
@java.lang.Override
|
|
265
|
+
public boolean hasHotplug() {
|
|
266
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* <code>optional bool hotplug = 6;</code>
|
|
270
|
+
* @return The hotplug.
|
|
271
|
+
*/
|
|
272
|
+
@java.lang.Override
|
|
273
|
+
public boolean getHotplug() {
|
|
274
|
+
return hotplug_;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
public static final int MODEL_FIELD_NUMBER = 7;
|
|
278
|
+
@SuppressWarnings("serial")
|
|
279
|
+
private volatile java.lang.Object model_ = "";
|
|
280
|
+
/**
|
|
281
|
+
* <code>optional string model = 7;</code>
|
|
282
|
+
* @return Whether the model field is set.
|
|
283
|
+
*/
|
|
284
|
+
@java.lang.Override
|
|
285
|
+
public boolean hasModel() {
|
|
286
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* <code>optional string model = 7;</code>
|
|
290
|
+
* @return The model.
|
|
291
|
+
*/
|
|
292
|
+
@java.lang.Override
|
|
293
|
+
public java.lang.String getModel() {
|
|
294
|
+
java.lang.Object ref = model_;
|
|
295
|
+
if (ref instanceof java.lang.String) {
|
|
296
|
+
return (java.lang.String) ref;
|
|
297
|
+
} else {
|
|
298
|
+
com.google.protobuf.ByteString bs =
|
|
299
|
+
(com.google.protobuf.ByteString) ref;
|
|
300
|
+
java.lang.String s = bs.toStringUtf8();
|
|
301
|
+
model_ = s;
|
|
302
|
+
return s;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* <code>optional string model = 7;</code>
|
|
307
|
+
* @return The bytes for model.
|
|
308
|
+
*/
|
|
309
|
+
@java.lang.Override
|
|
310
|
+
public com.google.protobuf.ByteString
|
|
311
|
+
getModelBytes() {
|
|
312
|
+
java.lang.Object ref = model_;
|
|
313
|
+
if (ref instanceof java.lang.String) {
|
|
314
|
+
com.google.protobuf.ByteString b =
|
|
315
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
316
|
+
(java.lang.String) ref);
|
|
317
|
+
model_ = b;
|
|
318
|
+
return b;
|
|
319
|
+
} else {
|
|
320
|
+
return (com.google.protobuf.ByteString) ref;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
public static final int SERIAL_FIELD_NUMBER = 8;
|
|
325
|
+
@SuppressWarnings("serial")
|
|
326
|
+
private volatile java.lang.Object serial_ = "";
|
|
327
|
+
/**
|
|
328
|
+
* <code>optional string serial = 8;</code>
|
|
329
|
+
* @return Whether the serial field is set.
|
|
330
|
+
*/
|
|
331
|
+
@java.lang.Override
|
|
332
|
+
public boolean hasSerial() {
|
|
333
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* <code>optional string serial = 8;</code>
|
|
337
|
+
* @return The serial.
|
|
338
|
+
*/
|
|
339
|
+
@java.lang.Override
|
|
340
|
+
public java.lang.String getSerial() {
|
|
341
|
+
java.lang.Object ref = serial_;
|
|
342
|
+
if (ref instanceof java.lang.String) {
|
|
343
|
+
return (java.lang.String) ref;
|
|
344
|
+
} else {
|
|
345
|
+
com.google.protobuf.ByteString bs =
|
|
346
|
+
(com.google.protobuf.ByteString) ref;
|
|
347
|
+
java.lang.String s = bs.toStringUtf8();
|
|
348
|
+
serial_ = s;
|
|
349
|
+
return s;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* <code>optional string serial = 8;</code>
|
|
354
|
+
* @return The bytes for serial.
|
|
355
|
+
*/
|
|
356
|
+
@java.lang.Override
|
|
357
|
+
public com.google.protobuf.ByteString
|
|
358
|
+
getSerialBytes() {
|
|
359
|
+
java.lang.Object ref = serial_;
|
|
360
|
+
if (ref instanceof java.lang.String) {
|
|
361
|
+
com.google.protobuf.ByteString b =
|
|
362
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
363
|
+
(java.lang.String) ref);
|
|
364
|
+
serial_ = b;
|
|
365
|
+
return b;
|
|
366
|
+
} else {
|
|
367
|
+
return (com.google.protobuf.ByteString) ref;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
public static final int VENDOR_FIELD_NUMBER = 9;
|
|
372
|
+
@SuppressWarnings("serial")
|
|
373
|
+
private volatile java.lang.Object vendor_ = "";
|
|
374
|
+
/**
|
|
375
|
+
* <code>optional string vendor = 9;</code>
|
|
376
|
+
* @return Whether the vendor field is set.
|
|
377
|
+
*/
|
|
378
|
+
@java.lang.Override
|
|
379
|
+
public boolean hasVendor() {
|
|
380
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* <code>optional string vendor = 9;</code>
|
|
384
|
+
* @return The vendor.
|
|
385
|
+
*/
|
|
386
|
+
@java.lang.Override
|
|
387
|
+
public java.lang.String getVendor() {
|
|
388
|
+
java.lang.Object ref = vendor_;
|
|
389
|
+
if (ref instanceof java.lang.String) {
|
|
390
|
+
return (java.lang.String) ref;
|
|
391
|
+
} else {
|
|
392
|
+
com.google.protobuf.ByteString bs =
|
|
393
|
+
(com.google.protobuf.ByteString) ref;
|
|
394
|
+
java.lang.String s = bs.toStringUtf8();
|
|
395
|
+
vendor_ = s;
|
|
396
|
+
return s;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* <code>optional string vendor = 9;</code>
|
|
401
|
+
* @return The bytes for vendor.
|
|
402
|
+
*/
|
|
403
|
+
@java.lang.Override
|
|
404
|
+
public com.google.protobuf.ByteString
|
|
405
|
+
getVendorBytes() {
|
|
406
|
+
java.lang.Object ref = vendor_;
|
|
407
|
+
if (ref instanceof java.lang.String) {
|
|
408
|
+
com.google.protobuf.ByteString b =
|
|
409
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
410
|
+
(java.lang.String) ref);
|
|
411
|
+
vendor_ = b;
|
|
412
|
+
return b;
|
|
413
|
+
} else {
|
|
414
|
+
return (com.google.protobuf.ByteString) ref;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
public static final int REV_FIELD_NUMBER = 10;
|
|
419
|
+
@SuppressWarnings("serial")
|
|
420
|
+
private volatile java.lang.Object rev_ = "";
|
|
421
|
+
/**
|
|
422
|
+
* <code>optional string rev = 10;</code>
|
|
423
|
+
* @return Whether the rev field is set.
|
|
424
|
+
*/
|
|
425
|
+
@java.lang.Override
|
|
426
|
+
public boolean hasRev() {
|
|
427
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* <code>optional string rev = 10;</code>
|
|
431
|
+
* @return The rev.
|
|
432
|
+
*/
|
|
433
|
+
@java.lang.Override
|
|
434
|
+
public java.lang.String getRev() {
|
|
435
|
+
java.lang.Object ref = rev_;
|
|
436
|
+
if (ref instanceof java.lang.String) {
|
|
437
|
+
return (java.lang.String) ref;
|
|
438
|
+
} else {
|
|
439
|
+
com.google.protobuf.ByteString bs =
|
|
440
|
+
(com.google.protobuf.ByteString) ref;
|
|
441
|
+
java.lang.String s = bs.toStringUtf8();
|
|
442
|
+
rev_ = s;
|
|
443
|
+
return s;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* <code>optional string rev = 10;</code>
|
|
448
|
+
* @return The bytes for rev.
|
|
449
|
+
*/
|
|
450
|
+
@java.lang.Override
|
|
451
|
+
public com.google.protobuf.ByteString
|
|
452
|
+
getRevBytes() {
|
|
453
|
+
java.lang.Object ref = rev_;
|
|
454
|
+
if (ref instanceof java.lang.String) {
|
|
455
|
+
com.google.protobuf.ByteString b =
|
|
456
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
457
|
+
(java.lang.String) ref);
|
|
458
|
+
rev_ = b;
|
|
459
|
+
return b;
|
|
460
|
+
} else {
|
|
461
|
+
return (com.google.protobuf.ByteString) ref;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
private byte memoizedIsInitialized = -1;
|
|
466
|
+
@java.lang.Override
|
|
467
|
+
public final boolean isInitialized() {
|
|
468
|
+
byte isInitialized = memoizedIsInitialized;
|
|
469
|
+
if (isInitialized == 1) return true;
|
|
470
|
+
if (isInitialized == 0) return false;
|
|
471
|
+
|
|
472
|
+
memoizedIsInitialized = 1;
|
|
473
|
+
return true;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
@java.lang.Override
|
|
477
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
478
|
+
throws java.io.IOException {
|
|
479
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
480
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
|
|
481
|
+
}
|
|
482
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
483
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, state_);
|
|
484
|
+
}
|
|
485
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
486
|
+
output.writeInt64(3, size_);
|
|
487
|
+
}
|
|
488
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
489
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hctl_);
|
|
490
|
+
}
|
|
491
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
492
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, majmin_);
|
|
493
|
+
}
|
|
494
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
495
|
+
output.writeBool(6, hotplug_);
|
|
496
|
+
}
|
|
497
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
498
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, model_);
|
|
499
|
+
}
|
|
500
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
501
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serial_);
|
|
502
|
+
}
|
|
503
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
504
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, vendor_);
|
|
505
|
+
}
|
|
506
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
507
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, rev_);
|
|
508
|
+
}
|
|
509
|
+
getUnknownFields().writeTo(output);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@java.lang.Override
|
|
513
|
+
public int getSerializedSize() {
|
|
514
|
+
int size = memoizedSize;
|
|
515
|
+
if (size != -1) return size;
|
|
516
|
+
|
|
517
|
+
size = 0;
|
|
518
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
519
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
|
|
520
|
+
}
|
|
521
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
522
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, state_);
|
|
523
|
+
}
|
|
524
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
525
|
+
size += com.google.protobuf.CodedOutputStream
|
|
526
|
+
.computeInt64Size(3, size_);
|
|
527
|
+
}
|
|
528
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
529
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hctl_);
|
|
530
|
+
}
|
|
531
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
532
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, majmin_);
|
|
533
|
+
}
|
|
534
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
535
|
+
size += com.google.protobuf.CodedOutputStream
|
|
536
|
+
.computeBoolSize(6, hotplug_);
|
|
537
|
+
}
|
|
538
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
539
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, model_);
|
|
540
|
+
}
|
|
541
|
+
if (((bitField0_ & 0x00000080) != 0)) {
|
|
542
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serial_);
|
|
543
|
+
}
|
|
544
|
+
if (((bitField0_ & 0x00000100) != 0)) {
|
|
545
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, vendor_);
|
|
546
|
+
}
|
|
547
|
+
if (((bitField0_ & 0x00000200) != 0)) {
|
|
548
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, rev_);
|
|
549
|
+
}
|
|
550
|
+
size += getUnknownFields().getSerializedSize();
|
|
551
|
+
memoizedSize = size;
|
|
552
|
+
return size;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
@java.lang.Override
|
|
556
|
+
public boolean equals(final java.lang.Object obj) {
|
|
557
|
+
if (obj == this) {
|
|
558
|
+
return true;
|
|
559
|
+
}
|
|
560
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)) {
|
|
561
|
+
return super.equals(obj);
|
|
562
|
+
}
|
|
563
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk other = (com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk) obj;
|
|
564
|
+
|
|
565
|
+
if (hasName() != other.hasName()) return false;
|
|
566
|
+
if (hasName()) {
|
|
567
|
+
if (!getName()
|
|
568
|
+
.equals(other.getName())) return false;
|
|
569
|
+
}
|
|
570
|
+
if (hasState() != other.hasState()) return false;
|
|
571
|
+
if (hasState()) {
|
|
572
|
+
if (!getState()
|
|
573
|
+
.equals(other.getState())) return false;
|
|
574
|
+
}
|
|
575
|
+
if (hasSize() != other.hasSize()) return false;
|
|
576
|
+
if (hasSize()) {
|
|
577
|
+
if (getSize()
|
|
578
|
+
!= other.getSize()) return false;
|
|
579
|
+
}
|
|
580
|
+
if (hasHctl() != other.hasHctl()) return false;
|
|
581
|
+
if (hasHctl()) {
|
|
582
|
+
if (!getHctl()
|
|
583
|
+
.equals(other.getHctl())) return false;
|
|
584
|
+
}
|
|
585
|
+
if (hasMajmin() != other.hasMajmin()) return false;
|
|
586
|
+
if (hasMajmin()) {
|
|
587
|
+
if (!getMajmin()
|
|
588
|
+
.equals(other.getMajmin())) return false;
|
|
589
|
+
}
|
|
590
|
+
if (hasHotplug() != other.hasHotplug()) return false;
|
|
591
|
+
if (hasHotplug()) {
|
|
592
|
+
if (getHotplug()
|
|
593
|
+
!= other.getHotplug()) return false;
|
|
594
|
+
}
|
|
595
|
+
if (hasModel() != other.hasModel()) return false;
|
|
596
|
+
if (hasModel()) {
|
|
597
|
+
if (!getModel()
|
|
598
|
+
.equals(other.getModel())) return false;
|
|
599
|
+
}
|
|
600
|
+
if (hasSerial() != other.hasSerial()) return false;
|
|
601
|
+
if (hasSerial()) {
|
|
602
|
+
if (!getSerial()
|
|
603
|
+
.equals(other.getSerial())) return false;
|
|
604
|
+
}
|
|
605
|
+
if (hasVendor() != other.hasVendor()) return false;
|
|
606
|
+
if (hasVendor()) {
|
|
607
|
+
if (!getVendor()
|
|
608
|
+
.equals(other.getVendor())) return false;
|
|
609
|
+
}
|
|
610
|
+
if (hasRev() != other.hasRev()) return false;
|
|
611
|
+
if (hasRev()) {
|
|
612
|
+
if (!getRev()
|
|
613
|
+
.equals(other.getRev())) return false;
|
|
614
|
+
}
|
|
615
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
616
|
+
return true;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
@java.lang.Override
|
|
620
|
+
public int hashCode() {
|
|
621
|
+
if (memoizedHashCode != 0) {
|
|
622
|
+
return memoizedHashCode;
|
|
623
|
+
}
|
|
624
|
+
int hash = 41;
|
|
625
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
626
|
+
if (hasName()) {
|
|
627
|
+
hash = (37 * hash) + NAME_FIELD_NUMBER;
|
|
628
|
+
hash = (53 * hash) + getName().hashCode();
|
|
629
|
+
}
|
|
630
|
+
if (hasState()) {
|
|
631
|
+
hash = (37 * hash) + STATE_FIELD_NUMBER;
|
|
632
|
+
hash = (53 * hash) + getState().hashCode();
|
|
633
|
+
}
|
|
634
|
+
if (hasSize()) {
|
|
635
|
+
hash = (37 * hash) + SIZE_FIELD_NUMBER;
|
|
636
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
637
|
+
getSize());
|
|
638
|
+
}
|
|
639
|
+
if (hasHctl()) {
|
|
640
|
+
hash = (37 * hash) + HCTL_FIELD_NUMBER;
|
|
641
|
+
hash = (53 * hash) + getHctl().hashCode();
|
|
642
|
+
}
|
|
643
|
+
if (hasMajmin()) {
|
|
644
|
+
hash = (37 * hash) + MAJMIN_FIELD_NUMBER;
|
|
645
|
+
hash = (53 * hash) + getMajmin().hashCode();
|
|
646
|
+
}
|
|
647
|
+
if (hasHotplug()) {
|
|
648
|
+
hash = (37 * hash) + HOTPLUG_FIELD_NUMBER;
|
|
649
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
650
|
+
getHotplug());
|
|
651
|
+
}
|
|
652
|
+
if (hasModel()) {
|
|
653
|
+
hash = (37 * hash) + MODEL_FIELD_NUMBER;
|
|
654
|
+
hash = (53 * hash) + getModel().hashCode();
|
|
655
|
+
}
|
|
656
|
+
if (hasSerial()) {
|
|
657
|
+
hash = (37 * hash) + SERIAL_FIELD_NUMBER;
|
|
658
|
+
hash = (53 * hash) + getSerial().hashCode();
|
|
659
|
+
}
|
|
660
|
+
if (hasVendor()) {
|
|
661
|
+
hash = (37 * hash) + VENDOR_FIELD_NUMBER;
|
|
662
|
+
hash = (53 * hash) + getVendor().hashCode();
|
|
663
|
+
}
|
|
664
|
+
if (hasRev()) {
|
|
665
|
+
hash = (37 * hash) + REV_FIELD_NUMBER;
|
|
666
|
+
hash = (53 * hash) + getRev().hashCode();
|
|
667
|
+
}
|
|
668
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
669
|
+
memoizedHashCode = hash;
|
|
670
|
+
return hash;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
674
|
+
java.nio.ByteBuffer data)
|
|
675
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
676
|
+
return PARSER.parseFrom(data);
|
|
677
|
+
}
|
|
678
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
679
|
+
java.nio.ByteBuffer data,
|
|
680
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
681
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
682
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
683
|
+
}
|
|
684
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
685
|
+
com.google.protobuf.ByteString data)
|
|
686
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
687
|
+
return PARSER.parseFrom(data);
|
|
688
|
+
}
|
|
689
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
690
|
+
com.google.protobuf.ByteString data,
|
|
691
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
692
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
693
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
694
|
+
}
|
|
695
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(byte[] data)
|
|
696
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
697
|
+
return PARSER.parseFrom(data);
|
|
698
|
+
}
|
|
699
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
700
|
+
byte[] data,
|
|
701
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
702
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
703
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
704
|
+
}
|
|
705
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(java.io.InputStream input)
|
|
706
|
+
throws java.io.IOException {
|
|
707
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
708
|
+
.parseWithIOException(PARSER, input);
|
|
709
|
+
}
|
|
710
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
711
|
+
java.io.InputStream input,
|
|
712
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
713
|
+
throws java.io.IOException {
|
|
714
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
715
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseDelimitedFrom(java.io.InputStream input)
|
|
719
|
+
throws java.io.IOException {
|
|
720
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
721
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseDelimitedFrom(
|
|
725
|
+
java.io.InputStream input,
|
|
726
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
727
|
+
throws java.io.IOException {
|
|
728
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
729
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
730
|
+
}
|
|
731
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
732
|
+
com.google.protobuf.CodedInputStream input)
|
|
733
|
+
throws java.io.IOException {
|
|
734
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
735
|
+
.parseWithIOException(PARSER, input);
|
|
736
|
+
}
|
|
737
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk parseFrom(
|
|
738
|
+
com.google.protobuf.CodedInputStream input,
|
|
739
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
740
|
+
throws java.io.IOException {
|
|
741
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
742
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
@java.lang.Override
|
|
746
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
747
|
+
public static Builder newBuilder() {
|
|
748
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
749
|
+
}
|
|
750
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk prototype) {
|
|
751
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
752
|
+
}
|
|
753
|
+
@java.lang.Override
|
|
754
|
+
public Builder toBuilder() {
|
|
755
|
+
return this == DEFAULT_INSTANCE
|
|
756
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
@java.lang.Override
|
|
760
|
+
protected Builder newBuilderForType(
|
|
761
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
762
|
+
Builder builder = new Builder(parent);
|
|
763
|
+
return builder;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk}
|
|
767
|
+
*/
|
|
768
|
+
public static final class Builder extends
|
|
769
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
770
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)
|
|
771
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDiskOrBuilder {
|
|
772
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
773
|
+
getDescriptor() {
|
|
774
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalHardDisk_descriptor;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
@java.lang.Override
|
|
778
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
779
|
+
internalGetFieldAccessorTable() {
|
|
780
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalHardDisk_fieldAccessorTable
|
|
781
|
+
.ensureFieldAccessorsInitialized(
|
|
782
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.class, com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.Builder.class);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
// Construct using com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.newBuilder()
|
|
786
|
+
private Builder() {
|
|
787
|
+
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
private Builder(
|
|
791
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
792
|
+
super(parent);
|
|
793
|
+
|
|
794
|
+
}
|
|
795
|
+
@java.lang.Override
|
|
796
|
+
public Builder clear() {
|
|
797
|
+
super.clear();
|
|
798
|
+
bitField0_ = 0;
|
|
799
|
+
name_ = "";
|
|
800
|
+
state_ = "";
|
|
801
|
+
size_ = 0L;
|
|
802
|
+
hctl_ = "";
|
|
803
|
+
majmin_ = "";
|
|
804
|
+
hotplug_ = false;
|
|
805
|
+
model_ = "";
|
|
806
|
+
serial_ = "";
|
|
807
|
+
vendor_ = "";
|
|
808
|
+
rev_ = "";
|
|
809
|
+
return this;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
@java.lang.Override
|
|
813
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
814
|
+
getDescriptorForType() {
|
|
815
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxPhysicalHardDisk_descriptor;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
@java.lang.Override
|
|
819
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk getDefaultInstanceForType() {
|
|
820
|
+
return com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.getDefaultInstance();
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
@java.lang.Override
|
|
824
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk build() {
|
|
825
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk result = buildPartial();
|
|
826
|
+
if (!result.isInitialized()) {
|
|
827
|
+
throw newUninitializedMessageException(result);
|
|
828
|
+
}
|
|
829
|
+
return result;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
@java.lang.Override
|
|
833
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk buildPartial() {
|
|
834
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk result = new com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk(this);
|
|
835
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
836
|
+
onBuilt();
|
|
837
|
+
return result;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk result) {
|
|
841
|
+
int from_bitField0_ = bitField0_;
|
|
842
|
+
int to_bitField0_ = 0;
|
|
843
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
844
|
+
result.name_ = name_;
|
|
845
|
+
to_bitField0_ |= 0x00000001;
|
|
846
|
+
}
|
|
847
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
848
|
+
result.state_ = state_;
|
|
849
|
+
to_bitField0_ |= 0x00000002;
|
|
850
|
+
}
|
|
851
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
852
|
+
result.size_ = size_;
|
|
853
|
+
to_bitField0_ |= 0x00000004;
|
|
854
|
+
}
|
|
855
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
856
|
+
result.hctl_ = hctl_;
|
|
857
|
+
to_bitField0_ |= 0x00000008;
|
|
858
|
+
}
|
|
859
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
860
|
+
result.majmin_ = majmin_;
|
|
861
|
+
to_bitField0_ |= 0x00000010;
|
|
862
|
+
}
|
|
863
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
864
|
+
result.hotplug_ = hotplug_;
|
|
865
|
+
to_bitField0_ |= 0x00000020;
|
|
866
|
+
}
|
|
867
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
868
|
+
result.model_ = model_;
|
|
869
|
+
to_bitField0_ |= 0x00000040;
|
|
870
|
+
}
|
|
871
|
+
if (((from_bitField0_ & 0x00000080) != 0)) {
|
|
872
|
+
result.serial_ = serial_;
|
|
873
|
+
to_bitField0_ |= 0x00000080;
|
|
874
|
+
}
|
|
875
|
+
if (((from_bitField0_ & 0x00000100) != 0)) {
|
|
876
|
+
result.vendor_ = vendor_;
|
|
877
|
+
to_bitField0_ |= 0x00000100;
|
|
878
|
+
}
|
|
879
|
+
if (((from_bitField0_ & 0x00000200) != 0)) {
|
|
880
|
+
result.rev_ = rev_;
|
|
881
|
+
to_bitField0_ |= 0x00000200;
|
|
882
|
+
}
|
|
883
|
+
result.bitField0_ |= to_bitField0_;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
@java.lang.Override
|
|
887
|
+
public Builder clone() {
|
|
888
|
+
return super.clone();
|
|
889
|
+
}
|
|
890
|
+
@java.lang.Override
|
|
891
|
+
public Builder setField(
|
|
892
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
893
|
+
java.lang.Object value) {
|
|
894
|
+
return super.setField(field, value);
|
|
895
|
+
}
|
|
896
|
+
@java.lang.Override
|
|
897
|
+
public Builder clearField(
|
|
898
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
899
|
+
return super.clearField(field);
|
|
900
|
+
}
|
|
901
|
+
@java.lang.Override
|
|
902
|
+
public Builder clearOneof(
|
|
903
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
904
|
+
return super.clearOneof(oneof);
|
|
905
|
+
}
|
|
906
|
+
@java.lang.Override
|
|
907
|
+
public Builder setRepeatedField(
|
|
908
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
909
|
+
int index, java.lang.Object value) {
|
|
910
|
+
return super.setRepeatedField(field, index, value);
|
|
911
|
+
}
|
|
912
|
+
@java.lang.Override
|
|
913
|
+
public Builder addRepeatedField(
|
|
914
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
915
|
+
java.lang.Object value) {
|
|
916
|
+
return super.addRepeatedField(field, value);
|
|
917
|
+
}
|
|
918
|
+
@java.lang.Override
|
|
919
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
920
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk) {
|
|
921
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)other);
|
|
922
|
+
} else {
|
|
923
|
+
super.mergeFrom(other);
|
|
924
|
+
return this;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk other) {
|
|
929
|
+
if (other == com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk.getDefaultInstance()) return this;
|
|
930
|
+
if (other.hasName()) {
|
|
931
|
+
name_ = other.name_;
|
|
932
|
+
bitField0_ |= 0x00000001;
|
|
933
|
+
onChanged();
|
|
934
|
+
}
|
|
935
|
+
if (other.hasState()) {
|
|
936
|
+
state_ = other.state_;
|
|
937
|
+
bitField0_ |= 0x00000002;
|
|
938
|
+
onChanged();
|
|
939
|
+
}
|
|
940
|
+
if (other.hasSize()) {
|
|
941
|
+
setSize(other.getSize());
|
|
942
|
+
}
|
|
943
|
+
if (other.hasHctl()) {
|
|
944
|
+
hctl_ = other.hctl_;
|
|
945
|
+
bitField0_ |= 0x00000008;
|
|
946
|
+
onChanged();
|
|
947
|
+
}
|
|
948
|
+
if (other.hasMajmin()) {
|
|
949
|
+
majmin_ = other.majmin_;
|
|
950
|
+
bitField0_ |= 0x00000010;
|
|
951
|
+
onChanged();
|
|
952
|
+
}
|
|
953
|
+
if (other.hasHotplug()) {
|
|
954
|
+
setHotplug(other.getHotplug());
|
|
955
|
+
}
|
|
956
|
+
if (other.hasModel()) {
|
|
957
|
+
model_ = other.model_;
|
|
958
|
+
bitField0_ |= 0x00000040;
|
|
959
|
+
onChanged();
|
|
960
|
+
}
|
|
961
|
+
if (other.hasSerial()) {
|
|
962
|
+
serial_ = other.serial_;
|
|
963
|
+
bitField0_ |= 0x00000080;
|
|
964
|
+
onChanged();
|
|
965
|
+
}
|
|
966
|
+
if (other.hasVendor()) {
|
|
967
|
+
vendor_ = other.vendor_;
|
|
968
|
+
bitField0_ |= 0x00000100;
|
|
969
|
+
onChanged();
|
|
970
|
+
}
|
|
971
|
+
if (other.hasRev()) {
|
|
972
|
+
rev_ = other.rev_;
|
|
973
|
+
bitField0_ |= 0x00000200;
|
|
974
|
+
onChanged();
|
|
975
|
+
}
|
|
976
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
977
|
+
onChanged();
|
|
978
|
+
return this;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
@java.lang.Override
|
|
982
|
+
public final boolean isInitialized() {
|
|
983
|
+
return true;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
@java.lang.Override
|
|
987
|
+
public Builder mergeFrom(
|
|
988
|
+
com.google.protobuf.CodedInputStream input,
|
|
989
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
990
|
+
throws java.io.IOException {
|
|
991
|
+
if (extensionRegistry == null) {
|
|
992
|
+
throw new java.lang.NullPointerException();
|
|
993
|
+
}
|
|
994
|
+
try {
|
|
995
|
+
boolean done = false;
|
|
996
|
+
while (!done) {
|
|
997
|
+
int tag = input.readTag();
|
|
998
|
+
switch (tag) {
|
|
999
|
+
case 0:
|
|
1000
|
+
done = true;
|
|
1001
|
+
break;
|
|
1002
|
+
case 10: {
|
|
1003
|
+
name_ = input.readStringRequireUtf8();
|
|
1004
|
+
bitField0_ |= 0x00000001;
|
|
1005
|
+
break;
|
|
1006
|
+
} // case 10
|
|
1007
|
+
case 18: {
|
|
1008
|
+
state_ = input.readStringRequireUtf8();
|
|
1009
|
+
bitField0_ |= 0x00000002;
|
|
1010
|
+
break;
|
|
1011
|
+
} // case 18
|
|
1012
|
+
case 24: {
|
|
1013
|
+
size_ = input.readInt64();
|
|
1014
|
+
bitField0_ |= 0x00000004;
|
|
1015
|
+
break;
|
|
1016
|
+
} // case 24
|
|
1017
|
+
case 34: {
|
|
1018
|
+
hctl_ = input.readStringRequireUtf8();
|
|
1019
|
+
bitField0_ |= 0x00000008;
|
|
1020
|
+
break;
|
|
1021
|
+
} // case 34
|
|
1022
|
+
case 42: {
|
|
1023
|
+
majmin_ = input.readStringRequireUtf8();
|
|
1024
|
+
bitField0_ |= 0x00000010;
|
|
1025
|
+
break;
|
|
1026
|
+
} // case 42
|
|
1027
|
+
case 48: {
|
|
1028
|
+
hotplug_ = input.readBool();
|
|
1029
|
+
bitField0_ |= 0x00000020;
|
|
1030
|
+
break;
|
|
1031
|
+
} // case 48
|
|
1032
|
+
case 58: {
|
|
1033
|
+
model_ = input.readStringRequireUtf8();
|
|
1034
|
+
bitField0_ |= 0x00000040;
|
|
1035
|
+
break;
|
|
1036
|
+
} // case 58
|
|
1037
|
+
case 66: {
|
|
1038
|
+
serial_ = input.readStringRequireUtf8();
|
|
1039
|
+
bitField0_ |= 0x00000080;
|
|
1040
|
+
break;
|
|
1041
|
+
} // case 66
|
|
1042
|
+
case 74: {
|
|
1043
|
+
vendor_ = input.readStringRequireUtf8();
|
|
1044
|
+
bitField0_ |= 0x00000100;
|
|
1045
|
+
break;
|
|
1046
|
+
} // case 74
|
|
1047
|
+
case 82: {
|
|
1048
|
+
rev_ = input.readStringRequireUtf8();
|
|
1049
|
+
bitField0_ |= 0x00000200;
|
|
1050
|
+
break;
|
|
1051
|
+
} // case 82
|
|
1052
|
+
default: {
|
|
1053
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
1054
|
+
done = true; // was an endgroup tag
|
|
1055
|
+
}
|
|
1056
|
+
break;
|
|
1057
|
+
} // default:
|
|
1058
|
+
} // switch (tag)
|
|
1059
|
+
} // while (!done)
|
|
1060
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1061
|
+
throw e.unwrapIOException();
|
|
1062
|
+
} finally {
|
|
1063
|
+
onChanged();
|
|
1064
|
+
} // finally
|
|
1065
|
+
return this;
|
|
1066
|
+
}
|
|
1067
|
+
private int bitField0_;
|
|
1068
|
+
|
|
1069
|
+
private java.lang.Object name_ = "";
|
|
1070
|
+
/**
|
|
1071
|
+
* <code>optional string name = 1;</code>
|
|
1072
|
+
* @return Whether the name field is set.
|
|
1073
|
+
*/
|
|
1074
|
+
public boolean hasName() {
|
|
1075
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* <code>optional string name = 1;</code>
|
|
1079
|
+
* @return The name.
|
|
1080
|
+
*/
|
|
1081
|
+
public java.lang.String getName() {
|
|
1082
|
+
java.lang.Object ref = name_;
|
|
1083
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1084
|
+
com.google.protobuf.ByteString bs =
|
|
1085
|
+
(com.google.protobuf.ByteString) ref;
|
|
1086
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1087
|
+
name_ = s;
|
|
1088
|
+
return s;
|
|
1089
|
+
} else {
|
|
1090
|
+
return (java.lang.String) ref;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* <code>optional string name = 1;</code>
|
|
1095
|
+
* @return The bytes for name.
|
|
1096
|
+
*/
|
|
1097
|
+
public com.google.protobuf.ByteString
|
|
1098
|
+
getNameBytes() {
|
|
1099
|
+
java.lang.Object ref = name_;
|
|
1100
|
+
if (ref instanceof String) {
|
|
1101
|
+
com.google.protobuf.ByteString b =
|
|
1102
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1103
|
+
(java.lang.String) ref);
|
|
1104
|
+
name_ = b;
|
|
1105
|
+
return b;
|
|
1106
|
+
} else {
|
|
1107
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* <code>optional string name = 1;</code>
|
|
1112
|
+
* @param value The name to set.
|
|
1113
|
+
* @return This builder for chaining.
|
|
1114
|
+
*/
|
|
1115
|
+
public Builder setName(
|
|
1116
|
+
java.lang.String value) {
|
|
1117
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1118
|
+
name_ = value;
|
|
1119
|
+
bitField0_ |= 0x00000001;
|
|
1120
|
+
onChanged();
|
|
1121
|
+
return this;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* <code>optional string name = 1;</code>
|
|
1125
|
+
* @return This builder for chaining.
|
|
1126
|
+
*/
|
|
1127
|
+
public Builder clearName() {
|
|
1128
|
+
name_ = getDefaultInstance().getName();
|
|
1129
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
1130
|
+
onChanged();
|
|
1131
|
+
return this;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* <code>optional string name = 1;</code>
|
|
1135
|
+
* @param value The bytes for name to set.
|
|
1136
|
+
* @return This builder for chaining.
|
|
1137
|
+
*/
|
|
1138
|
+
public Builder setNameBytes(
|
|
1139
|
+
com.google.protobuf.ByteString value) {
|
|
1140
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1141
|
+
checkByteStringIsUtf8(value);
|
|
1142
|
+
name_ = value;
|
|
1143
|
+
bitField0_ |= 0x00000001;
|
|
1144
|
+
onChanged();
|
|
1145
|
+
return this;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
private java.lang.Object state_ = "";
|
|
1149
|
+
/**
|
|
1150
|
+
* <code>optional string state = 2;</code>
|
|
1151
|
+
* @return Whether the state field is set.
|
|
1152
|
+
*/
|
|
1153
|
+
public boolean hasState() {
|
|
1154
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
1155
|
+
}
|
|
1156
|
+
/**
|
|
1157
|
+
* <code>optional string state = 2;</code>
|
|
1158
|
+
* @return The state.
|
|
1159
|
+
*/
|
|
1160
|
+
public java.lang.String getState() {
|
|
1161
|
+
java.lang.Object ref = state_;
|
|
1162
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1163
|
+
com.google.protobuf.ByteString bs =
|
|
1164
|
+
(com.google.protobuf.ByteString) ref;
|
|
1165
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1166
|
+
state_ = s;
|
|
1167
|
+
return s;
|
|
1168
|
+
} else {
|
|
1169
|
+
return (java.lang.String) ref;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* <code>optional string state = 2;</code>
|
|
1174
|
+
* @return The bytes for state.
|
|
1175
|
+
*/
|
|
1176
|
+
public com.google.protobuf.ByteString
|
|
1177
|
+
getStateBytes() {
|
|
1178
|
+
java.lang.Object ref = state_;
|
|
1179
|
+
if (ref instanceof String) {
|
|
1180
|
+
com.google.protobuf.ByteString b =
|
|
1181
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1182
|
+
(java.lang.String) ref);
|
|
1183
|
+
state_ = b;
|
|
1184
|
+
return b;
|
|
1185
|
+
} else {
|
|
1186
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* <code>optional string state = 2;</code>
|
|
1191
|
+
* @param value The state to set.
|
|
1192
|
+
* @return This builder for chaining.
|
|
1193
|
+
*/
|
|
1194
|
+
public Builder setState(
|
|
1195
|
+
java.lang.String value) {
|
|
1196
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1197
|
+
state_ = value;
|
|
1198
|
+
bitField0_ |= 0x00000002;
|
|
1199
|
+
onChanged();
|
|
1200
|
+
return this;
|
|
1201
|
+
}
|
|
1202
|
+
/**
|
|
1203
|
+
* <code>optional string state = 2;</code>
|
|
1204
|
+
* @return This builder for chaining.
|
|
1205
|
+
*/
|
|
1206
|
+
public Builder clearState() {
|
|
1207
|
+
state_ = getDefaultInstance().getState();
|
|
1208
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1209
|
+
onChanged();
|
|
1210
|
+
return this;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* <code>optional string state = 2;</code>
|
|
1214
|
+
* @param value The bytes for state to set.
|
|
1215
|
+
* @return This builder for chaining.
|
|
1216
|
+
*/
|
|
1217
|
+
public Builder setStateBytes(
|
|
1218
|
+
com.google.protobuf.ByteString value) {
|
|
1219
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1220
|
+
checkByteStringIsUtf8(value);
|
|
1221
|
+
state_ = value;
|
|
1222
|
+
bitField0_ |= 0x00000002;
|
|
1223
|
+
onChanged();
|
|
1224
|
+
return this;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
private long size_ ;
|
|
1228
|
+
/**
|
|
1229
|
+
* <code>optional int64 size = 3;</code>
|
|
1230
|
+
* @return Whether the size field is set.
|
|
1231
|
+
*/
|
|
1232
|
+
@java.lang.Override
|
|
1233
|
+
public boolean hasSize() {
|
|
1234
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* <code>optional int64 size = 3;</code>
|
|
1238
|
+
* @return The size.
|
|
1239
|
+
*/
|
|
1240
|
+
@java.lang.Override
|
|
1241
|
+
public long getSize() {
|
|
1242
|
+
return size_;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* <code>optional int64 size = 3;</code>
|
|
1246
|
+
* @param value The size to set.
|
|
1247
|
+
* @return This builder for chaining.
|
|
1248
|
+
*/
|
|
1249
|
+
public Builder setSize(long value) {
|
|
1250
|
+
|
|
1251
|
+
size_ = value;
|
|
1252
|
+
bitField0_ |= 0x00000004;
|
|
1253
|
+
onChanged();
|
|
1254
|
+
return this;
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* <code>optional int64 size = 3;</code>
|
|
1258
|
+
* @return This builder for chaining.
|
|
1259
|
+
*/
|
|
1260
|
+
public Builder clearSize() {
|
|
1261
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1262
|
+
size_ = 0L;
|
|
1263
|
+
onChanged();
|
|
1264
|
+
return this;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
private java.lang.Object hctl_ = "";
|
|
1268
|
+
/**
|
|
1269
|
+
* <code>optional string hctl = 4;</code>
|
|
1270
|
+
* @return Whether the hctl field is set.
|
|
1271
|
+
*/
|
|
1272
|
+
public boolean hasHctl() {
|
|
1273
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* <code>optional string hctl = 4;</code>
|
|
1277
|
+
* @return The hctl.
|
|
1278
|
+
*/
|
|
1279
|
+
public java.lang.String getHctl() {
|
|
1280
|
+
java.lang.Object ref = hctl_;
|
|
1281
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1282
|
+
com.google.protobuf.ByteString bs =
|
|
1283
|
+
(com.google.protobuf.ByteString) ref;
|
|
1284
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1285
|
+
hctl_ = s;
|
|
1286
|
+
return s;
|
|
1287
|
+
} else {
|
|
1288
|
+
return (java.lang.String) ref;
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* <code>optional string hctl = 4;</code>
|
|
1293
|
+
* @return The bytes for hctl.
|
|
1294
|
+
*/
|
|
1295
|
+
public com.google.protobuf.ByteString
|
|
1296
|
+
getHctlBytes() {
|
|
1297
|
+
java.lang.Object ref = hctl_;
|
|
1298
|
+
if (ref instanceof String) {
|
|
1299
|
+
com.google.protobuf.ByteString b =
|
|
1300
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1301
|
+
(java.lang.String) ref);
|
|
1302
|
+
hctl_ = b;
|
|
1303
|
+
return b;
|
|
1304
|
+
} else {
|
|
1305
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* <code>optional string hctl = 4;</code>
|
|
1310
|
+
* @param value The hctl to set.
|
|
1311
|
+
* @return This builder for chaining.
|
|
1312
|
+
*/
|
|
1313
|
+
public Builder setHctl(
|
|
1314
|
+
java.lang.String value) {
|
|
1315
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1316
|
+
hctl_ = value;
|
|
1317
|
+
bitField0_ |= 0x00000008;
|
|
1318
|
+
onChanged();
|
|
1319
|
+
return this;
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* <code>optional string hctl = 4;</code>
|
|
1323
|
+
* @return This builder for chaining.
|
|
1324
|
+
*/
|
|
1325
|
+
public Builder clearHctl() {
|
|
1326
|
+
hctl_ = getDefaultInstance().getHctl();
|
|
1327
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1328
|
+
onChanged();
|
|
1329
|
+
return this;
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* <code>optional string hctl = 4;</code>
|
|
1333
|
+
* @param value The bytes for hctl to set.
|
|
1334
|
+
* @return This builder for chaining.
|
|
1335
|
+
*/
|
|
1336
|
+
public Builder setHctlBytes(
|
|
1337
|
+
com.google.protobuf.ByteString value) {
|
|
1338
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1339
|
+
checkByteStringIsUtf8(value);
|
|
1340
|
+
hctl_ = value;
|
|
1341
|
+
bitField0_ |= 0x00000008;
|
|
1342
|
+
onChanged();
|
|
1343
|
+
return this;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
private java.lang.Object majmin_ = "";
|
|
1347
|
+
/**
|
|
1348
|
+
* <code>optional string majmin = 5;</code>
|
|
1349
|
+
* @return Whether the majmin field is set.
|
|
1350
|
+
*/
|
|
1351
|
+
public boolean hasMajmin() {
|
|
1352
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* <code>optional string majmin = 5;</code>
|
|
1356
|
+
* @return The majmin.
|
|
1357
|
+
*/
|
|
1358
|
+
public java.lang.String getMajmin() {
|
|
1359
|
+
java.lang.Object ref = majmin_;
|
|
1360
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1361
|
+
com.google.protobuf.ByteString bs =
|
|
1362
|
+
(com.google.protobuf.ByteString) ref;
|
|
1363
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1364
|
+
majmin_ = s;
|
|
1365
|
+
return s;
|
|
1366
|
+
} else {
|
|
1367
|
+
return (java.lang.String) ref;
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* <code>optional string majmin = 5;</code>
|
|
1372
|
+
* @return The bytes for majmin.
|
|
1373
|
+
*/
|
|
1374
|
+
public com.google.protobuf.ByteString
|
|
1375
|
+
getMajminBytes() {
|
|
1376
|
+
java.lang.Object ref = majmin_;
|
|
1377
|
+
if (ref instanceof String) {
|
|
1378
|
+
com.google.protobuf.ByteString b =
|
|
1379
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1380
|
+
(java.lang.String) ref);
|
|
1381
|
+
majmin_ = b;
|
|
1382
|
+
return b;
|
|
1383
|
+
} else {
|
|
1384
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* <code>optional string majmin = 5;</code>
|
|
1389
|
+
* @param value The majmin to set.
|
|
1390
|
+
* @return This builder for chaining.
|
|
1391
|
+
*/
|
|
1392
|
+
public Builder setMajmin(
|
|
1393
|
+
java.lang.String value) {
|
|
1394
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1395
|
+
majmin_ = value;
|
|
1396
|
+
bitField0_ |= 0x00000010;
|
|
1397
|
+
onChanged();
|
|
1398
|
+
return this;
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* <code>optional string majmin = 5;</code>
|
|
1402
|
+
* @return This builder for chaining.
|
|
1403
|
+
*/
|
|
1404
|
+
public Builder clearMajmin() {
|
|
1405
|
+
majmin_ = getDefaultInstance().getMajmin();
|
|
1406
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1407
|
+
onChanged();
|
|
1408
|
+
return this;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* <code>optional string majmin = 5;</code>
|
|
1412
|
+
* @param value The bytes for majmin to set.
|
|
1413
|
+
* @return This builder for chaining.
|
|
1414
|
+
*/
|
|
1415
|
+
public Builder setMajminBytes(
|
|
1416
|
+
com.google.protobuf.ByteString value) {
|
|
1417
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1418
|
+
checkByteStringIsUtf8(value);
|
|
1419
|
+
majmin_ = value;
|
|
1420
|
+
bitField0_ |= 0x00000010;
|
|
1421
|
+
onChanged();
|
|
1422
|
+
return this;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
private boolean hotplug_ ;
|
|
1426
|
+
/**
|
|
1427
|
+
* <code>optional bool hotplug = 6;</code>
|
|
1428
|
+
* @return Whether the hotplug field is set.
|
|
1429
|
+
*/
|
|
1430
|
+
@java.lang.Override
|
|
1431
|
+
public boolean hasHotplug() {
|
|
1432
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1433
|
+
}
|
|
1434
|
+
/**
|
|
1435
|
+
* <code>optional bool hotplug = 6;</code>
|
|
1436
|
+
* @return The hotplug.
|
|
1437
|
+
*/
|
|
1438
|
+
@java.lang.Override
|
|
1439
|
+
public boolean getHotplug() {
|
|
1440
|
+
return hotplug_;
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* <code>optional bool hotplug = 6;</code>
|
|
1444
|
+
* @param value The hotplug to set.
|
|
1445
|
+
* @return This builder for chaining.
|
|
1446
|
+
*/
|
|
1447
|
+
public Builder setHotplug(boolean value) {
|
|
1448
|
+
|
|
1449
|
+
hotplug_ = value;
|
|
1450
|
+
bitField0_ |= 0x00000020;
|
|
1451
|
+
onChanged();
|
|
1452
|
+
return this;
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* <code>optional bool hotplug = 6;</code>
|
|
1456
|
+
* @return This builder for chaining.
|
|
1457
|
+
*/
|
|
1458
|
+
public Builder clearHotplug() {
|
|
1459
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1460
|
+
hotplug_ = false;
|
|
1461
|
+
onChanged();
|
|
1462
|
+
return this;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
private java.lang.Object model_ = "";
|
|
1466
|
+
/**
|
|
1467
|
+
* <code>optional string model = 7;</code>
|
|
1468
|
+
* @return Whether the model field is set.
|
|
1469
|
+
*/
|
|
1470
|
+
public boolean hasModel() {
|
|
1471
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1472
|
+
}
|
|
1473
|
+
/**
|
|
1474
|
+
* <code>optional string model = 7;</code>
|
|
1475
|
+
* @return The model.
|
|
1476
|
+
*/
|
|
1477
|
+
public java.lang.String getModel() {
|
|
1478
|
+
java.lang.Object ref = model_;
|
|
1479
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1480
|
+
com.google.protobuf.ByteString bs =
|
|
1481
|
+
(com.google.protobuf.ByteString) ref;
|
|
1482
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1483
|
+
model_ = s;
|
|
1484
|
+
return s;
|
|
1485
|
+
} else {
|
|
1486
|
+
return (java.lang.String) ref;
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* <code>optional string model = 7;</code>
|
|
1491
|
+
* @return The bytes for model.
|
|
1492
|
+
*/
|
|
1493
|
+
public com.google.protobuf.ByteString
|
|
1494
|
+
getModelBytes() {
|
|
1495
|
+
java.lang.Object ref = model_;
|
|
1496
|
+
if (ref instanceof String) {
|
|
1497
|
+
com.google.protobuf.ByteString b =
|
|
1498
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1499
|
+
(java.lang.String) ref);
|
|
1500
|
+
model_ = b;
|
|
1501
|
+
return b;
|
|
1502
|
+
} else {
|
|
1503
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* <code>optional string model = 7;</code>
|
|
1508
|
+
* @param value The model to set.
|
|
1509
|
+
* @return This builder for chaining.
|
|
1510
|
+
*/
|
|
1511
|
+
public Builder setModel(
|
|
1512
|
+
java.lang.String value) {
|
|
1513
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1514
|
+
model_ = value;
|
|
1515
|
+
bitField0_ |= 0x00000040;
|
|
1516
|
+
onChanged();
|
|
1517
|
+
return this;
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* <code>optional string model = 7;</code>
|
|
1521
|
+
* @return This builder for chaining.
|
|
1522
|
+
*/
|
|
1523
|
+
public Builder clearModel() {
|
|
1524
|
+
model_ = getDefaultInstance().getModel();
|
|
1525
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1526
|
+
onChanged();
|
|
1527
|
+
return this;
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* <code>optional string model = 7;</code>
|
|
1531
|
+
* @param value The bytes for model to set.
|
|
1532
|
+
* @return This builder for chaining.
|
|
1533
|
+
*/
|
|
1534
|
+
public Builder setModelBytes(
|
|
1535
|
+
com.google.protobuf.ByteString value) {
|
|
1536
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1537
|
+
checkByteStringIsUtf8(value);
|
|
1538
|
+
model_ = value;
|
|
1539
|
+
bitField0_ |= 0x00000040;
|
|
1540
|
+
onChanged();
|
|
1541
|
+
return this;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
private java.lang.Object serial_ = "";
|
|
1545
|
+
/**
|
|
1546
|
+
* <code>optional string serial = 8;</code>
|
|
1547
|
+
* @return Whether the serial field is set.
|
|
1548
|
+
*/
|
|
1549
|
+
public boolean hasSerial() {
|
|
1550
|
+
return ((bitField0_ & 0x00000080) != 0);
|
|
1551
|
+
}
|
|
1552
|
+
/**
|
|
1553
|
+
* <code>optional string serial = 8;</code>
|
|
1554
|
+
* @return The serial.
|
|
1555
|
+
*/
|
|
1556
|
+
public java.lang.String getSerial() {
|
|
1557
|
+
java.lang.Object ref = serial_;
|
|
1558
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1559
|
+
com.google.protobuf.ByteString bs =
|
|
1560
|
+
(com.google.protobuf.ByteString) ref;
|
|
1561
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1562
|
+
serial_ = s;
|
|
1563
|
+
return s;
|
|
1564
|
+
} else {
|
|
1565
|
+
return (java.lang.String) ref;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
/**
|
|
1569
|
+
* <code>optional string serial = 8;</code>
|
|
1570
|
+
* @return The bytes for serial.
|
|
1571
|
+
*/
|
|
1572
|
+
public com.google.protobuf.ByteString
|
|
1573
|
+
getSerialBytes() {
|
|
1574
|
+
java.lang.Object ref = serial_;
|
|
1575
|
+
if (ref instanceof String) {
|
|
1576
|
+
com.google.protobuf.ByteString b =
|
|
1577
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1578
|
+
(java.lang.String) ref);
|
|
1579
|
+
serial_ = b;
|
|
1580
|
+
return b;
|
|
1581
|
+
} else {
|
|
1582
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* <code>optional string serial = 8;</code>
|
|
1587
|
+
* @param value The serial to set.
|
|
1588
|
+
* @return This builder for chaining.
|
|
1589
|
+
*/
|
|
1590
|
+
public Builder setSerial(
|
|
1591
|
+
java.lang.String value) {
|
|
1592
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1593
|
+
serial_ = value;
|
|
1594
|
+
bitField0_ |= 0x00000080;
|
|
1595
|
+
onChanged();
|
|
1596
|
+
return this;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* <code>optional string serial = 8;</code>
|
|
1600
|
+
* @return This builder for chaining.
|
|
1601
|
+
*/
|
|
1602
|
+
public Builder clearSerial() {
|
|
1603
|
+
serial_ = getDefaultInstance().getSerial();
|
|
1604
|
+
bitField0_ = (bitField0_ & ~0x00000080);
|
|
1605
|
+
onChanged();
|
|
1606
|
+
return this;
|
|
1607
|
+
}
|
|
1608
|
+
/**
|
|
1609
|
+
* <code>optional string serial = 8;</code>
|
|
1610
|
+
* @param value The bytes for serial to set.
|
|
1611
|
+
* @return This builder for chaining.
|
|
1612
|
+
*/
|
|
1613
|
+
public Builder setSerialBytes(
|
|
1614
|
+
com.google.protobuf.ByteString value) {
|
|
1615
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1616
|
+
checkByteStringIsUtf8(value);
|
|
1617
|
+
serial_ = value;
|
|
1618
|
+
bitField0_ |= 0x00000080;
|
|
1619
|
+
onChanged();
|
|
1620
|
+
return this;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
private java.lang.Object vendor_ = "";
|
|
1624
|
+
/**
|
|
1625
|
+
* <code>optional string vendor = 9;</code>
|
|
1626
|
+
* @return Whether the vendor field is set.
|
|
1627
|
+
*/
|
|
1628
|
+
public boolean hasVendor() {
|
|
1629
|
+
return ((bitField0_ & 0x00000100) != 0);
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* <code>optional string vendor = 9;</code>
|
|
1633
|
+
* @return The vendor.
|
|
1634
|
+
*/
|
|
1635
|
+
public java.lang.String getVendor() {
|
|
1636
|
+
java.lang.Object ref = vendor_;
|
|
1637
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1638
|
+
com.google.protobuf.ByteString bs =
|
|
1639
|
+
(com.google.protobuf.ByteString) ref;
|
|
1640
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1641
|
+
vendor_ = s;
|
|
1642
|
+
return s;
|
|
1643
|
+
} else {
|
|
1644
|
+
return (java.lang.String) ref;
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
/**
|
|
1648
|
+
* <code>optional string vendor = 9;</code>
|
|
1649
|
+
* @return The bytes for vendor.
|
|
1650
|
+
*/
|
|
1651
|
+
public com.google.protobuf.ByteString
|
|
1652
|
+
getVendorBytes() {
|
|
1653
|
+
java.lang.Object ref = vendor_;
|
|
1654
|
+
if (ref instanceof String) {
|
|
1655
|
+
com.google.protobuf.ByteString b =
|
|
1656
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1657
|
+
(java.lang.String) ref);
|
|
1658
|
+
vendor_ = b;
|
|
1659
|
+
return b;
|
|
1660
|
+
} else {
|
|
1661
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* <code>optional string vendor = 9;</code>
|
|
1666
|
+
* @param value The vendor to set.
|
|
1667
|
+
* @return This builder for chaining.
|
|
1668
|
+
*/
|
|
1669
|
+
public Builder setVendor(
|
|
1670
|
+
java.lang.String value) {
|
|
1671
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1672
|
+
vendor_ = value;
|
|
1673
|
+
bitField0_ |= 0x00000100;
|
|
1674
|
+
onChanged();
|
|
1675
|
+
return this;
|
|
1676
|
+
}
|
|
1677
|
+
/**
|
|
1678
|
+
* <code>optional string vendor = 9;</code>
|
|
1679
|
+
* @return This builder for chaining.
|
|
1680
|
+
*/
|
|
1681
|
+
public Builder clearVendor() {
|
|
1682
|
+
vendor_ = getDefaultInstance().getVendor();
|
|
1683
|
+
bitField0_ = (bitField0_ & ~0x00000100);
|
|
1684
|
+
onChanged();
|
|
1685
|
+
return this;
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* <code>optional string vendor = 9;</code>
|
|
1689
|
+
* @param value The bytes for vendor to set.
|
|
1690
|
+
* @return This builder for chaining.
|
|
1691
|
+
*/
|
|
1692
|
+
public Builder setVendorBytes(
|
|
1693
|
+
com.google.protobuf.ByteString value) {
|
|
1694
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1695
|
+
checkByteStringIsUtf8(value);
|
|
1696
|
+
vendor_ = value;
|
|
1697
|
+
bitField0_ |= 0x00000100;
|
|
1698
|
+
onChanged();
|
|
1699
|
+
return this;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
private java.lang.Object rev_ = "";
|
|
1703
|
+
/**
|
|
1704
|
+
* <code>optional string rev = 10;</code>
|
|
1705
|
+
* @return Whether the rev field is set.
|
|
1706
|
+
*/
|
|
1707
|
+
public boolean hasRev() {
|
|
1708
|
+
return ((bitField0_ & 0x00000200) != 0);
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* <code>optional string rev = 10;</code>
|
|
1712
|
+
* @return The rev.
|
|
1713
|
+
*/
|
|
1714
|
+
public java.lang.String getRev() {
|
|
1715
|
+
java.lang.Object ref = rev_;
|
|
1716
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1717
|
+
com.google.protobuf.ByteString bs =
|
|
1718
|
+
(com.google.protobuf.ByteString) ref;
|
|
1719
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1720
|
+
rev_ = s;
|
|
1721
|
+
return s;
|
|
1722
|
+
} else {
|
|
1723
|
+
return (java.lang.String) ref;
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
/**
|
|
1727
|
+
* <code>optional string rev = 10;</code>
|
|
1728
|
+
* @return The bytes for rev.
|
|
1729
|
+
*/
|
|
1730
|
+
public com.google.protobuf.ByteString
|
|
1731
|
+
getRevBytes() {
|
|
1732
|
+
java.lang.Object ref = rev_;
|
|
1733
|
+
if (ref instanceof String) {
|
|
1734
|
+
com.google.protobuf.ByteString b =
|
|
1735
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1736
|
+
(java.lang.String) ref);
|
|
1737
|
+
rev_ = b;
|
|
1738
|
+
return b;
|
|
1739
|
+
} else {
|
|
1740
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* <code>optional string rev = 10;</code>
|
|
1745
|
+
* @param value The rev to set.
|
|
1746
|
+
* @return This builder for chaining.
|
|
1747
|
+
*/
|
|
1748
|
+
public Builder setRev(
|
|
1749
|
+
java.lang.String value) {
|
|
1750
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1751
|
+
rev_ = value;
|
|
1752
|
+
bitField0_ |= 0x00000200;
|
|
1753
|
+
onChanged();
|
|
1754
|
+
return this;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* <code>optional string rev = 10;</code>
|
|
1758
|
+
* @return This builder for chaining.
|
|
1759
|
+
*/
|
|
1760
|
+
public Builder clearRev() {
|
|
1761
|
+
rev_ = getDefaultInstance().getRev();
|
|
1762
|
+
bitField0_ = (bitField0_ & ~0x00000200);
|
|
1763
|
+
onChanged();
|
|
1764
|
+
return this;
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* <code>optional string rev = 10;</code>
|
|
1768
|
+
* @param value The bytes for rev to set.
|
|
1769
|
+
* @return This builder for chaining.
|
|
1770
|
+
*/
|
|
1771
|
+
public Builder setRevBytes(
|
|
1772
|
+
com.google.protobuf.ByteString value) {
|
|
1773
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1774
|
+
checkByteStringIsUtf8(value);
|
|
1775
|
+
rev_ = value;
|
|
1776
|
+
bitField0_ |= 0x00000200;
|
|
1777
|
+
onChanged();
|
|
1778
|
+
return this;
|
|
1779
|
+
}
|
|
1780
|
+
@java.lang.Override
|
|
1781
|
+
public final Builder setUnknownFields(
|
|
1782
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1783
|
+
return super.setUnknownFields(unknownFields);
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
@java.lang.Override
|
|
1787
|
+
public final Builder mergeUnknownFields(
|
|
1788
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1789
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk)
|
|
1797
|
+
private static final com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk DEFAULT_INSTANCE;
|
|
1798
|
+
static {
|
|
1799
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk();
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk getDefaultInstance() {
|
|
1803
|
+
return DEFAULT_INSTANCE;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
private static final com.google.protobuf.Parser<ComputerLinuxPhysicalHardDisk>
|
|
1807
|
+
PARSER = new com.google.protobuf.AbstractParser<ComputerLinuxPhysicalHardDisk>() {
|
|
1808
|
+
@java.lang.Override
|
|
1809
|
+
public ComputerLinuxPhysicalHardDisk parsePartialFrom(
|
|
1810
|
+
com.google.protobuf.CodedInputStream input,
|
|
1811
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1812
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1813
|
+
Builder builder = newBuilder();
|
|
1814
|
+
try {
|
|
1815
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
1816
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1817
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
1818
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
1819
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
1820
|
+
} catch (java.io.IOException e) {
|
|
1821
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
1822
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
1823
|
+
}
|
|
1824
|
+
return builder.buildPartial();
|
|
1825
|
+
}
|
|
1826
|
+
};
|
|
1827
|
+
|
|
1828
|
+
public static com.google.protobuf.Parser<ComputerLinuxPhysicalHardDisk> parser() {
|
|
1829
|
+
return PARSER;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
@java.lang.Override
|
|
1833
|
+
public com.google.protobuf.Parser<ComputerLinuxPhysicalHardDisk> getParserForType() {
|
|
1834
|
+
return PARSER;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
@java.lang.Override
|
|
1838
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxPhysicalHardDisk getDefaultInstanceForType() {
|
|
1839
|
+
return DEFAULT_INSTANCE;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
}
|
|
1843
|
+
|