@lansweeper/data-platform-outbound-grpc 0.1.74 → 0.1.75

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.
@@ -189,6 +189,16 @@ export class CatalogLookupResponse extends jspb.Message {
189
189
  setMonitorList(value: Array<CatalogMonitor>): CatalogLookupResponse;
190
190
  addMonitor(value?: CatalogMonitor, index?: number): CatalogMonitor;
191
191
 
192
+ hasSuccess(): boolean;
193
+ clearSuccess(): void;
194
+ getSuccess(): boolean | undefined;
195
+ setSuccess(value: boolean): CatalogLookupResponse;
196
+
197
+ hasErrorDescription(): boolean;
198
+ clearErrorDescription(): void;
199
+ getErrorDescription(): string | undefined;
200
+ setErrorDescription(value: string): CatalogLookupResponse;
201
+
192
202
  serializeBinary(): Uint8Array;
193
203
  toObject(includeInstance?: boolean): CatalogLookupResponse.AsObject;
194
204
  static toObject(includeInstance: boolean, msg: CatalogLookupResponse): CatalogLookupResponse.AsObject;
@@ -206,6 +216,8 @@ export namespace CatalogLookupResponse {
206
216
  osList: Array<CatalogOs.AsObject>,
207
217
  swList: Array<CatalogSoftware.AsObject>,
208
218
  monitorList: Array<CatalogMonitor.AsObject>,
219
+ success?: boolean,
220
+ errorDescription?: string,
209
221
  }
210
222
  }
211
223
 
@@ -3937,7 +3937,9 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.toObject = function(in
3937
3937
  swList: jspb.Message.toObjectList(msg.getSwList(),
3938
3938
  proto.com.lansweeper.dp.outbound.v1.CatalogSoftware.toObject, includeInstance),
3939
3939
  monitorList: jspb.Message.toObjectList(msg.getMonitorList(),
3940
- proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.toObject, includeInstance)
3940
+ proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.toObject, includeInstance),
3941
+ success: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
3942
+ errorDescription: jspb.Message.getFieldWithDefault(msg, 7, "")
3941
3943
  };
3942
3944
 
3943
3945
  if (includeInstance) {
@@ -3999,6 +4001,14 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.deserializeBinaryFromR
3999
4001
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.deserializeBinaryFromReader);
4000
4002
  msg.addMonitor(value);
4001
4003
  break;
4004
+ case 6:
4005
+ var value = /** @type {boolean} */ (reader.readBool());
4006
+ msg.setSuccess(value);
4007
+ break;
4008
+ case 7:
4009
+ var value = /** @type {string} */ (reader.readString());
4010
+ msg.setErrorDescription(value);
4011
+ break;
4002
4012
  default:
4003
4013
  reader.skipField();
4004
4014
  break;
@@ -4068,6 +4078,20 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.serializeBinaryToWrite
4068
4078
  proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.serializeBinaryToWriter
4069
4079
  );
4070
4080
  }
4081
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
4082
+ if (f != null) {
4083
+ writer.writeBool(
4084
+ 6,
4085
+ f
4086
+ );
4087
+ }
4088
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
4089
+ if (f != null) {
4090
+ writer.writeString(
4091
+ 7,
4092
+ f
4093
+ );
4094
+ }
4071
4095
  };
4072
4096
 
4073
4097
 
@@ -4261,6 +4285,78 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearMonitor
4261
4285
  };
4262
4286
 
4263
4287
 
4288
+ /**
4289
+ * optional bool success = 6;
4290
+ * @return {boolean}
4291
+ */
4292
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.getSuccess = function() {
4293
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
4294
+ };
4295
+
4296
+
4297
+ /**
4298
+ * @param {boolean} value
4299
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
4300
+ */
4301
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.setSuccess = function(value) {
4302
+ return jspb.Message.setField(this, 6, value);
4303
+ };
4304
+
4305
+
4306
+ /**
4307
+ * Clears the field making it undefined.
4308
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
4309
+ */
4310
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearSuccess = function() {
4311
+ return jspb.Message.setField(this, 6, undefined);
4312
+ };
4313
+
4314
+
4315
+ /**
4316
+ * Returns whether this field is set.
4317
+ * @return {boolean}
4318
+ */
4319
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.hasSuccess = function() {
4320
+ return jspb.Message.getField(this, 6) != null;
4321
+ };
4322
+
4323
+
4324
+ /**
4325
+ * optional string error_description = 7;
4326
+ * @return {string}
4327
+ */
4328
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.getErrorDescription = function() {
4329
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4330
+ };
4331
+
4332
+
4333
+ /**
4334
+ * @param {string} value
4335
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
4336
+ */
4337
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.setErrorDescription = function(value) {
4338
+ return jspb.Message.setField(this, 7, value);
4339
+ };
4340
+
4341
+
4342
+ /**
4343
+ * Clears the field making it undefined.
4344
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
4345
+ */
4346
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearErrorDescription = function() {
4347
+ return jspb.Message.setField(this, 7, undefined);
4348
+ };
4349
+
4350
+
4351
+ /**
4352
+ * Returns whether this field is set.
4353
+ * @return {boolean}
4354
+ */
4355
+ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.hasErrorDescription = function() {
4356
+ return jspb.Message.getField(this, 7) != null;
4357
+ };
4358
+
4359
+
4264
4360
 
4265
4361
 
4266
4362