@lansweeper/data-platform-outbound-grpc 0.3.8 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +96 -0
  4. package/gen-proto/outbound_pb.js +768 -3
  5. package/generated-go/outbound.pb.go +9023 -8788
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +18 -3
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkProtocols$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkProtocols$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkProtocols.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkProtocolsOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/SnmpInfo$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/SnmpInfo$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/SnmpInfo.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/SnmpInfoOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.class +0 -0
  26. package/model/target/classes/outbound.proto +18 -3
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +443 -0
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +44 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkProtocols.java +243 -2
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkProtocolsOrBuilder.java +27 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +684 -650
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SnmpInfo.java +1194 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SnmpInfoOrBuilder.java +95 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogon.java +1121 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.java +95 -0
  36. package/model/target/maven-archiver/pom.properties +2 -2
  37. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +9 -1
  38. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  39. package/model/target/{outbound-model-0.3.7-sources.jar → outbound-model-0.3.9-sources.jar} +0 -0
  40. package/model/target/{outbound-model-0.3.7.jar → outbound-model-0.3.9.jar} +0 -0
  41. package/package.json +2 -2
  42. package/pom.xml +1 -1
  43. package/proto/outbound.proto +18 -3
  44. package/service/pom.xml +1 -1
  45. package/service/target/maven-archiver/pom.properties +2 -2
  46. package/service/target/{outbound-service-0.3.7-sources.jar → outbound-service-0.3.9-sources.jar} +0 -0
  47. package/service/target/{outbound-service-0.3.7.jar → outbound-service-0.3.9.jar} +0 -0
@@ -216,6 +216,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null,
216
216
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
217
217
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Site', null, global);
218
218
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SiteKey', null, global);
219
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SnmpInfo', null, global);
219
220
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
220
221
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent', null, global);
221
222
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareChangeEvent.EventType', null, global);
@@ -239,6 +240,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserAccount', null, globa
239
240
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserCoreFields', null, global);
240
241
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserGroup', null, global);
241
242
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserInGroup', null, global);
243
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserLogon', null, global);
242
244
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WarrantyInfo', null, global);
243
245
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WiFiInterface', null, global);
244
246
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WiFiNetwork', null, global);
@@ -1146,6 +1148,27 @@ if (goog.DEBUG && !COMPILED) {
1146
1148
  */
1147
1149
  proto.com.lansweeper.dp.outbound.v1.LastUser.displayName = 'proto.com.lansweeper.dp.outbound.v1.LastUser';
1148
1150
  }
1151
+ /**
1152
+ * Generated by JsPbCodeGenerator.
1153
+ * @param {Array=} opt_data Optional initial data array, typically from a
1154
+ * server response, or constructed directly in Javascript. The array is used
1155
+ * in place and becomes part of the constructed object. It is not cloned.
1156
+ * If no data is provided, the constructed object will be empty, but still
1157
+ * valid.
1158
+ * @extends {jspb.Message}
1159
+ * @constructor
1160
+ */
1161
+ proto.com.lansweeper.dp.outbound.v1.UserLogon = function(opt_data) {
1162
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1163
+ };
1164
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.UserLogon, jspb.Message);
1165
+ if (goog.DEBUG && !COMPILED) {
1166
+ /**
1167
+ * @public
1168
+ * @override
1169
+ */
1170
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.displayName = 'proto.com.lansweeper.dp.outbound.v1.UserLogon';
1171
+ }
1149
1172
  /**
1150
1173
  * Generated by JsPbCodeGenerator.
1151
1174
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1734,6 +1757,27 @@ if (goog.DEBUG && !COMPILED) {
1734
1757
  */
1735
1758
  proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.displayName = 'proto.com.lansweeper.dp.outbound.v1.NetworkProtocols';
1736
1759
  }
