@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
@@ -12,6 +12,7 @@ import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"
12
12
  interface IDataCoreOutboundServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
13
13
  getEntity: IDataCoreOutboundServiceService_IGetEntity;
14
14
  listEntities: IDataCoreOutboundServiceService_IListEntities;
15
+ entityDeconcile: IDataCoreOutboundServiceService_IEntityDeconcile;
15
16
  catalogLookup: IDataCoreOutboundServiceService_ICatalogLookup;
16
17
  getIpLocationConfig: IDataCoreOutboundServiceService_IGetIpLocationConfig;
17
18
  setIpLocationConfig: IDataCoreOutboundServiceService_ISetIpLocationConfig;
@@ -35,6 +36,15 @@ interface IDataCoreOutboundServiceService_IListEntities extends grpc.MethodDefin
35
36
  responseSerialize: grpc.serialize<outbound_pb.ListEntityResponse>;
36
37
  responseDeserialize: grpc.deserialize<outbound_pb.ListEntityResponse>;
37
38
  }
39
+ interface IDataCoreOutboundServiceService_IEntityDeconcile extends grpc.MethodDefinition<outbound_pb.DeconcileRequest, outbound_pb.DeconcileResponse> {
40
+ path: "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/EntityDeconcile";
41
+ requestStream: false;
42
+ responseStream: false;
43
+ requestSerialize: grpc.serialize<outbound_pb.DeconcileRequest>;
44
+ requestDeserialize: grpc.deserialize<outbound_pb.DeconcileRequest>;
45
+ responseSerialize: grpc.serialize<outbound_pb.DeconcileResponse>;
46
+ responseDeserialize: grpc.deserialize<outbound_pb.DeconcileResponse>;
47
+ }
38
48
  interface IDataCoreOutboundServiceService_ICatalogLookup extends grpc.MethodDefinition<outbound_pb.CatalogLookupRequest, outbound_pb.CatalogLookupResponse> {
39
49
  path: "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/CatalogLookup";
40
50
  requestStream: false;
@@ -68,6 +78,7 @@ export const DataCoreOutboundServiceService: IDataCoreOutboundServiceService;
68
78
  export interface IDataCoreOutboundServiceServer extends grpc.UntypedServiceImplementation {
69
79
  getEntity: grpc.handleUnaryCall<outbound_pb.GetEntityRequest, outbound_pb.GetEntityResponse>;
70
80
  listEntities: grpc.handleServerStreamingCall<outbound_pb.ListEntityRequest, outbound_pb.ListEntityResponse>;
81
+ entityDeconcile: grpc.handleUnaryCall<outbound_pb.DeconcileRequest, outbound_pb.DeconcileResponse>;
71
82
  catalogLookup: grpc.handleUnaryCall<outbound_pb.CatalogLookupRequest, outbound_pb.CatalogLookupResponse>;
72
83
  getIpLocationConfig: grpc.handleUnaryCall<outbound_pb.GetIpLocationConfigRequest, outbound_pb.GetIpLocationConfigResponse>;
73
84
  setIpLocationConfig: grpc.handleUnaryCall<outbound_pb.SetIpLocationConfigRequest, outbound_pb.SetIpLocationConfigResponse>;
@@ -79,6 +90,9 @@ export interface IDataCoreOutboundServiceClient {
79
90
  getEntity(request: outbound_pb.GetEntityRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetEntityResponse) => void): grpc.ClientUnaryCall;
80
91
  listEntities(request: outbound_pb.ListEntityRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<outbound_pb.ListEntityResponse>;
81
92
  listEntities(request: outbound_pb.ListEntityRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<outbound_pb.ListEntityResponse>;
93
+ entityDeconcile(request: outbound_pb.DeconcileRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
94
+ entityDeconcile(request: outbound_pb.DeconcileRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
95
+ entityDeconcile(request: outbound_pb.DeconcileRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
82
96
  catalogLookup(request: outbound_pb.CatalogLookupRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
83
97
  catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
84
98
  catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
@@ -97,6 +111,9 @@ export class DataCoreOutboundServiceClient extends grpc.Client implements IDataC
97
111
  public getEntity(request: outbound_pb.GetEntityRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetEntityResponse) => void): grpc.ClientUnaryCall;
98
112
  public listEntities(request: outbound_pb.ListEntityRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<outbound_pb.ListEntityResponse>;
99
113
  public listEntities(request: outbound_pb.ListEntityRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<outbound_pb.ListEntityResponse>;
114
+ public entityDeconcile(request: outbound_pb.DeconcileRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
115
+ public entityDeconcile(request: outbound_pb.DeconcileRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
116
+ public entityDeconcile(request: outbound_pb.DeconcileRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.DeconcileResponse) => void): grpc.ClientUnaryCall;
100
117
  public catalogLookup(request: outbound_pb.CatalogLookupRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
101
118
  public catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
102
119
  public catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
@@ -35,6 +35,28 @@ function deserialize_com_lansweeper_dp_outbound_v1_CatalogLookupResponse(buffer_
35
35
  return outbound_pb.CatalogLookupResponse.deserializeBinary(new Uint8Array(buffer_arg));
36
36
  }
37
37
 
38
+ function serialize_com_lansweeper_dp_outbound_v1_DeconcileRequest(arg) {
39
+ if (!(arg instanceof outbound_pb.DeconcileRequest)) {
40
+ throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.DeconcileRequest');
41
+ }
42
+ return Buffer.from(arg.serializeBinary());
43
+ }
44
+
45
+ function deserialize_com_lansweeper_dp_outbound_v1_DeconcileRequest(buffer_arg) {
46
+ return outbound_pb.DeconcileRequest.deserializeBinary(new Uint8Array(buffer_arg));
47
+ }
48
+
49
+ function serialize_com_lansweeper_dp_outbound_v1_DeconcileResponse(arg) {
50
+ if (!(arg instanceof outbound_pb.DeconcileResponse)) {
51
+ throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.DeconcileResponse');
52
+ }
53
+ return Buffer.from(arg.serializeBinary());
54
+ }
55
+
56
+ function deserialize_com_lansweeper_dp_outbound_v1_DeconcileResponse(buffer_arg) {
57
+ return outbound_pb.DeconcileResponse.deserializeBinary(new Uint8Array(buffer_arg));
58
+ }
59
+
38
60
  function serialize_com_lansweeper_dp_outbound_v1_Entity(arg) {
39
61
  if (!(arg instanceof outbound_pb.Entity)) {
40
62
  throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.Entity');
@@ -185,6 +207,7 @@ function deserialize_com_lansweeper_dp_outbound_v1_SiteKey(buffer_arg) {
185
207
  // GRPC Service. Currently supported operation:
186
208
  // - Get Entity
187
209
  // - Stream Entities
210
+ // - Deconcile Entity
188
211
  var DataCoreOutboundServiceService = exports.DataCoreOutboundServiceService = {
189
212
  // ----------------------------------------
190
213
  // ACCESS API
@@ -214,6 +237,18 @@ listEntities: {
214
237
  responseSerialize: serialize_com_lansweeper_dp_outbound_v1_ListEntityResponse,
215
238
  responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_ListEntityResponse,
216
239
  },
240
+ // Deconcile an entity from the aliases (reverse reconciliation)
241
+ entityDeconcile: {
242
+ path: '/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/EntityDeconcile',
243
+ requestStream: false,
244
+ responseStream: false,
245
+ requestType: outbound_pb.DeconcileRequest,
246
+ responseType: outbound_pb.DeconcileResponse,
247
+ requestSerialize: serialize_com_lansweeper_dp_outbound_v1_DeconcileRequest,
248
+ requestDeserialize: deserialize_com_lansweeper_dp_outbound_v1_DeconcileRequest,
249
+ responseSerialize: serialize_com_lansweeper_dp_outbound_v1_DeconcileResponse,
250
+ responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_DeconcileResponse,
251
+ },
217
252
  // ----------------------------------------
218
253
  // ENRICHMENT API
219
254
  // ----------------------------------------
@@ -208,6 +208,32 @@ export namespace GetEntityRequest {
208
208
  }
209
209
  }
210
210
 
211
+ export class DeconcileResponse extends jspb.Message {
212
+ getSuccess(): boolean;
213
+ setSuccess(value: boolean): DeconcileResponse;
214
+
215
+ hasErrorDescription(): boolean;
216
+ clearErrorDescription(): void;
217
+ getErrorDescription(): string | undefined;
218
+ setErrorDescription(value: string): DeconcileResponse;
219
+
220
+ serializeBinary(): Uint8Array;
221
+ toObject(includeInstance?: boolean): DeconcileResponse.AsObject;
222
+ static toObject(includeInstance: boolean, msg: DeconcileResponse): DeconcileResponse.AsObject;
223
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
224
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
225
+ static serializeBinaryToWriter(message: DeconcileResponse, writer: jspb.BinaryWriter): void;
226
+ static deserializeBinary(bytes: Uint8Array): DeconcileResponse;
227
+ static deserializeBinaryFromReader(message: DeconcileResponse, reader: jspb.BinaryReader): DeconcileResponse;
228
+ }
229
+
230
+ export namespace DeconcileResponse {
231
+ export type AsObject = {
232
+ success: boolean,
233
+ errorDescription?: string,
234
+ }
235
+ }
236
+
211
237
  export class GetEntityResponse extends jspb.Message {
212
238
  getSuccess(): boolean;
213
239
  setSuccess(value: boolean): GetEntityResponse;
@@ -296,6 +322,34 @@ export namespace ListEntityResponse {
296
322
  }
297
323
  }
298
324
 
325
+ export class DeconcileRequest extends jspb.Message {
326
+
327
+ hasMaster(): boolean;
328
+ clearMaster(): void;
329
+ getMaster(): EntityPath | undefined;
330
+ setMaster(value?: EntityPath): DeconcileRequest;
331
+ clearAliasesList(): void;
332
+ getAliasesList(): Array<EntityPath>;
333
+ setAliasesList(value: Array<EntityPath>): DeconcileRequest;
334
+ addAliases(value?: EntityPath, index?: number): EntityPath;
335
+
336
+ serializeBinary(): Uint8Array;
337
+ toObject(includeInstance?: boolean): DeconcileRequest.AsObject;
338
+ static toObject(includeInstance: boolean, msg: DeconcileRequest): DeconcileRequest.AsObject;
339
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
340
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
341
+ static serializeBinaryToWriter(message: DeconcileRequest, writer: jspb.BinaryWriter): void;
342
+ static deserializeBinary(bytes: Uint8Array): DeconcileRequest;
343
+ static deserializeBinaryFromReader(message: DeconcileRequest, reader: jspb.BinaryReader): DeconcileRequest;
344
+ }
345
+
346
+ export namespace DeconcileRequest {
347
+ export type AsObject = {
348
+ master?: EntityPath.AsObject,
349
+ aliasesList: Array<EntityPath.AsObject>,
350
+ }
351
+ }
352
+
299
353
  export class CatalogLookupRequest extends jspb.Message {
300
354
  clearBrandIdList(): void;
301
355
  getBrandIdList(): Array<number>;
@@ -113,6 +113,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DataProcessor', null, glo
113
113
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DatastoreClusterDrsPodConfigRule', null, global);
114
114
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DatastoreClusterDrsVmOverride', null, global);
115
115
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DatastoreClusterStorageDrs', null, global);
116
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DeconcileRequest', null, global);
117
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DeconcileResponse', null, global);
116
118
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DriveVolume', null, global);
117
119
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver', null, global);
118
120
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver.DriverCase', null, global);
@@ -395,6 +397,27 @@ if (goog.DEBUG && !COMPILED) {
395
397
  */
396
398
  proto.com.lansweeper.dp.outbound.v1.GetEntityRequest.displayName = 'proto.com.lansweeper.dp.outbound.v1.GetEntityRequest';
397
399
  }
400
+ /**
401
+ * Generated by JsPbCodeGenerator.
402
+ * @param {Array=} opt_data Optional initial data array, typically from a
403
+ * server response, or constructed directly in Javascript. The array is used
404
+ * in place and becomes part of the constructed object. It is not cloned.
405
+ * If no data is provided, the constructed object will be empty, but still
406
+ * valid.
407
+ * @extends {jspb.Message}
408
+ * @constructor
409
+ */
410
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse = function(opt_data) {
411
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
412
+ };
413
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.DeconcileResponse, jspb.Message);
414
+ if (goog.DEBUG && !COMPILED) {
415
+ /**
416
+ * @public
417
+ * @override
418
+ */
419
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.displayName = 'proto.com.lansweeper.dp.outbound.v1.DeconcileResponse';
420
+ }
398
421
  /**
399
422
  * Generated by JsPbCodeGenerator.
400
423
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -458,6 +481,27 @@ if (goog.DEBUG && !COMPILED) {
458
481
  */
459
482
  proto.com.lansweeper.dp.outbound.v1.ListEntityResponse.displayName = 'proto.com.lansweeper.dp.outbound.v1.ListEntityResponse';
460
483
  }
484
+ /**
485
+ * Generated by JsPbCodeGenerator.
486
+ * @param {Array=} opt_data Optional initial data array, typically from a
487
+ * server response, or constructed directly in Javascript. The array is used
488
+ * in place and becomes part of the constructed object. It is not cloned.
489
+ * If no data is provided, the constructed object will be empty, but still
490
+ * valid.
491
+ * @extends {jspb.Message}
492
+ * @constructor
493
+ */
494
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest = function(opt_data) {
495
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.repeatedFields_, null);
496
+ };
497
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.DeconcileRequest, jspb.Message);
498
+ if (goog.DEBUG && !COMPILED) {
499
+ /**
500
+ * @public
501
+ * @override
502
+ */
503
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.displayName = 'proto.com.lansweeper.dp.outbound.v1.DeconcileRequest';
504
+ }
461
505
  /**
462
506
  * Generated by JsPbCodeGenerator.
463
507
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7178,6 +7222,184 @@ proto.com.lansweeper.dp.outbound.v1.GetEntityRequest.prototype.hasEntityPath = f
7178
7222
 
7179
7223
 
7180
7224
 
7225
+
7226
+
7227
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7228
+ /**
7229
+ * Creates an object representation of this proto.
7230
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7231
+ * Optional fields that are not set will be set to undefined.
7232
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7233
+ * For the list of reserved names please see:
7234
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7235
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7236
+ * JSPB instance for transitional soy proto support:
7237
+ * http://goto/soy-param-migration
7238
+ * @return {!Object}
7239
+ */
7240
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.toObject = function(opt_includeInstance) {
7241
+ return proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.toObject(opt_includeInstance, this);
7242
+ };
7243
+
7244
+
7245
+ /**
7246
+ * Static version of the {@see toObject} method.
7247
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7248
+ * the JSPB instance for transitional soy proto support:
7249
+ * http://goto/soy-param-migration
7250
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} msg The msg instance to transform.
7251
+ * @return {!Object}
7252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7253
+ */
7254
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.toObject = function(includeInstance, msg) {
7255
+ var f, obj = {
7256
+ success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7257
+ errorDescription: jspb.Message.getFieldWithDefault(msg, 2, "")
7258
+ };
7259
+
7260
+ if (includeInstance) {
7261
+ obj.$jspbMessageInstance = msg;
7262
+ }
7263
+ return obj;
7264
+ };
7265
+ }
7266
+
7267
+
7268
+ /**
7269
+ * Deserializes binary data (in protobuf wire format).
7270
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7271
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse}
7272
+ */
7273
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.deserializeBinary = function(bytes) {
7274
+ var reader = new jspb.BinaryReader(bytes);
7275
+ var msg = new proto.com.lansweeper.dp.outbound.v1.DeconcileResponse;
7276
+ return proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.deserializeBinaryFromReader(msg, reader);
7277
+ };
7278
+
7279
+
7280
+ /**
7281
+ * Deserializes binary data (in protobuf wire format) from the
7282
+ * given reader into the given message object.
7283
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} msg The message object to deserialize into.
7284
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7285
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse}
7286
+ */
7287
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.deserializeBinaryFromReader = function(msg, reader) {
7288
+ while (reader.nextField()) {
7289
+ if (reader.isEndGroup()) {
7290
+ break;
7291
+ }
7292
+ var field = reader.getFieldNumber();
7293
+ switch (field) {
7294
+ case 1:
7295
+ var value = /** @type {boolean} */ (reader.readBool());
7296
+ msg.setSuccess(value);
7297
+ break;
7298
+ case 2:
7299
+ var value = /** @type {string} */ (reader.readString());
7300
+ msg.setErrorDescription(value);
7301
+ break;
7302
+ default:
7303
+ reader.skipField();
7304
+ break;
7305
+ }
7306
+ }
7307
+ return msg;
7308
+ };
7309
+
7310
+
7311
+ /**
7312
+ * Serializes the message to binary data (in protobuf wire format).
7313
+ * @return {!Uint8Array}
7314
+ */
7315
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.serializeBinary = function() {
7316
+ var writer = new jspb.BinaryWriter();
7317
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.serializeBinaryToWriter(this, writer);
7318
+ return writer.getResultBuffer();
7319
+ };
7320
+
7321
+
7322
+ /**
7323
+ * Serializes the given message to binary data (in protobuf wire
7324
+ * format), writing to the given BinaryWriter.
7325
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} message
7326
+ * @param {!jspb.BinaryWriter} writer
7327
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7328
+ */
7329
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.serializeBinaryToWriter = function(message, writer) {
7330
+ var f = undefined;
7331
+ f = message.getSuccess();
7332
+ if (f) {
7333
+ writer.writeBool(
7334
+ 1,
7335
+ f
7336
+ );
7337
+ }
7338
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
7339
+ if (f != null) {
7340
+ writer.writeString(
7341
+ 2,
7342
+ f
7343
+ );
7344
+ }
7345
+ };
7346
+
7347
+
7348
+ /**
7349
+ * optional bool success = 1;
7350
+ * @return {boolean}
7351
+ */
7352
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.getSuccess = function() {
7353
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
7354
+ };
7355
+
7356
+
7357
+ /**
7358
+ * @param {boolean} value
7359
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} returns this
7360
+ */
7361
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.setSuccess = function(value) {
7362
+ return jspb.Message.setProto3BooleanField(this, 1, value);
7363
+ };
7364
+
7365
+
7366
+ /**
7367
+ * optional string error_description = 2;
7368
+ * @return {string}
7369
+ */
7370
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.getErrorDescription = function() {
7371
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7372
+ };
7373
+
7374
+
7375
+ /**
7376
+ * @param {string} value
7377
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} returns this
7378
+ */
7379
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.setErrorDescription = function(value) {
7380
+ return jspb.Message.setField(this, 2, value);
7381
+ };
7382
+
7383
+
7384
+ /**
7385
+ * Clears the field making it undefined.
7386
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileResponse} returns this
7387
+ */
7388
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.clearErrorDescription = function() {
7389
+ return jspb.Message.setField(this, 2, undefined);
7390
+ };
7391
+
7392
+
7393
+ /**
7394
+ * Returns whether this field is set.
7395
+ * @return {boolean}
7396
+ */
7397
+ proto.com.lansweeper.dp.outbound.v1.DeconcileResponse.prototype.hasErrorDescription = function() {
7398
+ return jspb.Message.getField(this, 2) != null;
7399
+ };
7400
+
7401
+
7402
+
7181
7403
  /**
7182
7404
  * List of repeated fields within this message type.
7183
7405
  * @private {!Array<number>}
@@ -7829,6 +8051,217 @@ proto.com.lansweeper.dp.outbound.v1.ListEntityResponse.prototype.clearRelatedLis
7829
8051
 
7830
8052
 
7831
8053
 
8054
+ /**
8055
+ * List of repeated fields within this message type.
8056
+ * @private {!Array<number>}
8057
+ * @const
8058
+ */
8059
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.repeatedFields_ = [2];
8060
+
8061
+
8062
+
8063
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8064
+ /**
8065
+ * Creates an object representation of this proto.
8066
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8067
+ * Optional fields that are not set will be set to undefined.
8068
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8069
+ * For the list of reserved names please see:
8070
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8071
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8072
+ * JSPB instance for transitional soy proto support:
8073
+ * http://goto/soy-param-migration
8074
+ * @return {!Object}
8075
+ */
8076
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.toObject = function(opt_includeInstance) {
8077
+ return proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.toObject(opt_includeInstance, this);
8078
+ };
8079
+
8080
+
8081
+ /**
8082
+ * Static version of the {@see toObject} method.
8083
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8084
+ * the JSPB instance for transitional soy proto support:
8085
+ * http://goto/soy-param-migration
8086
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} msg The msg instance to transform.
8087
+ * @return {!Object}
8088
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8089
+ */
8090
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.toObject = function(includeInstance, msg) {
8091
+ var f, obj = {
8092
+ master: (f = msg.getMaster()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
8093
+ aliasesList: jspb.Message.toObjectList(msg.getAliasesList(),
8094
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject, includeInstance)
8095
+ };
8096
+
8097
+ if (includeInstance) {
8098
+ obj.$jspbMessageInstance = msg;
8099
+ }
8100
+ return obj;
8101
+ };
8102
+ }
8103
+
8104
+
8105
+ /**
8106
+ * Deserializes binary data (in protobuf wire format).
8107
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8108
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest}
8109
+ */
8110
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.deserializeBinary = function(bytes) {
8111
+ var reader = new jspb.BinaryReader(bytes);
8112
+ var msg = new proto.com.lansweeper.dp.outbound.v1.DeconcileRequest;
8113
+ return proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.deserializeBinaryFromReader(msg, reader);
8114
+ };
8115
+
8116
+
8117
+ /**
8118
+ * Deserializes binary data (in protobuf wire format) from the
8119
+ * given reader into the given message object.
8120
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} msg The message object to deserialize into.
8121
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8122
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest}
8123
+ */
8124
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.deserializeBinaryFromReader = function(msg, reader) {
8125
+ while (reader.nextField()) {
8126
+ if (reader.isEndGroup()) {
8127
+ break;
8128
+ }
8129
+ var field = reader.getFieldNumber();
8130
+ switch (field) {
8131
+ case 1:
8132
+ var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
8133
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
8134
+ msg.setMaster(value);
8135
+ break;
8136
+ case 2:
8137
+ var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
8138
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
8139
+ msg.addAliases(value);
8140
+ break;
8141
+ default:
8142
+ reader.skipField();
8143
+ break;
8144
+ }
8145
+ }
8146
+ return msg;
8147
+ };
8148
+
8149
+
8150
+ /**
8151
+ * Serializes the message to binary data (in protobuf wire format).
8152
+ * @return {!Uint8Array}
8153
+ */
8154
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.serializeBinary = function() {
8155
+ var writer = new jspb.BinaryWriter();
8156
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.serializeBinaryToWriter(this, writer);
8157
+ return writer.getResultBuffer();
8158
+ };
8159
+
8160
+
8161
+ /**
8162
+ * Serializes the given message to binary data (in protobuf wire
8163
+ * format), writing to the given BinaryWriter.
8164
+ * @param {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} message
8165
+ * @param {!jspb.BinaryWriter} writer
8166
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8167
+ */
8168
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.serializeBinaryToWriter = function(message, writer) {
8169
+ var f = undefined;
8170
+ f = message.getMaster();
8171
+ if (f != null) {
8172
+ writer.writeMessage(
8173
+ 1,
8174
+ f,
8175
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
8176
+ );
8177
+ }
8178
+ f = message.getAliasesList();
8179
+ if (f.length > 0) {
8180
+ writer.writeRepeatedMessage(
8181
+ 2,
8182
+ f,
8183
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
8184
+ );
8185
+ }
8186
+ };
8187
+
8188
+
8189
+ /**
8190
+ * optional EntityPath master = 1;
8191
+ * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
8192
+ */
8193
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.getMaster = function() {
8194
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
8195
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 1));
8196
+ };
8197
+
8198
+
8199
+ /**
8200
+ * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
8201
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} returns this
8202
+ */
8203
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.setMaster = function(value) {
8204
+ return jspb.Message.setWrapperField(this, 1, value);
8205
+ };
8206
+
8207
+
8208
+ /**
8209
+ * Clears the message field making it undefined.
8210
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} returns this
8211
+ */
8212
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.clearMaster = function() {
8213
+ return this.setMaster(undefined);
8214
+ };
8215
+
8216
+
8217
+ /**
8218
+ * Returns whether this field is set.
8219
+ * @return {boolean}
8220
+ */
8221
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.hasMaster = function() {
8222
+ return jspb.Message.getField(this, 1) != null;
8223
+ };
8224
+
8225
+
8226
+ /**
8227
+ * repeated EntityPath aliases = 2;
8228
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>}
8229
+ */
8230
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.getAliasesList = function() {
8231
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} */ (
8232
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
8233
+ };
8234
+
8235
+
8236
+ /**
8237
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} value
8238
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} returns this
8239
+ */
8240
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.setAliasesList = function(value) {
8241
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
8242
+ };
8243
+
8244
+
8245
+ /**
8246
+ * @param {!proto.com.lansweeper.dp.outbound.v1.EntityPath=} opt_value
8247
+ * @param {number=} opt_index
8248
+ * @return {!proto.com.lansweeper.dp.outbound.v1.EntityPath}
8249
+ */
8250
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.addAliases = function(opt_value, opt_index) {
8251
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.EntityPath, opt_index);
8252
+ };
8253
+
8254
+
8255
+ /**
8256
+ * Clears the list making it empty but non-null.
8257
+ * @return {!proto.com.lansweeper.dp.outbound.v1.DeconcileRequest} returns this
8258
+ */
8259
+ proto.com.lansweeper.dp.outbound.v1.DeconcileRequest.prototype.clearAliasesList = function() {
8260
+ return this.setAliasesList([]);
8261
+ };
8262
+
8263
+
8264
+
7832
8265
  /**
7833
8266
  * List of repeated fields within this message type.
7834
8267
  * @private {!Array<number>}