@lansweeper/data-platform-outbound-grpc 0.3.8 → 0.3.9
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 +43 -0
- package/gen-proto/outbound_pb.js +354 -2
- package/generated-go/outbound.pb.go +8895 -8782
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +8 -2
- 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/ComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +8 -2
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +443 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2600 -2583
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogon.java +1121 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.java +95 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.3.7-sources.jar → outbound-model-0.3.8-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.7.jar → outbound-model-0.3.8.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +8 -2
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.7-sources.jar → outbound-service-0.3.8-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.7.jar → outbound-service-0.3.8.jar} +0 -0
package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogon.java
ADDED
|
@@ -0,0 +1,1121 @@
|
|
|
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.UserLogon}
|
|
9
|
+
*/
|
|
10
|
+
public final class UserLogon extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.UserLogon)
|
|
13
|
+
UserLogonOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use UserLogon.newBuilder() to construct.
|
|
16
|
+
private UserLogon(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private UserLogon() {
|
|
20
|
+
userName_ = "";
|
|
21
|
+
port_ = "";
|
|
22
|
+
ipAddress_ = "";
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@java.lang.Override
|
|
26
|
+
@SuppressWarnings({"unused"})
|
|
27
|
+
protected java.lang.Object newInstance(
|
|
28
|
+
UnusedPrivateParameter unused) {
|
|
29
|
+
return new UserLogon();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
33
|
+
getDescriptor() {
|
|
34
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_UserLogon_descriptor;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@java.lang.Override
|
|
38
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
39
|
+
internalGetFieldAccessorTable() {
|
|
40
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_UserLogon_fieldAccessorTable
|
|
41
|
+
.ensureFieldAccessorsInitialized(
|
|
42
|
+
com.lansweeper.dp.outbound.v1.UserLogon.class, com.lansweeper.dp.outbound.v1.UserLogon.Builder.class);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
private int bitField0_;
|
|
46
|
+
public static final int USER_NAME_FIELD_NUMBER = 1;
|
|
47
|
+
@SuppressWarnings("serial")
|
|
48
|
+
private volatile java.lang.Object userName_ = "";
|
|
49
|
+
/**
|
|
50
|
+
* <code>string user_name = 1;</code>
|
|
51
|
+
* @return The userName.
|
|
52
|
+
*/
|
|
53
|
+
@java.lang.Override
|
|
54
|
+
public java.lang.String getUserName() {
|
|
55
|
+
java.lang.Object ref = userName_;
|
|
56
|
+
if (ref instanceof java.lang.String) {
|
|
57
|
+
return (java.lang.String) ref;
|
|
58
|
+
} else {
|
|
59
|
+
com.google.protobuf.ByteString bs =
|
|
60
|
+
(com.google.protobuf.ByteString) ref;
|
|
61
|
+
java.lang.String s = bs.toStringUtf8();
|
|
62
|
+
userName_ = s;
|
|
63
|
+
return s;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <code>string user_name = 1;</code>
|
|
68
|
+
* @return The bytes for userName.
|
|
69
|
+
*/
|
|
70
|
+
@java.lang.Override
|
|
71
|
+
public com.google.protobuf.ByteString
|
|
72
|
+
getUserNameBytes() {
|
|
73
|
+
java.lang.Object ref = userName_;
|
|
74
|
+
if (ref instanceof java.lang.String) {
|
|
75
|
+
com.google.protobuf.ByteString b =
|
|
76
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
77
|
+
(java.lang.String) ref);
|
|
78
|
+
userName_ = b;
|
|
79
|
+
return b;
|
|
80
|
+
} else {
|
|
81
|
+
return (com.google.protobuf.ByteString) ref;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public static final int PORT_FIELD_NUMBER = 2;
|
|
86
|
+
@SuppressWarnings("serial")
|
|
87
|
+
private volatile java.lang.Object port_ = "";
|
|
88
|
+
/**
|
|
89
|
+
* <pre>
|
|
90
|
+
* Linux-only
|
|
91
|
+
* </pre>
|
|
92
|
+
*
|
|
93
|
+
* <code>optional string port = 2;</code>
|
|
94
|
+
* @return Whether the port field is set.
|
|
95
|
+
*/
|
|
96
|
+
@java.lang.Override
|
|
97
|
+
public boolean hasPort() {
|
|
98
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <pre>
|
|
102
|
+
* Linux-only
|
|
103
|
+
* </pre>
|
|
104
|
+
*
|
|
105
|
+
* <code>optional string port = 2;</code>
|
|
106
|
+
* @return The port.
|
|
107
|
+
*/
|
|
108
|
+
@java.lang.Override
|
|
109
|
+
public java.lang.String getPort() {
|
|
110
|
+
java.lang.Object ref = port_;
|
|
111
|
+
if (ref instanceof java.lang.String) {
|
|
112
|
+
return (java.lang.String) ref;
|
|
113
|
+
} else {
|
|
114
|
+
com.google.protobuf.ByteString bs =
|
|
115
|
+
(com.google.protobuf.ByteString) ref;
|
|
116
|
+
java.lang.String s = bs.toStringUtf8();
|
|
117
|
+
port_ = s;
|
|
118
|
+
return s;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <pre>
|
|
123
|
+
* Linux-only
|
|
124
|
+
* </pre>
|
|
125
|
+
*
|
|
126
|
+
* <code>optional string port = 2;</code>
|
|
127
|
+
* @return The bytes for port.
|
|
128
|
+
*/
|
|
129
|
+
@java.lang.Override
|
|
130
|
+
public com.google.protobuf.ByteString
|
|
131
|
+
getPortBytes() {
|
|
132
|
+
java.lang.Object ref = port_;
|
|
133
|
+
if (ref instanceof java.lang.String) {
|
|
134
|
+
com.google.protobuf.ByteString b =
|
|
135
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
136
|
+
(java.lang.String) ref);
|
|
137
|
+
port_ = b;
|
|
138
|
+
return b;
|
|
139
|
+
} else {
|
|
140
|
+
return (com.google.protobuf.ByteString) ref;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
public static final int IP_ADDRESS_FIELD_NUMBER = 3;
|
|
145
|
+
@SuppressWarnings("serial")
|
|
146
|
+
private volatile java.lang.Object ipAddress_ = "";
|
|
147
|
+
/**
|
|
148
|
+
* <pre>
|
|
149
|
+
* Linux-only
|
|
150
|
+
* </pre>
|
|
151
|
+
*
|
|
152
|
+
* <code>optional string ip_address = 3;</code>
|
|
153
|
+
* @return Whether the ipAddress field is set.
|
|
154
|
+
*/
|
|
155
|
+
@java.lang.Override
|
|
156
|
+
public boolean hasIpAddress() {
|
|
157
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <pre>
|
|
161
|
+
* Linux-only
|
|
162
|
+
* </pre>
|
|
163
|
+
*
|
|
164
|
+
* <code>optional string ip_address = 3;</code>
|
|
165
|
+
* @return The ipAddress.
|
|
166
|
+
*/
|
|
167
|
+
@java.lang.Override
|
|
168
|
+
public java.lang.String getIpAddress() {
|
|
169
|
+
java.lang.Object ref = ipAddress_;
|
|
170
|
+
if (ref instanceof java.lang.String) {
|
|
171
|
+
return (java.lang.String) ref;
|
|
172
|
+
} else {
|
|
173
|
+
com.google.protobuf.ByteString bs =
|
|
174
|
+
(com.google.protobuf.ByteString) ref;
|
|
175
|
+
java.lang.String s = bs.toStringUtf8();
|
|
176
|
+
ipAddress_ = s;
|
|
177
|
+
return s;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* <pre>
|
|
182
|
+
* Linux-only
|
|
183
|
+
* </pre>
|
|
184
|
+
*
|
|
185
|
+
* <code>optional string ip_address = 3;</code>
|
|
186
|
+
* @return The bytes for ipAddress.
|
|
187
|
+
*/
|
|
188
|
+
@java.lang.Override
|
|
189
|
+
public com.google.protobuf.ByteString
|
|
190
|
+
getIpAddressBytes() {
|
|
191
|
+
java.lang.Object ref = ipAddress_;
|
|
192
|
+
if (ref instanceof java.lang.String) {
|
|
193
|
+
com.google.protobuf.ByteString b =
|
|
194
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
195
|
+
(java.lang.String) ref);
|
|
196
|
+
ipAddress_ = b;
|
|
197
|
+
return b;
|
|
198
|
+
} else {
|
|
199
|
+
return (com.google.protobuf.ByteString) ref;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
public static final int LOGON_TIME_FIELD_NUMBER = 4;
|
|
204
|
+
private com.google.protobuf.Timestamp logonTime_;
|
|
205
|
+
/**
|
|
206
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
207
|
+
* @return Whether the logonTime field is set.
|
|
208
|
+
*/
|
|
209
|
+
@java.lang.Override
|
|
210
|
+
public boolean hasLogonTime() {
|
|
211
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
215
|
+
* @return The logonTime.
|
|
216
|
+
*/
|
|
217
|
+
@java.lang.Override
|
|
218
|
+
public com.google.protobuf.Timestamp getLogonTime() {
|
|
219
|
+
return logonTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : logonTime_;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
223
|
+
*/
|
|
224
|
+
@java.lang.Override
|
|
225
|
+
public com.google.protobuf.TimestampOrBuilder getLogonTimeOrBuilder() {
|
|
226
|
+
return logonTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : logonTime_;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
private byte memoizedIsInitialized = -1;
|
|
230
|
+
@java.lang.Override
|
|
231
|
+
public final boolean isInitialized() {
|
|
232
|
+
byte isInitialized = memoizedIsInitialized;
|
|
233
|
+
if (isInitialized == 1) return true;
|
|
234
|
+
if (isInitialized == 0) return false;
|
|
235
|
+
|
|
236
|
+
memoizedIsInitialized = 1;
|
|
237
|
+
return true;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@java.lang.Override
|
|
241
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
242
|
+
throws java.io.IOException {
|
|
243
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) {
|
|
244
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userName_);
|
|
245
|
+
}
|
|
246
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
247
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, port_);
|
|
248
|
+
}
|
|
249
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
250
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ipAddress_);
|
|
251
|
+
}
|
|
252
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
253
|
+
output.writeMessage(4, getLogonTime());
|
|
254
|
+
}
|
|
255
|
+
getUnknownFields().writeTo(output);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@java.lang.Override
|
|
259
|
+
public int getSerializedSize() {
|
|
260
|
+
int size = memoizedSize;
|
|
261
|
+
if (size != -1) return size;
|
|
262
|
+
|
|
263
|
+
size = 0;
|
|
264
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) {
|
|
265
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userName_);
|
|
266
|
+
}
|
|
267
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
268
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, port_);
|
|
269
|
+
}
|
|
270
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
271
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipAddress_);
|
|
272
|
+
}
|
|
273
|
+
if (((bitField0_ & 0x00000004) != 0)) {
|
|
274
|
+
size += com.google.protobuf.CodedOutputStream
|
|
275
|
+
.computeMessageSize(4, getLogonTime());
|
|
276
|
+
}
|
|
277
|
+
size += getUnknownFields().getSerializedSize();
|
|
278
|
+
memoizedSize = size;
|
|
279
|
+
return size;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@java.lang.Override
|
|
283
|
+
public boolean equals(final java.lang.Object obj) {
|
|
284
|
+
if (obj == this) {
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.UserLogon)) {
|
|
288
|
+
return super.equals(obj);
|
|
289
|
+
}
|
|
290
|
+
com.lansweeper.dp.outbound.v1.UserLogon other = (com.lansweeper.dp.outbound.v1.UserLogon) obj;
|
|
291
|
+
|
|
292
|
+
if (!getUserName()
|
|
293
|
+
.equals(other.getUserName())) return false;
|
|
294
|
+
if (hasPort() != other.hasPort()) return false;
|
|
295
|
+
if (hasPort()) {
|
|
296
|
+
if (!getPort()
|
|
297
|
+
.equals(other.getPort())) return false;
|
|
298
|
+
}
|
|
299
|
+
if (hasIpAddress() != other.hasIpAddress()) return false;
|
|
300
|
+
if (hasIpAddress()) {
|
|
301
|
+
if (!getIpAddress()
|
|
302
|
+
.equals(other.getIpAddress())) return false;
|
|
303
|
+
}
|
|
304
|
+
if (hasLogonTime() != other.hasLogonTime()) return false;
|
|
305
|
+
if (hasLogonTime()) {
|
|
306
|
+
if (!getLogonTime()
|
|
307
|
+
.equals(other.getLogonTime())) return false;
|
|
308
|
+
}
|
|
309
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
310
|
+
return true;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@java.lang.Override
|
|
314
|
+
public int hashCode() {
|
|
315
|
+
if (memoizedHashCode != 0) {
|
|
316
|
+
return memoizedHashCode;
|
|
317
|
+
}
|
|
318
|
+
int hash = 41;
|
|
319
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
320
|
+
hash = (37 * hash) + USER_NAME_FIELD_NUMBER;
|
|
321
|
+
hash = (53 * hash) + getUserName().hashCode();
|
|
322
|
+
if (hasPort()) {
|
|
323
|
+
hash = (37 * hash) + PORT_FIELD_NUMBER;
|
|
324
|
+
hash = (53 * hash) + getPort().hashCode();
|
|
325
|
+
}
|
|
326
|
+
if (hasIpAddress()) {
|
|
327
|
+
hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER;
|
|
328
|
+
hash = (53 * hash) + getIpAddress().hashCode();
|
|
329
|
+
}
|
|
330
|
+
if (hasLogonTime()) {
|
|
331
|
+
hash = (37 * hash) + LOGON_TIME_FIELD_NUMBER;
|
|
332
|
+
hash = (53 * hash) + getLogonTime().hashCode();
|
|
333
|
+
}
|
|
334
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
335
|
+
memoizedHashCode = hash;
|
|
336
|
+
return hash;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
340
|
+
java.nio.ByteBuffer data)
|
|
341
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
342
|
+
return PARSER.parseFrom(data);
|
|
343
|
+
}
|
|
344
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
345
|
+
java.nio.ByteBuffer data,
|
|
346
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
347
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
348
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
349
|
+
}
|
|
350
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
351
|
+
com.google.protobuf.ByteString data)
|
|
352
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
353
|
+
return PARSER.parseFrom(data);
|
|
354
|
+
}
|
|
355
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
356
|
+
com.google.protobuf.ByteString data,
|
|
357
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
358
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
359
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
360
|
+
}
|
|
361
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(byte[] data)
|
|
362
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
363
|
+
return PARSER.parseFrom(data);
|
|
364
|
+
}
|
|
365
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
366
|
+
byte[] data,
|
|
367
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
368
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
369
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
370
|
+
}
|
|
371
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(java.io.InputStream input)
|
|
372
|
+
throws java.io.IOException {
|
|
373
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
374
|
+
.parseWithIOException(PARSER, input);
|
|
375
|
+
}
|
|
376
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
377
|
+
java.io.InputStream input,
|
|
378
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
379
|
+
throws java.io.IOException {
|
|
380
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
381
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseDelimitedFrom(java.io.InputStream input)
|
|
385
|
+
throws java.io.IOException {
|
|
386
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
387
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseDelimitedFrom(
|
|
391
|
+
java.io.InputStream input,
|
|
392
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
393
|
+
throws java.io.IOException {
|
|
394
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
395
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
396
|
+
}
|
|
397
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
398
|
+
com.google.protobuf.CodedInputStream input)
|
|
399
|
+
throws java.io.IOException {
|
|
400
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
401
|
+
.parseWithIOException(PARSER, input);
|
|
402
|
+
}
|
|
403
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon parseFrom(
|
|
404
|
+
com.google.protobuf.CodedInputStream input,
|
|
405
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
406
|
+
throws java.io.IOException {
|
|
407
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
408
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@java.lang.Override
|
|
412
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
413
|
+
public static Builder newBuilder() {
|
|
414
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
415
|
+
}
|
|
416
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.UserLogon prototype) {
|
|
417
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
418
|
+
}
|
|
419
|
+
@java.lang.Override
|
|
420
|
+
public Builder toBuilder() {
|
|
421
|
+
return this == DEFAULT_INSTANCE
|
|
422
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
@java.lang.Override
|
|
426
|
+
protected Builder newBuilderForType(
|
|
427
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
428
|
+
Builder builder = new Builder(parent);
|
|
429
|
+
return builder;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.UserLogon}
|
|
433
|
+
*/
|
|
434
|
+
public static final class Builder extends
|
|
435
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
436
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.UserLogon)
|
|
437
|
+
com.lansweeper.dp.outbound.v1.UserLogonOrBuilder {
|
|
438
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
439
|
+
getDescriptor() {
|
|
440
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_UserLogon_descriptor;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
@java.lang.Override
|
|
444
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
445
|
+
internalGetFieldAccessorTable() {
|
|
446
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_UserLogon_fieldAccessorTable
|
|
447
|
+
.ensureFieldAccessorsInitialized(
|
|
448
|
+
com.lansweeper.dp.outbound.v1.UserLogon.class, com.lansweeper.dp.outbound.v1.UserLogon.Builder.class);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
// Construct using com.lansweeper.dp.outbound.v1.UserLogon.newBuilder()
|
|
452
|
+
private Builder() {
|
|
453
|
+
maybeForceBuilderInitialization();
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
private Builder(
|
|
457
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
458
|
+
super(parent);
|
|
459
|
+
maybeForceBuilderInitialization();
|
|
460
|
+
}
|
|
461
|
+
private void maybeForceBuilderInitialization() {
|
|
462
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
463
|
+
.alwaysUseFieldBuilders) {
|
|
464
|
+
getLogonTimeFieldBuilder();
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
@java.lang.Override
|
|
468
|
+
public Builder clear() {
|
|
469
|
+
super.clear();
|
|
470
|
+
bitField0_ = 0;
|
|
471
|
+
userName_ = "";
|
|
472
|
+
port_ = "";
|
|
473
|
+
ipAddress_ = "";
|
|
474
|
+
logonTime_ = null;
|
|
475
|
+
if (logonTimeBuilder_ != null) {
|
|
476
|
+
logonTimeBuilder_.dispose();
|
|
477
|
+
logonTimeBuilder_ = null;
|
|
478
|
+
}
|
|
479
|
+
return this;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
@java.lang.Override
|
|
483
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
484
|
+
getDescriptorForType() {
|
|
485
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_UserLogon_descriptor;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
@java.lang.Override
|
|
489
|
+
public com.lansweeper.dp.outbound.v1.UserLogon getDefaultInstanceForType() {
|
|
490
|
+
return com.lansweeper.dp.outbound.v1.UserLogon.getDefaultInstance();
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
@java.lang.Override
|
|
494
|
+
public com.lansweeper.dp.outbound.v1.UserLogon build() {
|
|
495
|
+
com.lansweeper.dp.outbound.v1.UserLogon result = buildPartial();
|
|
496
|
+
if (!result.isInitialized()) {
|
|
497
|
+
throw newUninitializedMessageException(result);
|
|
498
|
+
}
|
|
499
|
+
return result;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@java.lang.Override
|
|
503
|
+
public com.lansweeper.dp.outbound.v1.UserLogon buildPartial() {
|
|
504
|
+
com.lansweeper.dp.outbound.v1.UserLogon result = new com.lansweeper.dp.outbound.v1.UserLogon(this);
|
|
505
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
506
|
+
onBuilt();
|
|
507
|
+
return result;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.UserLogon result) {
|
|
511
|
+
int from_bitField0_ = bitField0_;
|
|
512
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
513
|
+
result.userName_ = userName_;
|
|
514
|
+
}
|
|
515
|
+
int to_bitField0_ = 0;
|
|
516
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
517
|
+
result.port_ = port_;
|
|
518
|
+
to_bitField0_ |= 0x00000001;
|
|
519
|
+
}
|
|
520
|
+
if (((from_bitField0_ & 0x00000004) != 0)) {
|
|
521
|
+
result.ipAddress_ = ipAddress_;
|
|
522
|
+
to_bitField0_ |= 0x00000002;
|
|
523
|
+
}
|
|
524
|
+
if (((from_bitField0_ & 0x00000008) != 0)) {
|
|
525
|
+
result.logonTime_ = logonTimeBuilder_ == null
|
|
526
|
+
? logonTime_
|
|
527
|
+
: logonTimeBuilder_.build();
|
|
528
|
+
to_bitField0_ |= 0x00000004;
|
|
529
|
+
}
|
|
530
|
+
result.bitField0_ |= to_bitField0_;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
@java.lang.Override
|
|
534
|
+
public Builder clone() {
|
|
535
|
+
return super.clone();
|
|
536
|
+
}
|
|
537
|
+
@java.lang.Override
|
|
538
|
+
public Builder setField(
|
|
539
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
540
|
+
java.lang.Object value) {
|
|
541
|
+
return super.setField(field, value);
|
|
542
|
+
}
|
|
543
|
+
@java.lang.Override
|
|
544
|
+
public Builder clearField(
|
|
545
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
546
|
+
return super.clearField(field);
|
|
547
|
+
}
|
|
548
|
+
@java.lang.Override
|
|
549
|
+
public Builder clearOneof(
|
|
550
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
551
|
+
return super.clearOneof(oneof);
|
|
552
|
+
}
|
|
553
|
+
@java.lang.Override
|
|
554
|
+
public Builder setRepeatedField(
|
|
555
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
556
|
+
int index, java.lang.Object value) {
|
|
557
|
+
return super.setRepeatedField(field, index, value);
|
|
558
|
+
}
|
|
559
|
+
@java.lang.Override
|
|
560
|
+
public Builder addRepeatedField(
|
|
561
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
562
|
+
java.lang.Object value) {
|
|
563
|
+
return super.addRepeatedField(field, value);
|
|
564
|
+
}
|
|
565
|
+
@java.lang.Override
|
|
566
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
567
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.UserLogon) {
|
|
568
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.UserLogon)other);
|
|
569
|
+
} else {
|
|
570
|
+
super.mergeFrom(other);
|
|
571
|
+
return this;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.UserLogon other) {
|
|
576
|
+
if (other == com.lansweeper.dp.outbound.v1.UserLogon.getDefaultInstance()) return this;
|
|
577
|
+
if (!other.getUserName().isEmpty()) {
|
|
578
|
+
userName_ = other.userName_;
|
|
579
|
+
bitField0_ |= 0x00000001;
|
|
580
|
+
onChanged();
|
|
581
|
+
}
|
|
582
|
+
if (other.hasPort()) {
|
|
583
|
+
port_ = other.port_;
|
|
584
|
+
bitField0_ |= 0x00000002;
|
|
585
|
+
onChanged();
|
|
586
|
+
}
|
|
587
|
+
if (other.hasIpAddress()) {
|
|
588
|
+
ipAddress_ = other.ipAddress_;
|
|
589
|
+
bitField0_ |= 0x00000004;
|
|
590
|
+
onChanged();
|
|
591
|
+
}
|
|
592
|
+
if (other.hasLogonTime()) {
|
|
593
|
+
mergeLogonTime(other.getLogonTime());
|
|
594
|
+
}
|
|
595
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
596
|
+
onChanged();
|
|
597
|
+
return this;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
@java.lang.Override
|
|
601
|
+
public final boolean isInitialized() {
|
|
602
|
+
return true;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
@java.lang.Override
|
|
606
|
+
public Builder mergeFrom(
|
|
607
|
+
com.google.protobuf.CodedInputStream input,
|
|
608
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
609
|
+
throws java.io.IOException {
|
|
610
|
+
if (extensionRegistry == null) {
|
|
611
|
+
throw new java.lang.NullPointerException();
|
|
612
|
+
}
|
|
613
|
+
try {
|
|
614
|
+
boolean done = false;
|
|
615
|
+
while (!done) {
|
|
616
|
+
int tag = input.readTag();
|
|
617
|
+
switch (tag) {
|
|
618
|
+
case 0:
|
|
619
|
+
done = true;
|
|
620
|
+
break;
|
|
621
|
+
case 10: {
|
|
622
|
+
userName_ = input.readStringRequireUtf8();
|
|
623
|
+
bitField0_ |= 0x00000001;
|
|
624
|
+
break;
|
|
625
|
+
} // case 10
|
|
626
|
+
case 18: {
|
|
627
|
+
port_ = input.readStringRequireUtf8();
|
|
628
|
+
bitField0_ |= 0x00000002;
|
|
629
|
+
break;
|
|
630
|
+
} // case 18
|
|
631
|
+
case 26: {
|
|
632
|
+
ipAddress_ = input.readStringRequireUtf8();
|
|
633
|
+
bitField0_ |= 0x00000004;
|
|
634
|
+
break;
|
|
635
|
+
} // case 26
|
|
636
|
+
case 34: {
|
|
637
|
+
input.readMessage(
|
|
638
|
+
getLogonTimeFieldBuilder().getBuilder(),
|
|
639
|
+
extensionRegistry);
|
|
640
|
+
bitField0_ |= 0x00000008;
|
|
641
|
+
break;
|
|
642
|
+
} // case 34
|
|
643
|
+
default: {
|
|
644
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
645
|
+
done = true; // was an endgroup tag
|
|
646
|
+
}
|
|
647
|
+
break;
|
|
648
|
+
} // default:
|
|
649
|
+
} // switch (tag)
|
|
650
|
+
} // while (!done)
|
|
651
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
652
|
+
throw e.unwrapIOException();
|
|
653
|
+
} finally {
|
|
654
|
+
onChanged();
|
|
655
|
+
} // finally
|
|
656
|
+
return this;
|
|
657
|
+
}
|
|
658
|
+
private int bitField0_;
|
|
659
|
+
|
|
660
|
+
private java.lang.Object userName_ = "";
|
|
661
|
+
/**
|
|
662
|
+
* <code>string user_name = 1;</code>
|
|
663
|
+
* @return The userName.
|
|
664
|
+
*/
|
|
665
|
+
public java.lang.String getUserName() {
|
|
666
|
+
java.lang.Object ref = userName_;
|
|
667
|
+
if (!(ref instanceof java.lang.String)) {
|
|
668
|
+
com.google.protobuf.ByteString bs =
|
|
669
|
+
(com.google.protobuf.ByteString) ref;
|
|
670
|
+
java.lang.String s = bs.toStringUtf8();
|
|
671
|
+
userName_ = s;
|
|
672
|
+
return s;
|
|
673
|
+
} else {
|
|
674
|
+
return (java.lang.String) ref;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* <code>string user_name = 1;</code>
|
|
679
|
+
* @return The bytes for userName.
|
|
680
|
+
*/
|
|
681
|
+
public com.google.protobuf.ByteString
|
|
682
|
+
getUserNameBytes() {
|
|
683
|
+
java.lang.Object ref = userName_;
|
|
684
|
+
if (ref instanceof String) {
|
|
685
|
+
com.google.protobuf.ByteString b =
|
|
686
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
687
|
+
(java.lang.String) ref);
|
|
688
|
+
userName_ = b;
|
|
689
|
+
return b;
|
|
690
|
+
} else {
|
|
691
|
+
return (com.google.protobuf.ByteString) ref;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* <code>string user_name = 1;</code>
|
|
696
|
+
* @param value The userName to set.
|
|
697
|
+
* @return This builder for chaining.
|
|
698
|
+
*/
|
|
699
|
+
public Builder setUserName(
|
|
700
|
+
java.lang.String value) {
|
|
701
|
+
if (value == null) { throw new NullPointerException(); }
|
|
702
|
+
userName_ = value;
|
|
703
|
+
bitField0_ |= 0x00000001;
|
|
704
|
+
onChanged();
|
|
705
|
+
return this;
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* <code>string user_name = 1;</code>
|
|
709
|
+
* @return This builder for chaining.
|
|
710
|
+
*/
|
|
711
|
+
public Builder clearUserName() {
|
|
712
|
+
userName_ = getDefaultInstance().getUserName();
|
|
713
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
714
|
+
onChanged();
|
|
715
|
+
return this;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* <code>string user_name = 1;</code>
|
|
719
|
+
* @param value The bytes for userName to set.
|
|
720
|
+
* @return This builder for chaining.
|
|
721
|
+
*/
|
|
722
|
+
public Builder setUserNameBytes(
|
|
723
|
+
com.google.protobuf.ByteString value) {
|
|
724
|
+
if (value == null) { throw new NullPointerException(); }
|
|
725
|
+
checkByteStringIsUtf8(value);
|
|
726
|
+
userName_ = value;
|
|
727
|
+
bitField0_ |= 0x00000001;
|
|
728
|
+
onChanged();
|
|
729
|
+
return this;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
private java.lang.Object port_ = "";
|
|
733
|
+
/**
|
|
734
|
+
* <pre>
|
|
735
|
+
* Linux-only
|
|
736
|
+
* </pre>
|
|
737
|
+
*
|
|
738
|
+
* <code>optional string port = 2;</code>
|
|
739
|
+
* @return Whether the port field is set.
|
|
740
|
+
*/
|
|
741
|
+
public boolean hasPort() {
|
|
742
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* <pre>
|
|
746
|
+
* Linux-only
|
|
747
|
+
* </pre>
|
|
748
|
+
*
|
|
749
|
+
* <code>optional string port = 2;</code>
|
|
750
|
+
* @return The port.
|
|
751
|
+
*/
|
|
752
|
+
public java.lang.String getPort() {
|
|
753
|
+
java.lang.Object ref = port_;
|
|
754
|
+
if (!(ref instanceof java.lang.String)) {
|
|
755
|
+
com.google.protobuf.ByteString bs =
|
|
756
|
+
(com.google.protobuf.ByteString) ref;
|
|
757
|
+
java.lang.String s = bs.toStringUtf8();
|
|
758
|
+
port_ = s;
|
|
759
|
+
return s;
|
|
760
|
+
} else {
|
|
761
|
+
return (java.lang.String) ref;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* <pre>
|
|
766
|
+
* Linux-only
|
|
767
|
+
* </pre>
|
|
768
|
+
*
|
|
769
|
+
* <code>optional string port = 2;</code>
|
|
770
|
+
* @return The bytes for port.
|
|
771
|
+
*/
|
|
772
|
+
public com.google.protobuf.ByteString
|
|
773
|
+
getPortBytes() {
|
|
774
|
+
java.lang.Object ref = port_;
|
|
775
|
+
if (ref instanceof String) {
|
|
776
|
+
com.google.protobuf.ByteString b =
|
|
777
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
778
|
+
(java.lang.String) ref);
|
|
779
|
+
port_ = b;
|
|
780
|
+
return b;
|
|
781
|
+
} else {
|
|
782
|
+
return (com.google.protobuf.ByteString) ref;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* <pre>
|
|
787
|
+
* Linux-only
|
|
788
|
+
* </pre>
|
|
789
|
+
*
|
|
790
|
+
* <code>optional string port = 2;</code>
|
|
791
|
+
* @param value The port to set.
|
|
792
|
+
* @return This builder for chaining.
|
|
793
|
+
*/
|
|
794
|
+
public Builder setPort(
|
|
795
|
+
java.lang.String value) {
|
|
796
|
+
if (value == null) { throw new NullPointerException(); }
|
|
797
|
+
port_ = value;
|
|
798
|
+
bitField0_ |= 0x00000002;
|
|
799
|
+
onChanged();
|
|
800
|
+
return this;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* <pre>
|
|
804
|
+
* Linux-only
|
|
805
|
+
* </pre>
|
|
806
|
+
*
|
|
807
|
+
* <code>optional string port = 2;</code>
|
|
808
|
+
* @return This builder for chaining.
|
|
809
|
+
*/
|
|
810
|
+
public Builder clearPort() {
|
|
811
|
+
port_ = getDefaultInstance().getPort();
|
|
812
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
813
|
+
onChanged();
|
|
814
|
+
return this;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* <pre>
|
|
818
|
+
* Linux-only
|
|
819
|
+
* </pre>
|
|
820
|
+
*
|
|
821
|
+
* <code>optional string port = 2;</code>
|
|
822
|
+
* @param value The bytes for port to set.
|
|
823
|
+
* @return This builder for chaining.
|
|
824
|
+
*/
|
|
825
|
+
public Builder setPortBytes(
|
|
826
|
+
com.google.protobuf.ByteString value) {
|
|
827
|
+
if (value == null) { throw new NullPointerException(); }
|
|
828
|
+
checkByteStringIsUtf8(value);
|
|
829
|
+
port_ = value;
|
|
830
|
+
bitField0_ |= 0x00000002;
|
|
831
|
+
onChanged();
|
|
832
|
+
return this;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
private java.lang.Object ipAddress_ = "";
|
|
836
|
+
/**
|
|
837
|
+
* <pre>
|
|
838
|
+
* Linux-only
|
|
839
|
+
* </pre>
|
|
840
|
+
*
|
|
841
|
+
* <code>optional string ip_address = 3;</code>
|
|
842
|
+
* @return Whether the ipAddress field is set.
|
|
843
|
+
*/
|
|
844
|
+
public boolean hasIpAddress() {
|
|
845
|
+
return ((bitField0_ & 0x00000004) != 0);
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* <pre>
|
|
849
|
+
* Linux-only
|
|
850
|
+
* </pre>
|
|
851
|
+
*
|
|
852
|
+
* <code>optional string ip_address = 3;</code>
|
|
853
|
+
* @return The ipAddress.
|
|
854
|
+
*/
|
|
855
|
+
public java.lang.String getIpAddress() {
|
|
856
|
+
java.lang.Object ref = ipAddress_;
|
|
857
|
+
if (!(ref instanceof java.lang.String)) {
|
|
858
|
+
com.google.protobuf.ByteString bs =
|
|
859
|
+
(com.google.protobuf.ByteString) ref;
|
|
860
|
+
java.lang.String s = bs.toStringUtf8();
|
|
861
|
+
ipAddress_ = s;
|
|
862
|
+
return s;
|
|
863
|
+
} else {
|
|
864
|
+
return (java.lang.String) ref;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* <pre>
|
|
869
|
+
* Linux-only
|
|
870
|
+
* </pre>
|
|
871
|
+
*
|
|
872
|
+
* <code>optional string ip_address = 3;</code>
|
|
873
|
+
* @return The bytes for ipAddress.
|
|
874
|
+
*/
|
|
875
|
+
public com.google.protobuf.ByteString
|
|
876
|
+
getIpAddressBytes() {
|
|
877
|
+
java.lang.Object ref = ipAddress_;
|
|
878
|
+
if (ref instanceof String) {
|
|
879
|
+
com.google.protobuf.ByteString b =
|
|
880
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
881
|
+
(java.lang.String) ref);
|
|
882
|
+
ipAddress_ = b;
|
|
883
|
+
return b;
|
|
884
|
+
} else {
|
|
885
|
+
return (com.google.protobuf.ByteString) ref;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* <pre>
|
|
890
|
+
* Linux-only
|
|
891
|
+
* </pre>
|
|
892
|
+
*
|
|
893
|
+
* <code>optional string ip_address = 3;</code>
|
|
894
|
+
* @param value The ipAddress to set.
|
|
895
|
+
* @return This builder for chaining.
|
|
896
|
+
*/
|
|
897
|
+
public Builder setIpAddress(
|
|
898
|
+
java.lang.String value) {
|
|
899
|
+
if (value == null) { throw new NullPointerException(); }
|
|
900
|
+
ipAddress_ = value;
|
|
901
|
+
bitField0_ |= 0x00000004;
|
|
902
|
+
onChanged();
|
|
903
|
+
return this;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* <pre>
|
|
907
|
+
* Linux-only
|
|
908
|
+
* </pre>
|
|
909
|
+
*
|
|
910
|
+
* <code>optional string ip_address = 3;</code>
|
|
911
|
+
* @return This builder for chaining.
|
|
912
|
+
*/
|
|
913
|
+
public Builder clearIpAddress() {
|
|
914
|
+
ipAddress_ = getDefaultInstance().getIpAddress();
|
|
915
|
+
bitField0_ = (bitField0_ & ~0x00000004);
|
|
916
|
+
onChanged();
|
|
917
|
+
return this;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* <pre>
|
|
921
|
+
* Linux-only
|
|
922
|
+
* </pre>
|
|
923
|
+
*
|
|
924
|
+
* <code>optional string ip_address = 3;</code>
|
|
925
|
+
* @param value The bytes for ipAddress to set.
|
|
926
|
+
* @return This builder for chaining.
|
|
927
|
+
*/
|
|
928
|
+
public Builder setIpAddressBytes(
|
|
929
|
+
com.google.protobuf.ByteString value) {
|
|
930
|
+
if (value == null) { throw new NullPointerException(); }
|
|
931
|
+
checkByteStringIsUtf8(value);
|
|
932
|
+
ipAddress_ = value;
|
|
933
|
+
bitField0_ |= 0x00000004;
|
|
934
|
+
onChanged();
|
|
935
|
+
return this;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
private com.google.protobuf.Timestamp logonTime_;
|
|
939
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
940
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> logonTimeBuilder_;
|
|
941
|
+
/**
|
|
942
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
943
|
+
* @return Whether the logonTime field is set.
|
|
944
|
+
*/
|
|
945
|
+
public boolean hasLogonTime() {
|
|
946
|
+
return ((bitField0_ & 0x00000008) != 0);
|
|
947
|
+
}
|
|
948
|
+
/**
|
|
949
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
950
|
+
* @return The logonTime.
|
|
951
|
+
*/
|
|
952
|
+
public com.google.protobuf.Timestamp getLogonTime() {
|
|
953
|
+
if (logonTimeBuilder_ == null) {
|
|
954
|
+
return logonTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : logonTime_;
|
|
955
|
+
} else {
|
|
956
|
+
return logonTimeBuilder_.getMessage();
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
961
|
+
*/
|
|
962
|
+
public Builder setLogonTime(com.google.protobuf.Timestamp value) {
|
|
963
|
+
if (logonTimeBuilder_ == null) {
|
|
964
|
+
if (value == null) {
|
|
965
|
+
throw new NullPointerException();
|
|
966
|
+
}
|
|
967
|
+
logonTime_ = value;
|
|
968
|
+
} else {
|
|
969
|
+
logonTimeBuilder_.setMessage(value);
|
|
970
|
+
}
|
|
971
|
+
bitField0_ |= 0x00000008;
|
|
972
|
+
onChanged();
|
|
973
|
+
return this;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
977
|
+
*/
|
|
978
|
+
public Builder setLogonTime(
|
|
979
|
+
com.google.protobuf.Timestamp.Builder builderForValue) {
|
|
980
|
+
if (logonTimeBuilder_ == null) {
|
|
981
|
+
logonTime_ = builderForValue.build();
|
|
982
|
+
} else {
|
|
983
|
+
logonTimeBuilder_.setMessage(builderForValue.build());
|
|
984
|
+
}
|
|
985
|
+
bitField0_ |= 0x00000008;
|
|
986
|
+
onChanged();
|
|
987
|
+
return this;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
991
|
+
*/
|
|
992
|
+
public Builder mergeLogonTime(com.google.protobuf.Timestamp value) {
|
|
993
|
+
if (logonTimeBuilder_ == null) {
|
|
994
|
+
if (((bitField0_ & 0x00000008) != 0) &&
|
|
995
|
+
logonTime_ != null &&
|
|
996
|
+
logonTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
|
|
997
|
+
getLogonTimeBuilder().mergeFrom(value);
|
|
998
|
+
} else {
|
|
999
|
+
logonTime_ = value;
|
|
1000
|
+
}
|
|
1001
|
+
} else {
|
|
1002
|
+
logonTimeBuilder_.mergeFrom(value);
|
|
1003
|
+
}
|
|
1004
|
+
if (logonTime_ != null) {
|
|
1005
|
+
bitField0_ |= 0x00000008;
|
|
1006
|
+
onChanged();
|
|
1007
|
+
}
|
|
1008
|
+
return this;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
1012
|
+
*/
|
|
1013
|
+
public Builder clearLogonTime() {
|
|
1014
|
+
bitField0_ = (bitField0_ & ~0x00000008);
|
|
1015
|
+
logonTime_ = null;
|
|
1016
|
+
if (logonTimeBuilder_ != null) {
|
|
1017
|
+
logonTimeBuilder_.dispose();
|
|
1018
|
+
logonTimeBuilder_ = null;
|
|
1019
|
+
}
|
|
1020
|
+
onChanged();
|
|
1021
|
+
return this;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
1025
|
+
*/
|
|
1026
|
+
public com.google.protobuf.Timestamp.Builder getLogonTimeBuilder() {
|
|
1027
|
+
bitField0_ |= 0x00000008;
|
|
1028
|
+
onChanged();
|
|
1029
|
+
return getLogonTimeFieldBuilder().getBuilder();
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
1033
|
+
*/
|
|
1034
|
+
public com.google.protobuf.TimestampOrBuilder getLogonTimeOrBuilder() {
|
|
1035
|
+
if (logonTimeBuilder_ != null) {
|
|
1036
|
+
return logonTimeBuilder_.getMessageOrBuilder();
|
|
1037
|
+
} else {
|
|
1038
|
+
return logonTime_ == null ?
|
|
1039
|
+
com.google.protobuf.Timestamp.getDefaultInstance() : logonTime_;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* <code>optional .google.protobuf.Timestamp logon_time = 4;</code>
|
|
1044
|
+
*/
|
|
1045
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
1046
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
|
|
1047
|
+
getLogonTimeFieldBuilder() {
|
|
1048
|
+
if (logonTimeBuilder_ == null) {
|
|
1049
|
+
logonTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
1050
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
|
|
1051
|
+
getLogonTime(),
|
|
1052
|
+
getParentForChildren(),
|
|
1053
|
+
isClean());
|
|
1054
|
+
logonTime_ = null;
|
|
1055
|
+
}
|
|
1056
|
+
return logonTimeBuilder_;
|
|
1057
|
+
}
|
|
1058
|
+
@java.lang.Override
|
|
1059
|
+
public final Builder setUnknownFields(
|
|
1060
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1061
|
+
return super.setUnknownFields(unknownFields);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
@java.lang.Override
|
|
1065
|
+
public final Builder mergeUnknownFields(
|
|
1066
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
1067
|
+
return super.mergeUnknownFields(unknownFields);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.UserLogon)
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.UserLogon)
|
|
1075
|
+
private static final com.lansweeper.dp.outbound.v1.UserLogon DEFAULT_INSTANCE;
|
|
1076
|
+
static {
|
|
1077
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.UserLogon();
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
public static com.lansweeper.dp.outbound.v1.UserLogon getDefaultInstance() {
|
|
1081
|
+
return DEFAULT_INSTANCE;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
private static final com.google.protobuf.Parser<UserLogon>
|
|
1085
|
+
PARSER = new com.google.protobuf.AbstractParser<UserLogon>() {
|
|
1086
|
+
@java.lang.Override
|
|
1087
|
+
public UserLogon parsePartialFrom(
|
|
1088
|
+
com.google.protobuf.CodedInputStream input,
|
|
1089
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
1090
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
1091
|
+
Builder builder = newBuilder();
|
|
1092
|
+
try {
|
|
1093
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
1094
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
1095
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
1096
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
1097
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
1098
|
+
} catch (java.io.IOException e) {
|
|
1099
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
1100
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
1101
|
+
}
|
|
1102
|
+
return builder.buildPartial();
|
|
1103
|
+
}
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
public static com.google.protobuf.Parser<UserLogon> parser() {
|
|
1107
|
+
return PARSER;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
@java.lang.Override
|
|
1111
|
+
public com.google.protobuf.Parser<UserLogon> getParserForType() {
|
|
1112
|
+
return PARSER;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
@java.lang.Override
|
|
1116
|
+
public com.lansweeper.dp.outbound.v1.UserLogon getDefaultInstanceForType() {
|
|
1117
|
+
return DEFAULT_INSTANCE;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
}
|
|
1121
|
+
|