1760
+ /**
1761
+ * Generated by JsPbCodeGenerator.
1762
+ * @param {Array=} opt_data Optional initial data array, typically from a
1763
+ * server response, or constructed directly in Javascript. The array is used
1764
+ * in place and becomes part of the constructed object. It is not cloned.
1765
+ * If no data is provided, the constructed object will be empty, but still
1766
+ * valid.
1767
+ * @extends {jspb.Message}
1768
+ * @constructor
1769
+ */
1770
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo = function(opt_data) {
1771
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1772
+ };
1773
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SnmpInfo, jspb.Message);
1774
+ if (goog.DEBUG && !COMPILED) {
1775
+ /**
1776
+ * @public
1777
+ * @override
1778
+ */
1779
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.displayName = 'proto.com.lansweeper.dp.outbound.v1.SnmpInfo';
1780
+ }
1737
1781
  /**
1738
1782
  * Generated by JsPbCodeGenerator.
1739
1783
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11488,7 +11532,7 @@ proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.prototype.setIsReliable = funct
11488
11532
  * @private {!Array<number>}
11489
11533
  * @const
11490
11534
  */
11491
- proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,34,35,36,38,39,41,44,45,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,225,227,302,303,304];
11535
+ proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,33,27,32,28,29,30,31,34,35,36,38,39,41,44,45,102,103,105,107,202,203,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,225,227,302,303,304,305];
11492
11536
 
11493
11537
 
11494
11538
 
@@ -11668,7 +11712,9 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
11668
11712
  userGroupList: jspb.Message.toObjectList(msg.getUserGroupList(),
11669
11713
  proto.com.lansweeper.dp.outbound.v1.UserGroup.toObject, includeInstance),
11670
11714
  userInGroupList: jspb.Message.toObjectList(msg.getUserInGroupList(),
11671
- proto.com.lansweeper.dp.outbound.v1.UserInGroup.toObject, includeInstance)
11715
+ proto.com.lansweeper.dp.outbound.v1.UserInGroup.toObject, includeInstance),
11716
+ userLogonList: jspb.Message.toObjectList(msg.getUserLogonList(),
11717
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject, includeInstance)
11672
11718
  };
11673
11719
 
11674
11720
  if (includeInstance) {
@@ -12120,6 +12166,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
12120
12166
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.UserInGroup.deserializeBinaryFromReader);
12121
12167
  msg.addUserInGroup(value);
12122
12168
  break;
12169
+ case 305:
12170
+ var value = new proto.com.lansweeper.dp.outbound.v1.UserLogon;
12171
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader);
12172
+ msg.addUserLogon(value);
12173
+ break;
12123
12174
  default:
12124
12175
  reader.skipField();
12125
12176
  break;
@@ -12813,6 +12864,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
12813
12864
  proto.com.lansweeper.dp.outbound.v1.UserInGroup.serializeBinaryToWriter
12814
12865
  );
12815
12866
  }
12867
+ f = message.getUserLogonList();
12868
+ if (f.length > 0) {
12869
+ writer.writeRepeatedMessage(
12870
+ 305,
12871
+ f,
12872
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter
12873
+ );
12874
+ }
12816
12875
  };
12817
12876
 
12818
12877
 
@@ -15952,6 +16011,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearUserInGroupList = fu
15952
16011
  };
15953
16012
 
15954
16013
 
16014
+ /**
16015
+ * repeated UserLogon user_logon = 305;
16016
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>}
16017
+ */
16018
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getUserLogonList = function() {
16019
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>} */ (
16020
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.UserLogon, 305));
16021
+ };
16022
+
16023
+
16024
+ /**
16025
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>} value
16026
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
16027
+ */
16028
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setUserLogonList = function(value) {
16029
+ return jspb.Message.setRepeatedWrapperField(this, 305, value);
16030
+ };
16031
+
16032
+
16033
+ /**
16034
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon=} opt_value
16035
+ * @param {number=} opt_index
16036
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
16037
+ */
16038
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addUserLogon = function(opt_value, opt_index) {
16039
+ return jspb.Message.addToRepeatedWrapperField(this, 305, opt_value, proto.com.lansweeper.dp.outbound.v1.UserLogon, opt_index);
16040
+ };
16041
+
16042
+
16043
+ /**
16044
+ * Clears the list making it empty but non-null.
16045
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
16046
+ */
16047
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearUserLogonList = function() {
16048
+ return this.setUserLogonList([]);
16049
+ };
16050
+
16051
+
15955
16052
 
15956
16053
 
15957
16054
 
