@lansweeper/data-platform-outbound-grpc 0.11.0 → 0.12.0

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 (52) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +17 -46
  4. package/gen-proto/outbound_pb.js +57 -308
  5. package/generated-go/outbound.pb.go +775 -850
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +3 -8
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers$Builder$ConnectedComputersConverter.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers$Builder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers$ConnectedComputersDefaultEntryHolder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputersOrBuilder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$2.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$Builder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$RelationCase.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  21. package/model/target/classes/outbound.proto +3 -8
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +9 -9
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +3 -3
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputers.java +760 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputersOrBuilder.java +64 -0
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventory.java +78 -78
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.java +8 -8
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1505 -1507
  29. package/model/target/maven-archiver/pom.properties +2 -2
  30. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +6 -8
  31. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -4
  32. package/model/target/{outbound-model-0.10.4-sources.jar → outbound-model-0.11.0-sources.jar} +0 -0
  33. package/model/target/{outbound-model-0.10.4.jar → outbound-model-0.11.0.jar} +0 -0
  34. package/package.json +2 -2
  35. package/pom.xml +1 -1
  36. package/proto/outbound.proto +3 -8
  37. package/service/pom.xml +1 -1
  38. package/service/target/maven-archiver/pom.properties +2 -2
  39. package/service/target/{outbound-service-0.10.4-sources.jar → outbound-service-0.11.0-sources.jar} +0 -0
  40. package/service/target/{outbound-service-0.10.4.jar → outbound-service-0.11.0.jar} +0 -0
  41. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$1.class +0 -0
  42. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$Builder.class +0 -0
  43. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.class +0 -0
  44. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$1.class +0 -0
  45. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$Builder.class +0 -0
  46. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.class +0 -0
  47. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.class +0 -0
  48. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.class +0 -0
  49. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.java +0 -832
  50. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.java +0 -760
  51. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.java +0 -34
  52. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.java +0 -52
@@ -14834,10 +14834,10 @@ export class MonitorInventory extends jspb.Message {
14834
14834
  getExternalMonitor(): EntityPath | undefined;
14835
14835
  setExternalMonitor(value?: EntityPath): MonitorInventory;
14836
14836
 
14837
- hasConnectedComputer(): boolean;
14838
- clearConnectedComputer(): void;
14839
- getConnectedComputer(): MonitorConnectedComputerList | undefined;
14840
- setConnectedComputer(value?: MonitorConnectedComputerList): MonitorInventory;
14837
+ hasConnectedComputers(): boolean;
14838
+ clearConnectedComputers(): void;
14839
+ getConnectedComputers(): MonitorConnectedComputers | undefined;
14840
+ setConnectedComputers(value?: MonitorConnectedComputers): MonitorInventory;
14841
14841
 
14842
14842
  getRelationCase(): MonitorInventory.RelationCase;
14843
14843
 
@@ -14856,65 +14856,36 @@ export namespace MonitorInventory {
14856
14856
  timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
14857
14857
  monitorList: Array<Monitor.AsObject>,
14858
14858
  externalMonitor?: EntityPath.AsObject,
14859
- connectedComputer?: MonitorConnectedComputerList.AsObject,
14859
+ connectedComputers?: MonitorConnectedComputers.AsObject,
14860
14860
  }
14861
14861
 
14862
14862
  export enum RelationCase {
14863
14863
  RELATION_NOT_SET = 0,
14864
14864
  EXTERNAL_MONITOR = 3,
14865
- CONNECTED_COMPUTER = 4,
14865
+ CONNECTED_COMPUTERS = 4,
14866
14866
  }
14867
14867
 
14868
14868
  }
14869
14869
 
