@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.
- package/CHANGELOG.md +8 -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 +21226 -19856
- 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 +3390 -3200
- 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.21-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.20.jar → outbound-model-0.3.21.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.21-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.20.jar → outbound-service-0.3.21.jar} +0 -0
|
@@ -0,0 +1,1516 @@
|
|
|
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
|
+
* <pre>
|
|
9
|
+
* Memory Module, Linux specific for now
|
|
10
|
+
* </pre>
|
|
11
|
+
*
|
|
12
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule}
|
|
13
|
+
*/
|
|
14
|
+
public final class ComputerLinuxMemoryModule extends
|
|
15
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
16
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)
|
|
17
|
+
ComputerLinuxMemoryModuleOrBuilder {
|
|
18
|
+
private static final long serialVersionUID = 0L;
|
|
19
|
+
// Use ComputerLinuxMemoryModule.newBuilder() to construct.
|
|
20
|
+
private ComputerLinuxMemoryModule(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
21
|
+
super(builder);
|
|
22
|
+
}
|
|
23
|
+
private ComputerLinuxMemoryModule() {
|
|
24
|
+
socket_ = "";
|
|
25
|
+
bankConnections_ = "";
|
|
26
|
+
currentSpeed_ = "";
|
|
27
|
+
type_ = "";
|
|
28
|
+
installedSize_ = "";
|
|
29
|
+
enabledSize_ = "";
|
|
30
|
+
errorStatus_ = "";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@java.lang.Override
|
|
34
|
+
@SuppressWarnings({"unused"})
|
|
35
|
+
protected java.lang.Object newInstance(
|
|
36
|
+
UnusedPrivateParameter unused) {
|
|
37
|
+
return new ComputerLinuxMemoryModule();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
41
|
+
getDescriptor() {
|
|
42
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxMemoryModule_descriptor;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@java.lang.Override
|
|
46
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
47
|
+
internalGetFieldAccessorTable() {
|
|
48
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxMemoryModule_fieldAccessorTable
|
|
49
|
+
.ensureFieldAccessorsInitialized(
|
|
50
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.class, com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.Builder.class);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
private int bitField0_;
|
|
54
|
+
public static final int SOCKET_FIELD_NUMBER = 1;
|
|
55
|
+
@SuppressWarnings("serial")
|
|
56
|
+
private volatile java.lang.Object socket_ = "";
|
|
57
|
+
/**
|
|
58
|
+
* <code>optional string socket = 1;</code>
|
|
59
|
+
* @return Whether the socket field is set.
|
|
60
|
+
*/
|
|
61
|
+
@java.lang.Override
|
|
62
|
+
public boolean hasSocket() {
|
|
63
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <code>optional string socket = 1;</code>
|
|
67
|
+
* @return The socket.
|
|
68
|
+
*/
|
|
69
|
+
@java.lang.Override
|
|
70
|
+
public java.lang.String getSocket() {
|
|
71
|
+
java.lang.Object ref = socket_;
|
|
72
|
+
if (ref instanceof java.lang.String) {
|
|
73
|
+
return (java.lang.String) ref;
|
|
74
|
+
} else {
|
|
75
|
+
com.google.protobuf.ByteString bs =
|
|
76
|
+
(com.google.protobuf.ByteString) ref;
|
|
77
|
+
java.lang.String s = bs.toStringUtf8();
|
|
78
|
+
socket_ = s;
|
|
79
|
+
return s;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <code>optional string socket = 1;</code>
|
|
84
|
+
* @return The bytes for socket.
|
|
85
|
+
*/
|
|
86
|
+
@java.lang.Override
|
|
87
|
+
public com.google.protobuf.ByteString
|
|
88
|
+
getSocketBytes() {
|
|
89
|
+
java.lang.Object ref = socket_;
|
|
90
|
+
if (ref instanceof java.lang.String) {
|
|
91
|
+
com.google.protobuf.ByteString b =
|
|
92
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
93
|
+
(java.lang.String) ref);
|
|
94
|
+
socket_ = b;
|
|
95
|
+
return b;
|
|
96
|
+
} else {
|
|
97
|
+
return (com.google.protobuf.ByteString) ref;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public static final int BANK_CONNECTIONS_FIELD_NUMBER = 2;
|
|
102
|
+
@SuppressWarnings("serial")
|
|
103
|
+
private volatile java.lang.Object bankConnections_ = "";
|
|
104
|
+
/**
|
|
105
|
+
* <code>optional string bank_connections = 2;</code>
|
|
106
|
+
* @return Whether the bankConnections field is set.
|
|
107
|
+
*/
|
|
108
|
+
@java.lang.Override
|
|
109
|
+
public boolean hasBankConnections() {
|
|
110
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* <code>optional string bank_connections = 2;</code>
|
|
114
|
+
* @return The bankConnections.
|
|
115
|
+
*/
|
|
116
|
+
@java.lang.Override
|
|
117
|
+
public java.lang.String getBankConnections() {
|
|
118
|
+
java.lang.Object ref = bankConnections_;
|
|
119
|
+
if (ref instanceof java.lang.String) {
|
|
120
|
+
return (java.lang.String) ref;
|
|
121
|
+
} else {
|
|
122
|
+
com.google.protobuf.ByteString bs =
|
|
123
|
+
(com.google.protobuf.ByteString) ref;
|
|
124
|
+
java.lang.String s = bs.toStringUtf8();
|
|
125
|
+
bankConnections_ = s;
|
|
126
|
+
return s;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <code>optional string bank_connections = 2;</code>
|
|
131
|
+
* @return The bytes for bankConnections.
|
|
132
|
+
*/
|
|
133
|
+
@java.lang.Override
|
|
134
|
+
public com.google.protobuf.ByteString
|
|
135
|
+
getBankConnectionsBytes() {
|
|
136
|
+
java.lang.Object ref = bankConnections_;
|
|
137
|
+
if (ref instanceof java.lang.String) {
|
|
138
|
+
com.google.protobuf.ByteString b =
|
|
139
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
140
|
+
(java.lang.String) ref);
|
|
141
|
+
bankConnections_ = b;
|
|
142
|
+
return b;
|
|
143
|
+
} else {
|
|
144
|
+
return (com.google.protobuf.ByteString) ref;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public static final int CURRENT_SPEED_FIELD_NUMBER = 3;
|
|
149
|
+
@SuppressWarnings("serial")
|
|
150
|
+
private volatile java.lang.Object currentSpeed_ = "";
|
|
151
|
+
/**
|
|
152
|
+
* <code>optional string current_speed = 3;</code>
|
|
153
|
+
* @return Whether the currentSpeed field is set.
|
|
154
|
+
*/
|
|
155
|
+
@java.lang.Override
|
|
156
|
+
public boolean hasCurrentSpeed() {
|
|
157
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <code>optional string current_speed = 3;</code>
|
|
161
|
+
* @return The currentSpeed.
|
|
162
|
+
*/
|
|
163
|
+
@java.lang.Override
|
|
164
|
+
public java.lang.String getCurrentSpeed() {
|
|
165
|
+
java.lang.Object ref = currentSpeed_;
|
|
166
|
+
if (ref instanceof java.lang.String) {
|
|
167
|
+
return (java.lang.String) ref;
|
|
168
|
+
} else {
|
|
169
|
+
com.google.protobuf.ByteString bs =
|
|
170
|
+
(com.google.protobuf.ByteString) ref;
|
|
171
|
+
java.lang.String s = bs.toStringUtf8();
|
|
172
|
+
currentSpeed_ = s;
|
|
173
|
+
return s;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* <code>optional string current_speed = 3;</code>
|
|
178
|
+
* @return The bytes for currentSpeed.
|
|
179
|
+
*/
|
|
180
|
+
@java.lang.Override
|
|
181
|
+
public com.google.protobuf.ByteString
|
|
182
|
+
getCurrentSpeedBytes() {
|
|
183
|
+
java.lang.Object ref = currentSpeed_;
|
|
184
|
+
if (ref instanceof java.lang.String) {
|
|
185
|
+
com.google.protobuf.ByteString b =
|
|
186
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
187
|
+
(java.lang.String) ref);
|
|
188
|
+
currentSpeed_ = b;
|
|
189
|
+
return b;
|
|
190
|
+
} else {
|
|
191
|
+
return (com.google.protobuf.ByteString) ref;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
public static final int TYPE_FIELD_NUMBER = 4;
|
|
196
|
+
@SuppressWarnings("serial")
|
|
197
|
+
private volatile java.lang.Object type_ = "";
|
|
198
|
+
/**
|
|
199
|
+
* <code>optional string type = 4;</code>
|
|
200
|
+
* @return Whether the type field is set.
|
|
201
|
+
*/
|
|
202
|
+
@java.lang.Override
|
|
203
|
+
public boolean hasType() {
|
|
204
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* <code>optional string type = 4;</code>
|
|
208
|
+
* @return The type.
|
|
209
|
+
*/
|
|
210
|
+
@java.lang.Override
|
|
211
|
+
public java.lang.String getType() {
|
|
212
|
+
java.lang.Object ref = type_;
|
|
213
|
+
if (ref instanceof java.lang.String) {
|
|
214
|
+
return (java.lang.String) ref;
|
|
215
|
+
} else {
|
|
216
|
+
com.google.protobuf.ByteString bs =
|
|
217
|
+
(com.google.protobuf.ByteString) ref;
|
|
218
|
+
java.lang.String s = bs.toStringUtf8();
|
|
219
|
+
type_ = s;
|
|
220
|
+
return s;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* <code>optional string type = 4;</code>
|
|
225
|
+
* @return The bytes for type.
|
|
226
|
+
*/
|
|
227
|
+
@java.lang.Override
|
|
228
|
+
public com.google.protobuf.ByteString
|
|
229
|
+
getTypeBytes() {
|
|
230
|
+
java.lang.Object ref = type_;
|
|
231
|
+
if (ref instanceof java.lang.String) {
|
|
232
|
+
com.google.protobuf.ByteString b =
|
|
233
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
234
|
+
(java.lang.String) ref);
|
|
235
|
+
type_ = b;
|
|
236
|
+
return b;
|
|
237
|
+
} else {
|
|
238
|
+
return (com.google.protobuf.ByteString) ref;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
public static final int INSTALLED_SIZE_FIELD_NUMBER = 5;
|
|
243
|
+
@SuppressWarnings("serial")
|
|
244
|
+
private volatile java.lang.Object installedSize_ = "";
|
|
245
|
+
/**
|
|
246
|
+
* <code>optional string installed_size = 5;</code>
|
|
247
|
+
* @return Whether the installedSize field is set.
|
|
248
|
+
*/
|
|
249
|
+
@java.lang.Override
|
|
250
|
+
public boolean hasInstalledSize() {
|
|
251
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* <code>optional string installed_size = 5;</code>
|
|
255
|
+
* @return The installedSize.
|
|
256
|
+
*/
|
|
257
|
+
@java.lang.Override
|
|
258
|
+
public java.lang.String getInstalledSize() {
|
|
259
|
+
java.lang.Object ref = installedSize_;
|
|
260
|
+
if (ref instanceof java.lang.String) {
|
|
261
|
+
return (java.lang.String) ref;
|
|
262
|
+
} else {
|
|
263
|
+
com.google.protobuf.ByteString bs =
|
|
264
|
+
(com.google.protobuf.ByteString) ref;
|
|
265
|
+
java.lang.String s = bs.toStringUtf8();
|
|
266
|
+
installedSize_ = s;
|
|
267
|
+
return s;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* <code>optional string installed_size = 5;</code>
|
|
272
|
+
* @return The bytes for installedSize.
|
|
273
|
+
*/
|
|
274
|
+
@java.lang.Override
|
|
275
|
+
public com.google.protobuf.ByteString
|
|
276
|
+
getInstalledSizeBytes() {
|
|
277
|
+
java.lang.Object ref = installedSize_;
|
|
278
|
+
if (ref instanceof java.lang.String) {
|
|
279
|
+
com.google.protobuf.ByteString b =
|
|
280
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
281
|
+
(java.lang.String) ref);
|
|
282
|
+
installedSize_ = b;
|
|
283
|
+
return b;
|
|
284
|
+
} else {
|
|
285
|
+
return (com.google.protobuf.ByteString) ref;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
public static final int ENABLED_SIZE_FIELD_NUMBER = 6;
|
|
290
|
+
@SuppressWarnings("serial")
|
|
291
|
+
private volatile java.lang.Object enabledSize_ = "";
|
|
292
|
+
/**
|
|
293
|
+
* <code>optional string enabled_size = 6;</code>
|
|
294
|
+
* @return Whether the enabledSize field is set.
|
|
295
|
+
*/
|
|
296
|
+
@java.lang.Override
|
|
297
|
+
public boolean hasEnabledSize() {
|
|
298
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* <code>optional string enabled_size = 6;</code>
|
|
302
|
+
* @return The enabledSize.
|
|
303
|
+
*/
|
|
304
|
+
@java.lang.Override
|
|
305
|
+
public java.lang.String getEnabledSize() {
|
|
306
|
+
java.lang.Object ref = enabledSize_;
|
|
307
|
+
if (ref instanceof java.lang.String) {
|
|
308
|
+
return (java.lang.String) ref;
|
|
309
|
+
} else {
|
|
310
|
+
com.google.protobuf.ByteString bs =
|
|
311
|
+
(com.google.protobuf.ByteString) ref;
|
|
312
|
+
java.lang.String s = bs.toStringUtf8();
|
|
313
|
+
enabledSize_ = s;
|
|
314
|
+
return s;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* <code>optional string enabled_size = 6;</code>
|
|
319
|
+
* @return The bytes for enabledSize.
|
|
320
|
+
*/
|
|
321
|
+
@java.lang.Override
|
|
322
|
+
public com.google.protobuf.ByteString
|
|
323
|
+
getEnabledSizeBytes() {
|
|
324
|
+
java.lang.Object ref = enabledSize_;
|
|
325
|
+
if (ref instanceof java.lang.String) {
|
|
326
|
+
com.google.protobuf.ByteString b =
|
|
327
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
328
|
+
(java.lang.String) ref);
|
|
329
|
+
enabledSize_ = b;
|
|
330
|
+
return b;
|
|
331
|
+
} else {
|
|
332
|
+
return (com.google.protobuf.ByteString) ref;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
public static final int ERROR_STATUS_FIELD_NUMBER = 7;
|
|
337
|
+
@SuppressWarnings("serial")
|
|
338
|
+
private volatile java.lang.Object errorStatus_ = "";
|
|
339
|
+
/**
|
|
340
|
+
* <code>optional string error_status = 7;</code>
|
|
341
|
+
* @return Whether the errorStatus field is set.
|
|
342
|
+
*/
|
|
343
|
+
@java.lang.Override
|
|
344
|
+
public boolean hasErrorStatus() {
|
|
345
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* <code>optional string error_status = 7;</code>
|
|
349
|
+
* @return The errorStatus.
|
|
350
|
+
*/
|
|
351
|
+
@java.lang.Override
|
|
352
|
+
public java.lang.String getErrorStatus() {
|
|
353
|
+
java.lang.Object ref = errorStatus_;
|
|
354
|
+
if (ref instanceof java.lang.String) {
|
|
355
|
+
return (java.lang.String) ref;
|
|
356
|
+
} else {
|
|
357
|
+
com.google.protobuf.ByteString bs =
|
|
358
|
+
(com.google.protobuf.ByteString) ref;
|
|
359
|
+
java.lang.String s = bs.toStringUtf8();
|
|
360
|
+
errorStatus_ = s;
|
|
361
|
+
return s;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* <code>optional string error_status = 7;</code>
|
|
366
|
+
* @return The bytes for errorStatus.
|
|
367
|
+
*/
|
|
368
|
+
@java.lang.Override
|
|
369
|
+
public com.google.protobuf.ByteString
|
|
370
|
+
getErrorStatusBytes() {
|
|
371
|
+
java.lang.Object ref = errorStatus_;
|
|
372
|
+
if (ref instanceof java.lang.String) {
|
|
373
|
+
com.google.protobuf.ByteString b =
|
|
374
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
375
|
+
(java.lang.String) ref);
|
|
376
|
+
errorStatus_ = b;
|
|
377
|
+
return b;
|
|
378
|
+
} else {
|
|
379
|
+
return (com.google.protobuf.ByteString) ref;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
private byte memoizedIsInitialized = -1;
|
|
384
|
+
@java.lang.Override
|
|
385
|
+
public final boolean isInitialized() {
|
|
386
|
+
byte isInitialized = memoizedIsInitialized;
|
|
387
|
+
if (isInitialized == 1) return true;
|
|
388
|
+
if (isInitialized == 0) return false;
|
|
389
|
+
|
|
390
|
+
memoizedIsInitialized = 1;
|
|
391
|
+
return true;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@java.lang.Override
|
|
395
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
396
|
+
throws java.io.IOException {
|
|
397
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
398
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, socket_);
|
|
399
|
+
}
|
|
400
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
401
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bankConnections_);
|
|
402
|
+
}
|
|
403
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
404
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, currentSpeed_);
|
|
405
|
+
}
|
|
406
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
407
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, type_);
|
|
408
|
+
}
|
|
409
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
410
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, installedSize_);
|
|
411
|
+
}
|
|
412
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
413
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, enabledSize_);
|
|
414
|
+
}
|
|
415
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
416
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, errorStatus_);
|
|
417
|
+
}
|
|
418
|
+
getUnknownFields().writeTo(output);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
@java.lang.Override
|
|
422
|
+
public int getSerializedSize() {
|
|
423
|
+
int size = memoizedSize;
|
|
424
|
+
if (size != -1) return size;
|
|
425
|
+
|
|
426
|
+
size = 0;
|
|
427
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
428
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, socket_);
|
|
429
|
+
}
|
|
430
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
431
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bankConnections_);
|
|
432
|
+
}
|
|
433
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
434
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, currentSpeed_);
|
|
435
|
+
}
|
|
436
|
+
if (((bitField0_ & 0x00000008) != 0)) {
|
|
437
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, type_);
|
|
438
|
+
}
|
|
439
|
+
if (((bitField0_ & 0x00000010) != 0)) {
|
|
440
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, installedSize_);
|
|
441
|
+
}
|
|
442
|
+
if (((bitField0_ & 0x00000020) != 0)) {
|
|
443
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, enabledSize_);
|
|
444
|
+
}
|
|
445
|
+
if (((bitField0_ & 0x00000040) != 0)) {
|
|
446
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, errorStatus_);
|
|
447
|
+
}
|
|
448
|
+
size += getUnknownFields().getSerializedSize();
|
|
449
|
+
memoizedSize = size;
|
|
450
|
+
return size;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
@java.lang.Override
|
|
454
|
+
public boolean equals(final java.lang.Object obj) {
|
|
455
|
+
if (obj == this) {
|
|
456
|
+
return true;
|
|
457
|
+
}
|
|
458
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)) {
|
|
459
|
+
return super.equals(obj);
|
|
460
|
+
}
|
|
461
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule other = (com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule) obj;
|
|
462
|
+
|
|
463
|
+
if (hasSocket() != other.hasSocket()) return false;
|
|
464
|
+
if (hasSocket()) {
|
|
465
|
+
if (!getSocket()
|
|
466
|
+
.equals(other.getSocket())) return false;
|
|
467
|
+
}
|
|
468
|
+
if (hasBankConnections() != other.hasBankConnections()) return false;
|
|
469
|
+
if (hasBankConnections()) {
|
|
470
|
+
if (!getBankConnections()
|
|
471
|
+
.equals(other.getBankConnections())) return false;
|
|
472
|
+
}
|
|
473
|
+
if (hasCurrentSpeed() != other.hasCurrentSpeed()) return false;
|
|
474
|
+
if (hasCurrentSpeed()) {
|
|
475
|
+
if (!getCurrentSpeed()
|
|
476
|
+
.equals(other.getCurrentSpeed())) return false;
|
|
477
|
+
}
|
|
478
|
+
if (hasType() != other.hasType()) return false;
|
|
479
|
+
if (hasType()) {
|
|
480
|
+
if (!getType()
|
|
481
|
+
.equals(other.getType())) return false;
|
|
482
|
+
}
|
|
483
|
+
if (hasInstalledSize() != other.hasInstalledSize()) return false;
|
|
484
|
+
if (hasInstalledSize()) {
|
|
485
|
+
if (!getInstalledSize()
|
|
486
|
+
.equals(other.getInstalledSize())) return false;
|
|
487
|
+
}
|
|
488
|
+
if (hasEnabledSize() != other.hasEnabledSize()) return false;
|
|
489
|
+
if (hasEnabledSize()) {
|
|
490
|
+
if (!getEnabledSize()
|
|
491
|
+
.equals(other.getEnabledSize())) return false;
|
|
492
|
+
}
|
|
493
|
+
if (hasErrorStatus() != other.hasErrorStatus()) return false;
|
|
494
|
+
if (hasErrorStatus()) {
|
|
495
|
+
if (!getErrorStatus()
|
|
496
|
+
.equals(other.getErrorStatus())) return false;
|
|
497
|
+
}
|
|
498
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
499
|
+
return true;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@java.lang.Override
|
|
503
|
+
public int hashCode() {
|
|
504
|
+
if (memoizedHashCode != 0) {
|
|
505
|
+
return memoizedHashCode;
|
|
506
|
+
}
|
|
507
|
+
int hash = 41;
|
|
508
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
509
|
+
if (hasSocket()) {
|
|
510
|
+
hash = (37 * hash) + SOCKET_FIELD_NUMBER;
|
|
511
|
+
hash = (53 * hash) + getSocket().hashCode();
|
|
512
|
+
}
|
|
513
|
+
if (hasBankConnections()) {
|
|
514
|
+
hash = (37 * hash) + BANK_CONNECTIONS_FIELD_NUMBER;
|
|
515
|
+
hash = (53 * hash) + getBankConnections().hashCode();
|
|
516
|
+
}
|
|
517
|
+
if (hasCurrentSpeed()) {
|
|
518
|
+
hash = (37 * hash) + CURRENT_SPEED_FIELD_NUMBER;
|
|
519
|
+
hash = (53 * hash) + getCurrentSpeed().hashCode();
|
|
520
|
+
}
|
|
521
|
+
if (hasType()) {
|
|
522
|
+
hash = (37 * hash) + TYPE_FIELD_NUMBER;
|
|
523
|
+
hash = (53 * hash) + getType().hashCode();
|
|
524
|
+
}
|
|
525
|
+
if (hasInstalledSize()) {
|
|
526
|
+
hash = (37 * hash) + INSTALLED_SIZE_FIELD_NUMBER;
|
|
527
|
+
hash = (53 * hash) + getInstalledSize().hashCode();
|
|
528
|
+
}
|
|
529
|
+
if (hasEnabledSize()) {
|
|
530
|
+
hash = (37 * hash) + ENABLED_SIZE_FIELD_NUMBER;
|
|
531
|
+
hash = (53 * hash) + getEnabledSize().hashCode();
|
|
532
|
+
}
|
|
533
|
+
if (hasErrorStatus()) {
|
|
534
|
+
hash = (37 * hash) + ERROR_STATUS_FIELD_NUMBER;
|
|
535
|
+
hash = (53 * hash) + getErrorStatus().hashCode();
|
|
536
|
+
}
|
|
537
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
538
|
+
memoizedHashCode = hash;
|
|
539
|
+
return hash;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
543
|
+
java.nio.ByteBuffer data)
|
|
544
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
545
|
+
return PARSER.parseFrom(data);
|
|
546
|
+
}
|
|
547
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
548
|
+
java.nio.ByteBuffer data,
|
|
549
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
550
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
551
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
552
|
+
}
|
|
553
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
554
|
+
com.google.protobuf.ByteString data)
|
|
555
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
556
|
+
return PARSER.parseFrom(data);
|
|
557
|
+
}
|
|
558
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
559
|
+
com.google.protobuf.ByteString data,
|
|
560
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
561
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
562
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
563
|
+
}
|
|
564
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(byte[] data)
|
|
565
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
566
|
+
return PARSER.parseFrom(data);
|
|
567
|
+
}
|
|
568
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
569
|
+
byte[] data,
|
|
570
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
571
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
572
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
573
|
+
}
|
|
574
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(java.io.InputStream input)
|
|
575
|
+
throws java.io.IOException {
|
|
576
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
577
|
+
.parseWithIOException(PARSER, input);
|
|
578
|
+
}
|
|
579
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
580
|
+
java.io.InputStream input,
|
|
581
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
582
|
+
throws java.io.IOException {
|
|
583
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
584
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseDelimitedFrom(java.io.InputStream input)
|
|
588
|
+
throws java.io.IOException {
|
|
589
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
590
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseDelimitedFrom(
|
|
594
|
+
java.io.InputStream input,
|
|
595
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
596
|
+
throws java.io.IOException {
|
|
597
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
598
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
599
|
+
}
|
|
600
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
601
|
+
com.google.protobuf.CodedInputStream input)
|
|
602
|
+
throws java.io.IOException {
|
|
603
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
604
|
+
.parseWithIOException(PARSER, input);
|
|
605
|
+
}
|
|
606
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule parseFrom(
|
|
607
|
+
com.google.protobuf.CodedInputStream input,
|
|
608
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
609
|
+
throws java.io.IOException {
|
|
610
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
611
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
@java.lang.Override
|
|
615
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
616
|
+
public static Builder newBuilder() {
|
|
617
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
618
|
+
}
|
|
619
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule prototype) {
|
|
620
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
621
|
+
}
|
|
622
|
+
@java.lang.Override
|
|
623
|
+
public Builder toBuilder() {
|
|
624
|
+
return this == DEFAULT_INSTANCE
|
|
625
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
@java.lang.Override
|
|
629
|
+
protected Builder newBuilderForType(
|
|
630
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
631
|
+
Builder builder = new Builder(parent);
|
|
632
|
+
return builder;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* <pre>
|
|
636
|
+
* Memory Module, Linux specific for now
|
|
637
|
+
* </pre>
|
|
638
|
+
*
|
|
639
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule}
|
|
640
|
+
*/
|
|
641
|
+
public static final class Builder extends
|
|
642
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
643
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)
|
|
644
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModuleOrBuilder {
|
|
645
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
646
|
+
getDescriptor() {
|
|
647
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxMemoryModule_descriptor;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
@java.lang.Override
|
|
651
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
652
|
+
internalGetFieldAccessorTable() {
|
|
653
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxMemoryModule_fieldAccessorTable
|
|
654
|
+
.ensureFieldAccessorsInitialized(
|
|
655
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.class, com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.Builder.class);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
// Construct using com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.newBuilder()
|
|
659
|
+
private Builder() {
|
|
660
|
+
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
private Builder(
|
|
664
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
665
|
+
super(parent);
|
|
666
|
+
|
|
667
|
+
}
|
|
668
|
+
@java.lang.Override
|
|
669
|
+
public Builder clear() {
|
|
670
|
+
super.clear();
|
|
671
|
+
bitField0_ = 0;
|
|
672
|
+
socket_ = "";
|
|
673
|
+
bankConnections_ = "";
|
|
674
|
+
currentSpeed_ = "";
|
|
675
|
+
type_ = "";
|
|
676
|
+
installedSize_ = "";
|
|
677
|
+
enabledSize_ = "";
|
|
678
|
+
errorStatus_ = "";
|
|
679
|
+
return this;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
@java.lang.Override
|
|
683
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
684
|
+
getDescriptorForType() {
|
|
685
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_ComputerLinuxMemoryModule_descriptor;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
@java.lang.Override
|
|
689
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule getDefaultInstanceForType() {
|
|
690
|
+
return com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.getDefaultInstance();
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
@java.lang.Override
|
|
694
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule build() {
|
|
695
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule result = buildPartial();
|
|
696
|
+
if (!result.isInitialized()) {
|
|
697
|
+
throw newUninitializedMessageException(result);
|
|
698
|
+
}
|
|
699
|
+
return result;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
@java.lang.Override
|
|
703
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule buildPartial() {
|
|
704
|
+
com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule result = new com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule(this);
|
|
705
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
706
|
+
onBuilt();
|
|
707
|
+
return result;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule result) {
|
|
711
|
+
int from_bitField0_ = bitField0_;
|
|
712
|
+
int to_bitField0_ = 0;
|
|
713
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
714
|
+
result.socket_ = socket_;
|
|
715
|
+
to_bitField0_ |= 0x00000001;
|
|
716
|
+
}
|
|
717
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
718
|
+
result.bankConnections_ = bankConnections_;
|
|
719
|
+
to_bitField0_ |= 0x00000002;
|
|
720
|
+
}
|
|
721
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
722
|
+
result.currentSpeed_ = currentSpeed_;
|
|
723
|
+
to_bitField0_ |= 0x00000004;
|
|
724
|
+
}
|
|
725
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
726
|
+
result.type_ = type_;
|
|
727
|
+
to_bitField0_ |= 0x00000008;
|
|
728
|
+
}
|
|
729
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
730
|
+
result.installedSize_ = installedSize_;
|
|
731
|
+
to_bitField0_ |= 0x00000010;
|
|
732
|
+
}
|
|
733
|
+
if (((from_bitField0_ & 0x00000020) != 0)) {
|
|
734
|
+
result.enabledSize_ = enabledSize_;
|
|
735
|
+
to_bitField0_ |= 0x00000020;
|
|
736
|
+
}
|
|
737
|
+
if (((from_bitField0_ & 0x00000040) != 0)) {
|
|
738
|
+
result.errorStatus_ = errorStatus_;
|
|
739
|
+
to_bitField0_ |= 0x00000040;
|
|
740
|
+
}
|
|
741
|
+
result.bitField0_ |= to_bitField0_;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
@java.lang.Override
|
|
745
|
+
public Builder clone() {
|
|
746
|
+
return super.clone();
|
|
747
|
+
}
|
|
748
|
+
@java.lang.Override
|
|
749
|
+
public Builder setField(
|
|
750
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
751
|
+
java.lang.Object value) {
|
|
752
|
+
return super.setField(field, value);
|
|
753
|
+
}
|
|
754
|
+
@java.lang.Override
|
|
755
|
+
public Builder clearField(
|
|
756
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
757
|
+
return super.clearField(field);
|
|
758
|
+
}
|
|
759
|
+
@java.lang.Override
|
|
760
|
+
public Builder clearOneof(
|
|
761
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
762
|
+
return super.clearOneof(oneof);
|
|
763
|
+
}
|
|
764
|
+
@java.lang.Override
|
|
765
|
+
public Builder setRepeatedField(
|
|
766
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
767
|
+
int index, java.lang.Object value) {
|
|
768
|
+
return super.setRepeatedField(field, index, value);
|
|
769
|
+
}
|
|
770
|
+
@java.lang.Override
|
|
771
|
+
public Builder addRepeatedField(
|
|
772
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
773
|
+
java.lang.Object value) {
|
|
774
|
+
return super.addRepeatedField(field, value);
|
|
775
|
+
}
|
|
776
|
+
@java.lang.Override
|
|
777
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
778
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule) {
|
|
779
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)other);
|
|
780
|
+
} else {
|
|
781
|
+
super.mergeFrom(other);
|
|
782
|
+
return this;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule other) {
|
|
787
|
+
if (other == com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule.getDefaultInstance()) return this;
|
|
788
|
+
if (other.hasSocket()) {
|
|
789
|
+
socket_ = other.socket_;
|
|
790
|
+
bitField0_ |= 0x00000001;
|
|
791
|
+
onChanged();
|
|
792
|
+
}
|
|
793
|
+
if (other.hasBankConnections()) {
|
|
794
|
+
bankConnections_ = other.bankConnections_;
|
|
795
|
+
bitField0_ |= 0x00000002;
|
|
796
|
+
onChanged();
|
|
797
|
+
}
|
|
798
|
+
if (other.hasCurrentSpeed()) {
|
|
799
|
+
currentSpeed_ = other.currentSpeed_;
|
|
800
|
+
bitField0_ |= 0x00000004;
|
|
801
|
+
onChanged();
|
|
802
|
+
}
|
|
803
|
+
if (other.hasType()) {
|
|
804
|
+
type_ = other.type_;
|
|
805
|
+
bitField0_ |= 0x00000008;
|
|
806
|
+
onChanged();
|
|
807
|
+
}
|
|
808
|
+
if (other.hasInstalledSize()) {
|
|
809
|
+
installedSize_ = other.installedSize_;
|
|
810
|
+
bitField0_ |= 0x00000010;
|
|
811
|
+
onChanged();
|
|
812
|
+
}
|
|
813
|
+
if (other.hasEnabledSize()) {
|
|
814
|
+
enabledSize_ = other.enabledSize_;
|
|
815
|
+
bitField0_ |= 0x00000020;
|
|
816
|
+
onChanged();
|
|
817
|
+
}
|
|
818
|
+
if (other.hasErrorStatus()) {
|
|
819
|
+
errorStatus_ = other.errorStatus_;
|
|
820
|
+
bitField0_ |= 0x00000040;
|
|
821
|
+
onChanged();
|
|
822
|
+
}
|
|
823
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
824
|
+
onChanged();
|
|
825
|
+
return this;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
@java.lang.Override
|
|
829
|
+
public final boolean isInitialized() {
|
|
830
|
+
return true;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
@java.lang.Override
|
|
834
|
+
public Builder mergeFrom(
|
|
835
|
+
com.google.protobuf.CodedInputStream input,
|
|
836
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
837
|
+
throws java.io.IOException {
|
|
838
|
+
if (extensionRegistry == null) {
|
|
839
|
+
throw new java.lang.NullPointerException();
|
|
840
|
+
}
|
|
841
|
+
try {
|
|
842
|
+
boolean done = false;
|
|
843
|
+
while (!done) {
|
|
844
|
+
int tag = input.readTag();
|
|
845
|
+
switch (tag) {
|
|
846
|
+
case 0:
|
|
847
|
+
done = true;
|
|
848
|
+
break;
|
|
849
|
+
case 10: {
|
|
850
|
+
socket_ = input.readStringRequireUtf8();
|
|
851
|
+
bitField0_ |= 0x00000001;
|
|
852
|
+
break;
|
|
853
|
+
} // case 10
|
|
854
|
+
case 18: {
|
|
855
|
+
bankConnections_ = input.readStringRequireUtf8();
|
|
856
|
+
bitField0_ |= 0x00000002;
|
|
857
|
+
break;
|
|
858
|
+
} // case 18
|
|
859
|
+
case 26: {
|
|
860
|
+
currentSpeed_ = input.readStringRequireUtf8();
|
|
861
|
+
bitField0_ |= 0x00000004;
|
|
862
|
+
break;
|
|
863
|
+
} // case 26
|
|
864
|
+
case 34: {
|
|
865
|
+
type_ = input.readStringRequireUtf8();
|
|
866
|
+
bitField0_ |= 0x00000008;
|
|
867
|
+
break;
|
|
868
|
+
} // case 34
|
|
869
|
+
case 42: {
|
|
870
|
+
installedSize_ = input.readStringRequireUtf8();
|
|
871
|
+
bitField0_ |= 0x00000010;
|
|
872
|
+
break;
|
|
873
|
+
} // case 42
|
|
874
|
+
case 50: {
|
|
875
|
+
enabledSize_ = input.readStringRequireUtf8();
|
|
876
|
+
bitField0_ |= 0x00000020;
|
|
877
|
+
break;
|
|
878
|
+
} // case 50
|
|
879
|
+
case 58: {
|
|
880
|
+
errorStatus_ = input.readStringRequireUtf8();
|
|
881
|
+
bitField0_ |= 0x00000040;
|
|
882
|
+
break;
|
|
883
|
+
} // case 58
|
|
884
|
+
default: {
|
|
885
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
886
|
+
done = true; // was an endgroup tag
|
|
887
|
+
}
|
|
888
|
+
break;
|
|
889
|
+
} // default:
|
|
890
|
+
} // switch (tag)
|
|
891
|
+
} // while (!done)
|
|
892
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
893
|
+
throw e.unwrapIOException();
|
|
894
|
+
} finally {
|
|
895
|
+
onChanged();
|
|
896
|
+
} // finally
|
|
897
|
+
return this;
|
|
898
|
+
}
|
|
899
|
+
private int bitField0_;
|
|
900
|
+
|
|
901
|
+
private java.lang.Object socket_ = "";
|
|
902
|
+
/**
|
|
903
|
+
* <code>optional string socket = 1;</code>
|
|
904
|
+
* @return Whether the socket field is set.
|
|
905
|
+
*/
|
|
906
|
+
public boolean hasSocket() {
|
|
907
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* <code>optional string socket = 1;</code>
|
|
911
|
+
* @return The socket.
|
|
912
|
+
*/
|
|
913
|
+
public java.lang.String getSocket() {
|
|
914
|
+
java.lang.Object ref = socket_;
|
|
915
|
+
if (!(ref instanceof java.lang.String)) {
|
|
916
|
+
com.google.protobuf.ByteString bs =
|
|
917
|
+
(com.google.protobuf.ByteString) ref;
|
|
918
|
+
java.lang.String s = bs.toStringUtf8();
|
|
919
|
+
socket_ = s;
|
|
920
|
+
return s;
|
|
921
|
+
} else {
|
|
922
|
+
return (java.lang.String) ref;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
* <code>optional string socket = 1;</code>
|
|
927
|
+
* @return The bytes for socket.
|
|
928
|
+
*/
|
|
929
|
+
public com.google.protobuf.ByteString
|
|
930
|
+
getSocketBytes() {
|
|
931
|
+
java.lang.Object ref = socket_;
|
|
932
|
+
if (ref instanceof String) {
|
|
933
|
+
com.google.protobuf.ByteString b =
|
|
934
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
935
|
+
(java.lang.String) ref);
|
|
936
|
+
socket_ = b;
|
|
937
|
+
return b;
|
|
938
|
+
} else {
|
|
939
|
+
return (com.google.protobuf.ByteString) ref;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* <code>optional string socket = 1;</code>
|
|
944
|
+
* @param value The socket to set.
|
|
945
|
+
* @return This builder for chaining.
|
|
946
|
+
*/
|
|
947
|
+
public Builder setSocket(
|
|
948
|
+
java.lang.String value) {
|
|
949
|
+
if (value == null) { throw new NullPointerException(); }
|
|
950
|
+
socket_ = value;
|
|
951
|
+
bitField0_ |= 0x00000001;
|
|
952
|
+
onChanged();
|
|
953
|
+
return this;
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* <code>optional string socket = 1;</code>
|
|
957
|
+
* @return This builder for chaining.
|
|
958
|
+
*/
|
|
959
|
+
public Builder clearSocket() {
|
|
960
|
+
socket_ = getDefaultInstance().getSocket();
|
|
961
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
962
|
+
onChanged();
|
|
963
|
+
return this;
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* <code>optional string socket = 1;</code>
|
|
967
|
+
* @param value The bytes for socket to set.
|
|
968
|
+
* @return This builder for chaining.
|
|
969
|
+
*/
|
|
970
|
+
public Builder setSocketBytes(
|
|
971
|
+
com.google.protobuf.ByteString value) {
|
|
972
|
+
if (value == null) { throw new NullPointerException(); }
|
|
973
|
+
checkByteStringIsUtf8(value);
|
|
974
|
+
socket_ = value;
|
|
975
|
+
bitField0_ |= 0x00000001;
|
|
976
|
+
onChanged();
|
|
977
|
+
return this;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
private java.lang.Object bankConnections_ = "";
|
|
981
|
+
/**
|
|
982
|
+
* <code>optional string bank_connections = 2;</code>
|
|
983
|
+
* @return Whether the bankConnections field is set.
|
|
984
|
+
*/
|
|
985
|
+
public boolean hasBankConnections() {
|
|
986
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* <code>optional string bank_connections = 2;</code>
|
|
990
|
+
* @return The bankConnections.
|
|
991
|
+
*/
|
|
992
|
+
public java.lang.String getBankConnections() {
|
|
993
|
+
java.lang.Object ref = bankConnections_;
|
|
994
|
+
if (!(ref instanceof java.lang.String)) {
|
|
995
|
+
com.google.protobuf.ByteString bs =
|
|
996
|
+
(com.google.protobuf.ByteString) ref;
|
|
997
|
+
java.lang.String s = bs.toStringUtf8();
|
|
998
|
+
bankConnections_ = s;
|
|
999
|
+
return s;
|
|
1000
|
+
} else {
|
|
1001
|
+
return (java.lang.String) ref;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* <code>optional string bank_connections = 2;</code>
|
|
1006
|
+
* @return The bytes for bankConnections.
|
|
1007
|
+
*/
|
|
1008
|
+
public com.google.protobuf.ByteString
|
|
1009
|
+
getBankConnectionsBytes() {
|
|
1010
|
+
java.lang.Object ref = bankConnections_;
|
|
1011
|
+
if (ref instanceof String) {
|
|
1012
|
+
com.google.protobuf.ByteString b =
|
|
1013
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1014
|
+
(java.lang.String) ref);
|
|
1015
|
+
bankConnections_ = b;
|
|
1016
|
+
return b;
|
|
1017
|
+
} else {
|
|
1018
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* <code>optional string bank_connections = 2;</code>
|
|
1023
|
+
* @param value The bankConnections to set.
|
|
1024
|
+
* @return This builder for chaining.
|
|
1025
|
+
*/
|
|
1026
|
+
public Builder setBankConnections(
|
|
1027
|
+
java.lang.String value) {
|
|
1028
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1029
|
+
bankConnections_ = value;
|
|
1030
|
+
bitField0_ |= 0x00000002;
|
|
1031
|
+
onChanged();
|
|
1032
|
+
return this;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* <code>optional string bank_connections = 2;</code>
|
|
1036
|
+
* @return This builder for chaining.
|
|
1037
|
+
*/
|
|
1038
|
+
public Builder clearBankConnections() {
|
|
1039
|
+
bankConnections_ = getDefaultInstance().getBankConnections();
|
|
1040
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
1041
|
+
onChanged();
|
|
1042
|
+
return this;
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* <code>optional string bank_connections = 2;</code>
|
|
1046
|
+
* @param value The bytes for bankConnections to set.
|
|
1047
|
+
* @return This builder for chaining.
|
|
1048
|
+
*/
|
|
1049
|
+
public Builder setBankConnectionsBytes(
|
|
1050
|
+
com.google.protobuf.ByteString value) {
|
|
1051
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1052
|
+
checkByteStringIsUtf8(value);
|
|
1053
|
+
bankConnections_ = value;
|
|
1054
|
+
bitField0_ |= 0x00000002;
|
|
1055
|
+
onChanged();
|
|
1056
|
+
return this;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
private java.lang.Object currentSpeed_ = "";
|
|
1060
|
+
/**
|
|
1061
|
+
* <code>optional string current_speed = 3;</code>
|
|
1062
|
+
* @return Whether the currentSpeed field is set.
|
|
1063
|
+
*/
|
|
1064
|
+
public boolean hasCurrentSpeed() {
|
|
1065
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* <code>optional string current_speed = 3;</code>
|
|
1069
|
+
* @return The currentSpeed.
|
|
1070
|
+
*/
|
|
1071
|
+
public java.lang.String getCurrentSpeed() {
|
|
1072
|
+
java.lang.Object ref = currentSpeed_;
|
|
1073
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1074
|
+
com.google.protobuf.ByteString bs =
|
|
1075
|
+
(com.google.protobuf.ByteString) ref;
|
|
1076
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1077
|
+
currentSpeed_ = s;
|
|
1078
|
+
return s;
|
|
1079
|
+
} else {
|
|
1080
|
+
return (java.lang.String) ref;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* <code>optional string current_speed = 3;</code>
|
|
1085
|
+
* @return The bytes for currentSpeed.
|
|
1086
|
+
*/
|
|
1087
|
+
public com.google.protobuf.ByteString
|
|
1088
|
+
getCurrentSpeedBytes() {
|
|
1089
|
+
java.lang.Object ref = currentSpeed_;
|
|
1090
|
+
if (ref instanceof String) {
|
|
1091
|
+
com.google.protobuf.ByteString b =
|
|
1092
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1093
|
+
(java.lang.String) ref);
|
|
1094
|
+
currentSpeed_ = b;
|
|
1095
|
+
return b;
|
|
1096
|
+
} else {
|
|
1097
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* <code>optional string current_speed = 3;</code>
|
|
1102
|
+
* @param value The currentSpeed to set.
|
|
1103
|
+
* @return This builder for chaining.
|
|
1104
|
+
*/
|
|
1105
|
+
public Builder setCurrentSpeed(
|
|
1106
|
+
java.lang.String value) {
|
|
1107
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1108
|
+
currentSpeed_ = value;
|
|
1109
|
+
bitField0_ |= 0x00000004;
|
|
1110
|
+
onChanged();
|
|
1111
|
+
return this;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* <code>optional string current_speed = 3;</code>
|
|
1115
|
+
* @return This builder for chaining.
|
|
1116
|
+
*/
|
|
1117
|
+
public Builder clearCurrentSpeed() {
|
|
1118
|
+
currentSpeed_ = getDefaultInstance().getCurrentSpeed();
|
|
1119
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
1120
|
+
onChanged();
|
|
1121
|
+
return this;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* <code>optional string current_speed = 3;</code>
|
|
1125
|
+
* @param value The bytes for currentSpeed to set.
|
|
1126
|
+
* @return This builder for chaining.
|
|
1127
|
+
*/
|
|
1128
|
+
public Builder setCurrentSpeedBytes(
|
|
1129
|
+
com.google.protobuf.ByteString value) {
|
|
1130
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1131
|
+
checkByteStringIsUtf8(value);
|
|
1132
|
+
currentSpeed_ = value;
|
|
1133
|
+
bitField0_ |= 0x00000004;
|
|
1134
|
+
onChanged();
|
|
1135
|
+
return this;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
private java.lang.Object type_ = "";
|
|
1139
|
+
/**
|
|
1140
|
+
* <code>optional string type = 4;</code>
|
|
1141
|
+
* @return Whether the type field is set.
|
|
1142
|
+
*/
|
|
1143
|
+
public boolean hasType() {
|
|
1144
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* <code>optional string type = 4;</code>
|
|
1148
|
+
* @return The type.
|
|
1149
|
+
*/
|
|
1150
|
+
public java.lang.String getType() {
|
|
1151
|
+
java.lang.Object ref = type_;
|
|
1152
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1153
|
+
com.google.protobuf.ByteString bs =
|
|
1154
|
+
(com.google.protobuf.ByteString) ref;
|
|
1155
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1156
|
+
type_ = s;
|
|
1157
|
+
return s;
|
|
1158
|
+
} else {
|
|
1159
|
+
return (java.lang.String) ref;
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* <code>optional string type = 4;</code>
|
|
1164
|
+
* @return The bytes for type.
|
|
1165
|
+
*/
|
|
1166
|
+
public com.google.protobuf.ByteString
|
|
1167
|
+
getTypeBytes() {
|
|
1168
|
+
java.lang.Object ref = type_;
|
|
1169
|
+
if (ref instanceof String) {
|
|
1170
|
+
com.google.protobuf.ByteString b =
|
|
1171
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1172
|
+
(java.lang.String) ref);
|
|
1173
|
+
type_ = b;
|
|
1174
|
+
return b;
|
|
1175
|
+
} else {
|
|
1176
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* <code>optional string type = 4;</code>
|
|
1181
|
+
* @param value The type to set.
|
|
1182
|
+
* @return This builder for chaining.
|
|
1183
|
+
*/
|
|
1184
|
+
public Builder setType(
|
|
1185
|
+
java.lang.String value) {
|
|
1186
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1187
|
+
type_ = value;
|
|
1188
|
+
bitField0_ |= 0x00000008;
|
|
1189
|
+
onChanged();
|
|
1190
|
+
return this;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* <code>optional string type = 4;</code>
|
|
1194
|
+
* @return This builder for chaining.
|
|
1195
|
+
*/
|
|
1196
|
+
public Builder clearType() {
|
|
1197
|
+
type_ = getDefaultInstance().getType();
|
|
1198
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1199
|
+
onChanged();
|
|
1200
|
+
return this;
|
|
1201
|
+
}
|
|
1202
|
+
/**
|
|
1203
|
+
* <code>optional string type = 4;</code>
|
|
1204
|
+
* @param value The bytes for type to set.
|
|
1205
|
+
* @return This builder for chaining.
|
|
1206
|
+
*/
|
|
1207
|
+
public Builder setTypeBytes(
|
|
1208
|
+
com.google.protobuf.ByteString value) {
|
|
1209
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1210
|
+
checkByteStringIsUtf8(value);
|
|
1211
|
+
type_ = value;
|
|
1212
|
+
bitField0_ |= 0x00000008;
|
|
1213
|
+
onChanged();
|
|
1214
|
+
return this;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
private java.lang.Object installedSize_ = "";
|
|
1218
|
+
/**
|
|
1219
|
+
* <code>optional string installed_size = 5;</code>
|
|
1220
|
+
* @return Whether the installedSize field is set.
|
|
1221
|
+
*/
|
|
1222
|
+
public boolean hasInstalledSize() {
|
|
1223
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* <code>optional string installed_size = 5;</code>
|
|
1227
|
+
* @return The installedSize.
|
|
1228
|
+
*/
|
|
1229
|
+
public java.lang.String getInstalledSize() {
|
|
1230
|
+
java.lang.Object ref = installedSize_;
|
|
1231
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1232
|
+
com.google.protobuf.ByteString bs =
|
|
1233
|
+
(com.google.protobuf.ByteString) ref;
|
|
1234
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1235
|
+
installedSize_ = s;
|
|
1236
|
+
return s;
|
|
1237
|
+
} else {
|
|
1238
|
+
return (java.lang.String) ref;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* <code>optional string installed_size = 5;</code>
|
|
1243
|
+
* @return The bytes for installedSize.
|
|
1244
|
+
*/
|
|
1245
|
+
public com.google.protobuf.ByteString
|
|
1246
|
+
getInstalledSizeBytes() {
|
|
1247
|
+
java.lang.Object ref = installedSize_;
|
|
1248
|
+
if (ref instanceof String) {
|
|
1249
|
+
com.google.protobuf.ByteString b =
|
|
1250
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1251
|
+
(java.lang.String) ref);
|
|
1252
|
+
installedSize_ = b;
|
|
1253
|
+
return b;
|
|
1254
|
+
} else {
|
|
1255
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
/**
|
|
1259
|
+
* <code>optional string installed_size = 5;</code>
|
|
1260
|
+
* @param value The installedSize to set.
|
|
1261
|
+
* @return This builder for chaining.
|
|
1262
|
+
*/
|
|
1263
|
+
public Builder setInstalledSize(
|
|
1264
|
+
java.lang.String value) {
|
|
1265
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1266
|
+
installedSize_ = value;
|
|
1267
|
+
bitField0_ |= 0x00000010;
|
|
1268
|
+
onChanged();
|
|
1269
|
+
return this;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* <code>optional string installed_size = 5;</code>
|
|
1273
|
+
* @return This builder for chaining.
|
|
1274
|
+
*/
|
|
1275
|
+
public Builder clearInstalledSize() {
|
|
1276
|
+
installedSize_ = getDefaultInstance().getInstalledSize();
|
|
1277
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1278
|
+
onChanged();
|
|
1279
|
+
return this;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* <code>optional string installed_size = 5;</code>
|
|
1283
|
+
* @param value The bytes for installedSize to set.
|
|
1284
|
+
* @return This builder for chaining.
|
|
1285
|
+
*/
|
|
1286
|
+
public Builder setInstalledSizeBytes(
|
|
1287
|
+
com.google.protobuf.ByteString value) {
|
|
1288
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1289
|
+
checkByteStringIsUtf8(value);
|
|
1290
|
+
installedSize_ = value;
|
|
1291
|
+
bitField0_ |= 0x00000010;
|
|
1292
|
+
onChanged();
|
|
1293
|
+
return this;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
private java.lang.Object enabledSize_ = "";
|
|
1297
|
+
/**
|
|
1298
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1299
|
+
* @return Whether the enabledSize field is set.
|
|
1300
|
+
*/
|
|
1301
|
+
public boolean hasEnabledSize() {
|
|
1302
|
+
return ((bitField0_ & 0x00000020) != 0);
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1306
|
+
* @return The enabledSize.
|
|
1307
|
+
*/
|
|
1308
|
+
public java.lang.String getEnabledSize() {
|
|
1309
|
+
java.lang.Object ref = enabledSize_;
|
|
1310
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1311
|
+
com.google.protobuf.ByteString bs =
|
|
1312
|
+
(com.google.protobuf.ByteString) ref;
|
|
1313
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1314
|
+
enabledSize_ = s;
|
|
1315
|
+
return s;
|
|
1316
|
+
} else {
|
|
1317
|
+
return (java.lang.String) ref;
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1322
|
+
* @return The bytes for enabledSize.
|
|
1323
|
+
*/
|
|
1324
|
+
public com.google.protobuf.ByteString
|
|
1325
|
+
getEnabledSizeBytes() {
|
|
1326
|
+
java.lang.Object ref = enabledSize_;
|
|
1327
|
+
if (ref instanceof String) {
|
|
1328
|
+
com.google.protobuf.ByteString b =
|
|
1329
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1330
|
+
(java.lang.String) ref);
|
|
1331
|
+
enabledSize_ = b;
|
|
1332
|
+
return b;
|
|
1333
|
+
} else {
|
|
1334
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1339
|
+
* @param value The enabledSize to set.
|
|
1340
|
+
* @return This builder for chaining.
|
|
1341
|
+
*/
|
|
1342
|
+
public Builder setEnabledSize(
|
|
1343
|
+
java.lang.String value) {
|
|
1344
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1345
|
+
enabledSize_ = value;
|
|
1346
|
+
bitField0_ |= 0x00000020;
|
|
1347
|
+
onChanged();
|
|
1348
|
+
return this;
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1352
|
+
* @return This builder for chaining.
|
|
1353
|
+
*/
|
|
1354
|
+
public Builder clearEnabledSize() {
|
|
1355
|
+
enabledSize_ = getDefaultInstance().getEnabledSize();
|
|
1356
|
+
bitField0_ = (bitField0_ & ~0x00000020);
|
|
1357
|
+
onChanged();
|
|
1358
|
+
return this;
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* <code>optional string enabled_size = 6;</code>
|
|
1362
|
+
* @param value The bytes for enabledSize to set.
|
|
1363
|
+
* @return This builder for chaining.
|
|
1364
|
+
*/
|
|
1365
|
+
public Builder setEnabledSizeBytes(
|
|
1366
|
+
com.google.protobuf.ByteString value) {
|
|
1367
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1368
|
+
checkByteStringIsUtf8(value);
|
|
1369
|
+
enabledSize_ = value;
|
|
1370
|
+
bitField0_ |= 0x00000020;
|
|
1371
|
+
onChanged();
|
|
1372
|
+
return this;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
private java.lang.Object errorStatus_ = "";
|
|
1376
|
+
/**
|
|
1377
|
+
* <code>optional string error_status = 7;</code>
|
|
1378
|
+
* @return Whether the errorStatus field is set.
|
|
1379
|
+
*/
|
|
1380
|
+
public boolean hasErrorStatus() {
|
|
1381
|
+
return ((bitField0_ & 0x00000040) != 0);
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* <code>optional string error_status = 7;</code>
|
|
1385
|
+
* @return The errorStatus.
|
|
1386
|
+
*/
|
|
1387
|
+
public java.lang.String getErrorStatus() {
|
|
1388
|
+
java.lang.Object ref = errorStatus_;
|
|
1389
|
+
if (!(ref instanceof java.lang.String)) {
|
|
1390
|
+
com.google.protobuf.ByteString bs =
|
|
1391
|
+
(com.google.protobuf.ByteString) ref;
|
|
1392
|
+
java.lang.String s = bs.toStringUtf8();
|
|
1393
|
+
errorStatus_ = s;
|
|
1394
|
+
return s;
|
|
1395
|
+
} else {
|
|
1396
|
+
return (java.lang.String) ref;
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* <code>optional string error_status = 7;</code>
|
|
1401
|
+
* @return The bytes for errorStatus.
|
|
1402
|
+
*/
|
|
1403
|
+
public com.google.protobuf.ByteString
|
|
1404
|
+
getErrorStatusBytes() {
|
|
1405
|
+
java.lang.Object ref = errorStatus_;
|
|
1406
|
+
if (ref instanceof String) {
|
|
1407
|
+
com.google.protobuf.ByteString b =
|
|
1408
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
1409
|
+
(java.lang.String) ref);
|
|
1410
|
+
errorStatus_ = b;
|
|
1411
|
+
return b;
|
|
1412
|
+
} else {
|
|
1413
|
+
return (com.google.protobuf.ByteString) ref;
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* <code>optional string error_status = 7;</code>
|
|
1418
|
+
* @param value The errorStatus to set.
|
|
1419
|
+
* @return This builder for chaining.
|
|
1420
|
+
*/
|
|
1421
|
+
public Builder setErrorStatus(
|
|
1422
|
+
java.lang.String value) {
|
|
1423
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1424
|
+
errorStatus_ = value;
|
|
1425
|
+
bitField0_ |= 0x00000040;
|
|
1426
|
+
onChanged();
|
|
1427
|
+
return this;
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* <code>optional string error_status = 7;</code>
|
|
1431
|
+
* @return This builder for chaining.
|
|
1432
|
+
*/
|
|
1433
|
+
public Builder clearErrorStatus() {
|
|
1434
|
+
errorStatus_ = getDefaultInstance().getErrorStatus();
|
|
1435
|
+
bitField0_ = (bitField0_ & ~0x00000040);
|
|
1436
|
+
onChanged();
|
|
1437
|
+
return this;
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* <code>optional string error_status = 7;</code>
|
|
1441
|
+
* @param value The bytes for errorStatus to set.
|
|
1442
|
+
* @return This builder for chaining.
|
|
1443
|
+
*/
|
|
1444
|
+
public Builder setErrorStatusBytes(
|
|
1445
|
+
com.google.protobuf.ByteString value) {
|
|
1446
|
+
if (value == null) { throw new NullPointerException(); }
|
|
1447
|
+
checkByteStringIsUtf8(value);
|
|
1448
|
+
errorStatus_ = value;
|
|
1449
|
+
bitField0_ |= 0x00000040;
|
|
1450
|
+
onChanged();
|
|
1451
|
+
return this;
|
|
1452
|
+
}
|
|
1453
|
+
@java.lang.Override
|
|
1454
|
+
public final Builder setUnknownFields(
|
|
1455
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1456
|
+
return super.setUnknownFields(unknownFields);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
@java.lang.Override
|
|
1460
|
+
public final Builder mergeUnknownFields(
|
|
1461
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1462
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule)
|
|
1470
|
+
private static final com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule DEFAULT_INSTANCE;
|
|
1471
|
+
static {
|
|
1472
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule();
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
public static com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule getDefaultInstance() {
|
|
1476
|
+
return DEFAULT_INSTANCE;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
private static final com.google.protobuf.Parser<ComputerLinuxMemoryModule>
|
|
1480
|
+
PARSER = new com.google.protobuf.AbstractParser<ComputerLinuxMemoryModule>() {
|
|
1481
|
+
@java.lang.Override
|
|
1482
|
+
public ComputerLinuxMemoryModule parsePartialFrom(
|
|
1483
|
+
com.google.protobuf.CodedInputStream input,
|
|
1484
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1485
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1486
|
+
Builder builder = newBuilder();
|
|
1487
|
+
try {
|
|
1488
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
1489
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1490
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
1491
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
1492
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
1493
|
+
} catch (java.io.IOException e) {
|
|
1494
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
1495
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
1496
|
+
}
|
|
1497
|
+
return builder.buildPartial();
|
|
1498
|
+
}
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
public static com.google.protobuf.Parser<ComputerLinuxMemoryModule> parser() {
|
|
1502
|
+
return PARSER;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
@java.lang.Override
|
|
1506
|
+
public com.google.protobuf.Parser<ComputerLinuxMemoryModule> getParserForType() {
|
|
1507
|
+
return PARSER;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
@java.lang.Override
|
|
1511
|
+
public com.lansweeper.dp.outbound.v1.ComputerLinuxMemoryModule getDefaultInstanceForType() {
|
|
1512
|
+
return DEFAULT_INSTANCE;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
}
|
|
1516
|
+
|