@@ -23864,6 +23961,283 @@ proto.com.lansweeper.dp.outbound.v1.LastUser.prototype.hasSid = function() {
23864
23961
 
23865
23962
 
23866
23963
 
23964
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23965
+ /**
23966
+ * Creates an object representation of this proto.
23967
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23968
+ * Optional fields that are not set will be set to undefined.
23969
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23970
+ * For the list of reserved names please see:
23971
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23972
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23973
+ * JSPB instance for transitional soy proto support:
23974
+ * http://goto/soy-param-migration
23975
+ * @return {!Object}
23976
+ */
23977
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.toObject = function(opt_includeInstance) {
23978
+ return proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject(opt_includeInstance, this);
23979
+ };
23980
+
23981
+
23982
+ /**
23983
+ * Static version of the {@see toObject} method.
23984
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23985
+ * the JSPB instance for transitional soy proto support:
23986
+ * http://goto/soy-param-migration
23987
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} msg The msg instance to transform.
23988
+ * @return {!Object}
23989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23990
+ */
23991
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject = function(includeInstance, msg) {
23992
+ var f, obj = {
23993
+ userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
23994
+ port: jspb.Message.getFieldWithDefault(msg, 2, ""),
23995
+ ipAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
23996
+ logonTime: (f = msg.getLogonTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
23997
+ };
23998
+
23999
+ if (includeInstance) {
24000
+ obj.$jspbMessageInstance = msg;
24001
+ }
24002
+ return obj;
24003
+ };
24004
+ }
24005
+
24006
+
24007
+ /**
24008
+ * Deserializes binary data (in protobuf wire format).
24009
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24010
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
24011
+ */
24012
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinary = function(bytes) {
24013
+ var reader = new jspb.BinaryReader(bytes);
24014
+ var msg = new proto.com.lansweeper.dp.outbound.v1.UserLogon;
24015
+ return proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader(msg, reader);
24016
+ };
24017
+
24018
+
24019
+ /**
24020
+ * Deserializes binary data (in protobuf wire format) from the
24021
+ * given reader into the given message object.
24022
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} msg The message object to deserialize into.
24023
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24024
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
24025
+ */
24026
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader = function(msg, reader) {
24027
+ while (reader.nextField()) {
24028
+ if (reader.isEndGroup()) {
24029
+ break;
24030
+ }
24031
+ var field = reader.getFieldNumber();
24032
+ switch (field) {
24033
+ case 1:
24034
+ var value = /** @type {string} */ (reader.readString());
24035
+ msg.setUserName(value);
24036
+ break;
24037
+ case 2:
24038
+ var value = /** @type {string} */ (reader.readString());
24039
+ msg.setPort(value);
24040
+ break;
24041
+ case 3:
24042
+ var value = /** @type {string} */ (reader.readString());
24043
+ msg.setIpAddress(value);
24044
+ break;
24045
+ case 4:
24046
+ var value = new google_protobuf_timestamp_pb.Timestamp;
24047
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
24048
+ msg.setLogonTime(value);
24049
+ break;
24050
+ default:
24051
+ reader.skipField();
24052
+ break;
24053
+ }
24054
+ }
24055
+ return msg;
24056
+ };
24057
+
24058
+
24059
+ /**
24060
+ * Serializes the message to binary data (in protobuf wire format).
24061
+ * @return {!Uint8Array}
24062
+ */
24063
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.serializeBinary = function() {
24064
+ var writer = new jspb.BinaryWriter();
24065
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter(this, writer);
24066
+ return writer.getResultBuffer();
24067
+ };
24068
+
24069
+
24070
+ /**
24071
+ * Serializes the given message to binary data (in protobuf wire
24072
+ * format), writing to the given BinaryWriter.
24073
+ * @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} message
24074
+ * @param {!jspb.BinaryWriter} writer
24075
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24076
+ */
24077
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter = function(message, writer) {
24078
+ var f = undefined;
24079
+ f = message.getUserName();
24080
+ if (f.length > 0) {
24081
+ writer.writeString(
24082
+ 1,
24083
+ f
24084
+ );
24085
+ }
24086
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
24087
+ if (f != null) {
24088
+ writer.writeString(
24089
+ 2,
24090
+ f
24091
+ );
24092
+ }
24093
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
24094
+ if (f != null) {
24095
+ writer.writeString(
24096
+ 3,
24097
+ f
24098
+ );
24099
+ }
24100
+ f = message.getLogonTime();
24101
+ if (f != null) {
24102
+ writer.writeMessage(
24103
+ 4,
24104
+ f,
24105
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
24106
+ );
24107
+ }
24108
+ };
24109
+
24110
+
24111
+ /**
24112
+ * optional string user_name = 1;
24113
+ * @return {string}
24114
+ */
24115
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getUserName = function() {
24116
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24117
+ };
24118
+
24119
+
24120
+ /**
24121
+ * @param {string} value
24122
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24123
+ */
24124
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setUserName = function(value) {
24125
+ return jspb.Message.setProto3StringField(this, 1, value);
24126
+ };
24127
+
24128
+
24129
+ /**
24130
+ * optional string port = 2;
24131
+ * @return {string}
24132
+ */
24133
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getPort = function() {
24134
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24135
+ };
24136
+
24137
+
24138
+ /**
24139
+ * @param {string} value
24140
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24141
+ */
24142
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setPort = function(value) {
24143
+ return jspb.Message.setField(this, 2, value);
24144
+ };
24145
+
24146
+
24147
+ /**
24148
+ * Clears the field making it undefined.
24149
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24150
+ */
24151
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearPort = function() {
24152
+ return jspb.Message.setField(this, 2, undefined);
24153
+ };
24154
+
24155
+
24156
+ /**
24157
+ * Returns whether this field is set.
24158
+ * @return {boolean}
24159
+ */
24160
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasPort = function() {
24161
+ return jspb.Message.getField(this, 2) != null;
24162
+ };
24163
+
24164
+
24165
+ /**
24166
+ * optional string ip_address = 3;
24167
+ * @return {string}
24168
+ */
24169
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getIpAddress = function() {
24170
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24171
+ };
24172
+
24173
+
24174
+ /**
24175
+ * @param {string} value
24176
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24177
+ */
24178
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setIpAddress = function(value) {
24179
+ return jspb.Message.setField(this, 3, value);
24180
+ };
24181
+
24182
+
24183
+ /**
24184
+ * Clears the field making it undefined.
24185
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24186
+ */
24187
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearIpAddress = function() {
24188
+ return jspb.Message.setField(this, 3, undefined);
24189
+ };
24190
+
24191
+
24192
+ /**
24193
+ * Returns whether this field is set.
24194
+ * @return {boolean}
24195
+ */
24196
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasIpAddress = function() {
24197
+ return jspb.Message.getField(this, 3) != null;
24198
+ };
24199
+
24200
+
24201
+ /**
24202
+ * optional google.protobuf.Timestamp logon_time = 4;
24203
+ * @return {?proto.google.protobuf.Timestamp}
24204
+ */
24205
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getLogonTime = function() {
24206
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
24207
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
24208
+ };
24209
+
24210
+
24211
+ /**
24212
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
24213
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24214
+ */
24215
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setLogonTime = function(value) {
24216
+ return jspb.Message.setWrapperField(this, 4, value);
24217
+ };
24218
+
24219
+
24220
+ /**
24221
+ * Clears the message field making it undefined.
24222
+ * @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
24223
+ */
24224
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearLogonTime = function() {
24225
+ return this.setLogonTime(undefined);
24226
+ };
24227
+
24228
+
24229
+ /**
24230
+ * Returns whether this field is set.
24231
+ * @return {boolean}
24232
+ */
24233
+ proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasLogonTime = function() {
24234
+ return jspb.Message.getField(this, 4) != null;
24235
+ };
24236
+
24237
+
24238
+
24239
+
24240
+
23867
24241
  if (jspb.Message.GENERATE_TO_OBJECT) {
23868
24242
  /**
23869
24243
  * Creates an object representation of this proto.
@@ -38183,7 +38557,8 @@ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.toObject = functi
38183
38557
  */
38184
38558
  proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.toObject = function(includeInstance, msg) {
38185
38559
  var f, obj = {
38186
- protocolList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
38560
+ protocolList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
38561
+ snmp: (f = msg.getSnmp()) && proto.com.lansweeper.dp.outbound.v1.SnmpInfo.toObject(includeInstance, f)
38187
38562
  };
38188
38563
 
38189
38564
  if (includeInstance) {
@@ -38224,6 +38599,11 @@ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.deserializeBinaryFromReader
38224
38599
  var value = /** @type {string} */ (reader.readString());
38225
38600
  msg.addProtocol(value);
38226
38601
  break;
38602
+ case 2:
38603
+ var value = new proto.com.lansweeper.dp.outbound.v1.SnmpInfo;
38604
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SnmpInfo.deserializeBinaryFromReader);
38605
+ msg.setSnmp(value);
38606
+ break;
38227
38607
  default:
38228
38608
  reader.skipField();
38229
38609
  break;
@@ -38260,6 +38640,14 @@ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.serializeBinaryToWriter = f
38260
38640
  f
38261
38641
  );
38262
38642
  }
38643
+ f = message.getSnmp();
38644
+ if (f != null) {
38645
+ writer.writeMessage(
38646
+ 2,
38647
+ f,
38648
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.serializeBinaryToWriter
38649
+ );
38650
+ }
38263
38651
  };