14870
- export class MonitorConnectedComputerList extends jspb.Message {
14871
- clearConnectedComputersList(): void;
14872
- getConnectedComputersList(): Array<MonitorConnectedComputer>;
14873
- setConnectedComputersList(value: Array<MonitorConnectedComputer>): MonitorConnectedComputerList;
14874
- addConnectedComputers(value?: MonitorConnectedComputer, index?: number): MonitorConnectedComputer;
14870
+ export class MonitorConnectedComputers extends jspb.Message {
14875
14871
 
14876
- serializeBinary(): Uint8Array;
14877
- toObject(includeInstance?: boolean): MonitorConnectedComputerList.AsObject;
14878
- static toObject(includeInstance: boolean, msg: MonitorConnectedComputerList): MonitorConnectedComputerList.AsObject;
14879
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
14880
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
14881
- static serializeBinaryToWriter(message: MonitorConnectedComputerList, writer: jspb.BinaryWriter): void;
14882
- static deserializeBinary(bytes: Uint8Array): MonitorConnectedComputerList;
14883
- static deserializeBinaryFromReader(message: MonitorConnectedComputerList, reader: jspb.BinaryReader): MonitorConnectedComputerList;
14884
- }
14885
-
14886
- export namespace MonitorConnectedComputerList {
14887
- export type AsObject = {
14888
- connectedComputersList: Array<MonitorConnectedComputer.AsObject>,
14889
- }
14890
- }
14891
-
14892
- export class MonitorConnectedComputer extends jspb.Message {
14893
-
14894
- hasScannedAt(): boolean;
14895
- clearScannedAt(): void;
14896
- getScannedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
14897
- setScannedAt(value?: google_protobuf_timestamp_pb.Timestamp): MonitorConnectedComputer;
14898
-
14899
- hasAssetReference(): boolean;
14900
- clearAssetReference(): void;
14901
- getAssetReference(): EntityPath | undefined;
14902
- setAssetReference(value?: EntityPath): MonitorConnectedComputer;
14872
+ getConnectedComputersMap(): jspb.Map<string, google_protobuf_timestamp_pb.Timestamp>;
14873
+ clearConnectedComputersMap(): void;
14903
14874
 
14904
14875
  serializeBinary(): Uint8Array;
14905
- toObject(includeInstance?: boolean): MonitorConnectedComputer.AsObject;
14906
- static toObject(includeInstance: boolean, msg: MonitorConnectedComputer): MonitorConnectedComputer.AsObject;
14876
+ toObject(includeInstance?: boolean): MonitorConnectedComputers.AsObject;
14877
+ static toObject(includeInstance: boolean, msg: MonitorConnectedComputers): MonitorConnectedComputers.AsObject;
14907
14878
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
14908
14879
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
14909
- static serializeBinaryToWriter(message: MonitorConnectedComputer, writer: jspb.BinaryWriter): void;
14910
- static deserializeBinary(bytes: Uint8Array): MonitorConnectedComputer;
14911
- static deserializeBinaryFromReader(message: MonitorConnectedComputer, reader: jspb.BinaryReader): MonitorConnectedComputer;
14880
+ static serializeBinaryToWriter(message: MonitorConnectedComputers, writer: jspb.BinaryWriter): void;
14881
+ static deserializeBinary(bytes: Uint8Array): MonitorConnectedComputers;
14882
+ static deserializeBinaryFromReader(message: MonitorConnectedComputers, reader: jspb.BinaryReader): MonitorConnectedComputers;
14912
14883
  }
14913
14884
 
14914
- export namespace MonitorConnectedComputer {
14885
+ export namespace MonitorConnectedComputers {
14915
14886
  export type AsObject = {
14916
- scannedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
14917
- assetReference?: EntityPath.AsObject,
14887
+
14888
+ connectedComputersMap: Array<[string, google_protobuf_timestamp_pb.Timestamp.AsObject]>,
14918
14889
  }
14919
14890
  }
14920
14891
 
@@ -214,8 +214,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Memory', null, global);
214
214
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MemoryArray', null, global);
215
215
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Monitor', null, global);
216
216
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Monitor.SpecCase', null, global);
217
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer', null, global);
218
- goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList', null, global);
217
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers', null, global);
219
218
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorData', null, global);
220
219
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory', null, global);
221
220
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase', null, global);
@@ -4818,37 +4817,16 @@ if (goog.DEBUG && !COMPILED) {
4818
4817
  * @extends {jspb.Message}
4819
4818
  * @constructor
4820
4819
  */
4821
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList = function(opt_data) {
4822
- jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.repeatedFields_, null);
4823
- };
4824
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList, jspb.Message);
4825
- if (goog.DEBUG && !COMPILED) {
4826
- /**
4827
- * @public
4828
- * @override
4829
- */
4830
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.displayName = 'proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList';
4831
- }
4832
- /**
4833
- * Generated by JsPbCodeGenerator.
4834
- * @param {Array=} opt_data Optional initial data array, typically from a
4835
- * server response, or constructed directly in Javascript. The array is used
4836
- * in place and becomes part of the constructed object. It is not cloned.
4837
- * If no data is provided, the constructed object will be empty, but still
4838
- * valid.
4839
- * @extends {jspb.Message}
4840
- * @constructor
4841
- */
4842
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer = function(opt_data) {
4820
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers = function(opt_data) {
4843
4821
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4844
4822
  };
4845
- goog.inherits(proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer, jspb.Message);
4823
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers, jspb.Message);
4846
4824
  if (goog.DEBUG && !COMPILED) {
4847
4825
  /**
4848
4826
  * @public
4849
4827
  * @override
4850
4828
  */
4851
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.displayName = 'proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer';
4829
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.displayName = 'proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers';
4852
4830
  }
4853
4831
  /**
4854
4832
  * Generated by JsPbCodeGenerator.
@@ -120952,7 +120930,7 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_ = [[3,4]];
120952
120930
  proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase = {
120953
120931
  RELATION_NOT_SET: 0,
120954
120932
  EXTERNAL_MONITOR: 3,
120955
- CONNECTED_COMPUTER: 4
120933
+ CONNECTED_COMPUTERS: 4
120956
120934
  };
120957
120935
 
120958
120936
  /**
@@ -120997,7 +120975,7 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject = function(include
120997
120975
  monitorList: jspb.Message.toObjectList(msg.getMonitorList(),
120998
120976
  proto.com.lansweeper.dp.outbound.v1.Monitor.toObject, includeInstance),
120999
120977
  externalMonitor: (f = msg.getExternalMonitor()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
121000
- connectedComputer: (f = msg.getConnectedComputer()) && proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.toObject(includeInstance, f)
120978
+ connectedComputers: (f = msg.getConnectedComputers()) && proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.toObject(includeInstance, f)
121001
120979
  };
121002
120980
 
121003
120981
  if (includeInstance) {
@@ -121050,9 +121028,9 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader
121050
121028
  msg.setExternalMonitor(value);
121051
121029
  break;
121052
121030
  case 4:
121053
- var value = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList;
121054
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.deserializeBinaryFromReader);
121055
- msg.setConnectedComputer(value);
121031
+ var value = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers;
121032
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.deserializeBinaryFromReader);
121033
+ msg.setConnectedComputers(value);
121056
121034
  break;
121057
121035
  default:
121058
121036
  reader.skipField();
@@ -121107,12 +121085,12 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter = f
121107
121085
  proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
121108
121086
  );
121109
121087
  }
121110
- f = message.getConnectedComputer();
121088
+ f = message.getConnectedComputers();
121111
121089
  if (f != null) {
121112
121090
  writer.writeMessage(
121113
121091
  4,
121114
121092
  f,
121115
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.serializeBinaryToWriter
121093
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.serializeBinaryToWriter
121116
121094
  );
121117
121095
  }
121118
121096
  };
@@ -121231,20 +121209,20 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasExternalMonito
121231
121209
 
121232
121210
 
121233
121211
  /**
121234
- * optional MonitorConnectedComputerList connected_computer = 4;
121235
- * @return {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList}
121212
+ * optional MonitorConnectedComputers connected_computers = 4;
121213
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers}
121236
121214
  */
121237
- proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getConnectedComputer = function() {
121238
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} */ (
121239
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList, 4));
121215
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getConnectedComputers = function() {
121216
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers} */ (
121217
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers, 4));
121240
121218
  };
