@lansweeper/data-platform-outbound-grpc 0.10.3 → 0.10.4
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 +4 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +31 -0
- package/gen-proto/outbound_pb.js +265 -2
- package/generated-go/outbound.pb.go +3451 -3354
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +8 -1
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKeyOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +8 -1
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +391 -18
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +36 -6
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKey.java +735 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BitLockerRecoveryKeyOrBuilder.java +37 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +968 -952
- 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.10.2-sources.jar → outbound-model-0.10.3-sources.jar} +0 -0
- package/model/target/{outbound-model-0.10.2.jar → outbound-model-0.10.3.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +8 -1
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.10.2-sources.jar → outbound-service-0.10.3-sources.jar} +0 -0
- package/service/target/{outbound-service-0.10.2.jar → outbound-service-0.10.3.jar} +0 -0
|
@@ -0,0 +1,735 @@
|
|
|
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.BitLockerRecoveryKey}
|
|
9
|
+
*/
|
|
10
|
+
public final class BitLockerRecoveryKey extends
|
|
11
|
+
com.google.protobuf.GeneratedMessageV3 implements
|
|
12
|
+
// @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)
|
|
13
|
+
BitLockerRecoveryKeyOrBuilder {
|
|
14
|
+
private static final long serialVersionUID = 0L;
|
|
15
|
+
// Use BitLockerRecoveryKey.newBuilder() to construct.
|
|
16
|
+
private BitLockerRecoveryKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
17
|
+
super(builder);
|
|
18
|
+
}
|
|
19
|
+
private BitLockerRecoveryKey() {
|
|
20
|
+
recoveryKey_ = "";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@java.lang.Override
|
|
24
|
+
@SuppressWarnings({"unused"})
|
|
25
|
+
protected java.lang.Object newInstance(
|
|
26
|
+
UnusedPrivateParameter unused) {
|
|
27
|
+
return new BitLockerRecoveryKey();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
31
|
+
getDescriptor() {
|
|
32
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_BitLockerRecoveryKey_descriptor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@java.lang.Override
|
|
36
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
37
|
+
internalGetFieldAccessorTable() {
|
|
38
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_BitLockerRecoveryKey_fieldAccessorTable
|
|
39
|
+
.ensureFieldAccessorsInitialized(
|
|
40
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.class, com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.Builder.class);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
private int bitField0_;
|
|
44
|
+
public static final int RECOVERY_KEY_FIELD_NUMBER = 1;
|
|
45
|
+
@SuppressWarnings("serial")
|
|
46
|
+
private volatile java.lang.Object recoveryKey_ = "";
|
|
47
|
+
/**
|
|
48
|
+
* <code>string recovery_key = 1;</code>
|
|
49
|
+
* @return The recoveryKey.
|
|
50
|
+
*/
|
|
51
|
+
@java.lang.Override
|
|
52
|
+
public java.lang.String getRecoveryKey() {
|
|
53
|
+
java.lang.Object ref = recoveryKey_;
|
|
54
|
+
if (ref instanceof java.lang.String) {
|
|
55
|
+
return (java.lang.String) ref;
|
|
56
|
+
} else {
|
|
57
|
+
com.google.protobuf.ByteString bs =
|
|
58
|
+
(com.google.protobuf.ByteString) ref;
|
|
59
|
+
java.lang.String s = bs.toStringUtf8();
|
|
60
|
+
recoveryKey_ = s;
|
|
61
|
+
return s;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <code>string recovery_key = 1;</code>
|
|
66
|
+
* @return The bytes for recoveryKey.
|
|
67
|
+
*/
|
|
68
|
+
@java.lang.Override
|
|
69
|
+
public com.google.protobuf.ByteString
|
|
70
|
+
getRecoveryKeyBytes() {
|
|
71
|
+
java.lang.Object ref = recoveryKey_;
|
|
72
|
+
if (ref instanceof java.lang.String) {
|
|
73
|
+
com.google.protobuf.ByteString b =
|
|
74
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
75
|
+
(java.lang.String) ref);
|
|
76
|
+
recoveryKey_ = b;
|
|
77
|
+
return b;
|
|
78
|
+
} else {
|
|
79
|
+
return (com.google.protobuf.ByteString) ref;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public static final int LAST_CHANGED_FIELD_NUMBER = 2;
|
|
84
|
+
private com.google.protobuf.Timestamp lastChanged_;
|
|
85
|
+
/**
|
|
86
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
87
|
+
* @return Whether the lastChanged field is set.
|
|
88
|
+
*/
|
|
89
|
+
@java.lang.Override
|
|
90
|
+
public boolean hasLastChanged() {
|
|
91
|
+
return ((bitField0_ & 0x00000001) != 0);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
95
|
+
* @return The lastChanged.
|
|
96
|
+
*/
|
|
97
|
+
@java.lang.Override
|
|
98
|
+
public com.google.protobuf.Timestamp getLastChanged() {
|
|
99
|
+
return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
103
|
+
*/
|
|
104
|
+
@java.lang.Override
|
|
105
|
+
public com.google.protobuf.TimestampOrBuilder getLastChangedOrBuilder() {
|
|
106
|
+
return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
private byte memoizedIsInitialized = -1;
|
|
110
|
+
@java.lang.Override
|
|
111
|
+
public final boolean isInitialized() {
|
|
112
|
+
byte isInitialized = memoizedIsInitialized;
|
|
113
|
+
if (isInitialized == 1) return true;
|
|
114
|
+
if (isInitialized == 0) return false;
|
|
115
|
+
|
|
116
|
+
memoizedIsInitialized = 1;
|
|
117
|
+
return true;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@java.lang.Override
|
|
121
|
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
122
|
+
throws java.io.IOException {
|
|
123
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recoveryKey_)) {
|
|
124
|
+
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recoveryKey_);
|
|
125
|
+
}
|
|
126
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
127
|
+
output.writeMessage(2, getLastChanged());
|
|
128
|
+
}
|
|
129
|
+
getUnknownFields().writeTo(output);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@java.lang.Override
|
|
133
|
+
public int getSerializedSize() {
|
|
134
|
+
int size = memoizedSize;
|
|
135
|
+
if (size != -1) return size;
|
|
136
|
+
|
|
137
|
+
size = 0;
|
|
138
|
+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recoveryKey_)) {
|
|
139
|
+
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, recoveryKey_);
|
|
140
|
+
}
|
|
141
|
+
if (((bitField0_ & 0x00000001) != 0)) {
|
|
142
|
+
size += com.google.protobuf.CodedOutputStream
|
|
143
|
+
.computeMessageSize(2, getLastChanged());
|
|
144
|
+
}
|
|
145
|
+
size += getUnknownFields().getSerializedSize();
|
|
146
|
+
memoizedSize = size;
|
|
147
|
+
return size;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@java.lang.Override
|
|
151
|
+
public boolean equals(final java.lang.Object obj) {
|
|
152
|
+
if (obj == this) {
|
|
153
|
+
return true;
|
|
154
|
+
}
|
|
155
|
+
if (!(obj instanceof com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)) {
|
|
156
|
+
return super.equals(obj);
|
|
157
|
+
}
|
|
158
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey other = (com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey) obj;
|
|
159
|
+
|
|
160
|
+
if (!getRecoveryKey()
|
|
161
|
+
.equals(other.getRecoveryKey())) return false;
|
|
162
|
+
if (hasLastChanged() != other.hasLastChanged()) return false;
|
|
163
|
+
if (hasLastChanged()) {
|
|
164
|
+
if (!getLastChanged()
|
|
165
|
+
.equals(other.getLastChanged())) return false;
|
|
166
|
+
}
|
|
167
|
+
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
168
|
+
return true;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@java.lang.Override
|
|
172
|
+
public int hashCode() {
|
|
173
|
+
if (memoizedHashCode != 0) {
|
|
174
|
+
return memoizedHashCode;
|
|
175
|
+
}
|
|
176
|
+
int hash = 41;
|
|
177
|
+
hash = (19 * hash) + getDescriptor().hashCode();
|
|
178
|
+
hash = (37 * hash) + RECOVERY_KEY_FIELD_NUMBER;
|
|
179
|
+
hash = (53 * hash) + getRecoveryKey().hashCode();
|
|
180
|
+
if (hasLastChanged()) {
|
|
181
|
+
hash = (37 * hash) + LAST_CHANGED_FIELD_NUMBER;
|
|
182
|
+
hash = (53 * hash) + getLastChanged().hashCode();
|
|
183
|
+
}
|
|
184
|
+
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
185
|
+
memoizedHashCode = hash;
|
|
186
|
+
return hash;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
190
|
+
java.nio.ByteBuffer data)
|
|
191
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
192
|
+
return PARSER.parseFrom(data);
|
|
193
|
+
}
|
|
194
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
195
|
+
java.nio.ByteBuffer data,
|
|
196
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
197
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
198
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
199
|
+
}
|
|
200
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
201
|
+
com.google.protobuf.ByteString data)
|
|
202
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
203
|
+
return PARSER.parseFrom(data);
|
|
204
|
+
}
|
|
205
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
206
|
+
com.google.protobuf.ByteString data,
|
|
207
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
208
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
209
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
210
|
+
}
|
|
211
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(byte[] data)
|
|
212
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
213
|
+
return PARSER.parseFrom(data);
|
|
214
|
+
}
|
|
215
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
216
|
+
byte[] data,
|
|
217
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
218
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
219
|
+
return PARSER.parseFrom(data, extensionRegistry);
|
|
220
|
+
}
|
|
221
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(java.io.InputStream input)
|
|
222
|
+
throws java.io.IOException {
|
|
223
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
224
|
+
.parseWithIOException(PARSER, input);
|
|
225
|
+
}
|
|
226
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
227
|
+
java.io.InputStream input,
|
|
228
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
229
|
+
throws java.io.IOException {
|
|
230
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
231
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseDelimitedFrom(java.io.InputStream input)
|
|
235
|
+
throws java.io.IOException {
|
|
236
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
237
|
+
.parseDelimitedWithIOException(PARSER, input);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseDelimitedFrom(
|
|
241
|
+
java.io.InputStream input,
|
|
242
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
243
|
+
throws java.io.IOException {
|
|
244
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
245
|
+
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
246
|
+
}
|
|
247
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
248
|
+
com.google.protobuf.CodedInputStream input)
|
|
249
|
+
throws java.io.IOException {
|
|
250
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
251
|
+
.parseWithIOException(PARSER, input);
|
|
252
|
+
}
|
|
253
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey parseFrom(
|
|
254
|
+
com.google.protobuf.CodedInputStream input,
|
|
255
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
256
|
+
throws java.io.IOException {
|
|
257
|
+
return com.google.protobuf.GeneratedMessageV3
|
|
258
|
+
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@java.lang.Override
|
|
262
|
+
public Builder newBuilderForType() { return newBuilder(); }
|
|
263
|
+
public static Builder newBuilder() {
|
|
264
|
+
return DEFAULT_INSTANCE.toBuilder();
|
|
265
|
+
}
|
|
266
|
+
public static Builder newBuilder(com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey prototype) {
|
|
267
|
+
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
268
|
+
}
|
|
269
|
+
@java.lang.Override
|
|
270
|
+
public Builder toBuilder() {
|
|
271
|
+
return this == DEFAULT_INSTANCE
|
|
272
|
+
? new Builder() : new Builder().mergeFrom(this);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
@java.lang.Override
|
|
276
|
+
protected Builder newBuilderForType(
|
|
277
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
278
|
+
Builder builder = new Builder(parent);
|
|
279
|
+
return builder;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Protobuf type {@code com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey}
|
|
283
|
+
*/
|
|
284
|
+
public static final class Builder extends
|
|
285
|
+
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
286
|
+
// @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)
|
|
287
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKeyOrBuilder {
|
|
288
|
+
public static final com.google.protobuf.Descriptors.Descriptor
|
|
289
|
+
getDescriptor() {
|
|
290
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_BitLockerRecoveryKey_descriptor;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@java.lang.Override
|
|
294
|
+
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
295
|
+
internalGetFieldAccessorTable() {
|
|
296
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_BitLockerRecoveryKey_fieldAccessorTable
|
|
297
|
+
.ensureFieldAccessorsInitialized(
|
|
298
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.class, com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.Builder.class);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// Construct using com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.newBuilder()
|
|
302
|
+
private Builder() {
|
|
303
|
+
maybeForceBuilderInitialization();
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
private Builder(
|
|
307
|
+
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
308
|
+
super(parent);
|
|
309
|
+
maybeForceBuilderInitialization();
|
|
310
|
+
}
|
|
311
|
+
private void maybeForceBuilderInitialization() {
|
|
312
|
+
if (com.google.protobuf.GeneratedMessageV3
|
|
313
|
+
.alwaysUseFieldBuilders) {
|
|
314
|
+
getLastChangedFieldBuilder();
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
@java.lang.Override
|
|
318
|
+
public Builder clear() {
|
|
319
|
+
super.clear();
|
|
320
|
+
bitField0_ = 0;
|
|
321
|
+
recoveryKey_ = "";
|
|
322
|
+
lastChanged_ = null;
|
|
323
|
+
if (lastChangedBuilder_ != null) {
|
|
324
|
+
lastChangedBuilder_.dispose();
|
|
325
|
+
lastChangedBuilder_ = null;
|
|
326
|
+
}
|
|
327
|
+
return this;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
@java.lang.Override
|
|
331
|
+
public com.google.protobuf.Descriptors.Descriptor
|
|
332
|
+
getDescriptorForType() {
|
|
333
|
+
return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_BitLockerRecoveryKey_descriptor;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@java.lang.Override
|
|
337
|
+
public com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey getDefaultInstanceForType() {
|
|
338
|
+
return com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.getDefaultInstance();
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@java.lang.Override
|
|
342
|
+
public com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey build() {
|
|
343
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey result = buildPartial();
|
|
344
|
+
if (!result.isInitialized()) {
|
|
345
|
+
throw newUninitializedMessageException(result);
|
|
346
|
+
}
|
|
347
|
+
return result;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
@java.lang.Override
|
|
351
|
+
public com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey buildPartial() {
|
|
352
|
+
com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey result = new com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey(this);
|
|
353
|
+
if (bitField0_ != 0) { buildPartial0(result); }
|
|
354
|
+
onBuilt();
|
|
355
|
+
return result;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
private void buildPartial0(com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey result) {
|
|
359
|
+
int from_bitField0_ = bitField0_;
|
|
360
|
+
if (((from_bitField0_ & 0x00000001) != 0)) {
|
|
361
|
+
result.recoveryKey_ = recoveryKey_;
|
|
362
|
+
}
|
|
363
|
+
int to_bitField0_ = 0;
|
|
364
|
+
if (((from_bitField0_ & 0x00000002) != 0)) {
|
|
365
|
+
result.lastChanged_ = lastChangedBuilder_ == null
|
|
366
|
+
? lastChanged_
|
|
367
|
+
: lastChangedBuilder_.build();
|
|
368
|
+
to_bitField0_ |= 0x00000001;
|
|
369
|
+
}
|
|
370
|
+
result.bitField0_ |= to_bitField0_;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
@java.lang.Override
|
|
374
|
+
public Builder clone() {
|
|
375
|
+
return super.clone();
|
|
376
|
+
}
|
|
377
|
+
@java.lang.Override
|
|
378
|
+
public Builder setField(
|
|
379
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
380
|
+
java.lang.Object value) {
|
|
381
|
+
return super.setField(field, value);
|
|
382
|
+
}
|
|
383
|
+
@java.lang.Override
|
|
384
|
+
public Builder clearField(
|
|
385
|
+
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
386
|
+
return super.clearField(field);
|
|
387
|
+
}
|
|
388
|
+
@java.lang.Override
|
|
389
|
+
public Builder clearOneof(
|
|
390
|
+
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
391
|
+
return super.clearOneof(oneof);
|
|
392
|
+
}
|
|
393
|
+
@java.lang.Override
|
|
394
|
+
public Builder setRepeatedField(
|
|
395
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
396
|
+
int index, java.lang.Object value) {
|
|
397
|
+
return super.setRepeatedField(field, index, value);
|
|
398
|
+
}
|
|
399
|
+
@java.lang.Override
|
|
400
|
+
public Builder addRepeatedField(
|
|
401
|
+
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
402
|
+
java.lang.Object value) {
|
|
403
|
+
return super.addRepeatedField(field, value);
|
|
404
|
+
}
|
|
405
|
+
@java.lang.Override
|
|
406
|
+
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
407
|
+
if (other instanceof com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey) {
|
|
408
|
+
return mergeFrom((com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)other);
|
|
409
|
+
} else {
|
|
410
|
+
super.mergeFrom(other);
|
|
411
|
+
return this;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
public Builder mergeFrom(com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey other) {
|
|
416
|
+
if (other == com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey.getDefaultInstance()) return this;
|
|
417
|
+
if (!other.getRecoveryKey().isEmpty()) {
|
|
418
|
+
recoveryKey_ = other.recoveryKey_;
|
|
419
|
+
bitField0_ |= 0x00000001;
|
|
420
|
+
onChanged();
|
|
421
|
+
}
|
|
422
|
+
if (other.hasLastChanged()) {
|
|
423
|
+
mergeLastChanged(other.getLastChanged());
|
|
424
|
+
}
|
|
425
|
+
this.mergeUnknownFields(other.getUnknownFields());
|
|
426
|
+
onChanged();
|
|
427
|
+
return this;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
@java.lang.Override
|
|
431
|
+
public final boolean isInitialized() {
|
|
432
|
+
return true;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
@java.lang.Override
|
|
436
|
+
public Builder mergeFrom(
|
|
437
|
+
com.google.protobuf.CodedInputStream input,
|
|
438
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
439
|
+
throws java.io.IOException {
|
|
440
|
+
if (extensionRegistry == null) {
|
|
441
|
+
throw new java.lang.NullPointerException();
|
|
442
|
+
}
|
|
443
|
+
try {
|
|
444
|
+
boolean done = false;
|
|
445
|
+
while (!done) {
|
|
446
|
+
int tag = input.readTag();
|
|
447
|
+
switch (tag) {
|
|
448
|
+
case 0:
|
|
449
|
+
done = true;
|
|
450
|
+
break;
|
|
451
|
+
case 10: {
|
|
452
|
+
recoveryKey_ = input.readStringRequireUtf8();
|
|
453
|
+
bitField0_ |= 0x00000001;
|
|
454
|
+
break;
|
|
455
|
+
} // case 10
|
|
456
|
+
case 18: {
|
|
457
|
+
input.readMessage(
|
|
458
|
+
getLastChangedFieldBuilder().getBuilder(),
|
|
459
|
+
extensionRegistry);
|
|
460
|
+
bitField0_ |= 0x00000002;
|
|
461
|
+
break;
|
|
462
|
+
} // case 18
|
|
463
|
+
default: {
|
|
464
|
+
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
465
|
+
done = true; // was an endgroup tag
|
|
466
|
+
}
|
|
467
|
+
break;
|
|
468
|
+
} // default:
|
|
469
|
+
} // switch (tag)
|
|
470
|
+
} // while (!done)
|
|
471
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
472
|
+
throw e.unwrapIOException();
|
|
473
|
+
} finally {
|
|
474
|
+
onChanged();
|
|
475
|
+
} // finally
|
|
476
|
+
return this;
|
|
477
|
+
}
|
|
478
|
+
private int bitField0_;
|
|
479
|
+
|
|
480
|
+
private java.lang.Object recoveryKey_ = "";
|
|
481
|
+
/**
|
|
482
|
+
* <code>string recovery_key = 1;</code>
|
|
483
|
+
* @return The recoveryKey.
|
|
484
|
+
*/
|
|
485
|
+
public java.lang.String getRecoveryKey() {
|
|
486
|
+
java.lang.Object ref = recoveryKey_;
|
|
487
|
+
if (!(ref instanceof java.lang.String)) {
|
|
488
|
+
com.google.protobuf.ByteString bs =
|
|
489
|
+
(com.google.protobuf.ByteString) ref;
|
|
490
|
+
java.lang.String s = bs.toStringUtf8();
|
|
491
|
+
recoveryKey_ = s;
|
|
492
|
+
return s;
|
|
493
|
+
} else {
|
|
494
|
+
return (java.lang.String) ref;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* <code>string recovery_key = 1;</code>
|
|
499
|
+
* @return The bytes for recoveryKey.
|
|
500
|
+
*/
|
|
501
|
+
public com.google.protobuf.ByteString
|
|
502
|
+
getRecoveryKeyBytes() {
|
|
503
|
+
java.lang.Object ref = recoveryKey_;
|
|
504
|
+
if (ref instanceof String) {
|
|
505
|
+
com.google.protobuf.ByteString b =
|
|
506
|
+
com.google.protobuf.ByteString.copyFromUtf8(
|
|
507
|
+
(java.lang.String) ref);
|
|
508
|
+
recoveryKey_ = b;
|
|
509
|
+
return b;
|
|
510
|
+
} else {
|
|
511
|
+
return (com.google.protobuf.ByteString) ref;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* <code>string recovery_key = 1;</code>
|
|
516
|
+
* @param value The recoveryKey to set.
|
|
517
|
+
* @return This builder for chaining.
|
|
518
|
+
*/
|
|
519
|
+
public Builder setRecoveryKey(
|
|
520
|
+
java.lang.String value) {
|
|
521
|
+
if (value == null) { throw new NullPointerException(); }
|
|
522
|
+
recoveryKey_ = value;
|
|
523
|
+
bitField0_ |= 0x00000001;
|
|
524
|
+
onChanged();
|
|
525
|
+
return this;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* <code>string recovery_key = 1;</code>
|
|
529
|
+
* @return This builder for chaining.
|
|
530
|
+
*/
|
|
531
|
+
public Builder clearRecoveryKey() {
|
|
532
|
+
recoveryKey_ = getDefaultInstance().getRecoveryKey();
|
|
533
|
+
bitField0_ = (bitField0_ & ~0x00000001);
|
|
534
|
+
onChanged();
|
|
535
|
+
return this;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* <code>string recovery_key = 1;</code>
|
|
539
|
+
* @param value The bytes for recoveryKey to set.
|
|
540
|
+
* @return This builder for chaining.
|
|
541
|
+
*/
|
|
542
|
+
public Builder setRecoveryKeyBytes(
|
|
543
|
+
com.google.protobuf.ByteString value) {
|
|
544
|
+
if (value == null) { throw new NullPointerException(); }
|
|
545
|
+
checkByteStringIsUtf8(value);
|
|
546
|
+
recoveryKey_ = value;
|
|
547
|
+
bitField0_ |= 0x00000001;
|
|
548
|
+
onChanged();
|
|
549
|
+
return this;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
private com.google.protobuf.Timestamp lastChanged_;
|
|
553
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
554
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastChangedBuilder_;
|
|
555
|
+
/**
|
|
556
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
557
|
+
* @return Whether the lastChanged field is set.
|
|
558
|
+
*/
|
|
559
|
+
public boolean hasLastChanged() {
|
|
560
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
564
|
+
* @return The lastChanged.
|
|
565
|
+
*/
|
|
566
|
+
public com.google.protobuf.Timestamp getLastChanged() {
|
|
567
|
+
if (lastChangedBuilder_ == null) {
|
|
568
|
+
return lastChanged_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
|
|
569
|
+
} else {
|
|
570
|
+
return lastChangedBuilder_.getMessage();
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
575
|
+
*/
|
|
576
|
+
public Builder setLastChanged(com.google.protobuf.Timestamp value) {
|
|
577
|
+
if (lastChangedBuilder_ == null) {
|
|
578
|
+
if (value == null) {
|
|
579
|
+
throw new NullPointerException();
|
|
580
|
+
}
|
|
581
|
+
lastChanged_ = value;
|
|
582
|
+
} else {
|
|
583
|
+
lastChangedBuilder_.setMessage(value);
|
|
584
|
+
}
|
|
585
|
+
bitField0_ |= 0x00000002;
|
|
586
|
+
onChanged();
|
|
587
|
+
return this;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
591
|
+
*/
|
|
592
|
+
public Builder setLastChanged(
|
|
593
|
+
com.google.protobuf.Timestamp.Builder builderForValue) {
|
|
594
|
+
if (lastChangedBuilder_ == null) {
|
|
595
|
+
lastChanged_ = builderForValue.build();
|
|
596
|
+
} else {
|
|
597
|
+
lastChangedBuilder_.setMessage(builderForValue.build());
|
|
598
|
+
}
|
|
599
|
+
bitField0_ |= 0x00000002;
|
|
600
|
+
onChanged();
|
|
601
|
+
return this;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
605
|
+
*/
|
|
606
|
+
public Builder mergeLastChanged(com.google.protobuf.Timestamp value) {
|
|
607
|
+
if (lastChangedBuilder_ == null) {
|
|
608
|
+
if (((bitField0_ & 0x00000002) != 0) &&
|
|
609
|
+
lastChanged_ != null &&
|
|
610
|
+
lastChanged_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
|
|
611
|
+
getLastChangedBuilder().mergeFrom(value);
|
|
612
|
+
} else {
|
|
613
|
+
lastChanged_ = value;
|
|
614
|
+
}
|
|
615
|
+
} else {
|
|
616
|
+
lastChangedBuilder_.mergeFrom(value);
|
|
617
|
+
}
|
|
618
|
+
if (lastChanged_ != null) {
|
|
619
|
+
bitField0_ |= 0x00000002;
|
|
620
|
+
onChanged();
|
|
621
|
+
}
|
|
622
|
+
return this;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
626
|
+
*/
|
|
627
|
+
public Builder clearLastChanged() {
|
|
628
|
+
bitField0_ = (bitField0_ & ~0x00000002);
|
|
629
|
+
lastChanged_ = null;
|
|
630
|
+
if (lastChangedBuilder_ != null) {
|
|
631
|
+
lastChangedBuilder_.dispose();
|
|
632
|
+
lastChangedBuilder_ = null;
|
|
633
|
+
}
|
|
634
|
+
onChanged();
|
|
635
|
+
return this;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
639
|
+
*/
|
|
640
|
+
public com.google.protobuf.Timestamp.Builder getLastChangedBuilder() {
|
|
641
|
+
bitField0_ |= 0x00000002;
|
|
642
|
+
onChanged();
|
|
643
|
+
return getLastChangedFieldBuilder().getBuilder();
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
647
|
+
*/
|
|
648
|
+
public com.google.protobuf.TimestampOrBuilder getLastChangedOrBuilder() {
|
|
649
|
+
if (lastChangedBuilder_ != null) {
|
|
650
|
+
return lastChangedBuilder_.getMessageOrBuilder();
|
|
651
|
+
} else {
|
|
652
|
+
return lastChanged_ == null ?
|
|
653
|
+
com.google.protobuf.Timestamp.getDefaultInstance() : lastChanged_;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* <code>optional .google.protobuf.Timestamp last_changed = 2;</code>
|
|
658
|
+
*/
|
|
659
|
+
private com.google.protobuf.SingleFieldBuilderV3<
|
|
660
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
|
|
661
|
+
getLastChangedFieldBuilder() {
|
|
662
|
+
if (lastChangedBuilder_ == null) {
|
|
663
|
+
lastChangedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
664
|
+
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
|
|
665
|
+
getLastChanged(),
|
|
666
|
+
getParentForChildren(),
|
|
667
|
+
isClean());
|
|
668
|
+
lastChanged_ = null;
|
|
669
|
+
}
|
|
670
|
+
return lastChangedBuilder_;
|
|
671
|
+
}
|
|
672
|
+
@java.lang.Override
|
|
673
|
+
public final Builder setUnknownFields(
|
|
674
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
675
|
+
return super.setUnknownFields(unknownFields);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
@java.lang.Override
|
|
679
|
+
public final Builder mergeUnknownFields(
|
|
680
|
+
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
681
|
+
return super.mergeUnknownFields(unknownFields);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
// @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
// @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey)
|
|
689
|
+
private static final com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey DEFAULT_INSTANCE;
|
|
690
|
+
static {
|
|
691
|
+
DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey();
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
public static com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey getDefaultInstance() {
|
|
695
|
+
return DEFAULT_INSTANCE;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
private static final com.google.protobuf.Parser<BitLockerRecoveryKey>
|
|
699
|
+
PARSER = new com.google.protobuf.AbstractParser<BitLockerRecoveryKey>() {
|
|
700
|
+
@java.lang.Override
|
|
701
|
+
public BitLockerRecoveryKey parsePartialFrom(
|
|
702
|
+
com.google.protobuf.CodedInputStream input,
|
|
703
|
+
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
704
|
+
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
705
|
+
Builder builder = newBuilder();
|
|
706
|
+
try {
|
|
707
|
+
builder.mergeFrom(input, extensionRegistry);
|
|
708
|
+
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
709
|
+
throw e.setUnfinishedMessage(builder.buildPartial());
|
|
710
|
+
} catch (com.google.protobuf.UninitializedMessageException e) {
|
|
711
|
+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
|
712
|
+
} catch (java.io.IOException e) {
|
|
713
|
+
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
|
714
|
+
.setUnfinishedMessage(builder.buildPartial());
|
|
715
|
+
}
|
|
716
|
+
return builder.buildPartial();
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
public static com.google.protobuf.Parser<BitLockerRecoveryKey> parser() {
|
|
721
|
+
return PARSER;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
@java.lang.Override
|
|
725
|
+
public com.google.protobuf.Parser<BitLockerRecoveryKey> getParserForType() {
|
|
726
|
+
return PARSER;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
@java.lang.Override
|
|
730
|
+
public com.lansweeper.dp.outbound.v1.BitLockerRecoveryKey getDefaultInstanceForType() {
|
|
731
|
+
return DEFAULT_INSTANCE;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
}
|
|
735
|
+
|