38264
38652
 
38265
38653
 
@@ -38300,6 +38688,383 @@ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.clearProtocolList
38300
38688
  };
38301
38689
 
38302
38690
 
38691
+ /**
38692
+ * optional SnmpInfo snmp = 2;
38693
+ * @return {?proto.com.lansweeper.dp.outbound.v1.SnmpInfo}
38694
+ */
38695
+ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.getSnmp = function() {
38696
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.SnmpInfo} */ (
38697
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SnmpInfo, 2));
38698
+ };
38699
+
38700
+
38701
+ /**
38702
+ * @param {?proto.com.lansweeper.dp.outbound.v1.SnmpInfo|undefined} value
38703
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkProtocols} returns this
38704
+ */
38705
+ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.setSnmp = function(value) {
38706
+ return jspb.Message.setWrapperField(this, 2, value);
38707
+ };
38708
+
38709
+
38710
+ /**
38711
+ * Clears the message field making it undefined.
38712
+ * @return {!proto.com.lansweeper.dp.outbound.v1.NetworkProtocols} returns this
38713
+ */
38714
+ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.clearSnmp = function() {
38715
+ return this.setSnmp(undefined);
38716
+ };
38717
+
38718
+
38719
+ /**
38720
+ * Returns whether this field is set.
38721
+ * @return {boolean}
38722
+ */
38723
+ proto.com.lansweeper.dp.outbound.v1.NetworkProtocols.prototype.hasSnmp = function() {
38724
+ return jspb.Message.getField(this, 2) != null;
38725
+ };
38726
+
38727
+
38728
+
38729
+
38730
+
38731
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38732
+ /**
38733
+ * Creates an object representation of this proto.
38734
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38735
+ * Optional fields that are not set will be set to undefined.
38736
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38737
+ * For the list of reserved names please see:
38738
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38739
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38740
+ * JSPB instance for transitional soy proto support:
38741
+ * http://goto/soy-param-migration
38742
+ * @return {!Object}
38743
+ */
38744
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.toObject = function(opt_includeInstance) {
38745
+ return proto.com.lansweeper.dp.outbound.v1.SnmpInfo.toObject(opt_includeInstance, this);
38746
+ };
38747
+
38748
+
38749
+ /**
38750
+ * Static version of the {@see toObject} method.
38751
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38752
+ * the JSPB instance for transitional soy proto support:
38753
+ * http://goto/soy-param-migration
38754
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} msg The msg instance to transform.
38755
+ * @return {!Object}
38756
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38757
+ */
38758
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.toObject = function(includeInstance, msg) {
38759
+ var f, obj = {
38760
+ oid: jspb.Message.getFieldWithDefault(msg, 1, ""),
38761
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
38762
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
38763
+ contact: jspb.Message.getFieldWithDefault(msg, 4, ""),
38764
+ location: jspb.Message.getFieldWithDefault(msg, 5, "")
38765
+ };
38766
+
38767
+ if (includeInstance) {
38768
+ obj.$jspbMessageInstance = msg;
38769
+ }
38770
+ return obj;
38771
+ };
38772
+ }
38773
+
38774
+
38775
+ /**
38776
+ * Deserializes binary data (in protobuf wire format).
38777
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
38778
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo}
38779
+ */
38780
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.deserializeBinary = function(bytes) {
38781
+ var reader = new jspb.BinaryReader(bytes);
38782
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SnmpInfo;
38783
+ return proto.com.lansweeper.dp.outbound.v1.SnmpInfo.deserializeBinaryFromReader(msg, reader);
38784
+ };
38785
+
38786
+
38787
+ /**
38788
+ * Deserializes binary data (in protobuf wire format) from the
38789
+ * given reader into the given message object.
38790
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} msg The message object to deserialize into.
38791
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38792
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo}
38793
+ */
38794
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.deserializeBinaryFromReader = function(msg, reader) {
38795
+ while (reader.nextField()) {
38796
+ if (reader.isEndGroup()) {
38797
+ break;
38798
+ }
38799
+ var field = reader.getFieldNumber();
38800
+ switch (field) {
38801
+ case 1:
38802
+ var value = /** @type {string} */ (reader.readString());
38803
+ msg.setOid(value);
38804
+ break;
38805
+ case 2:
38806
+ var value = /** @type {string} */ (reader.readString());
38807
+ msg.setName(value);
38808
+ break;
38809
+ case 3:
38810
+ var value = /** @type {string} */ (reader.readString());
38811
+ msg.setDescription(value);
38812
+ break;
38813
+ case 4:
38814
+ var value = /** @type {string} */ (reader.readString());
38815
+ msg.setContact(value);
38816
+ break;
38817
+ case 5:
38818
+ var value = /** @type {string} */ (reader.readString());
38819
+ msg.setLocation(value);
38820
+ break;
38821
+ default:
38822
+ reader.skipField();
38823
+ break;
38824
+ }
38825
+ }
38826
+ return msg;
38827
+ };
38828
+
38829
+
38830
+ /**
38831
+ * Serializes the message to binary data (in protobuf wire format).
38832
+ * @return {!Uint8Array}
38833
+ */
38834
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.serializeBinary = function() {
38835
+ var writer = new jspb.BinaryWriter();
38836
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.serializeBinaryToWriter(this, writer);
38837
+ return writer.getResultBuffer();
38838
+ };
38839
+
38840
+
38841
+ /**
38842
+ * Serializes the given message to binary data (in protobuf wire
38843
+ * format), writing to the given BinaryWriter.
38844
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} message
38845
+ * @param {!jspb.BinaryWriter} writer
38846
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38847
+ */
38848
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.serializeBinaryToWriter = function(message, writer) {
38849
+ var f = undefined;
38850
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
38851
+ if (f != null) {
38852
+ writer.writeString(
38853
+ 1,
38854
+ f
38855
+ );
38856
+ }
38857
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
38858
+ if (f != null) {
38859
+ writer.writeString(
38860
+ 2,
38861
+ f
38862
+ );
38863
+ }
38864
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
38865
+ if (f != null) {
38866
+ writer.writeString(
38867
+ 3,
38868
+ f
38869
+ );
38870
+ }
38871
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
38872
+ if (f != null) {
38873
+ writer.writeString(
38874
+ 4,
38875
+ f
38876
+ );
38877
+ }
38878
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
38879
+ if (f != null) {
38880
+ writer.writeString(
38881
+ 5,
38882
+ f
38883
+ );
38884
+ }
38885
+ };
38886
+
38887
+
38888
+ /**
38889
+ * optional string oid = 1;
38890
+ * @return {string}
38891
+ */
38892
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.getOid = function() {
38893
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
38894
+ };
38895
+
38896
+
38897
+ /**
38898
+ * @param {string} value
38899
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38900
+ */
38901
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.setOid = function(value) {
38902
+ return jspb.Message.setField(this, 1, value);
38903
+ };
38904
+
38905
+
38906
+ /**
38907
+ * Clears the field making it undefined.
38908
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38909
+ */
38910
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.clearOid = function() {
38911
+ return jspb.Message.setField(this, 1, undefined);
38912
+ };
38913
+
38914
+
38915
+ /**
38916
+ * Returns whether this field is set.
38917
+ * @return {boolean}
38918
+ */
38919
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.hasOid = function() {
38920
+ return jspb.Message.getField(this, 1) != null;
38921
+ };
38922
+
38923
+
38924
+ /**
38925
+ * optional string name = 2;
38926
+ * @return {string}
38927
+ */
38928
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.getName = function() {
38929
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
38930
+ };
38931
+
38932
+
38933
+ /**
38934
+ * @param {string} value
38935
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38936
+ */
38937
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.setName = function(value) {
38938
+ return jspb.Message.setField(this, 2, value);
38939
+ };
38940
+
38941
+
38942
+ /**
38943
+ * Clears the field making it undefined.
38944
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38945
+ */
38946
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.clearName = function() {
38947
+ return jspb.Message.setField(this, 2, undefined);
38948
+ };
38949
+
38950
+
38951
+ /**
38952
+ * Returns whether this field is set.
38953
+ * @return {boolean}
38954
+ */
38955
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.hasName = function() {
38956
+ return jspb.Message.getField(this, 2) != null;
38957
+ };
38958
+
38959
+
38960
+ /**
38961
+ * optional string description = 3;
38962
+ * @return {string}
38963
+ */
38964
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.getDescription = function() {
38965
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
38966
+ };
38967
+
38968
+
38969
+ /**
38970
+ * @param {string} value
38971
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38972
+ */
38973
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.setDescription = function(value) {
38974
+ return jspb.Message.setField(this, 3, value);
38975
+ };
38976
+
38977
+
38978
+ /**
38979
+ * Clears the field making it undefined.
38980
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
38981
+ */
38982
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.clearDescription = function() {
38983
+ return jspb.Message.setField(this, 3, undefined);
38984
+ };
38985
+
38986
+
38987
+ /**
38988
+ * Returns whether this field is set.
38989
+ * @return {boolean}
38990
+ */
38991
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.hasDescription = function() {
38992
+ return jspb.Message.getField(this, 3) != null;
38993
+ };
38994
+
38995
+
38996
+ /**
38997
+ * optional string contact = 4;
38998
+ * @return {string}
38999
+ */
39000
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.getContact = function() {
39001
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
39002
+ };
39003
+
39004
+
39005
+ /**
39006
+ * @param {string} value
39007
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
39008
+ */
39009
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.setContact = function(value) {
39010
+ return jspb.Message.setField(this, 4, value);
39011
+ };
39012
+
39013
+
39014
+ /**
39015
+ * Clears the field making it undefined.
39016
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
39017
+ */
39018
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.clearContact = function() {
39019
+ return jspb.Message.setField(this, 4, undefined);
39020
+ };
39021
+
39022
+
39023
+ /**
39024
+ * Returns whether this field is set.
39025
+ * @return {boolean}
39026
+ */
39027
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.hasContact = function() {
39028
+ return jspb.Message.getField(this, 4) != null;
39029
+ };
39030
+
39031
+
39032
+ /**
39033
+ * optional string location = 5;
39034
+ * @return {string}
39035
+ */
39036
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.getLocation = function() {
39037
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
39038
+ };
39039
+
39040
+
39041
+ /**
39042
+ * @param {string} value
39043
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
39044
+ */
39045
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.setLocation = function(value) {
39046
+ return jspb.Message.setField(this, 5, value);
39047
+ };
39048
+
39049
+
39050
+ /**
39051
+ * Clears the field making it undefined.
39052
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SnmpInfo} returns this
39053
+ */
39054
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.clearLocation = function() {
39055
+ return jspb.Message.setField(this, 5, undefined);
39056
+ };
39057
+
39058
+
39059
+ /**
39060
+ * Returns whether this field is set.
39061
+ * @return {boolean}
39062
+ */
39063
+ proto.com.lansweeper.dp.outbound.v1.SnmpInfo.prototype.hasLocation = function() {
39064
+ return jspb.Message.getField(this, 5) != null;
39065
+ };
39066
+
39067
+
38303
39068
 
38304
39069
  /**
38305
39070
  * List of repeated fields within this message type.