121241
121219
 
121242
121220
 
121243
121221
  /**
121244
- * @param {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList|undefined} value
121222
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers|undefined} value
121245
121223
  * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121246
121224
  */
121247
- proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setConnectedComputer = function(value) {
121225
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setConnectedComputers = function(value) {
121248
121226
  return jspb.Message.setOneofWrapperField(this, 4, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_[0], value);
121249
121227
  };
121250
121228
 
@@ -121253,8 +121231,8 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setConnectedCompu
121253
121231
  * Clears the message field making it undefined.
121254
121232
  * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121255
121233
  */
121256
- proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearConnectedComputer = function() {
121257
- return this.setConnectedComputer(undefined);
121234
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearConnectedComputers = function() {
121235
+ return this.setConnectedComputers(undefined);
121258
121236
  };
121259
121237
 
121260
121238
 
@@ -121262,172 +121240,12 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearConnectedCom
121262
121240
  * Returns whether this field is set.
121263
121241
  * @return {boolean}
121264
121242
  */
121265
- proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasConnectedComputer = function() {
121243
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasConnectedComputers = function() {
121266
121244
  return jspb.Message.getField(this, 4) != null;
121267
121245
  };
121268
121246
 
121269
121247
 
121270
121248
 
121271
- /**
121272
- * List of repeated fields within this message type.
121273
- * @private {!Array<number>}
121274
- * @const
121275
- */
121276
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.repeatedFields_ = [1];
121277
-
121278
-
121279
-
121280
- if (jspb.Message.GENERATE_TO_OBJECT) {
121281
- /**
121282
- * Creates an object representation of this proto.
121283
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
121284
- * Optional fields that are not set will be set to undefined.
121285
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
121286
- * For the list of reserved names please see:
121287
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
121288
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
121289
- * JSPB instance for transitional soy proto support:
121290
- * http://goto/soy-param-migration
121291
- * @return {!Object}
121292
- */
121293
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.toObject = function(opt_includeInstance) {
121294
- return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.toObject(opt_includeInstance, this);
121295
- };
121296
-
121297
-
121298
- /**
121299
- * Static version of the {@see toObject} method.
121300
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
121301
- * the JSPB instance for transitional soy proto support:
121302
- * http://goto/soy-param-migration
121303
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} msg The msg instance to transform.
121304
- * @return {!Object}
121305
- * @suppress {unusedLocalVariables} f is only used for nested messages
121306
- */
121307
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.toObject = function(includeInstance, msg) {
121308
- var f, obj = {
121309
- connectedComputersList: jspb.Message.toObjectList(msg.getConnectedComputersList(),
121310
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.toObject, includeInstance)
121311
- };
121312
-
121313
- if (includeInstance) {
121314
- obj.$jspbMessageInstance = msg;
121315
- }
121316
- return obj;
121317
- };
121318
- }
121319
-
121320
-
121321
- /**
121322
- * Deserializes binary data (in protobuf wire format).
121323
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
121324
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList}
121325
- */
121326
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.deserializeBinary = function(bytes) {
121327
- var reader = new jspb.BinaryReader(bytes);
121328
- var msg = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList;
121329
- return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.deserializeBinaryFromReader(msg, reader);
121330
- };
121331
-
121332
-
121333
- /**
121334
- * Deserializes binary data (in protobuf wire format) from the
121335
- * given reader into the given message object.
121336
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} msg The message object to deserialize into.
121337
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
121338
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList}
121339
- */
121340
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.deserializeBinaryFromReader = function(msg, reader) {
121341
- while (reader.nextField()) {
121342
- if (reader.isEndGroup()) {
121343
- break;
121344
- }
121345
- var field = reader.getFieldNumber();
121346
- switch (field) {
121347
- case 1:
121348
- var value = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer;
121349
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFromReader);
121350
- msg.addConnectedComputers(value);
121351
- break;
121352
- default:
121353
- reader.skipField();
121354
- break;
121355
- }
121356
- }
121357
- return msg;
121358
- };
121359
-
121360
-
121361
- /**
121362
- * Serializes the message to binary data (in protobuf wire format).
121363
- * @return {!Uint8Array}
121364
- */
121365
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.serializeBinary = function() {
121366
- var writer = new jspb.BinaryWriter();
121367
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.serializeBinaryToWriter(this, writer);
121368
- return writer.getResultBuffer();
121369
- };
121370
-
121371
-
121372
- /**
121373
- * Serializes the given message to binary data (in protobuf wire
121374
- * format), writing to the given BinaryWriter.
121375
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} message
121376
- * @param {!jspb.BinaryWriter} writer
121377
- * @suppress {unusedLocalVariables} f is only used for nested messages
121378
- */
121379
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.serializeBinaryToWriter = function(message, writer) {
121380
- var f = undefined;
121381
- f = message.getConnectedComputersList();
121382
- if (f.length > 0) {
121383
- writer.writeRepeatedMessage(
121384
- 1,
121385
- f,
121386
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.serializeBinaryToWriter
121387
- );
121388
- }
121389
- };
121390
-
121391
-
121392
- /**
121393
- * repeated MonitorConnectedComputer connected_computers = 1;
121394
- * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer>}
121395
- */
121396
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.getConnectedComputersList = function() {
121397
- return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer>} */ (
121398
- jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer, 1));
121399
- };
121400
-
121401
-
121402
- /**
121403
- * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer>} value
121404
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} returns this
121405
- */
121406
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.setConnectedComputersList = function(value) {
121407
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
121408
- };
121409
-
121410
-
121411
- /**
121412
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer=} opt_value
121413
- * @param {number=} opt_index
121414
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer}
121415
- */
121416
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.addConnectedComputers = function(opt_value, opt_index) {
121417
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer, opt_index);
121418
- };
121419
-
121420
-
121421
- /**
121422
- * Clears the list making it empty but non-null.
121423
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList} returns this
121424
- */
121425
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.prototype.clearConnectedComputersList = function() {
121426
- return this.setConnectedComputersList([]);
121427
- };
121428
-
121429
-
121430
-
121431
121249
 
