@lansweeper/data-platform-outbound-grpc 0.1.55 → 0.1.57
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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +121 -5
- package/gen-proto/outbound_pb.js +946 -8
- package/generated-go/outbound.pb.go +3841 -3538
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +30 -1
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
|
|
|
@@ -3894,7 +3938,8 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
3894
3938
|
uniqueKey: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
3895
3939
|
scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
|
|
3896
3940
|
proto.com.lansweeper.dp.outbound.v1.ScanError.toObject, includeInstance),
|
|
3897
|
-
|
|
3941
|
+
lastSyncedSourceAgent: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
3942
|
+
lastSyncedSourceName: jspb.Message.getFieldWithDefault(msg, 49, ""),
|
|
3898
3943
|
tagList: jspb.Message.toObjectList(msg.getTagList(),
|
|
3899
3944
|
proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
|
|
3900
3945
|
relationList: jspb.Message.toObjectList(msg.getRelationList(),
|
|
@@ -3939,6 +3984,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
3939
3984
|
proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject, includeInstance),
|
|
3940
3985
|
pointingDeviceList: jspb.Message.toObjectList(msg.getPointingDeviceList(),
|
|
3941
3986
|
proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject, includeInstance),
|
|
3987
|
+
computerBusList: jspb.Message.toObjectList(msg.getComputerBusList(),
|
|
3988
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject, includeInstance),
|
|
3989
|
+
computerInfraredList: jspb.Message.toObjectList(msg.getComputerInfraredList(),
|
|
3990
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject, includeInstance),
|
|
3942
3991
|
autoRunCommandList: jspb.Message.toObjectList(msg.getAutoRunCommandList(),
|
|
3943
3992
|
proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.toObject, includeInstance),
|
|
3944
3993
|
bootConfig: (f = msg.getBootConfig()) && proto.com.lansweeper.dp.outbound.v1.BootConfig.toObject(includeInstance, f),
|
|
@@ -4023,7 +4072,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
4023
4072
|
break;
|
|
4024
4073
|
case 39:
|
|
4025
4074
|
var value = /** @type {string} */ (reader.readString());
|
|
4026
|
-
msg.
|
|
4075
|
+
msg.setLastSyncedSourceAgent(value);
|
|
4076
|
+
break;
|
|
4077
|
+
case 49:
|
|
4078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4079
|
+
msg.setLastSyncedSourceName(value);
|
|
4027
4080
|
break;
|
|
4028
4081
|
case 14:
|
|
4029
4082
|
var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
|
|
@@ -4165,6 +4218,16 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
4165
4218
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader);
|
|
4166
4219
|
msg.addPointingDevice(value);
|
|
4167
4220
|
break;
|
|
4221
|
+
case 47:
|
|
4222
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ComputerBus;
|
|
4223
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader);
|
|
4224
|
+
msg.addComputerBus(value);
|
|
4225
|
+
break;
|
|
4226
|
+
case 48:
|
|
4227
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.ComputerInfrared;
|
|
4228
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader);
|
|
4229
|
+
msg.addComputerInfrared(value);
|
|
4230
|
+
break;
|
|
4168
4231
|
case 34:
|
|
4169
4232
|
var value = new proto.com.lansweeper.dp.outbound.v1.AutoRunCommand;
|
|
4170
4233
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.AutoRunCommand.deserializeBinaryFromReader);
|
|
@@ -4296,6 +4359,13 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
4296
4359
|
f
|
|
4297
4360
|
);
|
|
4298
4361
|
}
|
|
4362
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 49));
|
|
4363
|
+
if (f != null) {
|
|
4364
|
+
writer.writeString(
|
|
4365
|
+
49,
|
|
4366
|
+
f
|
|
4367
|
+
);
|
|
4368
|
+
}
|
|
4299
4369
|
f = message.getTagList();
|
|
4300
4370
|
if (f.length > 0) {
|
|
4301
4371
|
writer.writeRepeatedMessage(
|
|
@@ -4520,6 +4590,22 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
4520
4590
|
proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter
|
|
4521
4591
|
);
|
|
4522
4592
|
}
|
|
4593
|
+
f = message.getComputerBusList();
|
|
4594
|
+
if (f.length > 0) {
|
|
4595
|
+
writer.writeRepeatedMessage(
|
|
4596
|
+
47,
|
|
4597
|
+
f,
|
|
4598
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter
|
|
4599
|
+
);
|
|
4600
|
+
}
|
|
4601
|
+
f = message.getComputerInfraredList();
|
|
4602
|
+
if (f.length > 0) {
|
|
4603
|
+
writer.writeRepeatedMessage(
|
|
4604
|
+
48,
|
|
4605
|
+
f,
|
|
4606
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter
|
|
4607
|
+
);
|
|
4608
|
+
}
|
|
4523
4609
|
f = message.getAutoRunCommandList();
|
|
4524
4610
|
if (f.length > 0) {
|
|
4525
4611
|
writer.writeRepeatedMessage(
|
|
@@ -4847,10 +4933,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearScanErrorList = functio
|
|
|
4847
4933
|
|
|
4848
4934
|
|
|
4849
4935
|
/**
|
|
4850
|
-
* optional string
|
|
4936
|
+
* optional string last_synced_source_agent = 39;
|
|
4851
4937
|
* @return {string}
|
|
4852
4938
|
*/
|
|
4853
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.
|
|
4939
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getLastSyncedSourceAgent = function() {
|
|
4854
4940
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
|
|
4855
4941
|
};
|
|
4856
4942
|
|
|
@@ -4859,7 +4945,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getLastSyncedSource = functi
|
|
|
4859
4945
|
* @param {string} value
|
|
4860
4946
|
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4861
4947
|
*/
|
|
4862
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.
|
|
4948
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setLastSyncedSourceAgent = function(value) {
|
|
4863
4949
|
return jspb.Message.setField(this, 39, value);
|
|
4864
4950
|
};
|
|
4865
4951
|
|
|
@@ -4868,7 +4954,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setLastSyncedSource = functi
|
|
|
4868
4954
|
* Clears the field making it undefined.
|
|
4869
4955
|
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4870
4956
|
*/
|
|
4871
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.
|
|
4957
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearLastSyncedSourceAgent = function() {
|
|
4872
4958
|
return jspb.Message.setField(this, 39, undefined);
|
|
4873
4959
|
};
|
|
4874
4960
|
|
|
@@ -4877,11 +4963,47 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearLastSyncedSource = func
|
|
|
4877
4963
|
* Returns whether this field is set.
|
|
4878
4964
|
* @return {boolean}
|
|
4879
4965
|
*/
|
|
4880
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.
|
|
4966
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasLastSyncedSourceAgent = function() {
|
|
4881
4967
|
return jspb.Message.getField(this, 39) != null;
|
|
4882
4968
|
};
|
|
4883
4969
|
|
|
4884
4970
|
|
|
4971
|
+
/**
|
|
4972
|
+
* optional string last_synced_source_name = 49;
|
|
4973
|
+
* @return {string}
|
|
4974
|
+
*/
|
|
4975
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getLastSyncedSourceName = function() {
|
|
4976
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 49, ""));
|
|
4977
|
+
};
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
/**
|
|
4981
|
+
* @param {string} value
|
|
4982
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4983
|
+
*/
|
|
4984
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setLastSyncedSourceName = function(value) {
|
|
4985
|
+
return jspb.Message.setField(this, 49, value);
|
|
4986
|
+
};
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* Clears the field making it undefined.
|
|
4991
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
4992
|
+
*/
|
|
4993
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearLastSyncedSourceName = function() {
|
|
4994
|
+
return jspb.Message.setField(this, 49, undefined);
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
|
|
4998
|
+
/**
|
|
4999
|
+
* Returns whether this field is set.
|
|
5000
|
+
* @return {boolean}
|
|
5001
|
+
*/
|
|
5002
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasLastSyncedSourceName = function() {
|
|
5003
|
+
return jspb.Message.getField(this, 49) != null;
|
|
5004
|
+
};
|
|
5005
|
+
|
|
5006
|
+
|
|
4885
5007
|
/**
|
|
4886
5008
|
* repeated Tag tag = 14;
|
|
4887
5009
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>}
|
|
@@ -5934,6 +6056,82 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearPointingDeviceList = fu
|
|
|
5934
6056
|
};
|
|
5935
6057
|
|
|
5936
6058
|
|
|
6059
|
+
/**
|
|
6060
|
+
* repeated ComputerBus computer_bus = 47;
|
|
6061
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>}
|
|
6062
|
+
*/
|
|
6063
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputerBusList = function() {
|
|
6064
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>} */ (
|
|
6065
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerBus, 47));
|
|
6066
|
+
};
|
|
6067
|
+
|
|
6068
|
+
|
|
6069
|
+
/**
|
|
6070
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerBus>} value
|
|
6071
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6072
|
+
*/
|
|
6073
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputerBusList = function(value) {
|
|
6074
|
+
return jspb.Message.setRepeatedWrapperField(this, 47, value);
|
|
6075
|
+
};
|
|
6076
|
+
|
|
6077
|
+
|
|
6078
|
+
/**
|
|
6079
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus=} opt_value
|
|
6080
|
+
* @param {number=} opt_index
|
|
6081
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
6082
|
+
*/
|
|
6083
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addComputerBus = function(opt_value, opt_index) {
|
|
6084
|
+
return jspb.Message.addToRepeatedWrapperField(this, 47, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerBus, opt_index);
|
|
6085
|
+
};
|
|
6086
|
+
|
|
6087
|
+
|
|
6088
|
+
/**
|
|
6089
|
+
* Clears the list making it empty but non-null.
|
|
6090
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6091
|
+
*/
|
|
6092
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputerBusList = function() {
|
|
6093
|
+
return this.setComputerBusList([]);
|
|
6094
|
+
};
|
|
6095
|
+
|
|
6096
|
+
|
|
6097
|
+
/**
|
|
6098
|
+
* repeated ComputerInfrared computer_infrared = 48;
|
|
6099
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>}
|
|
6100
|
+
*/
|
|
6101
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getComputerInfraredList = function() {
|
|
6102
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>} */ (
|
|
6103
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.ComputerInfrared, 48));
|
|
6104
|
+
};
|
|
6105
|
+
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared>} value
|
|
6109
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6110
|
+
*/
|
|
6111
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setComputerInfraredList = function(value) {
|
|
6112
|
+
return jspb.Message.setRepeatedWrapperField(this, 48, value);
|
|
6113
|
+
};
|
|
6114
|
+
|
|
6115
|
+
|
|
6116
|
+
/**
|
|
6117
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared=} opt_value
|
|
6118
|
+
* @param {number=} opt_index
|
|
6119
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
6120
|
+
*/
|
|
6121
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addComputerInfrared = function(opt_value, opt_index) {
|
|
6122
|
+
return jspb.Message.addToRepeatedWrapperField(this, 48, opt_value, proto.com.lansweeper.dp.outbound.v1.ComputerInfrared, opt_index);
|
|
6123
|
+
};
|
|
6124
|
+
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* Clears the list making it empty but non-null.
|
|
6128
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
6129
|
+
*/
|
|
6130
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearComputerInfraredList = function() {
|
|
6131
|
+
return this.setComputerInfraredList([]);
|
|
6132
|
+
};
|
|
6133
|
+
|
|
6134
|
+
|
|
5937
6135
|
/**
|
|
5938
6136
|
* repeated AutoRunCommand auto_run_command = 34;
|
|
5939
6137
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.AutoRunCommand>}
|
|
@@ -21494,6 +21692,746 @@ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasNumberOfFunctionKeys =
|
|
|
21494
21692
|
|
|
21495
21693
|
|
|
21496
21694
|
|
|
21695
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21696
|
+
/**
|
|
21697
|
+
* Creates an object representation of this proto.
|
|
21698
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21699
|
+
* Optional fields that are not set will be set to undefined.
|
|
21700
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21701
|
+
* For the list of reserved names please see:
|
|
21702
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21703
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21704
|
+
* JSPB instance for transitional soy proto support:
|
|
21705
|
+
* http://goto/soy-param-migration
|
|
21706
|
+
* @return {!Object}
|
|
21707
|
+
*/
|
|
21708
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.toObject = function(opt_includeInstance) {
|
|
21709
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject(opt_includeInstance, this);
|
|
21710
|
+
};
|
|
21711
|
+
|
|
21712
|
+
|
|
21713
|
+
/**
|
|
21714
|
+
* Static version of the {@see toObject} method.
|
|
21715
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21716
|
+
* the JSPB instance for transitional soy proto support:
|
|
21717
|
+
* http://goto/soy-param-migration
|
|
21718
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} msg The msg instance to transform.
|
|
21719
|
+
* @return {!Object}
|
|
21720
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21721
|
+
*/
|
|
21722
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.toObject = function(includeInstance, msg) {
|
|
21723
|
+
var f, obj = {
|
|
21724
|
+
busNum: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21725
|
+
busType: (f = msg.getBusType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
21726
|
+
deviceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
21727
|
+
pnpDeviceId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
21728
|
+
};
|
|
21729
|
+
|
|
21730
|
+
if (includeInstance) {
|
|
21731
|
+
obj.$jspbMessageInstance = msg;
|
|
21732
|
+
}
|
|
21733
|
+
return obj;
|
|
21734
|
+
};
|
|
21735
|
+
}
|
|
21736
|
+
|
|
21737
|
+
|
|
21738
|
+
/**
|
|
21739
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21740
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21741
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
21742
|
+
*/
|
|
21743
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinary = function(bytes) {
|
|
21744
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21745
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerBus;
|
|
21746
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader(msg, reader);
|
|
21747
|
+
};
|
|
21748
|
+
|
|
21749
|
+
|
|
21750
|
+
/**
|
|
21751
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21752
|
+
* given reader into the given message object.
|
|
21753
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} msg The message object to deserialize into.
|
|
21754
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21755
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus}
|
|
21756
|
+
*/
|
|
21757
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.deserializeBinaryFromReader = function(msg, reader) {
|
|
21758
|
+
while (reader.nextField()) {
|
|
21759
|
+
if (reader.isEndGroup()) {
|
|
21760
|
+
break;
|
|
21761
|
+
}
|
|
21762
|
+
var field = reader.getFieldNumber();
|
|
21763
|
+
switch (field) {
|
|
21764
|
+
case 1:
|
|
21765
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21766
|
+
msg.setBusNum(value);
|
|
21767
|
+
break;
|
|
21768
|
+
case 2:
|
|
21769
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
21770
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
21771
|
+
msg.setBusType(value);
|
|
21772
|
+
break;
|
|
21773
|
+
case 3:
|
|
21774
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21775
|
+
msg.setDeviceId(value);
|
|
21776
|
+
break;
|
|
21777
|
+
case 4:
|
|
21778
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21779
|
+
msg.setPnpDeviceId(value);
|
|
21780
|
+
break;
|
|
21781
|
+
default:
|
|
21782
|
+
reader.skipField();
|
|
21783
|
+
break;
|
|
21784
|
+
}
|
|
21785
|
+
}
|
|
21786
|
+
return msg;
|
|
21787
|
+
};
|
|
21788
|
+
|
|
21789
|
+
|
|
21790
|
+
/**
|
|
21791
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21792
|
+
* @return {!Uint8Array}
|
|
21793
|
+
*/
|
|
21794
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.serializeBinary = function() {
|
|
21795
|
+
var writer = new jspb.BinaryWriter();
|
|
21796
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter(this, writer);
|
|
21797
|
+
return writer.getResultBuffer();
|
|
21798
|
+
};
|
|
21799
|
+
|
|
21800
|
+
|
|
21801
|
+
/**
|
|
21802
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21803
|
+
* format), writing to the given BinaryWriter.
|
|
21804
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} message
|
|
21805
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21806
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21807
|
+
*/
|
|
21808
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.serializeBinaryToWriter = function(message, writer) {
|
|
21809
|
+
var f = undefined;
|
|
21810
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
21811
|
+
if (f != null) {
|
|
21812
|
+
writer.writeInt32(
|
|
21813
|
+
1,
|
|
21814
|
+
f
|
|
21815
|
+
);
|
|
21816
|
+
}
|
|
21817
|
+
f = message.getBusType();
|
|
21818
|
+
if (f != null) {
|
|
21819
|
+
writer.writeMessage(
|
|
21820
|
+
2,
|
|
21821
|
+
f,
|
|
21822
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
21823
|
+
);
|
|
21824
|
+
}
|
|
21825
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
21826
|
+
if (f != null) {
|
|
21827
|
+
writer.writeString(
|
|
21828
|
+
3,
|
|
21829
|
+
f
|
|
21830
|
+
);
|
|
21831
|
+
}
|
|
21832
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
21833
|
+
if (f != null) {
|
|
21834
|
+
writer.writeString(
|
|
21835
|
+
4,
|
|
21836
|
+
f
|
|
21837
|
+
);
|
|
21838
|
+
}
|
|
21839
|
+
};
|
|
21840
|
+
|
|
21841
|
+
|
|
21842
|
+
/**
|
|
21843
|
+
* optional int32 bus_num = 1;
|
|
21844
|
+
* @return {number}
|
|
21845
|
+
*/
|
|
21846
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getBusNum = function() {
|
|
21847
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21848
|
+
};
|
|
21849
|
+
|
|
21850
|
+
|
|
21851
|
+
/**
|
|
21852
|
+
* @param {number} value
|
|
21853
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21854
|
+
*/
|
|
21855
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setBusNum = function(value) {
|
|
21856
|
+
return jspb.Message.setField(this, 1, value);
|
|
21857
|
+
};
|
|
21858
|
+
|
|
21859
|
+
|
|
21860
|
+
/**
|
|
21861
|
+
* Clears the field making it undefined.
|
|
21862
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21863
|
+
*/
|
|
21864
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearBusNum = function() {
|
|
21865
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
21866
|
+
};
|
|
21867
|
+
|
|
21868
|
+
|
|
21869
|
+
/**
|
|
21870
|
+
* Returns whether this field is set.
|
|
21871
|
+
* @return {boolean}
|
|
21872
|
+
*/
|
|
21873
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasBusNum = function() {
|
|
21874
|
+
return jspb.Message.getField(this, 1) != null;
|
|
21875
|
+
};
|
|
21876
|
+
|
|
21877
|
+
|
|
21878
|
+
/**
|
|
21879
|
+
* optional MappedValue bus_type = 2;
|
|
21880
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
21881
|
+
*/
|
|
21882
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getBusType = function() {
|
|
21883
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
21884
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 2));
|
|
21885
|
+
};
|
|
21886
|
+
|
|
21887
|
+
|
|
21888
|
+
/**
|
|
21889
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
21890
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21891
|
+
*/
|
|
21892
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setBusType = function(value) {
|
|
21893
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
21894
|
+
};
|
|
21895
|
+
|
|
21896
|
+
|
|
21897
|
+
/**
|
|
21898
|
+
* Clears the message field making it undefined.
|
|
21899
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21900
|
+
*/
|
|
21901
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearBusType = function() {
|
|
21902
|
+
return this.setBusType(undefined);
|
|
21903
|
+
};
|
|
21904
|
+
|
|
21905
|
+
|
|
21906
|
+
/**
|
|
21907
|
+
* Returns whether this field is set.
|
|
21908
|
+
* @return {boolean}
|
|
21909
|
+
*/
|
|
21910
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasBusType = function() {
|
|
21911
|
+
return jspb.Message.getField(this, 2) != null;
|
|
21912
|
+
};
|
|
21913
|
+
|
|
21914
|
+
|
|
21915
|
+
/**
|
|
21916
|
+
* optional string device_id = 3;
|
|
21917
|
+
* @return {string}
|
|
21918
|
+
*/
|
|
21919
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getDeviceId = function() {
|
|
21920
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
21921
|
+
};
|
|
21922
|
+
|
|
21923
|
+
|
|
21924
|
+
/**
|
|
21925
|
+
* @param {string} value
|
|
21926
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21927
|
+
*/
|
|
21928
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setDeviceId = function(value) {
|
|
21929
|
+
return jspb.Message.setField(this, 3, value);
|
|
21930
|
+
};
|
|
21931
|
+
|
|
21932
|
+
|
|
21933
|
+
/**
|
|
21934
|
+
* Clears the field making it undefined.
|
|
21935
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21936
|
+
*/
|
|
21937
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearDeviceId = function() {
|
|
21938
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
21939
|
+
};
|
|
21940
|
+
|
|
21941
|
+
|
|
21942
|
+
/**
|
|
21943
|
+
* Returns whether this field is set.
|
|
21944
|
+
* @return {boolean}
|
|
21945
|
+
*/
|
|
21946
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasDeviceId = function() {
|
|
21947
|
+
return jspb.Message.getField(this, 3) != null;
|
|
21948
|
+
};
|
|
21949
|
+
|
|
21950
|
+
|
|
21951
|
+
/**
|
|
21952
|
+
* optional string pnp_device_id = 4;
|
|
21953
|
+
* @return {string}
|
|
21954
|
+
*/
|
|
21955
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.getPnpDeviceId = function() {
|
|
21956
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
21957
|
+
};
|
|
21958
|
+
|
|
21959
|
+
|
|
21960
|
+
/**
|
|
21961
|
+
* @param {string} value
|
|
21962
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21963
|
+
*/
|
|
21964
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.setPnpDeviceId = function(value) {
|
|
21965
|
+
return jspb.Message.setField(this, 4, value);
|
|
21966
|
+
};
|
|
21967
|
+
|
|
21968
|
+
|
|
21969
|
+
/**
|
|
21970
|
+
* Clears the field making it undefined.
|
|
21971
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerBus} returns this
|
|
21972
|
+
*/
|
|
21973
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.clearPnpDeviceId = function() {
|
|
21974
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
21975
|
+
};
|
|
21976
|
+
|
|
21977
|
+
|
|
21978
|
+
/**
|
|
21979
|
+
* Returns whether this field is set.
|
|
21980
|
+
* @return {boolean}
|
|
21981
|
+
*/
|
|
21982
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerBus.prototype.hasPnpDeviceId = function() {
|
|
21983
|
+
return jspb.Message.getField(this, 4) != null;
|
|
21984
|
+
};
|
|
21985
|
+
|
|
21986
|
+
|
|
21987
|
+
|
|
21988
|
+
|
|
21989
|
+
|
|
21990
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21991
|
+
/**
|
|
21992
|
+
* Creates an object representation of this proto.
|
|
21993
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21994
|
+
* Optional fields that are not set will be set to undefined.
|
|
21995
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21996
|
+
* For the list of reserved names please see:
|
|
21997
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21998
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21999
|
+
* JSPB instance for transitional soy proto support:
|
|
22000
|
+
* http://goto/soy-param-migration
|
|
22001
|
+
* @return {!Object}
|
|
22002
|
+
*/
|
|
22003
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.toObject = function(opt_includeInstance) {
|
|
22004
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject(opt_includeInstance, this);
|
|
22005
|
+
};
|
|
22006
|
+
|
|
22007
|
+
|
|
22008
|
+
/**
|
|
22009
|
+
* Static version of the {@see toObject} method.
|
|
22010
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22011
|
+
* the JSPB instance for transitional soy proto support:
|
|
22012
|
+
* http://goto/soy-param-migration
|
|
22013
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} msg The msg instance to transform.
|
|
22014
|
+
* @return {!Object}
|
|
22015
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22016
|
+
*/
|
|
22017
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.toObject = function(includeInstance, msg) {
|
|
22018
|
+
var f, obj = {
|
|
22019
|
+
availability: (f = msg.getAvailability()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
22020
|
+
caption: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
22021
|
+
configManagerErrorCode: (f = msg.getConfigManagerErrorCode()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
22022
|
+
configManagerUserConfig: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
22023
|
+
deviceId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22024
|
+
manufacturer: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
22025
|
+
protocolSupported: (f = msg.getProtocolSupported()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f)
|
|
22026
|
+
};
|
|
22027
|
+
|
|
22028
|
+
if (includeInstance) {
|
|
22029
|
+
obj.$jspbMessageInstance = msg;
|
|
22030
|
+
}
|
|
22031
|
+
return obj;
|
|
22032
|
+
};
|
|
22033
|
+
}
|
|
22034
|
+
|
|
22035
|
+
|
|
22036
|
+
/**
|
|
22037
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22038
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22039
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
22040
|
+
*/
|
|
22041
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinary = function(bytes) {
|
|
22042
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22043
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.ComputerInfrared;
|
|
22044
|
+
return proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader(msg, reader);
|
|
22045
|
+
};
|
|
22046
|
+
|
|
22047
|
+
|
|
22048
|
+
/**
|
|
22049
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22050
|
+
* given reader into the given message object.
|
|
22051
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} msg The message object to deserialize into.
|
|
22052
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22053
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared}
|
|
22054
|
+
*/
|
|
22055
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.deserializeBinaryFromReader = function(msg, reader) {
|
|
22056
|
+
while (reader.nextField()) {
|
|
22057
|
+
if (reader.isEndGroup()) {
|
|
22058
|
+
break;
|
|
22059
|
+
}
|
|
22060
|
+
var field = reader.getFieldNumber();
|
|
22061
|
+
switch (field) {
|
|
22062
|
+
case 1:
|
|
22063
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22064
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22065
|
+
msg.setAvailability(value);
|
|
22066
|
+
break;
|
|
22067
|
+
case 2:
|
|
22068
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22069
|
+
msg.setCaption(value);
|
|
22070
|
+
break;
|
|
22071
|
+
case 3:
|
|
22072
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22073
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22074
|
+
msg.setConfigManagerErrorCode(value);
|
|
22075
|
+
break;
|
|
22076
|
+
case 4:
|
|
22077
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22078
|
+
msg.setConfigManagerUserConfig(value);
|
|
22079
|
+
break;
|
|
22080
|
+
case 5:
|
|
22081
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22082
|
+
msg.setDeviceId(value);
|
|
22083
|
+
break;
|
|
22084
|
+
case 6:
|
|
22085
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22086
|
+
msg.setManufacturer(value);
|
|
22087
|
+
break;
|
|
22088
|
+
case 7:
|
|
22089
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
22090
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
22091
|
+
msg.setProtocolSupported(value);
|
|
22092
|
+
break;
|
|
22093
|
+
default:
|
|
22094
|
+
reader.skipField();
|
|
22095
|
+
break;
|
|
22096
|
+
}
|
|
22097
|
+
}
|
|
22098
|
+
return msg;
|
|
22099
|
+
};
|
|
22100
|
+
|
|
22101
|
+
|
|
22102
|
+
/**
|
|
22103
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22104
|
+
* @return {!Uint8Array}
|
|
22105
|
+
*/
|
|
22106
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.serializeBinary = function() {
|
|
22107
|
+
var writer = new jspb.BinaryWriter();
|
|
22108
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter(this, writer);
|
|
22109
|
+
return writer.getResultBuffer();
|
|
22110
|
+
};
|
|
22111
|
+
|
|
22112
|
+
|
|
22113
|
+
/**
|
|
22114
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22115
|
+
* format), writing to the given BinaryWriter.
|
|
22116
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} message
|
|
22117
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22118
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22119
|
+
*/
|
|
22120
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.serializeBinaryToWriter = function(message, writer) {
|
|
22121
|
+
var f = undefined;
|
|
22122
|
+
f = message.getAvailability();
|
|
22123
|
+
if (f != null) {
|
|
22124
|
+
writer.writeMessage(
|
|
22125
|
+
1,
|
|
22126
|
+
f,
|
|
22127
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22128
|
+
);
|
|
22129
|
+
}
|
|
22130
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
22131
|
+
if (f != null) {
|
|
22132
|
+
writer.writeString(
|
|
22133
|
+
2,
|
|
22134
|
+
f
|
|
22135
|
+
);
|
|
22136
|
+
}
|
|
22137
|
+
f = message.getConfigManagerErrorCode();
|
|
22138
|
+
if (f != null) {
|
|
22139
|
+
writer.writeMessage(
|
|
22140
|
+
3,
|
|
22141
|
+
f,
|
|
22142
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22143
|
+
);
|
|
22144
|
+
}
|
|
22145
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
22146
|
+
if (f != null) {
|
|
22147
|
+
writer.writeBool(
|
|
22148
|
+
4,
|
|
22149
|
+
f
|
|
22150
|
+
);
|
|
22151
|
+
}
|
|
22152
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
22153
|
+
if (f != null) {
|
|
22154
|
+
writer.writeString(
|
|
22155
|
+
5,
|
|
22156
|
+
f
|
|
22157
|
+
);
|
|
22158
|
+
}
|
|
22159
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
22160
|
+
if (f != null) {
|
|
22161
|
+
writer.writeString(
|
|
22162
|
+
6,
|
|
22163
|
+
f
|
|
22164
|
+
);
|
|
22165
|
+
}
|
|
22166
|
+
f = message.getProtocolSupported();
|
|
22167
|
+
if (f != null) {
|
|
22168
|
+
writer.writeMessage(
|
|
22169
|
+
7,
|
|
22170
|
+
f,
|
|
22171
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
22172
|
+
);
|
|
22173
|
+
}
|
|
22174
|
+
};
|
|
22175
|
+
|
|
22176
|
+
|
|
22177
|
+
/**
|
|
22178
|
+
* optional MappedValue availability = 1;
|
|
22179
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22180
|
+
*/
|
|
22181
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getAvailability = function() {
|
|
22182
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22183
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 1));
|
|
22184
|
+
};
|
|
22185
|
+
|
|
22186
|
+
|
|
22187
|
+
/**
|
|
22188
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22189
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22190
|
+
*/
|
|
22191
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setAvailability = function(value) {
|
|
22192
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
22193
|
+
};
|
|
22194
|
+
|
|
22195
|
+
|
|
22196
|
+
/**
|
|
22197
|
+
* Clears the message field making it undefined.
|
|
22198
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22199
|
+
*/
|
|
22200
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearAvailability = function() {
|
|
22201
|
+
return this.setAvailability(undefined);
|
|
22202
|
+
};
|
|
22203
|
+
|
|
22204
|
+
|
|
22205
|
+
/**
|
|
22206
|
+
* Returns whether this field is set.
|
|
22207
|
+
* @return {boolean}
|
|
22208
|
+
*/
|
|
22209
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasAvailability = function() {
|
|
22210
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22211
|
+
};
|
|
22212
|
+
|
|
22213
|
+
|
|
22214
|
+
/**
|
|
22215
|
+
* optional string caption = 2;
|
|
22216
|
+
* @return {string}
|
|
22217
|
+
*/
|
|
22218
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getCaption = function() {
|
|
22219
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
22220
|
+
};
|
|
22221
|
+
|
|
22222
|
+
|
|
22223
|
+
/**
|
|
22224
|
+
* @param {string} value
|
|
22225
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22226
|
+
*/
|
|
22227
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setCaption = function(value) {
|
|
22228
|
+
return jspb.Message.setField(this, 2, value);
|
|
22229
|
+
};
|
|
22230
|
+
|
|
22231
|
+
|
|
22232
|
+
/**
|
|
22233
|
+
* Clears the field making it undefined.
|
|
22234
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22235
|
+
*/
|
|
22236
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearCaption = function() {
|
|
22237
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
22238
|
+
};
|
|
22239
|
+
|
|
22240
|
+
|
|
22241
|
+
/**
|
|
22242
|
+
* Returns whether this field is set.
|
|
22243
|
+
* @return {boolean}
|
|
22244
|
+
*/
|
|
22245
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasCaption = function() {
|
|
22246
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22247
|
+
};
|
|
22248
|
+
|
|
22249
|
+
|
|
22250
|
+
/**
|
|
22251
|
+
* optional MappedValue config_manager_error_code = 3;
|
|
22252
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22253
|
+
*/
|
|
22254
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getConfigManagerErrorCode = function() {
|
|
22255
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22256
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
|
|
22257
|
+
};
|
|
22258
|
+
|
|
22259
|
+
|
|
22260
|
+
/**
|
|
22261
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22262
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22263
|
+
*/
|
|
22264
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setConfigManagerErrorCode = function(value) {
|
|
22265
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
22266
|
+
};
|
|
22267
|
+
|
|
22268
|
+
|
|
22269
|
+
/**
|
|
22270
|
+
* Clears the message field making it undefined.
|
|
22271
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22272
|
+
*/
|
|
22273
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearConfigManagerErrorCode = function() {
|
|
22274
|
+
return this.setConfigManagerErrorCode(undefined);
|
|
22275
|
+
};
|
|
22276
|
+
|
|
22277
|
+
|
|
22278
|
+
/**
|
|
22279
|
+
* Returns whether this field is set.
|
|
22280
|
+
* @return {boolean}
|
|
22281
|
+
*/
|
|
22282
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasConfigManagerErrorCode = function() {
|
|
22283
|
+
return jspb.Message.getField(this, 3) != null;
|
|
22284
|
+
};
|
|
22285
|
+
|
|
22286
|
+
|
|
22287
|
+
/**
|
|
22288
|
+
* optional bool config_manager_user_config = 4;
|
|
22289
|
+
* @return {boolean}
|
|
22290
|
+
*/
|
|
22291
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getConfigManagerUserConfig = function() {
|
|
22292
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
22293
|
+
};
|
|
22294
|
+
|
|
22295
|
+
|
|
22296
|
+
/**
|
|
22297
|
+
* @param {boolean} value
|
|
22298
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22299
|
+
*/
|
|
22300
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setConfigManagerUserConfig = function(value) {
|
|
22301
|
+
return jspb.Message.setField(this, 4, value);
|
|
22302
|
+
};
|
|
22303
|
+
|
|
22304
|
+
|
|
22305
|
+
/**
|
|
22306
|
+
* Clears the field making it undefined.
|
|
22307
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22308
|
+
*/
|
|
22309
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearConfigManagerUserConfig = function() {
|
|
22310
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
22311
|
+
};
|
|
22312
|
+
|
|
22313
|
+
|
|
22314
|
+
/**
|
|
22315
|
+
* Returns whether this field is set.
|
|
22316
|
+
* @return {boolean}
|
|
22317
|
+
*/
|
|
22318
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasConfigManagerUserConfig = function() {
|
|
22319
|
+
return jspb.Message.getField(this, 4) != null;
|
|
22320
|
+
};
|
|
22321
|
+
|
|
22322
|
+
|
|
22323
|
+
/**
|
|
22324
|
+
* optional string device_id = 5;
|
|
22325
|
+
* @return {string}
|
|
22326
|
+
*/
|
|
22327
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getDeviceId = function() {
|
|
22328
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
22329
|
+
};
|
|
22330
|
+
|
|
22331
|
+
|
|
22332
|
+
/**
|
|
22333
|
+
* @param {string} value
|
|
22334
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22335
|
+
*/
|
|
22336
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setDeviceId = function(value) {
|
|
22337
|
+
return jspb.Message.setField(this, 5, value);
|
|
22338
|
+
};
|
|
22339
|
+
|
|
22340
|
+
|
|
22341
|
+
/**
|
|
22342
|
+
* Clears the field making it undefined.
|
|
22343
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22344
|
+
*/
|
|
22345
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearDeviceId = function() {
|
|
22346
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
22347
|
+
};
|
|
22348
|
+
|
|
22349
|
+
|
|
22350
|
+
/**
|
|
22351
|
+
* Returns whether this field is set.
|
|
22352
|
+
* @return {boolean}
|
|
22353
|
+
*/
|
|
22354
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasDeviceId = function() {
|
|
22355
|
+
return jspb.Message.getField(this, 5) != null;
|
|
22356
|
+
};
|
|
22357
|
+
|
|
22358
|
+
|
|
22359
|
+
/**
|
|
22360
|
+
* optional string manufacturer = 6;
|
|
22361
|
+
* @return {string}
|
|
22362
|
+
*/
|
|
22363
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getManufacturer = function() {
|
|
22364
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
22365
|
+
};
|
|
22366
|
+
|
|
22367
|
+
|
|
22368
|
+
/**
|
|
22369
|
+
* @param {string} value
|
|
22370
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22371
|
+
*/
|
|
22372
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setManufacturer = function(value) {
|
|
22373
|
+
return jspb.Message.setField(this, 6, value);
|
|
22374
|
+
};
|
|
22375
|
+
|
|
22376
|
+
|
|
22377
|
+
/**
|
|
22378
|
+
* Clears the field making it undefined.
|
|
22379
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22380
|
+
*/
|
|
22381
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearManufacturer = function() {
|
|
22382
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
22383
|
+
};
|
|
22384
|
+
|
|
22385
|
+
|
|
22386
|
+
/**
|
|
22387
|
+
* Returns whether this field is set.
|
|
22388
|
+
* @return {boolean}
|
|
22389
|
+
*/
|
|
22390
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasManufacturer = function() {
|
|
22391
|
+
return jspb.Message.getField(this, 6) != null;
|
|
22392
|
+
};
|
|
22393
|
+
|
|
22394
|
+
|
|
22395
|
+
/**
|
|
22396
|
+
* optional MappedValue protocol_supported = 7;
|
|
22397
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
22398
|
+
*/
|
|
22399
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.getProtocolSupported = function() {
|
|
22400
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
22401
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 7));
|
|
22402
|
+
};
|
|
22403
|
+
|
|
22404
|
+
|
|
22405
|
+
/**
|
|
22406
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
22407
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22408
|
+
*/
|
|
22409
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.setProtocolSupported = function(value) {
|
|
22410
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
22411
|
+
};
|
|
22412
|
+
|
|
22413
|
+
|
|
22414
|
+
/**
|
|
22415
|
+
* Clears the message field making it undefined.
|
|
22416
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.ComputerInfrared} returns this
|
|
22417
|
+
*/
|
|
22418
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.clearProtocolSupported = function() {
|
|
22419
|
+
return this.setProtocolSupported(undefined);
|
|
22420
|
+
};
|
|
22421
|
+
|
|
22422
|
+
|
|
22423
|
+
/**
|
|
22424
|
+
* Returns whether this field is set.
|
|
22425
|
+
* @return {boolean}
|
|
22426
|
+
*/
|
|
22427
|
+
proto.com.lansweeper.dp.outbound.v1.ComputerInfrared.prototype.hasProtocolSupported = function() {
|
|
22428
|
+
return jspb.Message.getField(this, 7) != null;
|
|
22429
|
+
};
|
|
22430
|
+
|
|
22431
|
+
|
|
22432
|
+
|
|
22433
|
+
|
|
22434
|
+
|
|
21497
22435
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21498
22436
|
/**
|
|
21499
22437
|
* Creates an object representation of this proto.
|