@lansweeper/data-platform-outbound-grpc 0.3.34 → 0.3.36

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 (59) hide show
  1. package/CHANGELOG.md +16 -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 +35 -0
  5. package/gen-proto/outbound_pb.d.ts +54 -0
  6. package/gen-proto/outbound_pb.js +433 -0
  7. package/generated-go/outbound.pb.go +12344 -12178
  8. package/generated-go/outbound_grpc.pb.go +42 -0
  9. package/java.json +1 -1
  10. package/model/pom.xml +1 -1
  11. package/model/src/main/proto/outbound.proto +14 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileRequest$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileRequest$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileRequest.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileRequestOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse$1.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponseOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  21. package/model/target/classes/outbound.proto +14 -0
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileRequest.java +954 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileRequestOrBuilder.java +49 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileResponse.java +633 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileResponseOrBuilder.java +33 -0
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3617 -3586
  27. package/model/target/maven-archiver/pom.properties +2 -2
  28. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +8 -0
  29. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  30. package/model/target/{outbound-model-0.3.33-sources.jar → outbound-model-0.3.35-sources.jar} +0 -0
  31. package/model/target/{outbound-model-0.3.33.jar → outbound-model-0.3.35.jar} +0 -0
  32. package/package.json +2 -2
  33. package/pom.xml +1 -1
  34. package/proto/outbound.proto +14 -0
  35. package/service/pom.xml +1 -1
  36. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$1.class +0 -0
  37. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$2.class +0 -0
  38. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$3.class +0 -0
  39. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceBaseDescriptorSupplier.class +0 -0
  40. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceBlockingStub.class +0 -0
  41. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceFileDescriptorSupplier.class +0 -0
  42. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceFutureStub.class +0 -0
  43. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceImplBase.class +0 -0
  44. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceMethodDescriptorSupplier.class +0 -0
  45. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceStub.class +0 -0
  46. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$MethodHandlers.class +0 -0
  47. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc.class +0 -0
  48. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc$DataCoreOutboundServiceImplBase.class +0 -0
  49. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc$MethodHandlers.class +0 -0
  50. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc$ReactorDataCoreOutboundServiceStub.class +0 -0
  51. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc.class +0 -0
  52. package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc.java +94 -3
  53. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.java +12 -12
  54. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc.java +45 -3
  55. package/service/target/maven-archiver/pom.properties +2 -2
  56. package/service/target/outbound-service-0.3.35-sources.jar +0 -0
  57. package/service/target/outbound-service-0.3.35.jar +0 -0
  58. package/service/target/outbound-service-0.3.33-sources.jar +0 -0
  59. package/service/target/outbound-service-0.3.33.jar +0 -0
