@lansweeper/data-platform-outbound-grpc 0.1.124 → 0.1.125
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 +21 -15
- package/gen-proto/outbound_pb.js +104 -50
- package/generated-go/outbound.pb.go +5578 -5557
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +17 -12
|
@@ -3627,6 +3627,11 @@ export class NetworkInterface extends jspb.Message {
|
|
|
3627
3627
|
getDatabasePath(): string | undefined;
|
|
3628
3628
|
setDatabasePath(value: string): NetworkInterface;
|
|
3629
3629
|
|
|
3630
|
+
hasSnmpIndex(): boolean;
|
|
3631
|
+
clearSnmpIndex(): void;
|
|
3632
|
+
getSnmpIndex(): number | undefined;
|
|
3633
|
+
setSnmpIndex(value: number): NetworkInterface;
|
|
3634
|
+
|
|
3630
3635
|
hasDescription(): boolean;
|
|
3631
3636
|
clearDescription(): void;
|
|
3632
3637
|
getDescription(): string | undefined;
|
|
@@ -3639,28 +3644,28 @@ export class NetworkInterface extends jspb.Message {
|
|
|
3639
3644
|
|
|
3640
3645
|
hasMtu(): boolean;
|
|
3641
3646
|
clearMtu(): void;
|
|
3642
|
-
getMtu():
|
|
3643
|
-
setMtu(value:
|
|
3647
|
+
getMtu(): number | undefined;
|
|
3648
|
+
setMtu(value: number): NetworkInterface;
|
|
3644
3649
|
|
|
3645
3650
|
hasSpeed(): boolean;
|
|
3646
3651
|
clearSpeed(): void;
|
|
3647
|
-
getSpeed():
|
|
3648
|
-
setSpeed(value:
|
|
3652
|
+
getSpeed(): number | undefined;
|
|
3653
|
+
setSpeed(value: number): NetworkInterface;
|
|
3649
3654
|
|
|
3650
3655
|
hasHighSpeed(): boolean;
|
|
3651
3656
|
clearHighSpeed(): void;
|
|
3652
|
-
getHighSpeed():
|
|
3653
|
-
setHighSpeed(value:
|
|
3657
|
+
getHighSpeed(): number | undefined;
|
|
3658
|
+
setHighSpeed(value: number): NetworkInterface;
|
|
3654
3659
|
|
|
3655
3660
|
hasAdminStatus(): boolean;
|
|
3656
3661
|
clearAdminStatus(): void;
|
|
3657
|
-
getAdminStatus():
|
|
3658
|
-
setAdminStatus(value
|
|
3662
|
+
getAdminStatus(): MappedValue | undefined;
|
|
3663
|
+
setAdminStatus(value?: MappedValue): NetworkInterface;
|
|
3659
3664
|
|
|
3660
3665
|
hasOperStatus(): boolean;
|
|
3661
3666
|
clearOperStatus(): void;
|
|
3662
|
-
getOperStatus():
|
|
3663
|
-
setOperStatus(value
|
|
3667
|
+
getOperStatus(): MappedValue | undefined;
|
|
3668
|
+
setOperStatus(value?: MappedValue): NetworkInterface;
|
|
3664
3669
|
clearConnectedDevicesList(): void;
|
|
3665
3670
|
getConnectedDevicesList(): Array<string>;
|
|
3666
3671
|
setConnectedDevicesList(value: Array<string>): NetworkInterface;
|
|
@@ -3707,13 +3712,14 @@ export namespace NetworkInterface {
|
|
|
3707
3712
|
dnsDomainSuffixSearchOrder?: string,
|
|
3708
3713
|
serviceName?: string,
|
|
3709
3714
|
databasePath?: string,
|
|
3715
|
+
snmpIndex?: number,
|
|
3710
3716
|
description?: string,
|
|
3711
3717
|
alias?: string,
|
|
3712
|
-
mtu?:
|
|
3713
|
-
speed?:
|
|
3714
|
-
highSpeed?:
|
|
3715
|
-
adminStatus?:
|
|
3716
|
-
operStatus?:
|
|
3718
|
+
mtu?: number,
|
|
3719
|
+
speed?: number,
|
|
3720
|
+
highSpeed?: number,
|
|
3721
|
+
adminStatus?: MappedValue.AsObject,
|
|
3722
|
+
operStatus?: MappedValue.AsObject,
|
|
3717
3723
|
connectedDevicesList: Array<string>,
|
|
3718
3724
|
vlansList: Array<string>,
|
|
3719
3725
|
ipv6PrefixLength?: number,
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -32103,13 +32103,14 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.toObject = function(include
|
|
|
32103
32103
|
dnsDomainSuffixSearchOrder: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
32104
32104
|
serviceName: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
32105
32105
|
databasePath: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
32106
|
+
snmpIndex: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
32106
32107
|
description: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
32107
32108
|
alias: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
32108
|
-
mtu: jspb.Message.getFieldWithDefault(msg, 18,
|
|
32109
|
-
speed: jspb.Message.getFieldWithDefault(msg, 19,
|
|
32110
|
-
highSpeed: jspb.Message.getFieldWithDefault(msg, 20,
|
|
32111
|
-
adminStatus:
|
|
32112
|
-
operStatus:
|
|
32109
|
+
mtu: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
32110
|
+
speed: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
32111
|
+
highSpeed: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
32112
|
+
adminStatus: (f = msg.getAdminStatus()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
32113
|
+
operStatus: (f = msg.getOperStatus()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
|
|
32113
32114
|
connectedDevicesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
32114
32115
|
vlansList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f,
|
|
32115
32116
|
ipv6PrefixLength: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
@@ -32211,6 +32212,10 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader
|
|
|
32211
32212
|
var value = /** @type {string} */ (reader.readString());
|
|
32212
32213
|
msg.setDatabasePath(value);
|
|
32213
32214
|
break;
|
|
32215
|
+
case 27:
|
|
32216
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
32217
|
+
msg.setSnmpIndex(value);
|
|
32218
|
+
break;
|
|
32214
32219
|
case 16:
|
|
32215
32220
|
var value = /** @type {string} */ (reader.readString());
|
|
32216
32221
|
msg.setDescription(value);
|
|
@@ -32220,23 +32225,25 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.deserializeBinaryFromReader
|
|
|
32220
32225
|
msg.setAlias(value);
|
|
32221
32226
|
break;
|
|
32222
32227
|
case 18:
|
|
32223
|
-
var value = /** @type {
|
|
32228
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32224
32229
|
msg.setMtu(value);
|
|
32225
32230
|
break;
|
|
32226
32231
|
case 19:
|
|
32227
|
-
var value = /** @type {
|
|
32232
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32228
32233
|
msg.setSpeed(value);
|
|
32229
32234
|
break;
|
|
32230
32235
|
case 20:
|
|
32231
|
-
var value = /** @type {
|
|
32236
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32232
32237
|
msg.setHighSpeed(value);
|
|
32233
32238
|
break;
|
|
32234
32239
|
case 21:
|
|
32235
|
-
var value =
|
|
32240
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
32241
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
32236
32242
|
msg.setAdminStatus(value);
|
|
32237
32243
|
break;
|
|
32238
32244
|
case 22:
|
|
32239
|
-
var value =
|
|
32245
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
|
|
32246
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
|
|
32240
32247
|
msg.setOperStatus(value);
|
|
32241
32248
|
break;
|
|
32242
32249
|
case 23:
|
|
@@ -32390,6 +32397,13 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = f
|
|
|
32390
32397
|
f
|
|
32391
32398
|
);
|
|
32392
32399
|
}
|
|
32400
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 27));
|
|
32401
|
+
if (f != null) {
|
|
32402
|
+
writer.writeInt32(
|
|
32403
|
+
27,
|
|
32404
|
+
f
|
|
32405
|
+
);
|
|
32406
|
+
}
|
|
32393
32407
|
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
32394
32408
|
if (f != null) {
|
|
32395
32409
|
writer.writeString(
|
|
@@ -32404,39 +32418,41 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.serializeBinaryToWriter = f
|
|
|
32404
32418
|
f
|
|
32405
32419
|
);
|
|
32406
32420
|
}
|
|
32407
|
-
f = /** @type {
|
|
32421
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
32408
32422
|
if (f != null) {
|
|
32409
|
-
writer.
|
|
32423
|
+
writer.writeInt64(
|
|
32410
32424
|
18,
|
|
32411
32425
|
f
|
|
32412
32426
|
);
|
|
32413
32427
|
}
|
|
32414
|
-
f = /** @type {
|
|
32428
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
|
32415
32429
|
if (f != null) {
|
|
32416
|
-
writer.
|
|
32430
|
+
writer.writeInt64(
|
|
32417
32431
|
19,
|
|
32418
32432
|
f
|
|
32419
32433
|
);
|
|
32420
32434
|
}
|
|
32421
|
-
f = /** @type {
|
|
32435
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
|
32422
32436
|
if (f != null) {
|
|
32423
|
-
writer.
|
|
32437
|
+
writer.writeInt64(
|
|
32424
32438
|
20,
|
|
32425
32439
|
f
|
|
32426
32440
|
);
|
|
32427
32441
|
}
|
|
32428
|
-
f =
|
|
32442
|
+
f = message.getAdminStatus();
|
|
32429
32443
|
if (f != null) {
|
|
32430
|
-
writer.
|
|
32444
|
+
writer.writeMessage(
|
|
32431
32445
|
21,
|
|
32432
|
-
f
|
|
32446
|
+
f,
|
|
32447
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
32433
32448
|
);
|
|
32434
32449
|
}
|
|
32435
|
-
f =
|
|
32450
|
+
f = message.getOperStatus();
|
|
32436
32451
|
if (f != null) {
|
|
32437
|
-
writer.
|
|
32452
|
+
writer.writeMessage(
|
|
32438
32453
|
22,
|
|
32439
|
-
f
|
|
32454
|
+
f,
|
|
32455
|
+
proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
|
|
32440
32456
|
);
|
|
32441
32457
|
}
|
|
32442
32458
|
f = message.getConnectedDevicesList();
|
|
@@ -32959,6 +32975,42 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasDatabasePath =
|
|
|
32959
32975
|
};
|
|
32960
32976
|
|
|
32961
32977
|
|
|
32978
|
+
/**
|
|
32979
|
+
* optional int32 snmp_index = 27;
|
|
32980
|
+
* @return {number}
|
|
32981
|
+
*/
|
|
32982
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSnmpIndex = function() {
|
|
32983
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
|
|
32984
|
+
};
|
|
32985
|
+
|
|
32986
|
+
|
|
32987
|
+
/**
|
|
32988
|
+
* @param {number} value
|
|
32989
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
32990
|
+
*/
|
|
32991
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSnmpIndex = function(value) {
|
|
32992
|
+
return jspb.Message.setField(this, 27, value);
|
|
32993
|
+
};
|
|
32994
|
+
|
|
32995
|
+
|
|
32996
|
+
/**
|
|
32997
|
+
* Clears the field making it undefined.
|
|
32998
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
32999
|
+
*/
|
|
33000
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearSnmpIndex = function() {
|
|
33001
|
+
return jspb.Message.setField(this, 27, undefined);
|
|
33002
|
+
};
|
|
33003
|
+
|
|
33004
|
+
|
|
33005
|
+
/**
|
|
33006
|
+
* Returns whether this field is set.
|
|
33007
|
+
* @return {boolean}
|
|
33008
|
+
*/
|
|
33009
|
+
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasSnmpIndex = function() {
|
|
33010
|
+
return jspb.Message.getField(this, 27) != null;
|
|
33011
|
+
};
|
|
33012
|
+
|
|
33013
|
+
|
|
32962
33014
|
/**
|
|
32963
33015
|
* optional string description = 16;
|
|
32964
33016
|
* @return {string}
|
|
@@ -33032,16 +33084,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAlias = functi
|
|
|
33032
33084
|
|
|
33033
33085
|
|
|
33034
33086
|
/**
|
|
33035
|
-
* optional
|
|
33036
|
-
* @return {
|
|
33087
|
+
* optional int64 mtu = 18;
|
|
33088
|
+
* @return {number}
|
|
33037
33089
|
*/
|
|
33038
33090
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getMtu = function() {
|
|
33039
|
-
return /** @type {
|
|
33091
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
33040
33092
|
};
|
|
33041
33093
|
|
|
33042
33094
|
|
|
33043
33095
|
/**
|
|
33044
|
-
* @param {
|
|
33096
|
+
* @param {number} value
|
|
33045
33097
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33046
33098
|
*/
|
|
33047
33099
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setMtu = function(value) {
|
|
@@ -33068,16 +33120,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasMtu = function
|
|
|
33068
33120
|
|
|
33069
33121
|
|
|
33070
33122
|
/**
|
|
33071
|
-
* optional
|
|
33072
|
-
* @return {
|
|
33123
|
+
* optional int64 speed = 19;
|
|
33124
|
+
* @return {number}
|
|
33073
33125
|
*/
|
|
33074
33126
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getSpeed = function() {
|
|
33075
|
-
return /** @type {
|
|
33127
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
33076
33128
|
};
|
|
33077
33129
|
|
|
33078
33130
|
|
|
33079
33131
|
/**
|
|
33080
|
-
* @param {
|
|
33132
|
+
* @param {number} value
|
|
33081
33133
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33082
33134
|
*/
|
|
33083
33135
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setSpeed = function(value) {
|
|
@@ -33104,16 +33156,16 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasSpeed = functi
|
|
|
33104
33156
|
|
|
33105
33157
|
|
|
33106
33158
|
/**
|
|
33107
|
-
* optional
|
|
33108
|
-
* @return {
|
|
33159
|
+
* optional int64 high_speed = 20;
|
|
33160
|
+
* @return {number}
|
|
33109
33161
|
*/
|
|
33110
33162
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getHighSpeed = function() {
|
|
33111
|
-
return /** @type {
|
|
33163
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
33112
33164
|
};
|
|
33113
33165
|
|
|
33114
33166
|
|
|
33115
33167
|
/**
|
|
33116
|
-
* @param {
|
|
33168
|
+
* @param {number} value
|
|
33117
33169
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33118
33170
|
*/
|
|
33119
33171
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setHighSpeed = function(value) {
|
|
@@ -33140,29 +33192,30 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasHighSpeed = fu
|
|
|
33140
33192
|
|
|
33141
33193
|
|
|
33142
33194
|
/**
|
|
33143
|
-
* optional
|
|
33144
|
-
* @return {
|
|
33195
|
+
* optional MappedValue admin_status = 21;
|
|
33196
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
33145
33197
|
*/
|
|
33146
33198
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getAdminStatus = function() {
|
|
33147
|
-
return /** @type
|
|
33199
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
33200
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 21));
|
|
33148
33201
|
};
|
|
33149
33202
|
|
|
33150
33203
|
|
|
33151
33204
|
/**
|
|
33152
|
-
* @param {
|
|
33205
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
33153
33206
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33154
|
-
|
|
33207
|
+
*/
|
|
33155
33208
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setAdminStatus = function(value) {
|
|
33156
|
-
return jspb.Message.
|
|
33209
|
+
return jspb.Message.setWrapperField(this, 21, value);
|
|
33157
33210
|
};
|
|
33158
33211
|
|
|
33159
33212
|
|
|
33160
33213
|
/**
|
|
33161
|
-
* Clears the field making it undefined.
|
|
33214
|
+
* Clears the message field making it undefined.
|
|
33162
33215
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33163
33216
|
*/
|
|
33164
33217
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearAdminStatus = function() {
|
|
33165
|
-
return
|
|
33218
|
+
return this.setAdminStatus(undefined);
|
|
33166
33219
|
};
|
|
33167
33220
|
|
|
33168
33221
|
|
|
@@ -33176,29 +33229,30 @@ proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.hasAdminStatus =
|
|
|
33176
33229
|
|
|
33177
33230
|
|
|
33178
33231
|
/**
|
|
33179
|
-
* optional
|
|
33180
|
-
* @return {
|
|
33232
|
+
* optional MappedValue oper_status = 22;
|
|
33233
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
|
|
33181
33234
|
*/
|
|
33182
33235
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.getOperStatus = function() {
|
|
33183
|
-
return /** @type
|
|
33236
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
|
|
33237
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 22));
|
|
33184
33238
|
};
|
|
33185
33239
|
|
|
33186
33240
|
|
|
33187
33241
|
/**
|
|
33188
|
-
* @param {
|
|
33242
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
|
|
33189
33243
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33190
|
-
|
|
33244
|
+
*/
|
|
33191
33245
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.setOperStatus = function(value) {
|
|
33192
|
-
return jspb.Message.
|
|
33246
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
33193
33247
|
};
|
|
33194
33248
|
|
|
33195
33249
|
|
|
33196
33250
|
/**
|
|
33197
|
-
* Clears the field making it undefined.
|
|
33251
|
+
* Clears the message field making it undefined.
|
|
33198
33252
|
* @return {!proto.com.lansweeper.dp.outbound.v1.NetworkInterface} returns this
|
|
33199
33253
|
*/
|
|
33200
33254
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterface.prototype.clearOperStatus = function() {
|
|
33201
|
-
return
|
|
33255
|
+
return this.setOperStatus(undefined);
|
|
33202
33256
|
};
|
|
33203
33257
|
|
|
33204
33258
|
|