121432
121250
 
121433
121251
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -121443,8 +121261,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
121443
121261
  * http://goto/soy-param-migration
121444
121262
  * @return {!Object}
121445
121263
  */
121446
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.toObject = function(opt_includeInstance) {
121447
- return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.toObject(opt_includeInstance, this);
121264
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.prototype.toObject = function(opt_includeInstance) {
121265
+ return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.toObject(opt_includeInstance, this);
121448
121266
  };
121449
121267
 
121450
121268
 
@@ -121453,14 +121271,13 @@ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.toObject
121453
121271
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
121454
121272
  * the JSPB instance for transitional soy proto support:
121455
121273
  * http://goto/soy-param-migration
121456
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} msg The msg instance to transform.
121274
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers} msg The msg instance to transform.
121457
121275
  * @return {!Object}
121458
121276
  * @suppress {unusedLocalVariables} f is only used for nested messages
121459
121277
  */
121460
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.toObject = function(includeInstance, msg) {
121278
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.toObject = function(includeInstance, msg) {
121461
121279
  var f, obj = {
121462
- scannedAt: (f = msg.getScannedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
121463
- assetReference: (f = msg.getAssetReference()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f)
121280
+ connectedComputersMap: (f = msg.getConnectedComputersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Timestamp.toObject) : []
121464
121281
  };
121465
121282
 
121466
121283
  if (includeInstance) {
@@ -121474,23 +121291,23 @@ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.toObject = function
121474
121291
  /**
121475
121292
  * Deserializes binary data (in protobuf wire format).
121476
121293
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
121477
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer}
121294
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers}
121478
121295
  */
121479
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinary = function(bytes) {
121296
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.deserializeBinary = function(bytes) {
121480
121297
  var reader = new jspb.BinaryReader(bytes);
121481
- var msg = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer;
121482
- return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFromReader(msg, reader);
121298
+ var msg = new proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers;
121299
+ return proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.deserializeBinaryFromReader(msg, reader);
121483
121300
  };
121484
121301
 
121485
121302
 
121486
121303
  /**
121487
121304
  * Deserializes binary data (in protobuf wire format) from the
121488
121305
  * given reader into the given message object.
121489
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} msg The message object to deserialize into.
121306
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers} msg The message object to deserialize into.
121490
121307
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
121491
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer}
121308
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers}
121492
121309
  */
121493
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFromReader = function(msg, reader) {
121310
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.deserializeBinaryFromReader = function(msg, reader) {
121494
121311
  while (reader.nextField()) {
121495
121312
  if (reader.isEndGroup()) {
121496
121313
  break;
@@ -121498,14 +121315,10 @@ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFr
121498
121315
  var field = reader.getFieldNumber();
121499
121316
  switch (field) {
121500
121317
  case 1:
121501
- var value = new google_protobuf_timestamp_pb.Timestamp;
121502
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
121503
- msg.setScannedAt(value);
121504
- break;
121505
- case 2:
121506
- var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
121507
- reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
121508
- msg.setAssetReference(value);
121318
+ var value = msg.getConnectedComputersMap();
121319
+ reader.readMessage(value, function(message, reader) {
121320
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Timestamp.deserializeBinaryFromReader, "", new proto.google.protobuf.Timestamp());
121321
+ });
121509
121322
  break;
121510
121323
  default:
121511
121324
  reader.skipField();
@@ -121520,9 +121333,9 @@ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFr
121520
121333
  * Serializes the message to binary data (in protobuf wire format).
121521
121334
  * @return {!Uint8Array}
121522
121335
  */
121523
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.serializeBinary = function() {
121336
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.prototype.serializeBinary = function() {
121524
121337
  var writer = new jspb.BinaryWriter();
121525
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.serializeBinaryToWriter(this, writer);
121338
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.serializeBinaryToWriter(this, writer);
121526
121339
  return writer.getResultBuffer();
121527
121340
  };
121528
121341
 
@@ -121530,103 +121343,39 @@ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.serialize
121530
121343
  /**
121531
121344
  * Serializes the given message to binary data (in protobuf wire
121532
121345
  * format), writing to the given BinaryWriter.
121533
- * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} message
121346
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers} message
121534
121347
  * @param {!jspb.BinaryWriter} writer
121535
121348
  * @suppress {unusedLocalVariables} f is only used for nested messages
121536
121349
  */
121537
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.serializeBinaryToWriter = function(message, writer) {
121350
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.serializeBinaryToWriter = function(message, writer) {
121538
121351
  var f = undefined;
121539
- f = message.getScannedAt();
121540
- if (f != null) {
121541
- writer.writeMessage(
121542
- 1,
121543
- f,
121544
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
121545
- );
121546
- }
121547
- f = message.getAssetReference();
121548
- if (f != null) {
121549
- writer.writeMessage(
121550
- 2,
121551
- f,
121552
- proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
121553
- );
121352
+ f = message.getConnectedComputersMap(true);
121353
+ if (f && f.getLength() > 0) {
121354
+ f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Timestamp.serializeBinaryToWriter);
121554
121355
  }
121555
121356
  };
121556
121357
 
121557
121358
 
121558
121359
  /**
121559
- * optional google.protobuf.Timestamp scanned_at = 1;
121560
- * @return {?proto.google.protobuf.Timestamp}
121561
- */
121562
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.getScannedAt = function() {
121563
- return /** @type{?proto.google.protobuf.Timestamp} */ (
121564
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
121565
- };
121566
-
121567
-
121568
- /**
121569
- * @param {?proto.google.protobuf.Timestamp|undefined} value
121570
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} returns this
121571
- */
121572
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.setScannedAt = function(value) {
121573
- return jspb.Message.setWrapperField(this, 1, value);
121574
- };
121575
-
121576
-
121577
- /**
121578
- * Clears the message field making it undefined.
121579
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} returns this
121580
- */
121581
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.clearScannedAt = function() {
121582
- return this.setScannedAt(undefined);
121583
- };
121584
-
121585
-
121586
- /**
121587
- * Returns whether this field is set.
121588
- * @return {boolean}
121589
- */
121590
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.hasScannedAt = function() {
121591
- return jspb.Message.getField(this, 1) != null;
121592
- };
121593
-
121594
-
121595
- /**
121596
- * optional EntityPath asset_reference = 2;
121597
- * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
121598
- */
121599
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.getAssetReference = function() {
121600
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
121601
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
121602
- };
121603
-
121604
-
121605
- /**
121606
- * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
121607
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} returns this
121608
- */
121609
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.setAssetReference = function(value) {
121610
- return jspb.Message.setWrapperField(this, 2, value);
121611
- };
121612
-
121613
-
121614
- /**
121615
- * Clears the message field making it undefined.
121616
- * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} returns this
121360
+ * map<string, google.protobuf.Timestamp> connected_computers = 1;
121361
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
121362
+ * empty, instead returning `undefined`
121363
+ * @return {!jspb.Map<string,!proto.google.protobuf.Timestamp>}
121617
121364
  */
121618
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.clearAssetReference = function() {
121619
- return this.setAssetReference(undefined);
121365
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.prototype.getConnectedComputersMap = function(opt_noLazyCreate) {
121366
+ return /** @type {!jspb.Map<string,!proto.google.protobuf.Timestamp>} */ (
121367
+ jspb.Message.getMapField(this, 1, opt_noLazyCreate,
121368
+ proto.google.protobuf.Timestamp));
121620
121369
  };
121621
121370
 
121622
121371
 
121623
121372
  /**
121624
- * Returns whether this field is set.
121625
- * @return {boolean}
121373
+ * Clears values from the map. The map will be non-null.
121374
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers} returns this
121626
121375
  */
121627
- proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.hasAssetReference = function() {
121628
- return jspb.Message.getField(this, 2) != null;
121629
- };
121376
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputers.prototype.clearConnectedComputersMap = function() {
121377
+ this.getConnectedComputersMap().clear();
121378
+ return this;};
121630
121379
 
121631
121380
 
121632
121381