@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.
@@ -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(): string | undefined;
3643
- setMtu(value: string): NetworkInterface;
3647
+ getMtu(): number | undefined;
3648
+ setMtu(value: number): NetworkInterface;
3644
3649
 
3645
3650
  hasSpeed(): boolean;
3646
3651
  clearSpeed(): void;
3647
- getSpeed(): string | undefined;
3648
- setSpeed(value: string): NetworkInterface;
3652
+ getSpeed(): number | undefined;
3653
+ setSpeed(value: number): NetworkInterface;
3649
3654
 
3650
3655
  hasHighSpeed(): boolean;
3651
3656
  clearHighSpeed(): void;
3652
- getHighSpeed(): string | undefined;
3653
- setHighSpeed(value: string): NetworkInterface;
3657
+ getHighSpeed(): number | undefined;
3658
+ setHighSpeed(value: number): NetworkInterface;
3654
3659
 
3655
3660
  hasAdminStatus(): boolean;
3656
3661
  clearAdminStatus(): void;
3657
- getAdminStatus(): string | undefined;
3658
- setAdminStatus(value: string): NetworkInterface;
3662
+ getAdminStatus(): MappedValue | undefined;
3663
+ setAdminStatus(value?: MappedValue): NetworkInterface;
3659
3664
 
3660
3665
  hasOperStatus(): boolean;
3661
3666
  clearOperStatus(): void;
3662
- getOperStatus(): string | undefined;
3663
- setOperStatus(value: string): NetworkInterface;
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?: string,
3713
- speed?: string,
3714
- highSpeed?: string,
3715
- adminStatus?: string,
3716
- operStatus?: string,
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,
@@ -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: jspb.Message.getFieldWithDefault(msg, 21, ""),
32112
- operStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
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 {string} */ (reader.readString());
32228
+ var value = /** @type {number} */ (reader.readInt64());
32224
32229
  msg.setMtu(value);
32225
32230
  break;
32226
32231
  case 19:
32227
- var value = /** @type {string} */ (reader.readString());
32232
+ var value = /** @type {number} */ (reader.readInt64());
32228
32233
  msg.setSpeed(value);
32229
32234
  break;
32230
32235
  case 20:
32231
- var value = /** @type {string} */ (reader.readString());
32236
+ var value = /** @type {number} */ (reader.readInt64());
32232
32237
  msg.setHighSpeed(value);
32233
32238
  break;
32234
32239
  case 21:
32235
- var value = /** @type {string} */ (reader.readString());
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 = /** @type {string} */ (reader.readString());
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 {string} */ (jspb.Message.getField(message, 18));
32421
+ f = /** @type {number} */ (jspb.Message.getField(message, 18));
32408
32422
  if (f != null) {
32409
- writer.writeString(
32423
+ writer.writeInt64(
32410
32424
  18,
32411
32425
  f
32412
32426
  );
32413
32427
  }
32414
- f = /** @type {string} */ (jspb.Message.getField(message, 19));
32428
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
32415
32429
  if (f != null) {
32416
- writer.writeString(
32430
+ writer.writeInt64(
32417
32431
  19,
32418
32432
  f
32419
32433
  );
32420
32434
  }
32421
- f = /** @type {string} */ (jspb.Message.getField(message, 20));
32435
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
32422
32436
  if (f != null) {
32423
- writer.writeString(
32437
+ writer.writeInt64(
32424
32438
  20,
32425
32439
  f
32426
32440
  );
32427
32441
  }
32428
- f = /** @type {string} */ (jspb.Message.getField(message, 21));
32442
+ f = message.getAdminStatus();
32429
32443
  if (f != null) {
32430
- writer.writeString(
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 = /** @type {string} */ (jspb.Message.getField(message, 22));
32450
+ f = message.getOperStatus();
32436
32451
  if (f != null) {
32437
- writer.writeString(
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 string mtu = 18;
33036
- * @return {string}
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 {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
33091
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
33040
33092
  };
33041
33093
 
33042
33094
 
33043
33095
  /**
33044
- * @param {string} value
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 string speed = 19;
33072
- * @return {string}
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 {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
33127
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
33076
33128
  };
33077
33129
 
33078
33130
 
33079
33131
  /**
33080
- * @param {string} value
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 string high_speed = 20;
33108
- * @return {string}
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 {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
33163
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
33112
33164
  };
33113
33165
 
33114
33166
 
33115
33167
  /**
33116
- * @param {string} value
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 string admin_status = 21;
33144
- * @return {string}
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 {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
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 {string} value
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.setField(this, 21, value);
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 jspb.Message.setField(this, 21, undefined);
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 string oper_status = 22;
33180
- * @return {string}
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 {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
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 {string} value
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.setField(this, 22, value);
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 jspb.Message.setField(this, 22, undefined);
33255
+ return this.setOperStatus(undefined);
33202
33256
  };
33203
33257
 
33204
33258