@lansweeper/data-platform-outbound-grpc 0.10.4 → 0.11.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 (45) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +72 -0
  4. package/gen-proto/outbound_pb.js +537 -2
  5. package/generated-go/outbound.pb.go +5406 -5190
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +12 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$1.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$2.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory$RelationCase.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventory.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  24. package/model/target/classes/outbound.proto +12 -0
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +9 -9
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +3 -3
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputer.java +832 -0
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerList.java +760 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerListOrBuilder.java +34 -0
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorConnectedComputerOrBuilder.java +52 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventory.java +587 -0
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MonitorInventoryOrBuilder.java +56 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1546 -1512
  34. package/model/target/maven-archiver/pom.properties +2 -2
  35. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +10 -0
  36. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  37. package/model/target/{outbound-model-0.10.3-sources.jar → outbound-model-0.10.4-sources.jar} +0 -0
  38. package/model/target/{outbound-model-0.10.3.jar → outbound-model-0.10.4.jar} +0 -0
  39. package/package.json +2 -2
  40. package/pom.xml +1 -1
  41. package/proto/outbound.proto +12 -0
  42. package/service/pom.xml +1 -1
  43. package/service/target/maven-archiver/pom.properties +2 -2
  44. package/service/target/{outbound-service-0.10.3-sources.jar → outbound-service-0.10.4-sources.jar} +0 -0
  45. package/service/target/{outbound-service-0.10.3.jar → outbound-service-0.10.4.jar} +0 -0
@@ -14829,6 +14829,18 @@ export class MonitorInventory extends jspb.Message {
14829
14829
  setMonitorList(value: Array<Monitor>): MonitorInventory;
14830
14830
  addMonitor(value?: Monitor, index?: number): Monitor;
14831
14831
 
14832
+ hasExternalMonitor(): boolean;
14833
+ clearExternalMonitor(): void;
14834
+ getExternalMonitor(): EntityPath | undefined;
14835
+ setExternalMonitor(value?: EntityPath): MonitorInventory;
14836
+
14837
+ hasConnectedComputer(): boolean;
14838
+ clearConnectedComputer(): void;
14839
+ getConnectedComputer(): MonitorConnectedComputerList | undefined;
14840
+ setConnectedComputer(value?: MonitorConnectedComputerList): MonitorInventory;
14841
+
14842
+ getRelationCase(): MonitorInventory.RelationCase;
14843
+
14832
14844
  serializeBinary(): Uint8Array;
14833
14845
  toObject(includeInstance?: boolean): MonitorInventory.AsObject;
14834
14846
  static toObject(includeInstance: boolean, msg: MonitorInventory): MonitorInventory.AsObject;
@@ -14843,6 +14855,66 @@ export namespace MonitorInventory {
14843
14855
  export type AsObject = {
14844
14856
  timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
14845
14857
  monitorList: Array<Monitor.AsObject>,
14858
+ externalMonitor?: EntityPath.AsObject,
14859
+ connectedComputer?: MonitorConnectedComputerList.AsObject,
14860
+ }
14861
+
14862
+ export enum RelationCase {
14863
+ RELATION_NOT_SET = 0,
14864
+ EXTERNAL_MONITOR = 3,
14865
+ CONNECTED_COMPUTER = 4,
14866
+ }
14867
+
14868
+ }
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;
14875
+
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;
14903
+
14904
+ serializeBinary(): Uint8Array;
14905
+ toObject(includeInstance?: boolean): MonitorConnectedComputer.AsObject;
14906
+ static toObject(includeInstance: boolean, msg: MonitorConnectedComputer): MonitorConnectedComputer.AsObject;
14907
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
14908
+ 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;
14912
+ }
14913
+
14914
+ export namespace MonitorConnectedComputer {
14915
+ export type AsObject = {
14916
+ scannedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
14917
+ assetReference?: EntityPath.AsObject,
14846
14918
  }
14847
14919
  }
14848
14920
 
@@ -214,8 +214,11 @@ 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
219
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorData', null, global);
218
220
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory', null, global);
221
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase', null, global);
219
222
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Motherboard', null, global);
220
223
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.MotherboardDevice', null, global);
221
224
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.NetIpAddress', null, global);
@@ -4795,7 +4798,7 @@ if (goog.DEBUG && !COMPILED) {
4795
4798
  * @constructor
4796
4799
  */
4797
4800
  proto.com.lansweeper.dp.outbound.v1.MonitorInventory = function(opt_data) {
4798
- jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.repeatedFields_, null);
4801
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.repeatedFields_, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_);
4799
4802
  };
4800
4803
  goog.inherits(proto.com.lansweeper.dp.outbound.v1.MonitorInventory, jspb.Message);
