@lansweeper/data-platform-outbound-grpc 0.3.8 → 0.3.9
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.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +43 -0
- package/gen-proto/outbound_pb.js +354 -2
- package/generated-go/outbound.pb.go +8895 -8782
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +8 -2
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Computer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogon.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +8 -2
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Computer.java +443 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerOrBuilder.java +44 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +2600 -2583
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogon.java +1121 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogonOrBuilder.java +95 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.3.7-sources.jar → outbound-model-0.3.8-sources.jar} +0 -0
- package/model/target/{outbound-model-0.3.7.jar → outbound-model-0.3.8.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +8 -2
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.3.7-sources.jar → outbound-service-0.3.8-sources.jar} +0 -0
- package/service/target/{outbound-service-0.3.7.jar → outbound-service-0.3.8.jar} +0 -0
|
@@ -1237,6 +1237,10 @@ export class Computer extends jspb.Message {
|
|
|
1237
1237
|
getUserInGroupList(): Array<UserInGroup>;
|
|
1238
1238
|
setUserInGroupList(value: Array<UserInGroup>): Computer;
|
|
1239
1239
|
addUserInGroup(value?: UserInGroup, index?: number): UserInGroup;
|
|
1240
|
+
clearUserLogonList(): void;
|
|
1241
|
+
getUserLogonList(): Array<UserLogon>;
|
|
1242
|
+
setUserLogonList(value: Array<UserLogon>): Computer;
|
|
1243
|
+
addUserLogon(value?: UserLogon, index?: number): UserLogon;
|
|
1240
1244
|
|
|
1241
1245
|
serializeBinary(): Uint8Array;
|
|
1242
1246
|
toObject(includeInstance?: boolean): Computer.AsObject;
|
|
@@ -1333,6 +1337,7 @@ export namespace Computer {
|
|
|
1333
1337
|
userList: Array<UserAccount.AsObject>,
|
|
1334
1338
|
userGroupList: Array<UserGroup.AsObject>,
|
|
1335
1339
|
userInGroupList: Array<UserInGroup.AsObject>,
|
|
1340
|
+
userLogonList: Array<UserLogon.AsObject>,
|
|
1336
1341
|
}
|
|
1337
1342
|
}
|
|
1338
1343
|
|
|
@@ -2377,6 +2382,44 @@ export namespace LastUser {
|
|
|
2377
2382
|
}
|
|
2378
2383
|
}
|
|
2379
2384
|
|
|
2385
|
+
export class UserLogon extends jspb.Message {
|
|
2386
|
+
getUserName(): string;
|
|
2387
|
+
setUserName(value: string): UserLogon;
|
|
2388
|
+
|
|
2389
|
+
hasPort(): boolean;
|
|
2390
|
+
clearPort(): void;
|
|
2391
|
+
getPort(): string | undefined;
|
|
2392
|
+
setPort(value: string): UserLogon;
|
|
2393
|
+
|
|
2394
|
+
hasIpAddress(): boolean;
|
|
2395
|
+
clearIpAddress(): void;
|
|
2396
|
+
getIpAddress(): string | undefined;
|
|
2397
|
+
setIpAddress(value: string): UserLogon;
|
|
2398
|
+
|
|
2399
|
+
hasLogonTime(): boolean;
|
|
2400
|
+
clearLogonTime(): void;
|
|
2401
|
+
getLogonTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
2402
|
+
setLogonTime(value?: google_protobuf_timestamp_pb.Timestamp): UserLogon;
|
|
2403
|
+
|
|
2404
|
+
serializeBinary(): Uint8Array;
|
|
2405
|
+
toObject(includeInstance?: boolean): UserLogon.AsObject;
|
|
2406
|
+
static toObject(includeInstance: boolean, msg: UserLogon): UserLogon.AsObject;
|
|
2407
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2408
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2409
|
+
static serializeBinaryToWriter(message: UserLogon, writer: jspb.BinaryWriter): void;
|
|
2410
|
+
static deserializeBinary(bytes: Uint8Array): UserLogon;
|
|
2411
|
+
static deserializeBinaryFromReader(message: UserLogon, reader: jspb.BinaryReader): UserLogon;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
export namespace UserLogon {
|
|
2415
|
+
export type AsObject = {
|
|
2416
|
+
userName: string,
|
|
2417
|
+
port?: string,
|
|
2418
|
+
ipAddress?: string,
|
|
2419
|
+
logonTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2380
2423
|
export class UserAccount extends jspb.Message {
|
|
2381
2424
|
|
|
2382
2425
|
hasName(): boolean;
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -239,6 +239,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserAccount', null, globa
|
|
|
239
239
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserCoreFields', null, global);
|
|
240
240
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserGroup', null, global);
|
|
241
241
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserInGroup', null, global);
|
|
242
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.UserLogon', null, global);
|
|
242
243
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WarrantyInfo', null, global);
|
|
243
244
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WiFiInterface', null, global);
|
|
244
245
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WiFiNetwork', null, global);
|
|
@@ -1146,6 +1147,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1146
1147
|
*/
|
|
1147
1148
|
proto.com.lansweeper.dp.outbound.v1.LastUser.displayName = 'proto.com.lansweeper.dp.outbound.v1.LastUser';
|
|
1148
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Generated by JsPbCodeGenerator.
|
|
1152
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1153
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1154
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1155
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1156
|
+
* valid.
|
|
1157
|
+
* @extends {jspb.Message}
|
|
1158
|
+
* @constructor
|
|
1159
|
+
*/
|
|
1160
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon = function(opt_data) {
|
|
1161
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1162
|
+
};
|
|
1163
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.UserLogon, jspb.Message);
|
|
1164
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1165
|
+
/**
|
|
1166
|
+
* @public
|
|
1167
|
+
* @override
|
|
1168
|
+
*/
|
|
1169
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.displayName = 'proto.com.lansweeper.dp.outbound.v1.UserLogon';
|
|
1170
|
+
}
|
|
1149
1171
|
/**
|
|
1150
1172
|
* Generated by JsPbCodeGenerator.
|
|
1151
1173
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11488,7 +11510,7 @@ proto.com.lansweeper.dp.outbound.v1.WarrantyInfo.prototype.setIsReliable = funct
|
|
|
11488
11510
|
* @private {!Array<number>}
|
|
11489
11511
|
* @const
|
|
11490
11512
|
*/
|
|
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];
|
|
11513
|
+
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
11514
|
|
|
11493
11515
|
|
|
11494
11516
|
|
|
@@ -11668,7 +11690,9 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
|
|
|
11668
11690
|
userGroupList: jspb.Message.toObjectList(msg.getUserGroupList(),
|
|
11669
11691
|
proto.com.lansweeper.dp.outbound.v1.UserGroup.toObject, includeInstance),
|
|
11670
11692
|
userInGroupList: jspb.Message.toObjectList(msg.getUserInGroupList(),
|
|
11671
|
-
proto.com.lansweeper.dp.outbound.v1.UserInGroup.toObject, includeInstance)
|
|
11693
|
+
proto.com.lansweeper.dp.outbound.v1.UserInGroup.toObject, includeInstance),
|
|
11694
|
+
userLogonList: jspb.Message.toObjectList(msg.getUserLogonList(),
|
|
11695
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject, includeInstance)
|
|
11672
11696
|
};
|
|
11673
11697
|
|
|
11674
11698
|
if (includeInstance) {
|
|
@@ -12120,6 +12144,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
|
|
|
12120
12144
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.UserInGroup.deserializeBinaryFromReader);
|
|
12121
12145
|
msg.addUserInGroup(value);
|
|
12122
12146
|
break;
|
|
12147
|
+
case 305:
|
|
12148
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.UserLogon;
|
|
12149
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader);
|
|
12150
|
+
msg.addUserLogon(value);
|
|
12151
|
+
break;
|
|
12123
12152
|
default:
|
|
12124
12153
|
reader.skipField();
|
|
12125
12154
|
break;
|
|
@@ -12813,6 +12842,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
|
|
|
12813
12842
|
proto.com.lansweeper.dp.outbound.v1.UserInGroup.serializeBinaryToWriter
|
|
12814
12843
|
);
|
|
12815
12844
|
}
|
|
12845
|
+
f = message.getUserLogonList();
|
|
12846
|
+
if (f.length > 0) {
|
|
12847
|
+
writer.writeRepeatedMessage(
|
|
12848
|
+
305,
|
|
12849
|
+
f,
|
|
12850
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter
|
|
12851
|
+
);
|
|
12852
|
+
}
|
|
12816
12853
|
};
|
|
12817
12854
|
|
|
12818
12855
|
|
|
@@ -15952,6 +15989,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearUserInGroupList = fu
|
|
|
15952
15989
|
};
|
|
15953
15990
|
|
|
15954
15991
|
|
|
15992
|
+
/**
|
|
15993
|
+
* repeated UserLogon user_logon = 305;
|
|
15994
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>}
|
|
15995
|
+
*/
|
|
15996
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getUserLogonList = function() {
|
|
15997
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>} */ (
|
|
15998
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.UserLogon, 305));
|
|
15999
|
+
};
|
|
16000
|
+
|
|
16001
|
+
|
|
16002
|
+
/**
|
|
16003
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.UserLogon>} value
|
|
16004
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
|
|
16005
|
+
*/
|
|
16006
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setUserLogonList = function(value) {
|
|
16007
|
+
return jspb.Message.setRepeatedWrapperField(this, 305, value);
|
|
16008
|
+
};
|
|
16009
|
+
|
|
16010
|
+
|
|
16011
|
+
/**
|
|
16012
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon=} opt_value
|
|
16013
|
+
* @param {number=} opt_index
|
|
16014
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
|
|
16015
|
+
*/
|
|
16016
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addUserLogon = function(opt_value, opt_index) {
|
|
16017
|
+
return jspb.Message.addToRepeatedWrapperField(this, 305, opt_value, proto.com.lansweeper.dp.outbound.v1.UserLogon, opt_index);
|
|
16018
|
+
};
|
|
16019
|
+
|
|
16020
|
+
|
|
16021
|
+
/**
|
|
16022
|
+
* Clears the list making it empty but non-null.
|
|
16023
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
|
|
16024
|
+
*/
|
|
16025
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearUserLogonList = function() {
|
|
16026
|
+
return this.setUserLogonList([]);
|
|
16027
|
+
};
|
|
16028
|
+
|
|
16029
|
+
|
|
15955
16030
|
|
|
15956
16031
|
|
|
15957
16032
|
|
|
@@ -23864,6 +23939,283 @@ proto.com.lansweeper.dp.outbound.v1.LastUser.prototype.hasSid = function() {
|
|
|
23864
23939
|
|
|
23865
23940
|
|
|
23866
23941
|
|
|
23942
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23943
|
+
/**
|
|
23944
|
+
* Creates an object representation of this proto.
|
|
23945
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23946
|
+
* Optional fields that are not set will be set to undefined.
|
|
23947
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23948
|
+
* For the list of reserved names please see:
|
|
23949
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23950
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23951
|
+
* JSPB instance for transitional soy proto support:
|
|
23952
|
+
* http://goto/soy-param-migration
|
|
23953
|
+
* @return {!Object}
|
|
23954
|
+
*/
|
|
23955
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.toObject = function(opt_includeInstance) {
|
|
23956
|
+
return proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject(opt_includeInstance, this);
|
|
23957
|
+
};
|
|
23958
|
+
|
|
23959
|
+
|
|
23960
|
+
/**
|
|
23961
|
+
* Static version of the {@see toObject} method.
|
|
23962
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23963
|
+
* the JSPB instance for transitional soy proto support:
|
|
23964
|
+
* http://goto/soy-param-migration
|
|
23965
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} msg The msg instance to transform.
|
|
23966
|
+
* @return {!Object}
|
|
23967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23968
|
+
*/
|
|
23969
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.toObject = function(includeInstance, msg) {
|
|
23970
|
+
var f, obj = {
|
|
23971
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23972
|
+
port: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23973
|
+
ipAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
23974
|
+
logonTime: (f = msg.getLogonTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
23975
|
+
};
|
|
23976
|
+
|
|
23977
|
+
if (includeInstance) {
|
|
23978
|
+
obj.$jspbMessageInstance = msg;
|
|
23979
|
+
}
|
|
23980
|
+
return obj;
|
|
23981
|
+
};
|
|
23982
|
+
}
|
|
23983
|
+
|
|
23984
|
+
|
|
23985
|
+
/**
|
|
23986
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23987
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23988
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
|
|
23989
|
+
*/
|
|
23990
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinary = function(bytes) {
|
|
23991
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23992
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.UserLogon;
|
|
23993
|
+
return proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader(msg, reader);
|
|
23994
|
+
};
|
|
23995
|
+
|
|
23996
|
+
|
|
23997
|
+
/**
|
|
23998
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23999
|
+
* given reader into the given message object.
|
|
24000
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} msg The message object to deserialize into.
|
|
24001
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24002
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon}
|
|
24003
|
+
*/
|
|
24004
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.deserializeBinaryFromReader = function(msg, reader) {
|
|
24005
|
+
while (reader.nextField()) {
|
|
24006
|
+
if (reader.isEndGroup()) {
|
|
24007
|
+
break;
|
|
24008
|
+
}
|
|
24009
|
+
var field = reader.getFieldNumber();
|
|
24010
|
+
switch (field) {
|
|
24011
|
+
case 1:
|
|
24012
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24013
|
+
msg.setUserName(value);
|
|
24014
|
+
break;
|
|
24015
|
+
case 2:
|
|
24016
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24017
|
+
msg.setPort(value);
|
|
24018
|
+
break;
|
|
24019
|
+
case 3:
|
|
24020
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24021
|
+
msg.setIpAddress(value);
|
|
24022
|
+
break;
|
|
24023
|
+
case 4:
|
|
24024
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
24025
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
24026
|
+
msg.setLogonTime(value);
|
|
24027
|
+
break;
|
|
24028
|
+
default:
|
|
24029
|
+
reader.skipField();
|
|
24030
|
+
break;
|
|
24031
|
+
}
|
|
24032
|
+
}
|
|
24033
|
+
return msg;
|
|
24034
|
+
};
|
|
24035
|
+
|
|
24036
|
+
|
|
24037
|
+
/**
|
|
24038
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24039
|
+
* @return {!Uint8Array}
|
|
24040
|
+
*/
|
|
24041
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.serializeBinary = function() {
|
|
24042
|
+
var writer = new jspb.BinaryWriter();
|
|
24043
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter(this, writer);
|
|
24044
|
+
return writer.getResultBuffer();
|
|
24045
|
+
};
|
|
24046
|
+
|
|
24047
|
+
|
|
24048
|
+
/**
|
|
24049
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24050
|
+
* format), writing to the given BinaryWriter.
|
|
24051
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.UserLogon} message
|
|
24052
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24053
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24054
|
+
*/
|
|
24055
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.serializeBinaryToWriter = function(message, writer) {
|
|
24056
|
+
var f = undefined;
|
|
24057
|
+
f = message.getUserName();
|
|
24058
|
+
if (f.length > 0) {
|
|
24059
|
+
writer.writeString(
|
|
24060
|
+
1,
|
|
24061
|
+
f
|
|
24062
|
+
);
|
|
24063
|
+
}
|
|
24064
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
24065
|
+
if (f != null) {
|
|
24066
|
+
writer.writeString(
|
|
24067
|
+
2,
|
|
24068
|
+
f
|
|
24069
|
+
);
|
|
24070
|
+
}
|
|
24071
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
24072
|
+
if (f != null) {
|
|
24073
|
+
writer.writeString(
|
|
24074
|
+
3,
|
|
24075
|
+
f
|
|
24076
|
+
);
|
|
24077
|
+
}
|
|
24078
|
+
f = message.getLogonTime();
|
|
24079
|
+
if (f != null) {
|
|
24080
|
+
writer.writeMessage(
|
|
24081
|
+
4,
|
|
24082
|
+
f,
|
|
24083
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
24084
|
+
);
|
|
24085
|
+
}
|
|
24086
|
+
};
|
|
24087
|
+
|
|
24088
|
+
|
|
24089
|
+
/**
|
|
24090
|
+
* optional string user_name = 1;
|
|
24091
|
+
* @return {string}
|
|
24092
|
+
*/
|
|
24093
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getUserName = function() {
|
|
24094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24095
|
+
};
|
|
24096
|
+
|
|
24097
|
+
|
|
24098
|
+
/**
|
|
24099
|
+
* @param {string} value
|
|
24100
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24101
|
+
*/
|
|
24102
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setUserName = function(value) {
|
|
24103
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
24104
|
+
};
|
|
24105
|
+
|
|
24106
|
+
|
|
24107
|
+
/**
|
|
24108
|
+
* optional string port = 2;
|
|
24109
|
+
* @return {string}
|
|
24110
|
+
*/
|
|
24111
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getPort = function() {
|
|
24112
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24113
|
+
};
|
|
24114
|
+
|
|
24115
|
+
|
|
24116
|
+
/**
|
|
24117
|
+
* @param {string} value
|
|
24118
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24119
|
+
*/
|
|
24120
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setPort = function(value) {
|
|
24121
|
+
return jspb.Message.setField(this, 2, value);
|
|
24122
|
+
};
|
|
24123
|
+
|
|
24124
|
+
|
|
24125
|
+
/**
|
|
24126
|
+
* Clears the field making it undefined.
|
|
24127
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24128
|
+
*/
|
|
24129
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearPort = function() {
|
|
24130
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
24131
|
+
};
|
|
24132
|
+
|
|
24133
|
+
|
|
24134
|
+
/**
|
|
24135
|
+
* Returns whether this field is set.
|
|
24136
|
+
* @return {boolean}
|
|
24137
|
+
*/
|
|
24138
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasPort = function() {
|
|
24139
|
+
return jspb.Message.getField(this, 2) != null;
|
|
24140
|
+
};
|
|
24141
|
+
|
|
24142
|
+
|
|
24143
|
+
/**
|
|
24144
|
+
* optional string ip_address = 3;
|
|
24145
|
+
* @return {string}
|
|
24146
|
+
*/
|
|
24147
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getIpAddress = function() {
|
|
24148
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
24149
|
+
};
|
|
24150
|
+
|
|
24151
|
+
|
|
24152
|
+
/**
|
|
24153
|
+
* @param {string} value
|
|
24154
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24155
|
+
*/
|
|
24156
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setIpAddress = function(value) {
|
|
24157
|
+
return jspb.Message.setField(this, 3, value);
|
|
24158
|
+
};
|
|
24159
|
+
|
|
24160
|
+
|
|
24161
|
+
/**
|
|
24162
|
+
* Clears the field making it undefined.
|
|
24163
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24164
|
+
*/
|
|
24165
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearIpAddress = function() {
|
|
24166
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
24167
|
+
};
|
|
24168
|
+
|
|
24169
|
+
|
|
24170
|
+
/**
|
|
24171
|
+
* Returns whether this field is set.
|
|
24172
|
+
* @return {boolean}
|
|
24173
|
+
*/
|
|
24174
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasIpAddress = function() {
|
|
24175
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24176
|
+
};
|
|
24177
|
+
|
|
24178
|
+
|
|
24179
|
+
/**
|
|
24180
|
+
* optional google.protobuf.Timestamp logon_time = 4;
|
|
24181
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
24182
|
+
*/
|
|
24183
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.getLogonTime = function() {
|
|
24184
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
24185
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
24186
|
+
};
|
|
24187
|
+
|
|
24188
|
+
|
|
24189
|
+
/**
|
|
24190
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
24191
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24192
|
+
*/
|
|
24193
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.setLogonTime = function(value) {
|
|
24194
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
24195
|
+
};
|
|
24196
|
+
|
|
24197
|
+
|
|
24198
|
+
/**
|
|
24199
|
+
* Clears the message field making it undefined.
|
|
24200
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.UserLogon} returns this
|
|
24201
|
+
*/
|
|
24202
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.clearLogonTime = function() {
|
|
24203
|
+
return this.setLogonTime(undefined);
|
|
24204
|
+
};
|
|
24205
|
+
|
|
24206
|
+
|
|
24207
|
+
/**
|
|
24208
|
+
* Returns whether this field is set.
|
|
24209
|
+
* @return {boolean}
|
|
24210
|
+
*/
|
|
24211
|
+
proto.com.lansweeper.dp.outbound.v1.UserLogon.prototype.hasLogonTime = function() {
|
|
24212
|
+
return jspb.Message.getField(this, 4) != null;
|
|
24213
|
+
};
|
|
24214
|
+
|
|
24215
|
+
|
|
24216
|
+
|
|
24217
|
+
|
|
24218
|
+
|
|
23867
24219
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23868
24220
|
/**
|
|
23869
24221
|
* Creates an object representation of this proto.
|