@lansweeper/data-platform-outbound-grpc 0.4.9 → 0.4.10

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