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