@lansweeper/data-platform-outbound-grpc 0.1.44 → 0.1.45
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 +44 -12
- package/gen-proto/outbound_pb.js +349 -110
- package/generated-go/outbound.pb.go +2530 -2453
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +15 -12
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -66,6 +66,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch', nu
|
|
|
66
66
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OpticalDrive', null, global);
|
|
67
67
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
|
|
68
68
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
|
|
69
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtRack', null, global);
|
|
69
70
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PhysicalMemory', null, global);
|
|
70
71
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PointingDevice', null, global);
|
|
71
72
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
|
|
@@ -352,6 +353,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
352
353
|
*/
|
|
353
354
|
proto.com.lansweeper.dp.outbound.v1.OtModule.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtModule';
|
|
354
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* Generated by JsPbCodeGenerator.
|
|
358
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
359
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
360
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
361
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
362
|
+
* valid.
|
|
363
|
+
* @extends {jspb.Message}
|
|
364
|
+
* @constructor
|
|
365
|
+
*/
|
|
366
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack = function(opt_data) {
|
|
367
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
368
|
+
};
|
|
369
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OtRack, jspb.Message);
|
|
370
|
+
if (goog.DEBUG && !COMPILED) {
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
* @override
|
|
374
|
+
*/
|
|
375
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.displayName = 'proto.com.lansweeper.dp.outbound.v1.OtRack';
|
|
376
|
+
}
|
|
355
377
|
/**
|
|
356
378
|
* Generated by JsPbCodeGenerator.
|
|
357
379
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5900,7 +5922,7 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasBody = function() {
|
|
|
5900
5922
|
* @private {!Array<number>}
|
|
5901
5923
|
* @const
|
|
5902
5924
|
*/
|
|
5903
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [
|
|
5925
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.repeatedFields_ = [7];
|
|
5904
5926
|
|
|
5905
5927
|
|
|
5906
5928
|
|
|
@@ -5933,14 +5955,12 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.toObject = function(opt_i
|
|
|
5933
5955
|
*/
|
|
5934
5956
|
proto.com.lansweeper.dp.outbound.v1.OtModule.toObject = function(includeInstance, msg) {
|
|
5935
5957
|
var f, obj = {
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
componentType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5943
|
-
partNumber: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5958
|
+
rack: (f = msg.getRack()) && proto.com.lansweeper.dp.outbound.v1.OtRack.toObject(includeInstance, f),
|
|
5959
|
+
slotNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5960
|
+
slotWidth: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5961
|
+
isMainModule: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
5962
|
+
componentType: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5963
|
+
partNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5944
5964
|
extInfoList: jspb.Message.toObjectList(msg.getExtInfoList(),
|
|
5945
5965
|
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.toObject, includeInstance)
|
|
5946
5966
|
};
|
|
@@ -5980,38 +6000,31 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader = funct
|
|
|
5980
6000
|
var field = reader.getFieldNumber();
|
|
5981
6001
|
switch (field) {
|
|
5982
6002
|
case 1:
|
|
5983
|
-
var value =
|
|
5984
|
-
|
|
6003
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OtRack;
|
|
6004
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtRack.deserializeBinaryFromReader);
|
|
6005
|
+
msg.setRack(value);
|
|
5985
6006
|
break;
|
|
5986
6007
|
case 2:
|
|
5987
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5988
|
-
msg.setRackName(value);
|
|
5989
|
-
break;
|
|
5990
|
-
case 3:
|
|
5991
6008
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5992
|
-
msg.
|
|
6009
|
+
msg.setSlotNumber(value);
|
|
5993
6010
|
break;
|
|
5994
|
-
case
|
|
5995
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
5996
|
-
msg.setSlot(value);
|
|
5997
|
-
break;
|
|
5998
|
-
case 5:
|
|
6011
|
+
case 3:
|
|
5999
6012
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6000
6013
|
msg.setSlotWidth(value);
|
|
6001
6014
|
break;
|
|
6002
|
-
case
|
|
6015
|
+
case 4:
|
|
6003
6016
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
6004
6017
|
msg.setIsMainModule(value);
|
|
6005
6018
|
break;
|
|
6006
|
-
case
|
|
6019
|
+
case 5:
|
|
6007
6020
|
var value = /** @type {string} */ (reader.readString());
|
|
6008
6021
|
msg.setComponentType(value);
|
|
6009
6022
|
break;
|
|
6010
|
-
case
|
|
6023
|
+
case 6:
|
|
6011
6024
|
var value = /** @type {string} */ (reader.readString());
|
|
6012
6025
|
msg.setPartNumber(value);
|
|
6013
6026
|
break;
|
|
6014
|
-
case
|
|
6027
|
+
case 7:
|
|
6015
6028
|
var value = new proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo;
|
|
6016
6029
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.deserializeBinaryFromReader);
|
|
6017
6030
|
msg.addExtInfo(value);
|
|
@@ -6045,66 +6058,53 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.serializeBinary = functio
|
|
|
6045
6058
|
*/
|
|
6046
6059
|
proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(message, writer) {
|
|
6047
6060
|
var f = undefined;
|
|
6048
|
-
f = message.
|
|
6049
|
-
if (f
|
|
6050
|
-
writer.
|
|
6061
|
+
f = message.getRack();
|
|
6062
|
+
if (f != null) {
|
|
6063
|
+
writer.writeMessage(
|
|
6051
6064
|
1,
|
|
6052
|
-
f
|
|
6053
|
-
|
|
6054
|
-
}
|
|
6055
|
-
f = message.getRackName();
|
|
6056
|
-
if (f.length > 0) {
|
|
6057
|
-
writer.writeString(
|
|
6058
|
-
2,
|
|
6059
|
-
f
|
|
6060
|
-
);
|
|
6061
|
-
}
|
|
6062
|
-
f = message.getRackSize();
|
|
6063
|
-
if (f !== 0) {
|
|
6064
|
-
writer.writeInt32(
|
|
6065
|
-
3,
|
|
6066
|
-
f
|
|
6065
|
+
f,
|
|
6066
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.serializeBinaryToWriter
|
|
6067
6067
|
);
|
|
6068
6068
|
}
|
|
6069
|
-
f = message.
|
|
6069
|
+
f = message.getSlotNumber();
|
|
6070
6070
|
if (f !== 0) {
|
|
6071
6071
|
writer.writeInt32(
|
|
6072
|
-
|
|
6072
|
+
2,
|
|
6073
6073
|
f
|
|
6074
6074
|
);
|
|
6075
6075
|
}
|
|
6076
6076
|
f = message.getSlotWidth();
|
|
6077
6077
|
if (f !== 0) {
|
|
6078
6078
|
writer.writeInt32(
|
|
6079
|
-
|
|
6079
|
+
3,
|
|
6080
6080
|
f
|
|
6081
6081
|
);
|
|
6082
6082
|
}
|
|
6083
6083
|
f = message.getIsMainModule();
|
|
6084
6084
|
if (f) {
|
|
6085
6085
|
writer.writeBool(
|
|
6086
|
-
|
|
6086
|
+
4,
|
|
6087
6087
|
f
|
|
6088
6088
|
);
|
|
6089
6089
|
}
|
|
6090
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
6090
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
6091
6091
|
if (f != null) {
|
|
6092
6092
|
writer.writeString(
|
|
6093
|
-
|
|
6093
|
+
5,
|
|
6094
6094
|
f
|
|
6095
6095
|
);
|
|
6096
6096
|
}
|
|
6097
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
6097
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
6098
6098
|
if (f != null) {
|
|
6099
6099
|
writer.writeString(
|
|
6100
|
-
|
|
6100
|
+
6,
|
|
6101
6101
|
f
|
|
6102
6102
|
);
|
|
6103
6103
|
}
|
|
6104
6104
|
f = message.getExtInfoList();
|
|
6105
6105
|
if (f.length > 0) {
|
|
6106
6106
|
writer.writeRepeatedMessage(
|
|
6107
|
-
|
|
6107
|
+
7,
|
|
6108
6108
|
f,
|
|
6109
6109
|
proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo.serializeBinaryToWriter
|
|
6110
6110
|
);
|
|
@@ -6113,65 +6113,48 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.serializeBinaryToWriter = function(
|
|
|
6113
6113
|
|
|
6114
6114
|
|
|
6115
6115
|
/**
|
|
6116
|
-
* optional
|
|
6117
|
-
* @return {
|
|
6116
|
+
* optional OtRack rack = 1;
|
|
6117
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.OtRack}
|
|
6118
6118
|
*/
|
|
6119
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6120
|
-
return /** @type
|
|
6119
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRack = function() {
|
|
6120
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.OtRack} */ (
|
|
6121
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtRack, 1));
|
|
6121
6122
|
};
|
|
6122
6123
|
|
|
6123
6124
|
|
|
6124
6125
|
/**
|
|
6125
|
-
* @param {
|
|
6126
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.OtRack|undefined} value
|
|
6126
6127
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6127
|
-
|
|
6128
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6129
|
-
return jspb.Message.
|
|
6130
|
-
};
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
/**
|
|
6134
|
-
* optional string rack_name = 2;
|
|
6135
|
-
* @return {string}
|
|
6136
|
-
*/
|
|
6137
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackName = function() {
|
|
6138
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6128
|
+
*/
|
|
6129
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setRack = function(value) {
|
|
6130
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6139
6131
|
};
|
|
6140
6132
|
|
|
6141
6133
|
|
|
6142
6134
|
/**
|
|
6143
|
-
*
|
|
6135
|
+
* Clears the message field making it undefined.
|
|
6144
6136
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6145
6137
|
*/
|
|
6146
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6147
|
-
return
|
|
6138
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearRack = function() {
|
|
6139
|
+
return this.setRack(undefined);
|
|
6148
6140
|
};
|
|
6149
6141
|
|
|
6150
6142
|
|
|
6151
6143
|
/**
|
|
6152
|
-
*
|
|
6153
|
-
* @return {
|
|
6154
|
-
*/
|
|
6155
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getRackSize = function() {
|
|
6156
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6157
|
-
};
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
/**
|
|
6161
|
-
* @param {number} value
|
|
6162
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6144
|
+
* Returns whether this field is set.
|
|
6145
|
+
* @return {boolean}
|
|
6163
6146
|
*/
|
|
6164
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6165
|
-
return jspb.Message.
|
|
6147
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasRack = function() {
|
|
6148
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6166
6149
|
};
|
|
6167
6150
|
|
|
6168
6151
|
|
|
6169
6152
|
/**
|
|
6170
|
-
* optional int32
|
|
6153
|
+
* optional int32 slot_number = 2;
|
|
6171
6154
|
* @return {number}
|
|
6172
6155
|
*/
|
|
6173
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6174
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6156
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlotNumber = function() {
|
|
6157
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6175
6158
|
};
|
|
6176
6159
|
|
|
6177
6160
|
|
|
@@ -6179,17 +6162,17 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlot = function() {
|
|
|
6179
6162
|
* @param {number} value
|
|
6180
6163
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6181
6164
|
*/
|
|
6182
|
-
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.
|
|
6183
|
-
return jspb.Message.setProto3IntField(this,
|
|
6165
|
+
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlotNumber = function(value) {
|
|
6166
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6184
6167
|
};
|
|
6185
6168
|
|
|
6186
6169
|
|
|
6187
6170
|
/**
|
|
6188
|
-
* optional int32 slot_width =
|
|
6171
|
+
* optional int32 slot_width = 3;
|
|
6189
6172
|
* @return {number}
|
|
6190
6173
|
*/
|
|
6191
6174
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlotWidth = function() {
|
|
6192
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6175
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6193
6176
|
};
|
|
6194
6177
|
|
|
6195
6178
|
|
|
@@ -6198,16 +6181,16 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getSlotWidth = function()
|
|
|
6198
6181
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6199
6182
|
*/
|
|
6200
6183
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setSlotWidth = function(value) {
|
|
6201
|
-
return jspb.Message.setProto3IntField(this,
|
|
6184
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
6202
6185
|
};
|
|
6203
6186
|
|
|
6204
6187
|
|
|
6205
6188
|
/**
|
|
6206
|
-
* optional bool is_main_module =
|
|
6189
|
+
* optional bool is_main_module = 4;
|
|
6207
6190
|
* @return {boolean}
|
|
6208
6191
|
*/
|
|
6209
6192
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsMainModule = function() {
|
|
6210
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
6193
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
6211
6194
|
};
|
|
6212
6195
|
|
|
6213
6196
|
|
|
@@ -6216,16 +6199,16 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getIsMainModule = functio
|
|
|
6216
6199
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6217
6200
|
*/
|
|
6218
6201
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setIsMainModule = function(value) {
|
|
6219
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
6202
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
6220
6203
|
};
|
|
6221
6204
|
|
|
6222
6205
|
|
|
6223
6206
|
/**
|
|
6224
|
-
* optional string component_type =
|
|
6207
|
+
* optional string component_type = 5;
|
|
6225
6208
|
* @return {string}
|
|
6226
6209
|
*/
|
|
6227
6210
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getComponentType = function() {
|
|
6228
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6229
6212
|
};
|
|
6230
6213
|
|
|
6231
6214
|
|
|
@@ -6234,7 +6217,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getComponentType = functi
|
|
|
6234
6217
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6235
6218
|
*/
|
|
6236
6219
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setComponentType = function(value) {
|
|
6237
|
-
return jspb.Message.setField(this,
|
|
6220
|
+
return jspb.Message.setField(this, 5, value);
|
|
6238
6221
|
};
|
|
6239
6222
|
|
|
6240
6223
|
|
|
@@ -6243,7 +6226,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setComponentType = functi
|
|
|
6243
6226
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6244
6227
|
*/
|
|
6245
6228
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearComponentType = function() {
|
|
6246
|
-
return jspb.Message.setField(this,
|
|
6229
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6247
6230
|
};
|
|
6248
6231
|
|
|
6249
6232
|
|
|
@@ -6252,16 +6235,16 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearComponentType = func
|
|
|
6252
6235
|
* @return {boolean}
|
|
6253
6236
|
*/
|
|
6254
6237
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasComponentType = function() {
|
|
6255
|
-
return jspb.Message.getField(this,
|
|
6238
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6256
6239
|
};
|
|
6257
6240
|
|
|
6258
6241
|
|
|
6259
6242
|
/**
|
|
6260
|
-
* optional string part_number =
|
|
6243
|
+
* optional string part_number = 6;
|
|
6261
6244
|
* @return {string}
|
|
6262
6245
|
*/
|
|
6263
6246
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getPartNumber = function() {
|
|
6264
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6265
6248
|
};
|
|
6266
6249
|
|
|
6267
6250
|
|
|
@@ -6270,7 +6253,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getPartNumber = function(
|
|
|
6270
6253
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6271
6254
|
*/
|
|
6272
6255
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setPartNumber = function(value) {
|
|
6273
|
-
return jspb.Message.setField(this,
|
|
6256
|
+
return jspb.Message.setField(this, 6, value);
|
|
6274
6257
|
};
|
|
6275
6258
|
|
|
6276
6259
|
|
|
@@ -6279,7 +6262,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setPartNumber = function(
|
|
|
6279
6262
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6280
6263
|
*/
|
|
6281
6264
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearPartNumber = function() {
|
|
6282
|
-
return jspb.Message.setField(this,
|
|
6265
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
6283
6266
|
};
|
|
6284
6267
|
|
|
6285
6268
|
|
|
@@ -6288,17 +6271,17 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearPartNumber = functio
|
|
|
6288
6271
|
* @return {boolean}
|
|
6289
6272
|
*/
|
|
6290
6273
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.hasPartNumber = function() {
|
|
6291
|
-
return jspb.Message.getField(this,
|
|
6274
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6292
6275
|
};
|
|
6293
6276
|
|
|
6294
6277
|
|
|
6295
6278
|
/**
|
|
6296
|
-
* repeated OtModuleExtInfo ext_info =
|
|
6279
|
+
* repeated OtModuleExtInfo ext_info = 7;
|
|
6297
6280
|
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>}
|
|
6298
6281
|
*/
|
|
6299
6282
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getExtInfoList = function() {
|
|
6300
6283
|
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo>} */ (
|
|
6301
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo,
|
|
6284
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, 7));
|
|
6302
6285
|
};
|
|
6303
6286
|
|
|
6304
6287
|
|
|
@@ -6307,7 +6290,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.getExtInfoList = function
|
|
|
6307
6290
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModule} returns this
|
|
6308
6291
|
*/
|
|
6309
6292
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setExtInfoList = function(value) {
|
|
6310
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
6293
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
6311
6294
|
};
|
|
6312
6295
|
|
|
6313
6296
|
|
|
@@ -6317,7 +6300,7 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.setExtInfoList = function
|
|
|
6317
6300
|
* @return {!proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo}
|
|
6318
6301
|
*/
|
|
6319
6302
|
proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.addExtInfo = function(opt_value, opt_index) {
|
|
6320
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
6303
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo, opt_index);
|
|
6321
6304
|
};
|
|
6322
6305
|
|
|
6323
6306
|
|
|
@@ -6333,6 +6316,262 @@ proto.com.lansweeper.dp.outbound.v1.OtModule.prototype.clearExtInfoList = functi
|
|
|
6333
6316
|
|
|
6334
6317
|
|
|
6335
6318
|
|
|
6319
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6320
|
+
/**
|
|
6321
|
+
* Creates an object representation of this proto.
|
|
6322
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6323
|
+
* Optional fields that are not set will be set to undefined.
|
|
6324
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6325
|
+
* For the list of reserved names please see:
|
|
6326
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6327
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6328
|
+
* JSPB instance for transitional soy proto support:
|
|
6329
|
+
* http://goto/soy-param-migration
|
|
6330
|
+
* @return {!Object}
|
|
6331
|
+
*/
|
|
6332
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.toObject = function(opt_includeInstance) {
|
|
6333
|
+
return proto.com.lansweeper.dp.outbound.v1.OtRack.toObject(opt_includeInstance, this);
|
|
6334
|
+
};
|
|
6335
|
+
|
|
6336
|
+
|
|
6337
|
+
/**
|
|
6338
|
+
* Static version of the {@see toObject} method.
|
|
6339
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6340
|
+
* the JSPB instance for transitional soy proto support:
|
|
6341
|
+
* http://goto/soy-param-migration
|
|
6342
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtRack} msg The msg instance to transform.
|
|
6343
|
+
* @return {!Object}
|
|
6344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6345
|
+
*/
|
|
6346
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.toObject = function(includeInstance, msg) {
|
|
6347
|
+
var f, obj = {
|
|
6348
|
+
number: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6349
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6350
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6351
|
+
size: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
6352
|
+
};
|
|
6353
|
+
|
|
6354
|
+
if (includeInstance) {
|
|
6355
|
+
obj.$jspbMessageInstance = msg;
|
|
6356
|
+
}
|
|
6357
|
+
return obj;
|
|
6358
|
+
};
|
|
6359
|
+
}
|
|
6360
|
+
|
|
6361
|
+
|
|
6362
|
+
/**
|
|
6363
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6364
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6365
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack}
|
|
6366
|
+
*/
|
|
6367
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.deserializeBinary = function(bytes) {
|
|
6368
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6369
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.OtRack;
|
|
6370
|
+
return proto.com.lansweeper.dp.outbound.v1.OtRack.deserializeBinaryFromReader(msg, reader);
|
|
6371
|
+
};
|
|
6372
|
+
|
|
6373
|
+
|
|
6374
|
+
/**
|
|
6375
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6376
|
+
* given reader into the given message object.
|
|
6377
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtRack} msg The message object to deserialize into.
|
|
6378
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6379
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack}
|
|
6380
|
+
*/
|
|
6381
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.deserializeBinaryFromReader = function(msg, reader) {
|
|
6382
|
+
while (reader.nextField()) {
|
|
6383
|
+
if (reader.isEndGroup()) {
|
|
6384
|
+
break;
|
|
6385
|
+
}
|
|
6386
|
+
var field = reader.getFieldNumber();
|
|
6387
|
+
switch (field) {
|
|
6388
|
+
case 1:
|
|
6389
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6390
|
+
msg.setNumber(value);
|
|
6391
|
+
break;
|
|
6392
|
+
case 2:
|
|
6393
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6394
|
+
msg.setName(value);
|
|
6395
|
+
break;
|
|
6396
|
+
case 3:
|
|
6397
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6398
|
+
msg.setType(value);
|
|
6399
|
+
break;
|
|
6400
|
+
case 4:
|
|
6401
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6402
|
+
msg.setSize(value);
|
|
6403
|
+
break;
|
|
6404
|
+
default:
|
|
6405
|
+
reader.skipField();
|
|
6406
|
+
break;
|
|
6407
|
+
}
|
|
6408
|
+
}
|
|
6409
|
+
return msg;
|
|
6410
|
+
};
|
|
6411
|
+
|
|
6412
|
+
|
|
6413
|
+
/**
|
|
6414
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6415
|
+
* @return {!Uint8Array}
|
|
6416
|
+
*/
|
|
6417
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.serializeBinary = function() {
|
|
6418
|
+
var writer = new jspb.BinaryWriter();
|
|
6419
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.serializeBinaryToWriter(this, writer);
|
|
6420
|
+
return writer.getResultBuffer();
|
|
6421
|
+
};
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6426
|
+
* format), writing to the given BinaryWriter.
|
|
6427
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OtRack} message
|
|
6428
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6429
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6430
|
+
*/
|
|
6431
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.serializeBinaryToWriter = function(message, writer) {
|
|
6432
|
+
var f = undefined;
|
|
6433
|
+
f = message.getNumber();
|
|
6434
|
+
if (f !== 0) {
|
|
6435
|
+
writer.writeInt32(
|
|
6436
|
+
1,
|
|
6437
|
+
f
|
|
6438
|
+
);
|
|
6439
|
+
}
|
|
6440
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
6441
|
+
if (f != null) {
|
|
6442
|
+
writer.writeString(
|
|
6443
|
+
2,
|
|
6444
|
+
f
|
|
6445
|
+
);
|
|
6446
|
+
}
|
|
6447
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
6448
|
+
if (f != null) {
|
|
6449
|
+
writer.writeString(
|
|
6450
|
+
3,
|
|
6451
|
+
f
|
|
6452
|
+
);
|
|
6453
|
+
}
|
|
6454
|
+
f = message.getSize();
|
|
6455
|
+
if (f !== 0) {
|
|
6456
|
+
writer.writeInt32(
|
|
6457
|
+
4,
|
|
6458
|
+
f
|
|
6459
|
+
);
|
|
6460
|
+
}
|
|
6461
|
+
};
|
|
6462
|
+
|
|
6463
|
+
|
|
6464
|
+
/**
|
|
6465
|
+
* optional int32 number = 1;
|
|
6466
|
+
* @return {number}
|
|
6467
|
+
*/
|
|
6468
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.getNumber = function() {
|
|
6469
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6470
|
+
};
|
|
6471
|
+
|
|
6472
|
+
|
|
6473
|
+
/**
|
|
6474
|
+
* @param {number} value
|
|
6475
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6476
|
+
*/
|
|
6477
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.setNumber = function(value) {
|
|
6478
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6479
|
+
};
|
|
6480
|
+
|
|
6481
|
+
|
|
6482
|
+
/**
|
|
6483
|
+
* optional string name = 2;
|
|
6484
|
+
* @return {string}
|
|
6485
|
+
*/
|
|
6486
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.getName = function() {
|
|
6487
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6488
|
+
};
|
|
6489
|
+
|
|
6490
|
+
|
|
6491
|
+
/**
|
|
6492
|
+
* @param {string} value
|
|
6493
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6494
|
+
*/
|
|
6495
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.setName = function(value) {
|
|
6496
|
+
return jspb.Message.setField(this, 2, value);
|
|
6497
|
+
};
|
|
6498
|
+
|
|
6499
|
+
|
|
6500
|
+
/**
|
|
6501
|
+
* Clears the field making it undefined.
|
|
6502
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6503
|
+
*/
|
|
6504
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.clearName = function() {
|
|
6505
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
6506
|
+
};
|
|
6507
|
+
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* Returns whether this field is set.
|
|
6511
|
+
* @return {boolean}
|
|
6512
|
+
*/
|
|
6513
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.hasName = function() {
|
|
6514
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6515
|
+
};
|
|
6516
|
+
|
|
6517
|
+
|
|
6518
|
+
/**
|
|
6519
|
+
* optional string type = 3;
|
|
6520
|
+
* @return {string}
|
|
6521
|
+
*/
|
|
6522
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.getType = function() {
|
|
6523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6524
|
+
};
|
|
6525
|
+
|
|
6526
|
+
|
|
6527
|
+
/**
|
|
6528
|
+
* @param {string} value
|
|
6529
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6530
|
+
*/
|
|
6531
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.setType = function(value) {
|
|
6532
|
+
return jspb.Message.setField(this, 3, value);
|
|
6533
|
+
};
|
|
6534
|
+
|
|
6535
|
+
|
|
6536
|
+
/**
|
|
6537
|
+
* Clears the field making it undefined.
|
|
6538
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6539
|
+
*/
|
|
6540
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.clearType = function() {
|
|
6541
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6542
|
+
};
|
|
6543
|
+
|
|
6544
|
+
|
|
6545
|
+
/**
|
|
6546
|
+
* Returns whether this field is set.
|
|
6547
|
+
* @return {boolean}
|
|
6548
|
+
*/
|
|
6549
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.hasType = function() {
|
|
6550
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6551
|
+
};
|
|
6552
|
+
|
|
6553
|
+
|
|
6554
|
+
/**
|
|
6555
|
+
* optional int32 size = 4;
|
|
6556
|
+
* @return {number}
|
|
6557
|
+
*/
|
|
6558
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.getSize = function() {
|
|
6559
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6560
|
+
};
|
|
6561
|
+
|
|
6562
|
+
|
|
6563
|
+
/**
|
|
6564
|
+
* @param {number} value
|
|
6565
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OtRack} returns this
|
|
6566
|
+
*/
|
|
6567
|
+
proto.com.lansweeper.dp.outbound.v1.OtRack.prototype.setSize = function(value) {
|
|
6568
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
6569
|
+
};
|
|
6570
|
+
|
|
6571
|
+
|
|
6572
|
+
|
|
6573
|
+
|
|
6574
|
+
|
|
6336
6575
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6337
6576
|
/**
|
|
6338
6577
|
* Creates an object representation of this proto.
|