4801
4804
  if (goog.DEBUG && !COMPILED) {
@@ -4805,6 +4808,48 @@ if (goog.DEBUG && !COMPILED) {
4805
4808
  */
4806
4809
  proto.com.lansweeper.dp.outbound.v1.MonitorInventory.displayName = 'proto.com.lansweeper.dp.outbound.v1.MonitorInventory';
4807
4810
  }
4811
+ /**
4812
+ * Generated by JsPbCodeGenerator.
4813
+ * @param {Array=} opt_data Optional initial data array, typically from a
4814
+ * server response, or constructed directly in Javascript. The array is used
4815
+ * in place and becomes part of the constructed object. It is not cloned.
4816
+ * If no data is provided, the constructed object will be empty, but still
4817
+ * valid.
4818
+ * @extends {jspb.Message}
4819
+ * @constructor
4820
+ */
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) {
4843
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4844
+ };
4845
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer, jspb.Message);
4846
+ if (goog.DEBUG && !COMPILED) {
4847
+ /**
4848
+ * @public
4849
+ * @override
4850
+ */
4851
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.displayName = 'proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer';
4852
+ }
4808
4853
  /**
4809
4854
  * Generated by JsPbCodeGenerator.
4810
4855
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -120891,6 +120936,32 @@ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.hasName = function() {
120891
120936
  */
120892
120937
  proto.com.lansweeper.dp.outbound.v1.MonitorInventory.repeatedFields_ = [2];
120893
120938
 
120939
+ /**
120940
+ * Oneof group definitions for this message. Each group defines the field
120941
+ * numbers belonging to that group. When of these fields' value is set, all
120942
+ * other fields in the group are cleared. During deserialization, if multiple
120943
+ * fields are encountered for a group, only the last value seen will be kept.
120944
+ * @private {!Array<!Array<number>>}
120945
+ * @const
120946
+ */
120947
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_ = [[3,4]];
120948
+
120949
+ /**
120950
+ * @enum {number}
120951
+ */
120952
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase = {
120953
+ RELATION_NOT_SET: 0,
120954
+ EXTERNAL_MONITOR: 3,
120955
+ CONNECTED_COMPUTER: 4
120956
+ };
120957
+
120958
+ /**
120959
+ * @return {proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase}
120960
+ */
120961
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getRelationCase = function() {
120962
+ return /** @type {proto.com.lansweeper.dp.outbound.v1.MonitorInventory.RelationCase} */(jspb.Message.computeOneofCase(this, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_[0]));
120963
+ };
120964
+
120894
120965
 
120895
120966
 
120896
120967
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -120924,7 +120995,9 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject = function(include
120924
120995
  var f, obj = {
120925
120996
  timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
120926
120997
  monitorList: jspb.Message.toObjectList(msg.getMonitorList(),
120927
- proto.com.lansweeper.dp.outbound.v1.Monitor.toObject, includeInstance)
120998
+ proto.com.lansweeper.dp.outbound.v1.Monitor.toObject, includeInstance),
120999
+ 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)
120928
121001
  };
120929
121002
 
120930
121003
  if (includeInstance) {
@@ -120971,6 +121044,16 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.deserializeBinaryFromReader
120971
121044
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Monitor.deserializeBinaryFromReader);
120972
121045
  msg.addMonitor(value);
120973
121046
  break;
121047
+ case 3:
121048
+ var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
121049
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
121050
+ msg.setExternalMonitor(value);
121051
+ break;
121052
+ 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);
121056
+ break;
120974
121057
  default:
120975
121058
  reader.skipField();
120976
121059
  break;
@@ -121016,6 +121099,22 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.serializeBinaryToWriter = f
121016
121099
  proto.com.lansweeper.dp.outbound.v1.Monitor.serializeBinaryToWriter
121017
121100
  );
121018
121101
  }
121102
+ f = message.getExternalMonitor();
121103
+ if (f != null) {
121104
+ writer.writeMessage(
121105
+ 3,
121106
+ f,
121107
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
121108
+ );
121109
+ }
121110
+ f = message.getConnectedComputer();
121111
+ if (f != null) {
121112
+ writer.writeMessage(
121113
+ 4,
121114
+ f,
121115
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList.serializeBinaryToWriter
121116
+ );
121117
+ }
121019
121118
  };
121020
121119
 
121021
121120
 
@@ -121094,6 +121193,442 @@ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearMonitorList
121094
121193
  };
121095
121194
 
121096
121195
 