@@ -0,0 +1,49 @@
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
+ public interface DeconcileRequestOrBuilder extends
8
+ // @@protoc_insertion_point(interface_extends:com.lansweeper.dp.outbound.v1.DeconcileRequest)
9
+ com.google.protobuf.MessageOrBuilder {
10
+
11
+ /**
12
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath master = 1;</code>
13
+ * @return Whether the master field is set.
14
+ */
15
+ boolean hasMaster();
16
+ /**
17
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath master = 1;</code>
18
+ * @return The master.
19
+ */
20
+ com.lansweeper.dp.outbound.v1.EntityPath getMaster();
21
+ /**
22
+ * <code>.com.lansweeper.dp.outbound.v1.EntityPath master = 1;</code>
23
+ */
24
+ com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getMasterOrBuilder();
25
+
26
+ /**
27
+ * <code>repeated .com.lansweeper.dp.outbound.v1.EntityPath aliases = 2;</code>
28
+ */
29
+ java.util.List<com.lansweeper.dp.outbound.v1.EntityPath>
30
+ getAliasesList();
31
+ /**
32
+ * <code>repeated .com.lansweeper.dp.outbound.v1.EntityPath aliases = 2;</code>
33
+ */
34
+ com.lansweeper.dp.outbound.v1.EntityPath getAliases(int index);
35
+ /**
36
+ * <code>repeated .com.lansweeper.dp.outbound.v1.EntityPath aliases = 2;</code>
37
+ */
38
+ int getAliasesCount();
39
+ /**
40
+ * <code>repeated .com.lansweeper.dp.outbound.v1.EntityPath aliases = 2;</code>
41
+ */
42
+ java.util.List<? extends com.lansweeper.dp.outbound.v1.EntityPathOrBuilder>
43
+ getAliasesOrBuilderList();
44
+ /**
45
+ * <code>repeated .com.lansweeper.dp.outbound.v1.EntityPath aliases = 2;</code>
46
+ */
47
+ com.lansweeper.dp.outbound.v1.EntityPathOrBuilder getAliasesOrBuilder(
48
+ int index);
49
+ }
@@ -0,0 +1,633 @@
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.DeconcileResponse}
9
+ */
10
+ public final class DeconcileResponse extends
11
+ com.google.protobuf.GeneratedMessageV3 implements
12
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.DeconcileResponse)
13
+ DeconcileResponseOrBuilder {
14
+ private static final long serialVersionUID = 0L;
15
+ // Use DeconcileResponse.newBuilder() to construct.
16
+ private DeconcileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
17
+ super(builder);
18
+ }
19
+ private DeconcileResponse() {
20
+ errorDescription_ = "";
21
+ }
22
+
23
+ @java.lang.Override
24
+ @SuppressWarnings({"unused"})
25
+ protected java.lang.Object newInstance(
26
+ UnusedPrivateParameter unused) {
27
+ return new DeconcileResponse();
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_DeconcileResponse_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_DeconcileResponse_fieldAccessorTable
39
+ .ensureFieldAccessorsInitialized(
40
+ com.lansweeper.dp.outbound.v1.DeconcileResponse.class, com.lansweeper.dp.outbound.v1.DeconcileResponse.Builder.class);
41
+ }
42
+
43
+ private int bitField0_;
44
+ public static final int SUCCESS_FIELD_NUMBER = 1;
45
+ private boolean success_ = false;
46
+ /**
47
+ * <code>bool success = 1;</code>
48
+ * @return The success.
49
+ */
50
+ @java.lang.Override
51
+ public boolean getSuccess() {
52
+ return success_;
53
+ }
54
+
55
+ public static final int ERROR_DESCRIPTION_FIELD_NUMBER = 2;
56
+ @SuppressWarnings("serial")
57
+ private volatile java.lang.Object errorDescription_ = "";
58
+ /**
59
+ * <code>optional string error_description = 2;</code>
60
+ * @return Whether the errorDescription field is set.
61
+ */
62
+ @java.lang.Override
63
+ public boolean hasErrorDescription() {
64
+ return ((bitField0_ & 0x00000001) != 0);
65
+ }
66
+ /**
67
+ * <code>optional string error_description = 2;</code>
68
+ * @return The errorDescription.
69
+ */
70
+ @java.lang.Override
71
+ public java.lang.String getErrorDescription() {
72
+ java.lang.Object ref = errorDescription_;
73
+ if (ref instanceof java.lang.String) {
74
+ return (java.lang.String) ref;
75
+ } else {
76
+ com.google.protobuf.ByteString bs =
77
+ (com.google.protobuf.ByteString) ref;
78
+ java.lang.String s = bs.toStringUtf8();
79
+ errorDescription_ = s;
80
+ return s;
81
+ }
82
+ }
83
+ /**
84
+ * <code>optional string error_description = 2;</code>
85
+ * @return The bytes for errorDescription.
86
+ */
87
+ @java.lang.Override
88
+ public com.google.protobuf.ByteString
89
+ getErrorDescriptionBytes() {
90
+ java.lang.Object ref = errorDescription_;
91
+ if (ref instanceof java.lang.String) {
92
+ com.google.protobuf.ByteString b =
93
+ com.google.protobuf.ByteString.copyFromUtf8(
94
+ (java.lang.String) ref);
95
+ errorDescription_ = b;
96
+ return b;
97
+ } else {
98
+ return (com.google.protobuf.ByteString) ref;
99
+ }
100
+ }
101
+
102
+ private byte memoizedIsInitialized = -1;
103
+ @java.lang.Override
104
+ public final boolean isInitialized() {
105
+ byte isInitialized = memoizedIsInitialized;
106
+ if (isInitialized == 1) return true;
107
+ if (isInitialized == 0) return false;
108
+
109
+ memoizedIsInitialized = 1;
110
+ return true;
111
+ }
112
+
113
+ @java.lang.Override
114
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
115
+ throws java.io.IOException {
116
+ if (success_ != false) {
117
+ output.writeBool(1, success_);
118
+ }
119
+ if (((bitField0_ & 0x00000001) != 0)) {
120
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorDescription_);
121
+ }
122
+ getUnknownFields().writeTo(output);
123
+ }
124
+
125
+ @java.lang.Override
126
+ public int getSerializedSize() {
127
+ int size = memoizedSize;
128
+ if (size != -1) return size;
129
+
130
+ size = 0;
131
+ if (success_ != false) {
132
+ size += com.google.protobuf.CodedOutputStream
133
+ .computeBoolSize(1, success_);
134
+ }
135
+ if (((bitField0_ & 0x00000001) != 0)) {
136
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorDescription_);
137
+ }
138
+ size += getUnknownFields().getSerializedSize();
139
+ memoizedSize = size;
140
+ return size;
141
+ }
142
+
143
+ @java.lang.Override
144
+ public boolean equals(final java.lang.Object obj) {
145
+ if (obj == this) {
146
+ return true;
147
+ }
148
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.DeconcileResponse)) {
149
+ return super.equals(obj);
150
+ }
151
+ com.lansweeper.dp.outbound.v1.DeconcileResponse other = (com.lansweeper.dp.outbound.v1.DeconcileResponse) obj;
152
+
153
+ if (getSuccess()
154
+ != other.getSuccess()) return false;
155
+ if (hasErrorDescription() != other.hasErrorDescription()) return false;
156
+ if (hasErrorDescription()) {
157
+ if (!getErrorDescription()
158
+ .equals(other.getErrorDescription())) return false;
159
+ }
160
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
161
+ return true;
162
+ }
163
+
164
+ @java.lang.Override
165
+ public int hashCode() {
166
+ if (memoizedHashCode != 0) {
167
+ return memoizedHashCode;
168
+ }
169
+ int hash = 41;
170
+ hash = (19 * hash) + getDescriptor().hashCode();
171
+ hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
172
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
173
+ getSuccess());
174
+ if (hasErrorDescription()) {
175
+ hash = (37 * hash) + ERROR_DESCRIPTION_FIELD_NUMBER;
176
+ hash = (53 * hash) + getErrorDescription().hashCode();
177
+ }
178
+ hash = (29 * hash) + getUnknownFields().hashCode();
179
+ memoizedHashCode = hash;
180
+ return hash;
181
+ }
182
+
183
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
184
+ java.nio.ByteBuffer data)
185
+ throws com.google.protobuf.InvalidProtocolBufferException {
186
+ return PARSER.parseFrom(data);
187
+ }
188
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
189
+ java.nio.ByteBuffer data,
190
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
191
+ throws com.google.protobuf.InvalidProtocolBufferException {
192
+ return PARSER.parseFrom(data, extensionRegistry);
193
+ }
194
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
195
+ com.google.protobuf.ByteString data)
196
+ throws com.google.protobuf.InvalidProtocolBufferException {
197
+ return PARSER.parseFrom(data);
198
+ }
199
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
200
+ com.google.protobuf.ByteString data,
201
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
202
+ throws com.google.protobuf.InvalidProtocolBufferException {
203
+ return PARSER.parseFrom(data, extensionRegistry);
204
+ }
205
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(byte[] data)
206
+ throws com.google.protobuf.InvalidProtocolBufferException {
207
+ return PARSER.parseFrom(data);
208
+ }
209
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
210
+ byte[] data,
211
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
212
+ throws com.google.protobuf.InvalidProtocolBufferException {
213
+ return PARSER.parseFrom(data, extensionRegistry);
214
+ }
215
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(java.io.InputStream input)
216
+ throws java.io.IOException {
217
+ return com.google.protobuf.GeneratedMessageV3
218
+ .parseWithIOException(PARSER, input);
219
+ }
220
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
221
+ java.io.InputStream input,
222
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
223
+ throws java.io.IOException {
224
+ return com.google.protobuf.GeneratedMessageV3
225
+ .parseWithIOException(PARSER, input, extensionRegistry);
226
+ }
227
+
228
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseDelimitedFrom(java.io.InputStream input)
229
+ throws java.io.IOException {
230
+ return com.google.protobuf.GeneratedMessageV3
231
+ .parseDelimitedWithIOException(PARSER, input);
232
+ }
233
+
234
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseDelimitedFrom(
235
+ java.io.InputStream input,
236
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
237
+ throws java.io.IOException {
238
+ return com.google.protobuf.GeneratedMessageV3
239
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
240
+ }
241
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
242
+ com.google.protobuf.CodedInputStream input)
243
+ throws java.io.IOException {
244
+ return com.google.protobuf.GeneratedMessageV3
245
+ .parseWithIOException(PARSER, input);
246
+ }
247
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse parseFrom(
248
+ com.google.protobuf.CodedInputStream input,
249
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
250
+ throws java.io.IOException {
251
+ return com.google.protobuf.GeneratedMessageV3
252
+ .parseWithIOException(PARSER, input, extensionRegistry);
253
+ }
254
+
255
+ @java.lang.Override
256
+ public Builder newBuilderForType() { return newBuilder(); }
257
+ public static Builder newBuilder() {
258
+ return DEFAULT_INSTANCE.toBuilder();
259
+ }
260
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.DeconcileResponse prototype) {
261
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
262
+ }
263
+ @java.lang.Override
264
+ public Builder toBuilder() {
265
+ return this == DEFAULT_INSTANCE
266
+ ? new Builder() : new Builder().mergeFrom(this);
267
+ }
268
+
269
+ @java.lang.Override
270
+ protected Builder newBuilderForType(
271
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
272
+ Builder builder = new Builder(parent);
273
+ return builder;
274
+ }
275
+ /**
276
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.DeconcileResponse}
277
+ */
278
+ public static final class Builder extends
279
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
280
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.DeconcileResponse)
281
+ com.lansweeper.dp.outbound.v1.DeconcileResponseOrBuilder {
282
+ public static final com.google.protobuf.Descriptors.Descriptor
283
+ getDescriptor() {
284
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DeconcileResponse_descriptor;
285
+ }
286
+
287
+ @java.lang.Override
288
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
289
+ internalGetFieldAccessorTable() {
290
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DeconcileResponse_fieldAccessorTable
291
+ .ensureFieldAccessorsInitialized(
292
+ com.lansweeper.dp.outbound.v1.DeconcileResponse.class, com.lansweeper.dp.outbound.v1.DeconcileResponse.Builder.class);
293
+ }
294
+
295
+ // Construct using com.lansweeper.dp.outbound.v1.DeconcileResponse.newBuilder()
296
+ private Builder() {
297
+
298
+ }
299
+
300
+ private Builder(
301
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
302
+ super(parent);
303
+
304
+ }
305
+ @java.lang.Override
306
+ public Builder clear() {
307
+ super.clear();
308
+ bitField0_ = 0;
309
+ success_ = false;
310
+ errorDescription_ = "";
311
+ return this;
312
+ }
313
+
314
+ @java.lang.Override
315
+ public com.google.protobuf.Descriptors.Descriptor
316
+ getDescriptorForType() {
317
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_DeconcileResponse_descriptor;
318
+ }
319
+
320
+ @java.lang.Override
321
+ public com.lansweeper.dp.outbound.v1.DeconcileResponse getDefaultInstanceForType() {
322
+ return com.lansweeper.dp.outbound.v1.DeconcileResponse.getDefaultInstance();
323
+ }
324
+
325
+ @java.lang.Override
326
+ public com.lansweeper.dp.outbound.v1.DeconcileResponse build() {
327
+ com.lansweeper.dp.outbound.v1.DeconcileResponse result = buildPartial();
328
+ if (!result.isInitialized()) {
329
+ throw newUninitializedMessageException(result);
330
+ }
331
+ return result;
332
+ }
333
+
334
+ @java.lang.Override
335
+ public com.lansweeper.dp.outbound.v1.DeconcileResponse buildPartial() {
336
+ com.lansweeper.dp.outbound.v1.DeconcileResponse result = new com.lansweeper.dp.outbound.v1.DeconcileResponse(this);
337
+ if (bitField0_ != 0) { buildPartial0(result); }
338
+ onBuilt();
339
+ return result;
340
+ }
341
+
342
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.DeconcileResponse result) {
343
+ int from_bitField0_ = bitField0_;
344
+ if (((from_bitField0_ & 0x00000001) != 0)) {
345
+ result.success_ = success_;
346
+ }
347
+ int to_bitField0_ = 0;
348
+ if (((from_bitField0_ & 0x00000002) != 0)) {
349
+ result.errorDescription_ = errorDescription_;
350
+ to_bitField0_ |= 0x00000001;
351
+ }
352
+ result.bitField0_ |= to_bitField0_;
353
+ }
354
+
355
+ @java.lang.Override
356
+ public Builder clone() {
357
+ return super.clone();
358
+ }
359
+ @java.lang.Override
360
+ public Builder setField(
361
+ com.google.protobuf.Descriptors.FieldDescriptor field,
362
+ java.lang.Object value) {
363
+ return super.setField(field, value);
364
+ }
365
+ @java.lang.Override
366
+ public Builder clearField(
367
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
368
+ return super.clearField(field);
369
+ }
370
+ @java.lang.Override
371
+ public Builder clearOneof(
372
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
373
+ return super.clearOneof(oneof);
374
+ }
375
+ @java.lang.Override
376
+ public Builder setRepeatedField(
377
+ com.google.protobuf.Descriptors.FieldDescriptor field,
378
+ int index, java.lang.Object value) {
379
+ return super.setRepeatedField(field, index, value);
380
+ }
381
+ @java.lang.Override
382
+ public Builder addRepeatedField(
383
+ com.google.protobuf.Descriptors.FieldDescriptor field,
384
+ java.lang.Object value) {
385
+ return super.addRepeatedField(field, value);
386
+ }
387
+ @java.lang.Override
388
+ public Builder mergeFrom(com.google.protobuf.Message other) {
389
+ if (other instanceof com.lansweeper.dp.outbound.v1.DeconcileResponse) {
390
+ return mergeFrom((com.lansweeper.dp.outbound.v1.DeconcileResponse)other);
391
+ } else {
392
+ super.mergeFrom(other);
393
+ return this;
394
+ }
395
+ }
396
+
397
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.DeconcileResponse other) {
398
+ if (other == com.lansweeper.dp.outbound.v1.DeconcileResponse.getDefaultInstance()) return this;
399
+ if (other.getSuccess() != false) {
400
+ setSuccess(other.getSuccess());
401
+ }
402
+ if (other.hasErrorDescription()) {
403
+ errorDescription_ = other.errorDescription_;
404
+ bitField0_ |= 0x00000002;
405
+ onChanged();
406
+ }
407
+ this.mergeUnknownFields(other.getUnknownFields());
408
+ onChanged();
409
+ return this;
410
+ }
411
+
412
+ @java.lang.Override
413
+ public final boolean isInitialized() {
414
+ return true;
415
+ }
416
+
417
+ @java.lang.Override
418
+ public Builder mergeFrom(
419
+ com.google.protobuf.CodedInputStream input,
420
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
421
+ throws java.io.IOException {
422
+ if (extensionRegistry == null) {
423
+ throw new java.lang.NullPointerException();
424
+ }
425
+ try {
426
+ boolean done = false;
427
+ while (!done) {
428
+ int tag = input.readTag();
429
+ switch (tag) {
430
+ case 0:
431
+ done = true;
432
+ break;
433
+ case 8: {
434
+ success_ = input.readBool();
435
+ bitField0_ |= 0x00000001;
436
+ break;
437
+ } // case 8
438
+ case 18: {
439
+ errorDescription_ = input.readStringRequireUtf8();
440
+ bitField0_ |= 0x00000002;
441
+ break;
442
+ } // case 18
443
+ default: {
444
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
445
+ done = true; // was an endgroup tag
446
+ }
447
+ break;
448
+ } // default:
449
+ } // switch (tag)
450
+ } // while (!done)
451
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
452
+ throw e.unwrapIOException();
453
+ } finally {
454
+ onChanged();
455
+ } // finally
456
+ return this;
457
+ }
458
+ private int bitField0_;
459
+
460
+ private boolean success_ ;
461
+ /**
462
+ * <code>bool success = 1;</code>
463
+ * @return The success.
464
+ */
465
+ @java.lang.Override
466
+ public boolean getSuccess() {
467
+ return success_;
468
+ }
469
+ /**
470
+ * <code>bool success = 1;</code>
471
+ * @param value The success to set.
472
+ * @return This builder for chaining.
473
+ */
474
+ public Builder setSuccess(boolean value) {
475
+
476
+ success_ = value;
477
+ bitField0_ |= 0x00000001;
478
+ onChanged();
479
+ return this;
480
+ }
481
+ /**
482
+ * <code>bool success = 1;</code>
483
+ * @return This builder for chaining.
484
+ */
485
+ public Builder clearSuccess() {
486
+ bitField0_ = (bitField0_ & ~0x00000001);
487
+ success_ = false;
488
+ onChanged();
489
+ return this;
490
+ }
491
+
492
+ private java.lang.Object errorDescription_ = "";
493
+ /**
494
+ * <code>optional string error_description = 2;</code>
495
+ * @return Whether the errorDescription field is set.
496
+ */
497
+ public boolean hasErrorDescription() {
498
+ return ((bitField0_ & 0x00000002) != 0);
499
+ }
500
+ /**
501
+ * <code>optional string error_description = 2;</code>
502
+ * @return The errorDescription.
503
+ */
504
+ public java.lang.String getErrorDescription() {
505
+ java.lang.Object ref = errorDescription_;
506
+ if (!(ref instanceof java.lang.String)) {
507
+ com.google.protobuf.ByteString bs =
508
+ (com.google.protobuf.ByteString) ref;
509
+ java.lang.String s = bs.toStringUtf8();
510
+ errorDescription_ = s;
511
+ return s;
512
+ } else {
513
+ return (java.lang.String) ref;
514
+ }
515
+ }
516
+ /**
517
+ * <code>optional string error_description = 2;</code>
518
+ * @return The bytes for errorDescription.
519
+ */
520
+ public com.google.protobuf.ByteString
521
+ getErrorDescriptionBytes() {
522
+ java.lang.Object ref = errorDescription_;
523
+ if (ref instanceof String) {
524
+ com.google.protobuf.ByteString b =
525
+ com.google.protobuf.ByteString.copyFromUtf8(
526
+ (java.lang.String) ref);
527
+ errorDescription_ = b;
528
+ return b;
529
+ } else {
530
+ return (com.google.protobuf.ByteString) ref;
531
+ }
532
+ }
533
+ /**
534
+ * <code>optional string error_description = 2;</code>
535
+ * @param value The errorDescription to set.
536
+ * @return This builder for chaining.
537
+ */
538
+ public Builder setErrorDescription(
539
+ java.lang.String value) {
540
+ if (value == null) { throw new NullPointerException(); }
541
+ errorDescription_ = value;
542
+ bitField0_ |= 0x00000002;
543
+ onChanged();
544
+ return this;
545
+ }
546
+ /**
547
+ * <code>optional string error_description = 2;</code>
548
+ * @return This builder for chaining.
549
+ */
550
+ public Builder clearErrorDescription() {
551
+ errorDescription_ = getDefaultInstance().getErrorDescription();
552
+ bitField0_ = (bitField0_ & ~0x00000002);
553
+ onChanged();
554
+ return this;
555
+ }
556
+ /**
557
+ * <code>optional string error_description = 2;</code>
558
+ * @param value The bytes for errorDescription to set.
559
+ * @return This builder for chaining.
560
+ */
561
+ public Builder setErrorDescriptionBytes(
562
+ com.google.protobuf.ByteString value) {
563
+ if (value == null) { throw new NullPointerException(); }
564
+ checkByteStringIsUtf8(value);
565
+ errorDescription_ = value;
566
+ bitField0_ |= 0x00000002;
567
+ onChanged();
568
+ return this;
569
+ }
570
+ @java.lang.Override
571
+ public final Builder setUnknownFields(
572
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
573
+ return super.setUnknownFields(unknownFields);
574
+ }
575
+
576
+ @java.lang.Override
577
+ public final Builder mergeUnknownFields(
578
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
579
+ return super.mergeUnknownFields(unknownFields);
580
+ }
581
+
582
+
583
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.DeconcileResponse)
584
+ }
585
+
586
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.DeconcileResponse)
587
+ private static final com.lansweeper.dp.outbound.v1.DeconcileResponse DEFAULT_INSTANCE;
588
+ static {
589
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.DeconcileResponse();
590
+ }
591
+
592
+ public static com.lansweeper.dp.outbound.v1.DeconcileResponse getDefaultInstance() {
593
+ return DEFAULT_INSTANCE;
594
+ }
595
+
596
+ private static final com.google.protobuf.Parser<DeconcileResponse>
597
+ PARSER = new com.google.protobuf.AbstractParser<DeconcileResponse>() {
598
+ @java.lang.Override
599
+ public DeconcileResponse parsePartialFrom(
600
+ com.google.protobuf.CodedInputStream input,
601
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
602
+ throws com.google.protobuf.InvalidProtocolBufferException {
603
+ Builder builder = newBuilder();
604
+ try {
605
+ builder.mergeFrom(input, extensionRegistry);
606
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
607
+ throw e.setUnfinishedMessage(builder.buildPartial());
608
+ } catch (com.google.protobuf.UninitializedMessageException e) {
609
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
610
+ } catch (java.io.IOException e) {
611
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
612
+ .setUnfinishedMessage(builder.buildPartial());
613
+ }
614
+ return builder.buildPartial();
615
+ }
616
+ };
617
+
618
+ public static com.google.protobuf.Parser<DeconcileResponse> parser() {
619
+ return PARSER;
620
+ }
621
+
622
+ @java.lang.Override
623
+ public com.google.protobuf.Parser<DeconcileResponse> getParserForType() {
624
+ return PARSER;
625
+ }
626
+
627
+ @java.lang.Override
628
+ public com.lansweeper.dp.outbound.v1.DeconcileResponse getDefaultInstanceForType() {
629
+ return DEFAULT_INSTANCE;
630
+ }
631
+
632
+ }
633
+