@lansweeper/data-platform-outbound-grpc 0.1.55 → 0.1.56
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 +110 -0
- package/gen-proto/outbound_pb.js +891 -1
- package/generated-go/outbound.pb.go +3645 -3357
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +28 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -37,6 +37,8 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Chassis', null, global);
|
|
|
37
37
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudEntity', null, global);
|
|
38
38
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerBattery', null, global);
|
|
39
39
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerBattery.SpecCase', null, global);
|
|
40
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerBus', null, global);
|
|
41
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ComputerInfrared', null, global);
|
|
40
42
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CoreFields', null, global);
|
|
41
43
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.DriveVolume', null, global);
|
|
42
44
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Driver', null, global);
|
|
@@ -904,6 +906,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
904
906
|
*/
|
|
905
907
|
proto.com.lansweeper.dp.outbound.v1.Keyboard.displayName = 'proto.com.lansweeper.dp.outbound.v1.Keyboard';
|
|
906
908
|
}
|
|
909
|
+
/**
|
|
910
|
+
* Generated by JsPbCodeGenerator.
|
|
911
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
912
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
913
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
914
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
915
|
+
* valid.
|
|
916
|
+
* @extends {jspb.Message}
|
|
917
|
+
* @constructor
|
|
918
|
+
*/
|
|
919
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus = function(opt_data) {
|
|
920
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
921
|
+
};
|
|
922
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerBus, jspb.Message);
|
|
923
|
+
if (goog.DEBUG && !COMPILED) {
|
|
924
|
+
/**
|
|
925
|
+
* @public
|
|
926
|
+
* @override
|
|
927
|
+
*/
|
|
928
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerBus';
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* Generated by JsPbCodeGenerator.
|
|
932
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
933
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
934
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
935
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
936
|
+
* valid.
|
|
937
|
+
* @extends {jspb.Message}
|
|
938
|
+
* @constructor
|
|
939
|
+
*/
|
|
940
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared = function(opt_data) {
|
|
941
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
942
|
+
};
|
|
943
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.ComputerInfrared, jspb.Message);
|
|
944
|
+
if (goog.DEBUG && !COMPILED) {
|
|
945
|
+
/**
|
|
946
|
+
* @public
|
|
947
|
+
* @override
|
|
948
|
+
*/
|
|
949
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.displayName = 'proto.com.lansweeper.dp.outbound.v1.ComputerInfrared';
|
|
950
|
+
}
|
|
907
951
|
/**
|
|
908
952
|
* Generated by JsPbCodeGenerator.
|
|
909
953
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3853,7 +3897,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
|
|
|
3853
3897
|
* @private {!Array<number>}
|
|
3854
3898
|
* @const
|
|
3855
3899
|
*/
|
|
3856
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,37,43,15,45,24,25,38,40,27,30,28,29,34,36,41,44];
|
|
3900
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [33,14,20,26,13,37,43,15,45,24,25,38,40,27,30,28,29,47,48,34,36,41,44];
|
|
3857
3901
|
|
|
3858
3902
|
|
|
3859
3903
|
|
|
@@ -3939,6 +3983,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
3939
3983
|
proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject, includeInstance),
|
|
3940
3984
|
pointingDeviceList: jspb.Message.toObjectList(msg.getPointingDeviceList(),
|
|
3941
3985
|
proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject, includeInstance),
|
|
3986
|
+
computerBusList: jspb.Message.toObjectList(msg.getComputerBusList(),
|
|
3987
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject, includeInstance),
|
|
3988
|
+
computerInfraredList: jspb.Message.toObjectList(msg.getComputerInfraredList(),
|
|
3989
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject, includeInstance),
|
|
3942
3990
|
autoRunCommandList: jspb.Message.toObjectList(msg.getAutoRunCommandList(),
|
|
3943
3991
|
proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.toObject, includeInstance),
|
|
3944
3992
|
bootConfig: (f = msg.getBootConfig()) && proto.com.lansweeper.dp.outbound.v1.BootConfig.toObject(includeInstance, f),
|
|
@@ -4165,6 +4213,16 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
4165
4213
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader);
|
|
4166
4214
|
msg.addPointingDevice(value);
|
|
4167
4215
|
break;
|
|
4216
|
+
case 47:
|
|
4217
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ComputerBus;
|
|
4218
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader);
|
|
4219
|
+
msg.addComputerBus(value);
|
|
4220
|
+
break;
|
|
4221
|
+
case 48:
|
|
4222
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ComputerInfrared;
|
|
4223
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader);
|
|
4224
|
+
msg.addComputerInfrared(value);
|
|
4225
|
+
break;
|
|
4168
4226
|
case 34:
|
|
4169
4227
|
var value = new proto.com.lansweeper.dp.outbound.v1.AutoRunCommand;
|
|
4170
4228
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.deserializeBinaryFromReader);
|
|
@@ -4520,6 +4578,22 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
4520
4578
|
proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter
|
|
4521
4579
|
);
|
|
4522
4580
|
}
|
|
4581
|
+
f = message.getComputerBusList();
|
|
4582
|
+
if (f.length > 0) {
|
|
4583
|
+
writer.writeRepeatedMessage(
|
|
4584
|
+
47,
|
|
4585
|
+
f,
|
|
4586
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter
|
|
4587
|
+
);
|
|
4588
|
+
}
|
|
4589
|
+
f = message.getComputerInfraredList();
|
|
4590
|
+
if (f.length > 0) {
|
|
4591
|
+
writer.writeRepeatedMessage(
|
|
4592
|
+
48,
|
|
4593
|
+
f,
|
|
4594
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter
|
|
4595
|
+
);
|
|
4596
|
+
}
|
|
4523
4597
|
f = message.getAutoRunCommandList();
|
|
4524
4598
|
if (f.length > 0) {
|
|
4525
4599
|
writer.writeRepeatedMessage(
|
|
@@ -5934,6 +6008,82 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearPointingDeviceList = fu
|
|
|
5934
6008
|
};
|
|
5935
6009
|
|
|
5936
6010
|
|
|
6011
|
+
/**
|
|
6012
|
+
* repeated ComputerBus computer_bus = 47;
|
|
6013
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>}
|
|
6014
|
+
*/
|
|
6015
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputerBusList = function() {
|
|
6016
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>} */ (
|
|
6017
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerBus, 47));
|
|
6018
|
+
};
|
|
6019
|
+
|
|
6020
|
+
|
|
6021
|
+
/**
|
|
6022
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>} value
|
|
6023
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6024
|
+
*/
|
|
6025
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputerBusList = function(value) {
|
|
6026
|
+
return jspb.Message.setRepeatedWrapperField(this, 47, value);
|
|
6027
|
+
};
|
|
6028
|
+
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus=} opt_value
|
|
6032
|
+
* @param {number=} opt_index
|
|
6033
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
6034
|
+
*/
|
|
6035
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addComputerBus = function(opt_value, opt_index) {
|
|
6036
|
+
return jspb.Message.addToRepeatedWrapperField(this, 47, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerBus, opt_index);
|
|
6037
|
+
};
|
|
6038
|
+
|
|
6039
|
+
|
|
6040
|
+
/**
|
|
6041
|
+
* Clears the list making it empty but non-null.
|
|
6042
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6043
|
+
*/
|
|
6044
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputerBusList = function() {
|
|
6045
|
+
return this.setComputerBusList([]);
|
|
6046
|
+
};
|
|
6047
|
+
|
|
6048
|
+
|
|
6049
|
+
/**
|
|
6050
|
+
* repeated ComputerInfrared computer_infrared = 48;
|
|
6051
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>}
|
|
6052
|
+
*/
|
|
6053
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputerInfraredList = function() {
|
|
6054
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>} */ (
|
|
6055
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerInfrared, 48));
|
|
6056
|
+
};
|
|
6057
|
+
|
|
6058
|
+
|
|
6059
|
+
/**
|
|
6060
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>} value
|
|
6061
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6062
|
+
*/
|
|
6063
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputerInfraredList = function(value) {
|
|
6064
|
+
return jspb.Message.setRepeatedWrapperField(this, 48, value);
|
|
6065
|
+
};
|
|
6066
|
+
|
|
6067
|
+
|
|
6068
|
+
/**
|
|
6069
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared=} opt_value
|
|
6070
|
+
* @param {number=} opt_index
|
|
6071
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
6072
|
+
*/
|
|
6073
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addComputerInfrared = function(opt_value, opt_index) {
|
|
6074
|
+
return jspb.Message.addToRepeatedWrapperField(this, 48, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerInfrared, opt_index);
|
|
6075
|
+
};
|
|
6076
|
+
|
|
6077
|
+
|
|
6078
|
+
/**
|
|
6079
|
+
* Clears the list making it empty but non-null.
|
|
6080
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6081
|
+
*/
|
|
6082
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputerInfraredList = function() {
|
|
6083
|
+
return this.setComputerInfraredList([]);
|
|
6084
|
+
};
|
|
6085
|
+
|
|
6086
|
+
|
|
5937
6087
|
/**
|
|
5938
6088
|
* repeated AutoRunCommand auto_run_command = 34;
|
|
5939
6089
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand>}
|
|
@@ -21494,6 +21644,746 @@ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasNumberOfFunctionKeys =
|
|
|
21494
21644
|
|
|
21495
21645
|
|
|
21496
21646
|
|
|
21647
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21648
|
+
/**
|
|
21649
|
+
* Creates an object representation of this proto.
|
|
21650
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21651
|
+
* Optional fields that are not set will be set to undefined.
|
|
21652
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21653
|
+
* For the list of reserved names please see:
|
|
21654
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21655
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21656
|
+
* JSPB instance for transitional soy proto support:
|
|
21657
|
+
* http://goto/soy-param-migration
|
|
21658
|
+
* @return {!Object}
|
|
21659
|
+
*/
|
|
21660
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.toObject = function(opt_includeInstance) {
|
|
21661
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject(opt_includeInstance, this);
|
|
21662
|
+
};
|
|
21663
|
+
|
|
21664
|
+
|
|
21665
|
+
/**
|
|
21666
|
+
* Static version of the {@see toObject} method.
|
|
21667
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21668
|
+
* the JSPB instance for transitional soy proto support:
|
|
21669
|
+
* http://goto/soy-param-migration
|
|
21670
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} msg The msg instance to transform.
|
|
21671
|
+
* @return {!Object}
|
|
21672
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21673
|
+
*/
|
|
21674
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject = function(includeInstance, msg) {
|
|
21675
|
+
var f, obj = {
|
|
21676
|
+
busNum: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21677
|
+
busType: (f = msg.getBusType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
21678
|
+
deviceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
21679
|
+
pnpDeviceId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
21680
|
+
};
|
|
21681
|
+
|
|
21682
|
+
if (includeInstance) {
|
|
21683
|
+
obj.$jspbMessageInstance = msg;
|
|
21684
|
+
}
|
|
21685
|
+
return obj;
|
|
21686
|
+
};
|
|
21687
|
+
}
|
|
21688
|
+
|
|
21689
|
+
|
|
21690
|
+
/**
|
|
21691
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21692
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21693
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
21694
|
+
*/
|
|
21695
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinary = function(bytes) {
|
|
21696
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21697
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerBus;
|
|
21698
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader(msg, reader);
|
|
21699
|
+
};
|
|
21700
|
+
|
|
21701
|
+
|
|
21702
|
+
/**
|
|
21703
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21704
|
+
* given reader into the given message object.
|
|
21705
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} msg The message object to deserialize into.
|
|
21706
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21707
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
21708
|
+
*/
|
|
21709
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader = function(msg, reader) {
|
|
21710
|
+
while (reader.nextField()) {
|
|
21711
|
+
if (reader.isEndGroup()) {
|
|
21712
|
+
break;
|
|
21713
|
+
}
|
|
21714
|
+
var field = reader.getFieldNumber();
|
|
21715
|
+
switch (field) {
|
|
21716
|
+
case 1:
|
|
21717
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21718
|
+
msg.setBusNum(value);
|
|
21719
|
+
break;
|
|
21720
|
+
case 2:
|
|
21721
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
21722
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
21723
|
+
msg.setBusType(value);
|
|
21724
|
+
break;
|
|
21725
|
+
case 3:
|
|
21726
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21727
|
+
msg.setDeviceId(value);
|
|
21728
|
+
break;
|
|
21729
|
+
case 4:
|
|
21730
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21731
|
+
msg.setPnpDeviceId(value);
|
|
21732
|
+
break;
|
|
21733
|
+
default:
|
|
21734
|
+
reader.skipField();
|
|
21735
|
+
break;
|
|
21736
|
+
}
|
|
21737
|
+
}
|
|
21738
|
+
return msg;
|
|
21739
|
+
};
|
|
21740
|
+
|
|
21741
|
+
|
|
21742
|
+
/**
|
|
21743
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21744
|
+
* @return {!Uint8Array}
|
|
21745
|
+
*/
|
|
21746
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.serializeBinary = function() {
|
|
21747
|
+
var writer = new jspb.BinaryWriter();
|
|
21748
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter(this, writer);
|
|
21749
|
+
return writer.getResultBuffer();
|
|
21750
|
+
};
|
|
21751
|
+
|
|
21752
|
+
|
|
21753
|
+
/**
|
|
21754
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21755
|
+
* format), writing to the given BinaryWriter.
|
|
21756
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} message
|
|
21757
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21758
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21759
|
+
*/
|
|
21760
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter = function(message, writer) {
|
|
21761
|
+
var f = undefined;
|
|
21762
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
21763
|
+
if (f != null) {
|
|
21764
|
+
writer.writeInt32(
|
|
21765
|
+
1,
|
|
21766
|
+
f
|
|
21767
|
+
);
|
|
21768
|
+
}
|
|
21769
|
+
f = message.getBusType();
|
|
21770
|
+
if (f != null) {
|
|
21771
|
+
writer.writeMessage(
|
|
21772
|
+
2,
|
|
21773
|
+
f,
|
|
21774
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
21775
|
+
);
|
|
21776
|
+
}
|
|
21777
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
21778
|
+
if (f != null) {
|
|
21779
|
+
writer.writeString(
|
|
21780
|
+
3,
|
|
21781
|
+
f
|
|
21782
|
+
);
|
|
21783
|
+
}
|
|
21784
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
21785
|
+
if (f != null) {
|
|
21786
|
+
writer.writeString(
|
|
21787
|
+
4,
|
|
21788
|
+
f
|
|
21789
|
+
);
|
|
21790
|
+
}
|
|
21791
|
+
};
|
|
21792
|
+
|
|
21793
|
+
|
|
21794
|
+
/**
|
|
21795
|
+
* optional int32 bus_num = 1;
|
|
21796
|
+
* @return {number}
|
|
21797
|
+
*/
|
|
21798
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getBusNum = function() {
|
|
21799
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21800
|
+
};
|
|
21801
|
+
|
|
21802
|
+
|
|
21803
|
+
/**
|
|
21804
|
+
* @param {number} value
|
|
21805
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21806
|
+
*/
|
|
21807
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setBusNum = function(value) {
|
|
21808
|
+
return jspb.Message.setField(this, 1, value);
|
|
21809
|
+
};
|
|
21810
|
+
|
|
21811
|
+
|
|
21812
|
+
/**
|
|
21813
|
+
* Clears the field making it undefined.
|
|
21814
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21815
|
+
*/
|
|
21816
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearBusNum = function() {
|
|
21817
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
21818
|
+
};
|
|
21819
|
+
|
|
21820
|
+
|
|
21821
|
+
/**
|
|
21822
|
+
* Returns whether this field is set.
|
|
21823
|
+
* @return {boolean}
|
|
21824
|
+
*/
|
|
21825
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasBusNum = function() {
|
|
21826
|
+
return jspb.Message.getField(this, 1) != null;
|
|
21827
|
+
};
|
|
21828
|
+
|
|
21829
|
+
|
|
21830
|
+
/**
|
|
21831
|
+
* optional MappedValue bus_type = 2;
|
|
21832
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
21833
|
+
*/
|
|
21834
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getBusType = function() {
|
|
21835
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
21836
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 2));
|
|
21837
|
+
};
|
|
21838
|
+
|
|
21839
|
+
|
|
21840
|
+
/**
|
|
21841
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
21842
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21843
|
+
*/
|
|
21844
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setBusType = function(value) {
|
|
21845
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
21846
|
+
};
|
|
21847
|
+
|
|
21848
|
+
|
|
21849
|
+
/**
|
|
21850
|
+
* Clears the message field making it undefined.
|
|
21851
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21852
|
+
*/
|
|
21853
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearBusType = function() {
|
|
21854
|
+
return this.setBusType(undefined);
|
|
21855
|
+
};
|
|
21856
|
+
|
|
21857
|
+
|
|
21858
|
+
/**
|
|
21859
|
+
* Returns whether this field is set.
|
|
21860
|
+
* @return {boolean}
|
|
21861
|
+
*/
|
|
21862
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasBusType = function() {
|
|
21863
|
+
return jspb.Message.getField(this, 2) != null;
|
|
21864
|
+
};
|
|
21865
|
+
|
|
21866
|
+
|
|
21867
|
+
/**
|
|
21868
|
+
* optional string device_id = 3;
|
|
21869
|
+
* @return {string}
|
|
21870
|
+
*/
|
|
21871
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getDeviceId = function() {
|
|
21872
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
21873
|
+
};
|
|
21874
|
+
|
|
21875
|
+
|
|
21876
|
+
/**
|
|
21877
|
+
* @param {string} value
|
|
21878
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21879
|
+
*/
|
|
21880
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setDeviceId = function(value) {
|
|
21881
|
+
return jspb.Message.setField(this, 3, value);
|
|
21882
|
+
};
|
|
21883
|
+
|
|
21884
|
+
|
|
21885
|
+
/**
|
|
21886
|
+
* Clears the field making it undefined.
|
|
21887
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21888
|
+
*/
|
|
21889
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearDeviceId = function() {
|
|
21890
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
21891
|
+
};
|
|
21892
|
+
|
|
21893
|
+
|
|
21894
|
+
/**
|
|
21895
|
+
* Returns whether this field is set.
|
|
21896
|
+
* @return {boolean}
|
|
21897
|
+
*/
|
|
21898
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasDeviceId = function() {
|
|
21899
|
+
return jspb.Message.getField(this, 3) != null;
|
|
21900
|
+
};
|
|
21901
|
+
|
|
21902
|
+
|
|
21903
|
+
/**
|
|
21904
|
+
* optional string pnp_device_id = 4;
|
|
21905
|
+
* @return {string}
|
|
21906
|
+
*/
|
|
21907
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getPnpDeviceId = function() {
|
|
21908
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
21909
|
+
};
|
|
21910
|
+
|
|
21911
|
+
|
|
21912
|
+
/**
|
|
21913
|
+
* @param {string} value
|
|
21914
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21915
|
+
*/
|
|
21916
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setPnpDeviceId = function(value) {
|
|
21917
|
+
return jspb.Message.setField(this, 4, value);
|
|
21918
|
+
};
|
|
21919
|
+
|
|
21920
|
+
|
|
21921
|
+
/**
|
|
21922
|
+
* Clears the field making it undefined.
|
|
21923
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21924
|
+
*/
|
|
21925
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearPnpDeviceId = function() {
|
|
21926
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
21927
|
+
};
|
|
21928
|
+
|
|
21929
|
+
|
|
21930
|
+
/**
|
|
21931
|
+
* Returns whether this field is set.
|
|
21932
|
+
* @return {boolean}
|
|
21933
|
+
*/
|
|
21934
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasPnpDeviceId = function() {
|
|
21935
|
+
return jspb.Message.getField(this, 4) != null;
|
|
21936
|
+
};
|
|
21937
|
+
|
|
21938
|
+
|
|
21939
|
+
|
|
21940
|
+
|
|
21941
|
+
|
|
21942
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21943
|
+
/**
|
|
21944
|
+
* Creates an object representation of this proto.
|
|
21945
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21946
|
+
* Optional fields that are not set will be set to undefined.
|
|
21947
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21948
|
+
* For the list of reserved names please see:
|
|
21949
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21950
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21951
|
+
* JSPB instance for transitional soy proto support:
|
|
21952
|
+
* http://goto/soy-param-migration
|
|
21953
|
+
* @return {!Object}
|
|
21954
|
+
*/
|
|
21955
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.toObject = function(opt_includeInstance) {
|
|
21956
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject(opt_includeInstance, this);
|
|
21957
|
+
};
|
|
21958
|
+
|
|
21959
|
+
|
|
21960
|
+
/**
|
|
21961
|
+
* Static version of the {@see toObject} method.
|
|
21962
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21963
|
+
* the JSPB instance for transitional soy proto support:
|
|
21964
|
+
* http://goto/soy-param-migration
|
|
21965
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} msg The msg instance to transform.
|
|
21966
|
+
* @return {!Object}
|
|
21967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21968
|
+
*/
|
|
21969
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject = function(includeInstance, msg) {
|
|
21970
|
+
var f, obj = {
|
|
21971
|
+
availability: (f = msg.getAvailability()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
21972
|
+
caption: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21973
|
+
configManagerErrorCode: (f = msg.getConfigManagerErrorCode()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
21974
|
+
configManagerUserConfig: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
21975
|
+
deviceId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
21976
|
+
manufacturer: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
21977
|
+
protocolSupported: (f = msg.getProtocolSupported()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f)
|
|
21978
|
+
};
|
|
21979
|
+
|
|
21980
|
+
if (includeInstance) {
|
|
21981
|
+
obj.$jspbMessageInstance = msg;
|
|
21982
|
+
}
|
|
21983
|
+
return obj;
|
|
21984
|
+
};
|
|
21985
|
+
}
|
|
21986
|
+
|
|
21987
|
+
|
|
21988
|
+
/**
|
|
21989
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21990
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21991
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
21992
|
+
*/
|
|
21993
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinary = function(bytes) {
|
|
21994
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21995
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerInfrared;
|
|
21996
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader(msg, reader);
|
|
21997
|
+
};
|
|
21998
|
+
|
|
21999
|
+
|
|
22000
|
+
/**
|
|
22001
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22002
|
+
* given reader into the given message object.
|
|
22003
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} msg The message object to deserialize into.
|
|
22004
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22005
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
22006
|
+
*/
|
|
22007
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader = function(msg, reader) {
|
|
22008
|
+
while (reader.nextField()) {
|
|
22009
|
+
if (reader.isEndGroup()) {
|
|
22010
|
+
break;
|
|
22011
|
+
}
|
|
22012
|
+
var field = reader.getFieldNumber();
|
|
22013
|
+
switch (field) {
|
|
22014
|
+
case 1:
|
|
22015
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22016
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22017
|
+
msg.setAvailability(value);
|
|
22018
|
+
break;
|
|
22019
|
+
case 2:
|
|
22020
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22021
|
+
msg.setCaption(value);
|
|
22022
|
+
break;
|
|
22023
|
+
case 3:
|
|
22024
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22025
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22026
|
+
msg.setConfigManagerErrorCode(value);
|
|
22027
|
+
break;
|
|
22028
|
+
case 4:
|
|
22029
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22030
|
+
msg.setConfigManagerUserConfig(value);
|
|
22031
|
+
break;
|
|
22032
|
+
case 5:
|
|
22033
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22034
|
+
msg.setDeviceId(value);
|
|
22035
|
+
break;
|
|
22036
|
+
case 6:
|
|
22037
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22038
|
+
msg.setManufacturer(value);
|
|
22039
|
+
break;
|
|
22040
|
+
case 7:
|
|
22041
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22042
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22043
|
+
msg.setProtocolSupported(value);
|
|
22044
|
+
break;
|
|
22045
|
+
default:
|
|
22046
|
+
reader.skipField();
|
|
22047
|
+
break;
|
|
22048
|
+
}
|
|
22049
|
+
}
|
|
22050
|
+
return msg;
|
|
22051
|
+
};
|
|
22052
|
+
|
|
22053
|
+
|
|
22054
|
+
/**
|
|
22055
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22056
|
+
* @return {!Uint8Array}
|
|
22057
|
+
*/
|
|
22058
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.serializeBinary = function() {
|
|
22059
|
+
var writer = new jspb.BinaryWriter();
|
|
22060
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter(this, writer);
|
|
22061
|
+
return writer.getResultBuffer();
|
|
22062
|
+
};
|
|
22063
|
+
|
|
22064
|
+
|
|
22065
|
+
/**
|
|
22066
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22067
|
+
* format), writing to the given BinaryWriter.
|
|
22068
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} message
|
|
22069
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22070
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22071
|
+
*/
|
|
22072
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter = function(message, writer) {
|
|
22073
|
+
var f = undefined;
|
|
22074
|
+
f = message.getAvailability();
|
|
22075
|
+
if (f != null) {
|
|
22076
|
+
writer.writeMessage(
|
|
22077
|
+
1,
|
|
22078
|
+
f,
|
|
22079
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22080
|
+
);
|
|
22081
|
+
}
|
|
22082
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
22083
|
+
if (f != null) {
|
|
22084
|
+
writer.writeString(
|
|
22085
|
+
2,
|
|
22086
|
+
f
|
|
22087
|
+
);
|
|
22088
|
+
}
|
|
22089
|
+
f = message.getConfigManagerErrorCode();
|
|
22090
|
+
if (f != null) {
|
|
22091
|
+
writer.writeMessage(
|
|
22092
|
+
3,
|
|
22093
|
+
f,
|
|
22094
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22095
|
+
);
|
|
22096
|
+
}
|
|
22097
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
22098
|
+
if (f != null) {
|
|
22099
|
+
writer.writeBool(
|
|
22100
|
+
4,
|
|
22101
|
+
f
|
|
22102
|
+
);
|
|
22103
|
+
}
|
|
22104
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
22105
|
+
if (f != null) {
|
|
22106
|
+
writer.writeString(
|
|
22107
|
+
5,
|
|
22108
|
+
f
|
|
22109
|
+
);
|
|
22110
|
+
}
|
|
22111
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
22112
|
+
if (f != null) {
|
|
22113
|
+
writer.writeString(
|
|
22114
|
+
6,
|
|
22115
|
+
f
|
|
22116
|
+
);
|
|
22117
|
+
}
|
|
22118
|
+
f = message.getProtocolSupported();
|
|
22119
|
+
if (f != null) {
|
|
22120
|
+
writer.writeMessage(
|
|
22121
|
+
7,
|
|
22122
|
+
f,
|
|
22123
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22124
|
+
);
|
|
22125
|
+
}
|
|
22126
|
+
};
|
|
22127
|
+
|
|
22128
|
+
|
|
22129
|
+
/**
|
|
22130
|
+
* optional MappedValue availability = 1;
|
|
22131
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22132
|
+
*/
|
|
22133
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getAvailability = function() {
|
|
22134
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22135
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 1));
|
|
22136
|
+
};
|
|
22137
|
+
|
|
22138
|
+
|
|
22139
|
+
/**
|
|
22140
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22141
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22142
|
+
*/
|
|
22143
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setAvailability = function(value) {
|
|
22144
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
22145
|
+
};
|
|
22146
|
+
|
|
22147
|
+
|
|
22148
|
+
/**
|
|
22149
|
+
* Clears the message field making it undefined.
|
|
22150
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22151
|
+
*/
|
|
22152
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearAvailability = function() {
|
|
22153
|
+
return this.setAvailability(undefined);
|
|
22154
|
+
};
|
|
22155
|
+
|
|
22156
|
+
|
|
22157
|
+
/**
|
|
22158
|
+
* Returns whether this field is set.
|
|
22159
|
+
* @return {boolean}
|
|
22160
|
+
*/
|
|
22161
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasAvailability = function() {
|
|
22162
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22163
|
+
};
|
|
22164
|
+
|
|
22165
|
+
|
|
22166
|
+
/**
|
|
22167
|
+
* optional string caption = 2;
|
|
22168
|
+
* @return {string}
|
|
22169
|
+
*/
|
|
22170
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getCaption = function() {
|
|
22171
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
22172
|
+
};
|
|
22173
|
+
|
|
22174
|
+
|
|
22175
|
+
/**
|
|
22176
|
+
* @param {string} value
|
|
22177
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22178
|
+
*/
|
|
22179
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setCaption = function(value) {
|
|
22180
|
+
return jspb.Message.setField(this, 2, value);
|
|
22181
|
+
};
|
|
22182
|
+
|
|
22183
|
+
|
|
22184
|
+
/**
|
|
22185
|
+
* Clears the field making it undefined.
|
|
22186
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22187
|
+
*/
|
|
22188
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearCaption = function() {
|
|
22189
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
22190
|
+
};
|
|
22191
|
+
|
|
22192
|
+
|
|
22193
|
+
/**
|
|
22194
|
+
* Returns whether this field is set.
|
|
22195
|
+
* @return {boolean}
|
|
22196
|
+
*/
|
|
22197
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasCaption = function() {
|
|
22198
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22199
|
+
};
|
|
22200
|
+
|
|
22201
|
+
|
|
22202
|
+
/**
|
|
22203
|
+
* optional MappedValue config_manager_error_code = 3;
|
|
22204
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22205
|
+
*/
|
|
22206
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getConfigManagerErrorCode = function() {
|
|
22207
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22208
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
|
|
22209
|
+
};
|
|
22210
|
+
|
|
22211
|
+
|
|
22212
|
+
/**
|
|
22213
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22214
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22215
|
+
*/
|
|
22216
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setConfigManagerErrorCode = function(value) {
|
|
22217
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
22218
|
+
};
|
|
22219
|
+
|
|
22220
|
+
|
|
22221
|
+
/**
|
|
22222
|
+
* Clears the message field making it undefined.
|
|
22223
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22224
|
+
*/
|
|
22225
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearConfigManagerErrorCode = function() {
|
|
22226
|
+
return this.setConfigManagerErrorCode(undefined);
|
|
22227
|
+
};
|
|
22228
|
+
|
|
22229
|
+
|
|
22230
|
+
/**
|
|
22231
|
+
* Returns whether this field is set.
|
|
22232
|
+
* @return {boolean}
|
|
22233
|
+
*/
|
|
22234
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasConfigManagerErrorCode = function() {
|
|
22235
|
+
return jspb.Message.getField(this, 3) != null;
|
|
22236
|
+
};
|
|
22237
|
+
|
|
22238
|
+
|
|
22239
|
+
/**
|
|
22240
|
+
* optional bool config_manager_user_config = 4;
|
|
22241
|
+
* @return {boolean}
|
|
22242
|
+
*/
|
|
22243
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getConfigManagerUserConfig = function() {
|
|
22244
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
22245
|
+
};
|
|
22246
|
+
|
|
22247
|
+
|
|
22248
|
+
/**
|
|
22249
|
+
* @param {boolean} value
|
|
22250
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22251
|
+
*/
|
|
22252
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setConfigManagerUserConfig = function(value) {
|
|
22253
|
+
return jspb.Message.setField(this, 4, value);
|
|
22254
|
+
};
|
|
22255
|
+
|
|
22256
|
+
|
|
22257
|
+
/**
|
|
22258
|
+
* Clears the field making it undefined.
|
|
22259
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22260
|
+
*/
|
|
22261
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearConfigManagerUserConfig = function() {
|
|
22262
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
22263
|
+
};
|
|
22264
|
+
|
|
22265
|
+
|
|
22266
|
+
/**
|
|
22267
|
+
* Returns whether this field is set.
|
|
22268
|
+
* @return {boolean}
|
|
22269
|
+
*/
|
|
22270
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasConfigManagerUserConfig = function() {
|
|
22271
|
+
return jspb.Message.getField(this, 4) != null;
|
|
22272
|
+
};
|
|
22273
|
+
|
|
22274
|
+
|
|
22275
|
+
/**
|
|
22276
|
+
* optional string device_id = 5;
|
|
22277
|
+
* @return {string}
|
|
22278
|
+
*/
|
|
22279
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getDeviceId = function() {
|
|
22280
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
22281
|
+
};
|
|
22282
|
+
|
|
22283
|
+
|
|
22284
|
+
/**
|
|
22285
|
+
* @param {string} value
|
|
22286
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22287
|
+
*/
|
|
22288
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setDeviceId = function(value) {
|
|
22289
|
+
return jspb.Message.setField(this, 5, value);
|
|
22290
|
+
};
|
|
22291
|
+
|
|
22292
|
+
|
|
22293
|
+
/**
|
|
22294
|
+
* Clears the field making it undefined.
|
|
22295
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22296
|
+
*/
|
|
22297
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearDeviceId = function() {
|
|
22298
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
22299
|
+
};
|
|
22300
|
+
|
|
22301
|
+
|
|
22302
|
+
/**
|
|
22303
|
+
* Returns whether this field is set.
|
|
22304
|
+
* @return {boolean}
|
|
22305
|
+
*/
|
|
22306
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasDeviceId = function() {
|
|
22307
|
+
return jspb.Message.getField(this, 5) != null;
|
|
22308
|
+
};
|
|
22309
|
+
|
|
22310
|
+
|
|
22311
|
+
/**
|
|
22312
|
+
* optional string manufacturer = 6;
|
|
22313
|
+
* @return {string}
|
|
22314
|
+
*/
|
|
22315
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getManufacturer = function() {
|
|
22316
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
22317
|
+
};
|
|
22318
|
+
|
|
22319
|
+
|
|
22320
|
+
/**
|
|
22321
|
+
* @param {string} value
|
|
22322
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22323
|
+
*/
|
|
22324
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setManufacturer = function(value) {
|
|
22325
|
+
return jspb.Message.setField(this, 6, value);
|
|
22326
|
+
};
|
|
22327
|
+
|
|
22328
|
+
|
|
22329
|
+
/**
|
|
22330
|
+
* Clears the field making it undefined.
|
|
22331
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22332
|
+
*/
|
|
22333
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearManufacturer = function() {
|
|
22334
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
22335
|
+
};
|
|
22336
|
+
|
|
22337
|
+
|
|
22338
|
+
/**
|
|
22339
|
+
* Returns whether this field is set.
|
|
22340
|
+
* @return {boolean}
|
|
22341
|
+
*/
|
|
22342
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasManufacturer = function() {
|
|
22343
|
+
return jspb.Message.getField(this, 6) != null;
|
|
22344
|
+
};
|
|
22345
|
+
|
|
22346
|
+
|
|
22347
|
+
/**
|
|
22348
|
+
* optional MappedValue protocol_supported = 7;
|
|
22349
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22350
|
+
*/
|
|
22351
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getProtocolSupported = function() {
|
|
22352
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22353
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 7));
|
|
22354
|
+
};
|
|
22355
|
+
|
|
22356
|
+
|
|
22357
|
+
/**
|
|
22358
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22359
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22360
|
+
*/
|
|
22361
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setProtocolSupported = function(value) {
|
|
22362
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
22363
|
+
};
|
|
22364
|
+
|
|
22365
|
+
|
|
22366
|
+
/**
|
|
22367
|
+
* Clears the message field making it undefined.
|
|
22368
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22369
|
+
*/
|
|
22370
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearProtocolSupported = function() {
|
|
22371
|
+
return this.setProtocolSupported(undefined);
|
|
22372
|
+
};
|
|
22373
|
+
|
|
22374
|
+
|
|
22375
|
+
/**
|
|
22376
|
+
* Returns whether this field is set.
|
|
22377
|
+
* @return {boolean}
|
|
22378
|
+
*/
|
|
22379
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasProtocolSupported = function() {
|
|
22380
|
+
return jspb.Message.getField(this, 7) != null;
|
|
22381
|
+
};
|
|
22382
|
+
|
|
22383
|
+
|
|
22384
|
+
|
|
22385
|
+
|
|
22386
|
+
|
|
21497
22387
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21498
22388
|
/**
|
|
21499
22389
|
* Creates an object representation of this proto.
|