121196
+ /**
121197
+ * optional EntityPath external_monitor = 3;
121198
+ * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
121199
+ */
121200
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.getExternalMonitor = function() {
121201
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
121202
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 3));
121203
+ };
121204
+
121205
+
121206
+ /**
121207
+ * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
121208
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121209
+ */
121210
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setExternalMonitor = function(value) {
121211
+ return jspb.Message.setOneofWrapperField(this, 3, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_[0], value);
121212
+ };
121213
+
121214
+
121215
+ /**
121216
+ * Clears the message field making it undefined.
121217
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121218
+ */
121219
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearExternalMonitor = function() {
121220
+ return this.setExternalMonitor(undefined);
121221
+ };
121222
+
121223
+
121224
+ /**
121225
+ * Returns whether this field is set.
121226
+ * @return {boolean}
121227
+ */
121228
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasExternalMonitor = function() {
121229
+ return jspb.Message.getField(this, 3) != null;
121230
+ };
121231
+
121232
+
121233
+ /**
121234
+ * optional MonitorConnectedComputerList connected_computer = 4;
121235
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList}
121236
+ */
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));
121240
+ };
121241
+
121242
+
121243
+ /**
121244
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputerList|undefined} value
121245
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121246
+ */
121247
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.setConnectedComputer = function(value) {
121248
+ return jspb.Message.setOneofWrapperField(this, 4, proto.com.lansweeper.dp.outbound.v1.MonitorInventory.oneofGroups_[0], value);
121249
+ };
121250
+
121251
+
121252
+ /**
121253
+ * Clears the message field making it undefined.
121254
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorInventory} returns this
121255
+ */
121256
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.clearConnectedComputer = function() {
121257
+ return this.setConnectedComputer(undefined);
121258
+ };
121259
+
121260
+
121261
+ /**
121262
+ * Returns whether this field is set.
121263
+ * @return {boolean}
121264
+ */
121265
+ proto.com.lansweeper.dp.outbound.v1.MonitorInventory.prototype.hasConnectedComputer = function() {
121266
+ return jspb.Message.getField(this, 4) != null;
121267
+ };
121268
+
121269
+
121270
+
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
+
121432
+
121433
+ if (jspb.Message.GENERATE_TO_OBJECT) {
121434
+ /**
121435
+ * Creates an object representation of this proto.
121436
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
121437
+ * Optional fields that are not set will be set to undefined.
121438
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
121439
+ * For the list of reserved names please see:
121440
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
121441
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
121442
+ * JSPB instance for transitional soy proto support:
121443
+ * http://goto/soy-param-migration
121444
+ * @return {!Object}
121445
+ */
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);
121448
+ };
121449
+
121450
+
121451
+ /**
121452
+ * Static version of the {@see toObject} method.
121453
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
121454
+ * the JSPB instance for transitional soy proto support:
121455
+ * http://goto/soy-param-migration
121456
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} msg The msg instance to transform.
121457
+ * @return {!Object}
121458
+ * @suppress {unusedLocalVariables} f is only used for nested messages
121459
+ */
121460
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.toObject = function(includeInstance, msg) {
121461
+ 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)
121464
+ };
121465
+
121466
+ if (includeInstance) {
121467
+ obj.$jspbMessageInstance = msg;
121468
+ }
121469
+ return obj;
121470
+ };
121471
+ }
121472
+
121473
+
121474
+ /**
121475
+ * Deserializes binary data (in protobuf wire format).
121476
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
121477
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer}
121478
+ */
121479
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinary = function(bytes) {
121480
+ 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);
121483
+ };
121484
+
121485
+
121486
+ /**
121487
+ * Deserializes binary data (in protobuf wire format) from the
121488
+ * given reader into the given message object.
121489
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} msg The message object to deserialize into.
121490
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
121491
+ * @return {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer}
121492
+ */
121493
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.deserializeBinaryFromReader = function(msg, reader) {
121494
+ while (reader.nextField()) {
121495
+ if (reader.isEndGroup()) {
121496
+ break;
121497
+ }
121498
+ var field = reader.getFieldNumber();
121499
+ switch (field) {
121500
+ 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);
121509
+ break;
121510
+ default:
121511
+ reader.skipField();
121512
+ break;
121513
+ }
121514
+ }
121515
+ return msg;
121516
+ };
121517
+
121518
+
121519
+ /**
121520
+ * Serializes the message to binary data (in protobuf wire format).
121521
+ * @return {!Uint8Array}
121522
+ */
121523
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.serializeBinary = function() {
121524
+ var writer = new jspb.BinaryWriter();
121525
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.serializeBinaryToWriter(this, writer);
121526
+ return writer.getResultBuffer();
121527
+ };
121528
+
121529
+
121530
+ /**
121531
+ * Serializes the given message to binary data (in protobuf wire
121532
+ * format), writing to the given BinaryWriter.
121533
+ * @param {!proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer} message
121534
+ * @param {!jspb.BinaryWriter} writer
121535
+ * @suppress {unusedLocalVariables} f is only used for nested messages
121536
+ */
121537
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.serializeBinaryToWriter = function(message, writer) {
121538
+ 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
+ );
121554
+ }
121555
+ };
121556
+
121557
+
121558
+ /**
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
121617
+ */
121618
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.clearAssetReference = function() {
121619
+ return this.setAssetReference(undefined);
121620
+ };
121621
+
121622
+
121623
+ /**
121624
+ * Returns whether this field is set.
121625
+ * @return {boolean}
121626
+ */
121627
+ proto.com.lansweeper.dp.outbound.v1.MonitorConnectedComputer.prototype.hasAssetReference = function() {
121628
+ return jspb.Message.getField(this, 2) != null;
121629
+ };
121630
+
121631
+
121097
121632
 
121098
121633
  /**
121099
121634
  * Oneof group definitions for this message. Each group defines the field