@viamrobotics/sdk 0.3.1-next.1 → 0.3.1
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/dist/components/base/base.d.ts +4 -0
- package/dist/components/base/client.d.ts +2 -0
- package/dist/components/base.d.ts +1 -1
- package/dist/gen/component/base/v1/base_pb.d.ts +4 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +19 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +57 -75
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -19
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +4 -0
- package/dist/main.d.ts +2 -4
- package/dist/main.es.js +979 -937
- package/dist/main.umd.js +2 -2
- package/dist/robot/dial.d.ts +0 -3
- package/dist/services/motion/client.d.ts +2 -3
- package/dist/services/motion/motion.d.ts +4 -17
- package/dist/services/motion/types.d.ts +2 -0
- package/dist/services/motion.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -25662,7 +25662,8 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
|
|
|
25662
25662
|
}, proto.viam.component.base.v1.GetPropertiesResponse.toObject = function(o, r) {
|
|
25663
25663
|
var n = {
|
|
25664
25664
|
widthMeters: e.Message.getFloatingPointFieldWithDefault(r, 1, 0),
|
|
25665
|
-
turningRadiusMeters: e.Message.getFloatingPointFieldWithDefault(r, 2, 0)
|
|
25665
|
+
turningRadiusMeters: e.Message.getFloatingPointFieldWithDefault(r, 2, 0),
|
|
25666
|
+
wheelCircumferenceMeters: e.Message.getFloatingPointFieldWithDefault(r, 3, 0)
|
|
25666
25667
|
};
|
|
25667
25668
|
return o && (n.$jspbMessageInstance = r), n;
|
|
25668
25669
|
}), proto.viam.component.base.v1.GetPropertiesResponse.deserializeBinary = function(o) {
|
|
@@ -25686,6 +25687,13 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
|
|
|
25686
25687
|
);
|
|
25687
25688
|
o.setTurningRadiusMeters(l);
|
|
25688
25689
|
break;
|
|
25690
|
+
case 3:
|
|
25691
|
+
var l = (
|
|
25692
|
+
/** @type {number} */
|
|
25693
|
+
r.readDouble()
|
|
25694
|
+
);
|
|
25695
|
+
o.setWheelCircumferenceMeters(l);
|
|
25696
|
+
break;
|
|
25689
25697
|
default:
|
|
25690
25698
|
r.skipField();
|
|
25691
25699
|
break;
|
|
@@ -25703,6 +25711,9 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
|
|
|
25703
25711
|
), n = o.getTurningRadiusMeters(), n !== 0 && r.writeDouble(
|
|
25704
25712
|
2,
|
|
25705
25713
|
n
|
|
25714
|
+
), n = o.getWheelCircumferenceMeters(), n !== 0 && r.writeDouble(
|
|
25715
|
+
3,
|
|
25716
|
+
n
|
|
25706
25717
|
);
|
|
25707
25718
|
}, proto.viam.component.base.v1.GetPropertiesResponse.prototype.getWidthMeters = function() {
|
|
25708
25719
|
return (
|
|
@@ -25718,6 +25729,13 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
|
|
|
25718
25729
|
);
|
|
25719
25730
|
}, proto.viam.component.base.v1.GetPropertiesResponse.prototype.setTurningRadiusMeters = function(o) {
|
|
25720
25731
|
return e.Message.setProto3FloatField(this, 2, o);
|
|
25732
|
+
}, proto.viam.component.base.v1.GetPropertiesResponse.prototype.getWheelCircumferenceMeters = function() {
|
|
25733
|
+
return (
|
|
25734
|
+
/** @type {number} */
|
|
25735
|
+
e.Message.getFloatingPointFieldWithDefault(this, 3, 0)
|
|
25736
|
+
);
|
|
25737
|
+
}, proto.viam.component.base.v1.GetPropertiesResponse.prototype.setWheelCircumferenceMeters = function(o) {
|
|
25738
|
+
return e.Message.setProto3FloatField(this, 3, o);
|
|
25721
25739
|
}, s.object.extend(t, proto.viam.component.base.v1);
|
|
25722
25740
|
})(base_pb);
|
|
25723
25741
|
var component_base_v1_base_pb = base_pb, common_v1_common_pb$j = common_pb, grpc$k = grpcWebClient_umdExports.grpc, BaseService = function() {
|
|
@@ -30831,7 +30849,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
30831
30849
|
var g = annotations_pb;
|
|
30832
30850
|
s.object.extend(proto, g);
|
|
30833
30851
|
var p = struct_pb;
|
|
30834
|
-
s.object.extend(proto, p), s.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification", null, i), s.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions", null, i), s.exportSymbol("proto.viam.service.motion.v1.Constraints", null, i), s.exportSymbol("proto.viam.service.motion.v1.GetPoseRequest", null, i), s.exportSymbol("proto.viam.service.motion.v1.GetPoseResponse", null, i), s.exportSymbol("proto.viam.service.motion.v1.LinearConstraint", null, i), s.exportSymbol("proto.viam.service.motion.v1.
|
|
30852
|
+
s.object.extend(proto, p), s.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification", null, i), s.exportSymbol("proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions", null, i), s.exportSymbol("proto.viam.service.motion.v1.Constraints", null, i), s.exportSymbol("proto.viam.service.motion.v1.GetPoseRequest", null, i), s.exportSymbol("proto.viam.service.motion.v1.GetPoseResponse", null, i), s.exportSymbol("proto.viam.service.motion.v1.LinearConstraint", null, i), s.exportSymbol("proto.viam.service.motion.v1.MotionConfiguration", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeRequest", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveOnGlobeResponse", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveOnMapRequest", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveOnMapResponse", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveRequest", null, i), s.exportSymbol("proto.viam.service.motion.v1.MoveResponse", null, i), s.exportSymbol("proto.viam.service.motion.v1.OrientationConstraint", null, i), proto.viam.service.motion.v1.MoveRequest = function(o) {
|
|
30835
30853
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30836
30854
|
}, s.inherits(proto.viam.service.motion.v1.MoveRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveRequest.displayName = "proto.viam.service.motion.v1.MoveRequest"), proto.viam.service.motion.v1.MoveResponse = function(o) {
|
|
30837
30855
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
@@ -30839,15 +30857,13 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
30839
30857
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30840
30858
|
}, s.inherits(proto.viam.service.motion.v1.MoveOnMapRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapRequest.displayName = "proto.viam.service.motion.v1.MoveOnMapRequest"), proto.viam.service.motion.v1.MoveOnMapResponse = function(o) {
|
|
30841
30859
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30842
|
-
}, s.inherits(proto.viam.service.motion.v1.MoveOnMapResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapResponse.displayName = "proto.viam.service.motion.v1.MoveOnMapResponse"), proto.viam.service.motion.v1.
|
|
30860
|
+
}, s.inherits(proto.viam.service.motion.v1.MoveOnMapResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnMapResponse.displayName = "proto.viam.service.motion.v1.MoveOnMapResponse"), proto.viam.service.motion.v1.MotionConfiguration = function(o) {
|
|
30861
|
+
e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.MotionConfiguration.repeatedFields_, null);
|
|
30862
|
+
}, s.inherits(proto.viam.service.motion.v1.MotionConfiguration, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MotionConfiguration.displayName = "proto.viam.service.motion.v1.MotionConfiguration"), proto.viam.service.motion.v1.MoveOnGlobeRequest = function(o) {
|
|
30843
30863
|
e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.MoveOnGlobeRequest.repeatedFields_, null);
|
|
30844
30864
|
}, s.inherits(proto.viam.service.motion.v1.MoveOnGlobeRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeRequest.displayName = "proto.viam.service.motion.v1.MoveOnGlobeRequest"), proto.viam.service.motion.v1.MoveOnGlobeResponse = function(o) {
|
|
30845
30865
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30846
|
-
}, s.inherits(proto.viam.service.motion.v1.MoveOnGlobeResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeResponse.displayName = "proto.viam.service.motion.v1.MoveOnGlobeResponse"), proto.viam.service.motion.v1.
|
|
30847
|
-
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30848
|
-
}, s.inherits(proto.viam.service.motion.v1.MoveSingleComponentRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveSingleComponentRequest.displayName = "proto.viam.service.motion.v1.MoveSingleComponentRequest"), proto.viam.service.motion.v1.MoveSingleComponentResponse = function(o) {
|
|
30849
|
-
e.Message.initialize(this, o, 0, -1, null, null);
|
|
30850
|
-
}, s.inherits(proto.viam.service.motion.v1.MoveSingleComponentResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveSingleComponentResponse.displayName = "proto.viam.service.motion.v1.MoveSingleComponentResponse"), proto.viam.service.motion.v1.GetPoseRequest = function(o) {
|
|
30866
|
+
}, s.inherits(proto.viam.service.motion.v1.MoveOnGlobeResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.MoveOnGlobeResponse.displayName = "proto.viam.service.motion.v1.MoveOnGlobeResponse"), proto.viam.service.motion.v1.GetPoseRequest = function(o) {
|
|
30851
30867
|
e.Message.initialize(this, o, 0, -1, proto.viam.service.motion.v1.GetPoseRequest.repeatedFields_, null);
|
|
30852
30868
|
}, s.inherits(proto.viam.service.motion.v1.GetPoseRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.service.motion.v1.GetPoseRequest.displayName = "proto.viam.service.motion.v1.GetPoseRequest"), proto.viam.service.motion.v1.GetPoseResponse = function(o) {
|
|
30853
30869
|
e.Message.initialize(this, o, 0, -1, null, null);
|
|
@@ -31213,6 +31229,170 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31213
31229
|
);
|
|
31214
31230
|
}, proto.viam.service.motion.v1.MoveOnMapResponse.prototype.setSuccess = function(o) {
|
|
31215
31231
|
return e.Message.setProto3BooleanField(this, 1, o);
|
|
31232
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MotionConfiguration.prototype.toObject = function(o) {
|
|
31233
|
+
return proto.viam.service.motion.v1.MotionConfiguration.toObject(o, this);
|
|
31234
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.toObject = function(o, r) {
|
|
31235
|
+
var n = {
|
|
31236
|
+
visionServicesList: e.Message.toObjectList(
|
|
31237
|
+
r.getVisionServicesList(),
|
|
31238
|
+
u.ResourceName.toObject,
|
|
31239
|
+
o
|
|
31240
|
+
),
|
|
31241
|
+
positionPollingFrequencyHz: e.Message.getFloatingPointFieldWithDefault(r, 2, 0),
|
|
31242
|
+
obstaclePollingFrequencyHz: e.Message.getFloatingPointFieldWithDefault(r, 3, 0),
|
|
31243
|
+
planDeviationM: e.Message.getFloatingPointFieldWithDefault(r, 4, 0),
|
|
31244
|
+
linearMPerSec: e.Message.getFloatingPointFieldWithDefault(r, 5, 0),
|
|
31245
|
+
angularDegsPerSec: e.Message.getFloatingPointFieldWithDefault(r, 6, 0)
|
|
31246
|
+
};
|
|
31247
|
+
return o && (n.$jspbMessageInstance = r), n;
|
|
31248
|
+
}), proto.viam.service.motion.v1.MotionConfiguration.deserializeBinary = function(o) {
|
|
31249
|
+
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.MotionConfiguration();
|
|
31250
|
+
return proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader(n, r);
|
|
31251
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader = function(o, r) {
|
|
31252
|
+
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
31253
|
+
var n = r.getFieldNumber();
|
|
31254
|
+
switch (n) {
|
|
31255
|
+
case 1:
|
|
31256
|
+
var l = new u.ResourceName();
|
|
31257
|
+
r.readMessage(l, u.ResourceName.deserializeBinaryFromReader), o.addVisionServices(l);
|
|
31258
|
+
break;
|
|
31259
|
+
case 2:
|
|
31260
|
+
var l = (
|
|
31261
|
+
/** @type {number} */
|
|
31262
|
+
r.readDouble()
|
|
31263
|
+
);
|
|
31264
|
+
o.setPositionPollingFrequencyHz(l);
|
|
31265
|
+
break;
|
|
31266
|
+
case 3:
|
|
31267
|
+
var l = (
|
|
31268
|
+
/** @type {number} */
|
|
31269
|
+
r.readDouble()
|
|
31270
|
+
);
|
|
31271
|
+
o.setObstaclePollingFrequencyHz(l);
|
|
31272
|
+
break;
|
|
31273
|
+
case 4:
|
|
31274
|
+
var l = (
|
|
31275
|
+
/** @type {number} */
|
|
31276
|
+
r.readDouble()
|
|
31277
|
+
);
|
|
31278
|
+
o.setPlanDeviationM(l);
|
|
31279
|
+
break;
|
|
31280
|
+
case 5:
|
|
31281
|
+
var l = (
|
|
31282
|
+
/** @type {number} */
|
|
31283
|
+
r.readDouble()
|
|
31284
|
+
);
|
|
31285
|
+
o.setLinearMPerSec(l);
|
|
31286
|
+
break;
|
|
31287
|
+
case 6:
|
|
31288
|
+
var l = (
|
|
31289
|
+
/** @type {number} */
|
|
31290
|
+
r.readDouble()
|
|
31291
|
+
);
|
|
31292
|
+
o.setAngularDegsPerSec(l);
|
|
31293
|
+
break;
|
|
31294
|
+
default:
|
|
31295
|
+
r.skipField();
|
|
31296
|
+
break;
|
|
31297
|
+
}
|
|
31298
|
+
}
|
|
31299
|
+
return o;
|
|
31300
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.serializeBinary = function() {
|
|
31301
|
+
var o = new e.BinaryWriter();
|
|
31302
|
+
return proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter(this, o), o.getResultBuffer();
|
|
31303
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter = function(o, r) {
|
|
31304
|
+
var n = void 0;
|
|
31305
|
+
n = o.getVisionServicesList(), n.length > 0 && r.writeRepeatedMessage(
|
|
31306
|
+
1,
|
|
31307
|
+
n,
|
|
31308
|
+
u.ResourceName.serializeBinaryToWriter
|
|
31309
|
+
), n = /** @type {number} */
|
|
31310
|
+
e.Message.getField(o, 2), n != null && r.writeDouble(
|
|
31311
|
+
2,
|
|
31312
|
+
n
|
|
31313
|
+
), n = /** @type {number} */
|
|
31314
|
+
e.Message.getField(o, 3), n != null && r.writeDouble(
|
|
31315
|
+
3,
|
|
31316
|
+
n
|
|
31317
|
+
), n = /** @type {number} */
|
|
31318
|
+
e.Message.getField(o, 4), n != null && r.writeDouble(
|
|
31319
|
+
4,
|
|
31320
|
+
n
|
|
31321
|
+
), n = /** @type {number} */
|
|
31322
|
+
e.Message.getField(o, 5), n != null && r.writeDouble(
|
|
31323
|
+
5,
|
|
31324
|
+
n
|
|
31325
|
+
), n = /** @type {number} */
|
|
31326
|
+
e.Message.getField(o, 6), n != null && r.writeDouble(
|
|
31327
|
+
6,
|
|
31328
|
+
n
|
|
31329
|
+
);
|
|
31330
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getVisionServicesList = function() {
|
|
31331
|
+
return (
|
|
31332
|
+
/** @type{!Array<!proto.viam.common.v1.ResourceName>} */
|
|
31333
|
+
e.Message.getRepeatedWrapperField(this, u.ResourceName, 1)
|
|
31334
|
+
);
|
|
31335
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setVisionServicesList = function(o) {
|
|
31336
|
+
return e.Message.setRepeatedWrapperField(this, 1, o);
|
|
31337
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.addVisionServices = function(o, r) {
|
|
31338
|
+
return e.Message.addToRepeatedWrapperField(this, 1, o, proto.viam.common.v1.ResourceName, r);
|
|
31339
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearVisionServicesList = function() {
|
|
31340
|
+
return this.setVisionServicesList([]);
|
|
31341
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getPositionPollingFrequencyHz = function() {
|
|
31342
|
+
return (
|
|
31343
|
+
/** @type {number} */
|
|
31344
|
+
e.Message.getFloatingPointFieldWithDefault(this, 2, 0)
|
|
31345
|
+
);
|
|
31346
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setPositionPollingFrequencyHz = function(o) {
|
|
31347
|
+
return e.Message.setField(this, 2, o);
|
|
31348
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearPositionPollingFrequencyHz = function() {
|
|
31349
|
+
return e.Message.setField(this, 2, void 0);
|
|
31350
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.hasPositionPollingFrequencyHz = function() {
|
|
31351
|
+
return e.Message.getField(this, 2) != null;
|
|
31352
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getObstaclePollingFrequencyHz = function() {
|
|
31353
|
+
return (
|
|
31354
|
+
/** @type {number} */
|
|
31355
|
+
e.Message.getFloatingPointFieldWithDefault(this, 3, 0)
|
|
31356
|
+
);
|
|
31357
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setObstaclePollingFrequencyHz = function(o) {
|
|
31358
|
+
return e.Message.setField(this, 3, o);
|
|
31359
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearObstaclePollingFrequencyHz = function() {
|
|
31360
|
+
return e.Message.setField(this, 3, void 0);
|
|
31361
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.hasObstaclePollingFrequencyHz = function() {
|
|
31362
|
+
return e.Message.getField(this, 3) != null;
|
|
31363
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getPlanDeviationM = function() {
|
|
31364
|
+
return (
|
|
31365
|
+
/** @type {number} */
|
|
31366
|
+
e.Message.getFloatingPointFieldWithDefault(this, 4, 0)
|
|
31367
|
+
);
|
|
31368
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setPlanDeviationM = function(o) {
|
|
31369
|
+
return e.Message.setField(this, 4, o);
|
|
31370
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearPlanDeviationM = function() {
|
|
31371
|
+
return e.Message.setField(this, 4, void 0);
|
|
31372
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.hasPlanDeviationM = function() {
|
|
31373
|
+
return e.Message.getField(this, 4) != null;
|
|
31374
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getLinearMPerSec = function() {
|
|
31375
|
+
return (
|
|
31376
|
+
/** @type {number} */
|
|
31377
|
+
e.Message.getFloatingPointFieldWithDefault(this, 5, 0)
|
|
31378
|
+
);
|
|
31379
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setLinearMPerSec = function(o) {
|
|
31380
|
+
return e.Message.setField(this, 5, o);
|
|
31381
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearLinearMPerSec = function() {
|
|
31382
|
+
return e.Message.setField(this, 5, void 0);
|
|
31383
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.hasLinearMPerSec = function() {
|
|
31384
|
+
return e.Message.getField(this, 5) != null;
|
|
31385
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.getAngularDegsPerSec = function() {
|
|
31386
|
+
return (
|
|
31387
|
+
/** @type {number} */
|
|
31388
|
+
e.Message.getFloatingPointFieldWithDefault(this, 6, 0)
|
|
31389
|
+
);
|
|
31390
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.setAngularDegsPerSec = function(o) {
|
|
31391
|
+
return e.Message.setField(this, 6, o);
|
|
31392
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.clearAngularDegsPerSec = function() {
|
|
31393
|
+
return e.Message.setField(this, 6, void 0);
|
|
31394
|
+
}, proto.viam.service.motion.v1.MotionConfiguration.prototype.hasAngularDegsPerSec = function() {
|
|
31395
|
+
return e.Message.getField(this, 6) != null;
|
|
31216
31396
|
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.repeatedFields_ = [6], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.toObject = function(o) {
|
|
31217
31397
|
return proto.viam.service.motion.v1.MoveOnGlobeRequest.toObject(o, this);
|
|
31218
31398
|
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.toObject = function(o, r) {
|
|
@@ -31227,8 +31407,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31227
31407
|
u.GeoObstacle.toObject,
|
|
31228
31408
|
o
|
|
31229
31409
|
),
|
|
31230
|
-
|
|
31231
|
-
angularDegPerSec: e.Message.getFloatingPointFieldWithDefault(r, 8, 0),
|
|
31410
|
+
motionConfiguration: (n = r.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(o, n),
|
|
31232
31411
|
extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
|
|
31233
31412
|
};
|
|
31234
31413
|
return o && (l.$jspbMessageInstance = r), l;
|
|
@@ -31270,18 +31449,8 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31270
31449
|
r.readMessage(l, u.GeoObstacle.deserializeBinaryFromReader), o.addObstacles(l);
|
|
31271
31450
|
break;
|
|
31272
31451
|
case 7:
|
|
31273
|
-
var l = (
|
|
31274
|
-
|
|
31275
|
-
r.readFloat()
|
|
31276
|
-
);
|
|
31277
|
-
o.setLinearMetersPerSec(l);
|
|
31278
|
-
break;
|
|
31279
|
-
case 8:
|
|
31280
|
-
var l = (
|
|
31281
|
-
/** @type {number} */
|
|
31282
|
-
r.readFloat()
|
|
31283
|
-
);
|
|
31284
|
-
o.setAngularDegPerSec(l);
|
|
31452
|
+
var l = new proto.viam.service.motion.v1.MotionConfiguration();
|
|
31453
|
+
r.readMessage(l, proto.viam.service.motion.v1.MotionConfiguration.deserializeBinaryFromReader), o.setMotionConfiguration(l);
|
|
31285
31454
|
break;
|
|
31286
31455
|
case 99:
|
|
31287
31456
|
var l = new p.Struct();
|
|
@@ -31321,14 +31490,10 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31321
31490
|
6,
|
|
31322
31491
|
n,
|
|
31323
31492
|
u.GeoObstacle.serializeBinaryToWriter
|
|
31324
|
-
), n =
|
|
31325
|
-
e.Message.getField(o, 7), n != null && r.writeFloat(
|
|
31493
|
+
), n = o.getMotionConfiguration(), n != null && r.writeMessage(
|
|
31326
31494
|
7,
|
|
31327
|
-
n
|
|
31328
|
-
|
|
31329
|
-
e.Message.getField(o, 8), n != null && r.writeFloat(
|
|
31330
|
-
8,
|
|
31331
|
-
n
|
|
31495
|
+
n,
|
|
31496
|
+
proto.viam.service.motion.v1.MotionConfiguration.serializeBinaryToWriter
|
|
31332
31497
|
), n = o.getExtra(), n != null && r.writeMessage(
|
|
31333
31498
|
99,
|
|
31334
31499
|
n,
|
|
@@ -31396,28 +31561,17 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31396
31561
|
return e.Message.addToRepeatedWrapperField(this, 6, o, proto.viam.common.v1.GeoObstacle, r);
|
|
31397
31562
|
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.clearObstaclesList = function() {
|
|
31398
31563
|
return this.setObstaclesList([]);
|
|
31399
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.
|
|
31564
|
+
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.getMotionConfiguration = function() {
|
|
31400
31565
|
return (
|
|
31401
|
-
/** @type
|
|
31402
|
-
e.Message.
|
|
31566
|
+
/** @type{?proto.viam.service.motion.v1.MotionConfiguration} */
|
|
31567
|
+
e.Message.getWrapperField(this, proto.viam.service.motion.v1.MotionConfiguration, 7)
|
|
31403
31568
|
);
|
|
31404
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.
|
|
31405
|
-
return e.Message.
|
|
31406
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.
|
|
31407
|
-
return
|
|
31408
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.
|
|
31569
|
+
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.setMotionConfiguration = function(o) {
|
|
31570
|
+
return e.Message.setWrapperField(this, 7, o);
|
|
31571
|
+
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.clearMotionConfiguration = function() {
|
|
31572
|
+
return this.setMotionConfiguration(void 0);
|
|
31573
|
+
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.hasMotionConfiguration = function() {
|
|
31409
31574
|
return e.Message.getField(this, 7) != null;
|
|
31410
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.getAngularDegPerSec = function() {
|
|
31411
|
-
return (
|
|
31412
|
-
/** @type {number} */
|
|
31413
|
-
e.Message.getFloatingPointFieldWithDefault(this, 8, 0)
|
|
31414
|
-
);
|
|
31415
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.setAngularDegPerSec = function(o) {
|
|
31416
|
-
return e.Message.setField(this, 8, o);
|
|
31417
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.clearAngularDegPerSec = function() {
|
|
31418
|
-
return e.Message.setField(this, 8, void 0);
|
|
31419
|
-
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.hasAngularDegPerSec = function() {
|
|
31420
|
-
return e.Message.getField(this, 8) != null;
|
|
31421
31575
|
}, proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.getExtra = function() {
|
|
31422
31576
|
return (
|
|
31423
31577
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -31472,21 +31626,25 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31472
31626
|
);
|
|
31473
31627
|
}, proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.setSuccess = function(o) {
|
|
31474
31628
|
return e.Message.setProto3BooleanField(this, 1, o);
|
|
31475
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.
|
|
31476
|
-
return proto.viam.service.motion.v1.
|
|
31477
|
-
}, proto.viam.service.motion.v1.
|
|
31629
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.repeatedFields_ = [4], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.GetPoseRequest.prototype.toObject = function(o) {
|
|
31630
|
+
return proto.viam.service.motion.v1.GetPoseRequest.toObject(o, this);
|
|
31631
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.toObject = function(o, r) {
|
|
31478
31632
|
var n, l = {
|
|
31479
31633
|
name: e.Message.getFieldWithDefault(r, 1, ""),
|
|
31480
|
-
destination: (n = r.getDestination()) && u.PoseInFrame.toObject(o, n),
|
|
31481
31634
|
componentName: (n = r.getComponentName()) && u.ResourceName.toObject(o, n),
|
|
31482
|
-
|
|
31635
|
+
destinationFrame: e.Message.getFieldWithDefault(r, 3, ""),
|
|
31636
|
+
supplementalTransformsList: e.Message.toObjectList(
|
|
31637
|
+
r.getSupplementalTransformsList(),
|
|
31638
|
+
u.Transform.toObject,
|
|
31639
|
+
o
|
|
31640
|
+
),
|
|
31483
31641
|
extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
|
|
31484
31642
|
};
|
|
31485
31643
|
return o && (l.$jspbMessageInstance = r), l;
|
|
31486
|
-
}), proto.viam.service.motion.v1.
|
|
31487
|
-
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.
|
|
31488
|
-
return proto.viam.service.motion.v1.
|
|
31489
|
-
}, proto.viam.service.motion.v1.
|
|
31644
|
+
}), proto.viam.service.motion.v1.GetPoseRequest.deserializeBinary = function(o) {
|
|
31645
|
+
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.GetPoseRequest();
|
|
31646
|
+
return proto.viam.service.motion.v1.GetPoseRequest.deserializeBinaryFromReader(n, r);
|
|
31647
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.deserializeBinaryFromReader = function(o, r) {
|
|
31490
31648
|
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
31491
31649
|
var n = r.getFieldNumber();
|
|
31492
31650
|
switch (n) {
|
|
@@ -31498,16 +31656,19 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31498
31656
|
o.setName(l);
|
|
31499
31657
|
break;
|
|
31500
31658
|
case 2:
|
|
31501
|
-
var l = new u.PoseInFrame();
|
|
31502
|
-
r.readMessage(l, u.PoseInFrame.deserializeBinaryFromReader), o.setDestination(l);
|
|
31503
|
-
break;
|
|
31504
|
-
case 3:
|
|
31505
31659
|
var l = new u.ResourceName();
|
|
31506
31660
|
r.readMessage(l, u.ResourceName.deserializeBinaryFromReader), o.setComponentName(l);
|
|
31507
31661
|
break;
|
|
31662
|
+
case 3:
|
|
31663
|
+
var l = (
|
|
31664
|
+
/** @type {string} */
|
|
31665
|
+
r.readString()
|
|
31666
|
+
);
|
|
31667
|
+
o.setDestinationFrame(l);
|
|
31668
|
+
break;
|
|
31508
31669
|
case 4:
|
|
31509
|
-
var l = new u.
|
|
31510
|
-
r.readMessage(l, u.
|
|
31670
|
+
var l = new u.Transform();
|
|
31671
|
+
r.readMessage(l, u.Transform.deserializeBinaryFromReader), o.addSupplementalTransforms(l);
|
|
31511
31672
|
break;
|
|
31512
31673
|
case 99:
|
|
31513
31674
|
var l = new p.Struct();
|
|
@@ -31519,102 +31680,94 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31519
31680
|
}
|
|
31520
31681
|
}
|
|
31521
31682
|
return o;
|
|
31522
|
-
}, proto.viam.service.motion.v1.
|
|
31683
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.serializeBinary = function() {
|
|
31523
31684
|
var o = new e.BinaryWriter();
|
|
31524
|
-
return proto.viam.service.motion.v1.
|
|
31525
|
-
}, proto.viam.service.motion.v1.
|
|
31685
|
+
return proto.viam.service.motion.v1.GetPoseRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
|
|
31686
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.serializeBinaryToWriter = function(o, r) {
|
|
31526
31687
|
var n = void 0;
|
|
31527
31688
|
n = o.getName(), n.length > 0 && r.writeString(
|
|
31528
31689
|
1,
|
|
31529
31690
|
n
|
|
31530
|
-
), n = o.getDestination(), n != null && r.writeMessage(
|
|
31531
|
-
2,
|
|
31532
|
-
n,
|
|
31533
|
-
u.PoseInFrame.serializeBinaryToWriter
|
|
31534
31691
|
), n = o.getComponentName(), n != null && r.writeMessage(
|
|
31535
|
-
|
|
31692
|
+
2,
|
|
31536
31693
|
n,
|
|
31537
31694
|
u.ResourceName.serializeBinaryToWriter
|
|
31538
|
-
), n = o.
|
|
31695
|
+
), n = o.getDestinationFrame(), n.length > 0 && r.writeString(
|
|
31696
|
+
3,
|
|
31697
|
+
n
|
|
31698
|
+
), n = o.getSupplementalTransformsList(), n.length > 0 && r.writeRepeatedMessage(
|
|
31539
31699
|
4,
|
|
31540
31700
|
n,
|
|
31541
|
-
u.
|
|
31701
|
+
u.Transform.serializeBinaryToWriter
|
|
31542
31702
|
), n = o.getExtra(), n != null && r.writeMessage(
|
|
31543
31703
|
99,
|
|
31544
31704
|
n,
|
|
31545
31705
|
p.Struct.serializeBinaryToWriter
|
|
31546
31706
|
);
|
|
31547
|
-
}, proto.viam.service.motion.v1.
|
|
31707
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getName = function() {
|
|
31548
31708
|
return (
|
|
31549
31709
|
/** @type {string} */
|
|
31550
31710
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
31551
31711
|
);
|
|
31552
|
-
}, proto.viam.service.motion.v1.
|
|
31712
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setName = function(o) {
|
|
31553
31713
|
return e.Message.setProto3StringField(this, 1, o);
|
|
31554
|
-
}, proto.viam.service.motion.v1.
|
|
31714
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getComponentName = function() {
|
|
31555
31715
|
return (
|
|
31556
|
-
/** @type{?proto.viam.common.v1.
|
|
31557
|
-
e.Message.getWrapperField(this, u.
|
|
31716
|
+
/** @type{?proto.viam.common.v1.ResourceName} */
|
|
31717
|
+
e.Message.getWrapperField(this, u.ResourceName, 2)
|
|
31558
31718
|
);
|
|
31559
|
-
}, proto.viam.service.motion.v1.
|
|
31719
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setComponentName = function(o) {
|
|
31560
31720
|
return e.Message.setWrapperField(this, 2, o);
|
|
31561
|
-
}, proto.viam.service.motion.v1.
|
|
31562
|
-
return this.
|
|
31563
|
-
}, proto.viam.service.motion.v1.
|
|
31721
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearComponentName = function() {
|
|
31722
|
+
return this.setComponentName(void 0);
|
|
31723
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.hasComponentName = function() {
|
|
31564
31724
|
return e.Message.getField(this, 2) != null;
|
|
31565
|
-
}, proto.viam.service.motion.v1.
|
|
31725
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getDestinationFrame = function() {
|
|
31566
31726
|
return (
|
|
31567
|
-
/** @type{
|
|
31568
|
-
e.Message.
|
|
31727
|
+
/** @type {string} */
|
|
31728
|
+
e.Message.getFieldWithDefault(this, 3, "")
|
|
31569
31729
|
);
|
|
31570
|
-
}, proto.viam.service.motion.v1.
|
|
31571
|
-
return e.Message.
|
|
31572
|
-
}, proto.viam.service.motion.v1.
|
|
31573
|
-
return this.setComponentName(void 0);
|
|
31574
|
-
}, proto.viam.service.motion.v1.MoveSingleComponentRequest.prototype.hasComponentName = function() {
|
|
31575
|
-
return e.Message.getField(this, 3) != null;
|
|
31576
|
-
}, proto.viam.service.motion.v1.MoveSingleComponentRequest.prototype.getWorldState = function() {
|
|
31730
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setDestinationFrame = function(o) {
|
|
31731
|
+
return e.Message.setProto3StringField(this, 3, o);
|
|
31732
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getSupplementalTransformsList = function() {
|
|
31577
31733
|
return (
|
|
31578
|
-
/** @type{
|
|
31579
|
-
e.Message.
|
|
31734
|
+
/** @type{!Array<!proto.viam.common.v1.Transform>} */
|
|
31735
|
+
e.Message.getRepeatedWrapperField(this, u.Transform, 4)
|
|
31580
31736
|
);
|
|
31581
|
-
}, proto.viam.service.motion.v1.
|
|
31582
|
-
return e.Message.
|
|
31583
|
-
}, proto.viam.service.motion.v1.
|
|
31584
|
-
return
|
|
31585
|
-
}, proto.viam.service.motion.v1.
|
|
31586
|
-
return
|
|
31587
|
-
}, proto.viam.service.motion.v1.
|
|
31737
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setSupplementalTransformsList = function(o) {
|
|
31738
|
+
return e.Message.setRepeatedWrapperField(this, 4, o);
|
|
31739
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.addSupplementalTransforms = function(o, r) {
|
|
31740
|
+
return e.Message.addToRepeatedWrapperField(this, 4, o, proto.viam.common.v1.Transform, r);
|
|
31741
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearSupplementalTransformsList = function() {
|
|
31742
|
+
return this.setSupplementalTransformsList([]);
|
|
31743
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getExtra = function() {
|
|
31588
31744
|
return (
|
|
31589
31745
|
/** @type{?proto.google.protobuf.Struct} */
|
|
31590
31746
|
e.Message.getWrapperField(this, p.Struct, 99)
|
|
31591
31747
|
);
|
|
31592
|
-
}, proto.viam.service.motion.v1.
|
|
31748
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setExtra = function(o) {
|
|
31593
31749
|
return e.Message.setWrapperField(this, 99, o);
|
|
31594
|
-
}, proto.viam.service.motion.v1.
|
|
31750
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearExtra = function() {
|
|
31595
31751
|
return this.setExtra(void 0);
|
|
31596
|
-
}, proto.viam.service.motion.v1.
|
|
31752
|
+
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.hasExtra = function() {
|
|
31597
31753
|
return e.Message.getField(this, 99) != null;
|
|
31598
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.
|
|
31599
|
-
return proto.viam.service.motion.v1.
|
|
31600
|
-
}, proto.viam.service.motion.v1.
|
|
31601
|
-
var n = {
|
|
31602
|
-
|
|
31754
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.GetPoseResponse.prototype.toObject = function(o) {
|
|
31755
|
+
return proto.viam.service.motion.v1.GetPoseResponse.toObject(o, this);
|
|
31756
|
+
}, proto.viam.service.motion.v1.GetPoseResponse.toObject = function(o, r) {
|
|
31757
|
+
var n, l = {
|
|
31758
|
+
pose: (n = r.getPose()) && u.PoseInFrame.toObject(o, n)
|
|
31603
31759
|
};
|
|
31604
|
-
return o && (
|
|
31605
|
-
}), proto.viam.service.motion.v1.
|
|
31606
|
-
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.
|
|
31607
|
-
return proto.viam.service.motion.v1.
|
|
31608
|
-
}, proto.viam.service.motion.v1.
|
|
31760
|
+
return o && (l.$jspbMessageInstance = r), l;
|
|
31761
|
+
}), proto.viam.service.motion.v1.GetPoseResponse.deserializeBinary = function(o) {
|
|
31762
|
+
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.GetPoseResponse();
|
|
31763
|
+
return proto.viam.service.motion.v1.GetPoseResponse.deserializeBinaryFromReader(n, r);
|
|
31764
|
+
}, proto.viam.service.motion.v1.GetPoseResponse.deserializeBinaryFromReader = function(o, r) {
|
|
31609
31765
|
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
31610
31766
|
var n = r.getFieldNumber();
|
|
31611
31767
|
switch (n) {
|
|
31612
31768
|
case 1:
|
|
31613
|
-
var l = (
|
|
31614
|
-
|
|
31615
|
-
r.readBool()
|
|
31616
|
-
);
|
|
31617
|
-
o.setSuccess(l);
|
|
31769
|
+
var l = new u.PoseInFrame();
|
|
31770
|
+
r.readMessage(l, u.PoseInFrame.deserializeBinaryFromReader), o.setPose(l);
|
|
31618
31771
|
break;
|
|
31619
31772
|
default:
|
|
31620
31773
|
r.skipField();
|
|
@@ -31622,172 +31775,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motion_pb = {
|
|
|
31622
31775
|
}
|
|
31623
31776
|
}
|
|
31624
31777
|
return o;
|
|
31625
|
-
}, proto.viam.service.motion.v1.
|
|
31626
|
-
var o = new e.BinaryWriter();
|
|
31627
|
-
return proto.viam.service.motion.v1.MoveSingleComponentResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
|
|
31628
|
-
}, proto.viam.service.motion.v1.MoveSingleComponentResponse.serializeBinaryToWriter = function(o, r) {
|
|
31629
|
-
var n = void 0;
|
|
31630
|
-
n = o.getSuccess(), n && r.writeBool(
|
|
31631
|
-
1,
|
|
31632
|
-
n
|
|
31633
|
-
);
|
|
31634
|
-
}, proto.viam.service.motion.v1.MoveSingleComponentResponse.prototype.getSuccess = function() {
|
|
31635
|
-
return (
|
|
31636
|
-
/** @type {boolean} */
|
|
31637
|
-
e.Message.getBooleanFieldWithDefault(this, 1, !1)
|
|
31638
|
-
);
|
|
31639
|
-
}, proto.viam.service.motion.v1.MoveSingleComponentResponse.prototype.setSuccess = function(o) {
|
|
31640
|
-
return e.Message.setProto3BooleanField(this, 1, o);
|
|
31641
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.repeatedFields_ = [4], e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.GetPoseRequest.prototype.toObject = function(o) {
|
|
31642
|
-
return proto.viam.service.motion.v1.GetPoseRequest.toObject(o, this);
|
|
31643
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.toObject = function(o, r) {
|
|
31644
|
-
var n, l = {
|
|
31645
|
-
name: e.Message.getFieldWithDefault(r, 1, ""),
|
|
31646
|
-
componentName: (n = r.getComponentName()) && u.ResourceName.toObject(o, n),
|
|
31647
|
-
destinationFrame: e.Message.getFieldWithDefault(r, 3, ""),
|
|
31648
|
-
supplementalTransformsList: e.Message.toObjectList(
|
|
31649
|
-
r.getSupplementalTransformsList(),
|
|
31650
|
-
u.Transform.toObject,
|
|
31651
|
-
o
|
|
31652
|
-
),
|
|
31653
|
-
extra: (n = r.getExtra()) && p.Struct.toObject(o, n)
|
|
31654
|
-
};
|
|
31655
|
-
return o && (l.$jspbMessageInstance = r), l;
|
|
31656
|
-
}), proto.viam.service.motion.v1.GetPoseRequest.deserializeBinary = function(o) {
|
|
31657
|
-
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.GetPoseRequest();
|
|
31658
|
-
return proto.viam.service.motion.v1.GetPoseRequest.deserializeBinaryFromReader(n, r);
|
|
31659
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.deserializeBinaryFromReader = function(o, r) {
|
|
31660
|
-
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
31661
|
-
var n = r.getFieldNumber();
|
|
31662
|
-
switch (n) {
|
|
31663
|
-
case 1:
|
|
31664
|
-
var l = (
|
|
31665
|
-
/** @type {string} */
|
|
31666
|
-
r.readString()
|
|
31667
|
-
);
|
|
31668
|
-
o.setName(l);
|
|
31669
|
-
break;
|
|
31670
|
-
case 2:
|
|
31671
|
-
var l = new u.ResourceName();
|
|
31672
|
-
r.readMessage(l, u.ResourceName.deserializeBinaryFromReader), o.setComponentName(l);
|
|
31673
|
-
break;
|
|
31674
|
-
case 3:
|
|
31675
|
-
var l = (
|
|
31676
|
-
/** @type {string} */
|
|
31677
|
-
r.readString()
|
|
31678
|
-
);
|
|
31679
|
-
o.setDestinationFrame(l);
|
|
31680
|
-
break;
|
|
31681
|
-
case 4:
|
|
31682
|
-
var l = new u.Transform();
|
|
31683
|
-
r.readMessage(l, u.Transform.deserializeBinaryFromReader), o.addSupplementalTransforms(l);
|
|
31684
|
-
break;
|
|
31685
|
-
case 99:
|
|
31686
|
-
var l = new p.Struct();
|
|
31687
|
-
r.readMessage(l, p.Struct.deserializeBinaryFromReader), o.setExtra(l);
|
|
31688
|
-
break;
|
|
31689
|
-
default:
|
|
31690
|
-
r.skipField();
|
|
31691
|
-
break;
|
|
31692
|
-
}
|
|
31693
|
-
}
|
|
31694
|
-
return o;
|
|
31695
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.serializeBinary = function() {
|
|
31696
|
-
var o = new e.BinaryWriter();
|
|
31697
|
-
return proto.viam.service.motion.v1.GetPoseRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
|
|
31698
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.serializeBinaryToWriter = function(o, r) {
|
|
31699
|
-
var n = void 0;
|
|
31700
|
-
n = o.getName(), n.length > 0 && r.writeString(
|
|
31701
|
-
1,
|
|
31702
|
-
n
|
|
31703
|
-
), n = o.getComponentName(), n != null && r.writeMessage(
|
|
31704
|
-
2,
|
|
31705
|
-
n,
|
|
31706
|
-
u.ResourceName.serializeBinaryToWriter
|
|
31707
|
-
), n = o.getDestinationFrame(), n.length > 0 && r.writeString(
|
|
31708
|
-
3,
|
|
31709
|
-
n
|
|
31710
|
-
), n = o.getSupplementalTransformsList(), n.length > 0 && r.writeRepeatedMessage(
|
|
31711
|
-
4,
|
|
31712
|
-
n,
|
|
31713
|
-
u.Transform.serializeBinaryToWriter
|
|
31714
|
-
), n = o.getExtra(), n != null && r.writeMessage(
|
|
31715
|
-
99,
|
|
31716
|
-
n,
|
|
31717
|
-
p.Struct.serializeBinaryToWriter
|
|
31718
|
-
);
|
|
31719
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getName = function() {
|
|
31720
|
-
return (
|
|
31721
|
-
/** @type {string} */
|
|
31722
|
-
e.Message.getFieldWithDefault(this, 1, "")
|
|
31723
|
-
);
|
|
31724
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setName = function(o) {
|
|
31725
|
-
return e.Message.setProto3StringField(this, 1, o);
|
|
31726
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getComponentName = function() {
|
|
31727
|
-
return (
|
|
31728
|
-
/** @type{?proto.viam.common.v1.ResourceName} */
|
|
31729
|
-
e.Message.getWrapperField(this, u.ResourceName, 2)
|
|
31730
|
-
);
|
|
31731
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setComponentName = function(o) {
|
|
31732
|
-
return e.Message.setWrapperField(this, 2, o);
|
|
31733
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearComponentName = function() {
|
|
31734
|
-
return this.setComponentName(void 0);
|
|
31735
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.hasComponentName = function() {
|
|
31736
|
-
return e.Message.getField(this, 2) != null;
|
|
31737
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getDestinationFrame = function() {
|
|
31738
|
-
return (
|
|
31739
|
-
/** @type {string} */
|
|
31740
|
-
e.Message.getFieldWithDefault(this, 3, "")
|
|
31741
|
-
);
|
|
31742
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setDestinationFrame = function(o) {
|
|
31743
|
-
return e.Message.setProto3StringField(this, 3, o);
|
|
31744
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getSupplementalTransformsList = function() {
|
|
31745
|
-
return (
|
|
31746
|
-
/** @type{!Array<!proto.viam.common.v1.Transform>} */
|
|
31747
|
-
e.Message.getRepeatedWrapperField(this, u.Transform, 4)
|
|
31748
|
-
);
|
|
31749
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setSupplementalTransformsList = function(o) {
|
|
31750
|
-
return e.Message.setRepeatedWrapperField(this, 4, o);
|
|
31751
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.addSupplementalTransforms = function(o, r) {
|
|
31752
|
-
return e.Message.addToRepeatedWrapperField(this, 4, o, proto.viam.common.v1.Transform, r);
|
|
31753
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearSupplementalTransformsList = function() {
|
|
31754
|
-
return this.setSupplementalTransformsList([]);
|
|
31755
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.getExtra = function() {
|
|
31756
|
-
return (
|
|
31757
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
31758
|
-
e.Message.getWrapperField(this, p.Struct, 99)
|
|
31759
|
-
);
|
|
31760
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.setExtra = function(o) {
|
|
31761
|
-
return e.Message.setWrapperField(this, 99, o);
|
|
31762
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.clearExtra = function() {
|
|
31763
|
-
return this.setExtra(void 0);
|
|
31764
|
-
}, proto.viam.service.motion.v1.GetPoseRequest.prototype.hasExtra = function() {
|
|
31765
|
-
return e.Message.getField(this, 99) != null;
|
|
31766
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.motion.v1.GetPoseResponse.prototype.toObject = function(o) {
|
|
31767
|
-
return proto.viam.service.motion.v1.GetPoseResponse.toObject(o, this);
|
|
31768
|
-
}, proto.viam.service.motion.v1.GetPoseResponse.toObject = function(o, r) {
|
|
31769
|
-
var n, l = {
|
|
31770
|
-
pose: (n = r.getPose()) && u.PoseInFrame.toObject(o, n)
|
|
31771
|
-
};
|
|
31772
|
-
return o && (l.$jspbMessageInstance = r), l;
|
|
31773
|
-
}), proto.viam.service.motion.v1.GetPoseResponse.deserializeBinary = function(o) {
|
|
31774
|
-
var r = new e.BinaryReader(o), n = new proto.viam.service.motion.v1.GetPoseResponse();
|
|
31775
|
-
return proto.viam.service.motion.v1.GetPoseResponse.deserializeBinaryFromReader(n, r);
|
|
31776
|
-
}, proto.viam.service.motion.v1.GetPoseResponse.deserializeBinaryFromReader = function(o, r) {
|
|
31777
|
-
for (; r.nextField() && !r.isEndGroup(); ) {
|
|
31778
|
-
var n = r.getFieldNumber();
|
|
31779
|
-
switch (n) {
|
|
31780
|
-
case 1:
|
|
31781
|
-
var l = new u.PoseInFrame();
|
|
31782
|
-
r.readMessage(l, u.PoseInFrame.deserializeBinaryFromReader), o.setPose(l);
|
|
31783
|
-
break;
|
|
31784
|
-
default:
|
|
31785
|
-
r.skipField();
|
|
31786
|
-
break;
|
|
31787
|
-
}
|
|
31788
|
-
}
|
|
31789
|
-
return o;
|
|
31790
|
-
}, proto.viam.service.motion.v1.GetPoseResponse.prototype.serializeBinary = function() {
|
|
31778
|
+
}, proto.viam.service.motion.v1.GetPoseResponse.prototype.serializeBinary = function() {
|
|
31791
31779
|
var o = new e.BinaryWriter();
|
|
31792
31780
|
return proto.viam.service.motion.v1.GetPoseResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
|
|
31793
31781
|
}, proto.viam.service.motion.v1.GetPoseResponse.serializeBinaryToWriter = function(o, r) {
|
|
@@ -32165,14 +32153,6 @@ MotionService.MoveOnGlobe = {
|
|
|
32165
32153
|
requestType: service_motion_v1_motion_pb.MoveOnGlobeRequest,
|
|
32166
32154
|
responseType: service_motion_v1_motion_pb.MoveOnGlobeResponse
|
|
32167
32155
|
};
|
|
32168
|
-
MotionService.MoveSingleComponent = {
|
|
32169
|
-
methodName: "MoveSingleComponent",
|
|
32170
|
-
service: MotionService,
|
|
32171
|
-
requestStream: !1,
|
|
32172
|
-
responseStream: !1,
|
|
32173
|
-
requestType: service_motion_v1_motion_pb.MoveSingleComponentRequest,
|
|
32174
|
-
responseType: service_motion_v1_motion_pb.MoveSingleComponentResponse
|
|
32175
|
-
};
|
|
32176
32156
|
MotionService.GetPose = {
|
|
32177
32157
|
methodName: "GetPose",
|
|
32178
32158
|
service: MotionService,
|
|
@@ -32261,29 +32241,6 @@ MotionServiceClient.prototype.moveOnGlobe = function t(e, s, i) {
|
|
|
32261
32241
|
}
|
|
32262
32242
|
};
|
|
32263
32243
|
};
|
|
32264
|
-
MotionServiceClient.prototype.moveSingleComponent = function t(e, s, i) {
|
|
32265
|
-
arguments.length === 2 && (i = arguments[1]);
|
|
32266
|
-
var u = grpc$d.unary(MotionService.MoveSingleComponent, {
|
|
32267
|
-
request: e,
|
|
32268
|
-
host: this.serviceHost,
|
|
32269
|
-
metadata: s,
|
|
32270
|
-
transport: this.options.transport,
|
|
32271
|
-
debug: this.options.debug,
|
|
32272
|
-
onEnd: function(g) {
|
|
32273
|
-
if (i)
|
|
32274
|
-
if (g.status !== grpc$d.Code.OK) {
|
|
32275
|
-
var p = new Error(g.statusMessage);
|
|
32276
|
-
p.code = g.status, p.metadata = g.trailers, i(p, null);
|
|
32277
|
-
} else
|
|
32278
|
-
i(null, g.message);
|
|
32279
|
-
}
|
|
32280
|
-
});
|
|
32281
|
-
return {
|
|
32282
|
-
cancel: function() {
|
|
32283
|
-
i = null, u.close();
|
|
32284
|
-
}
|
|
32285
|
-
};
|
|
32286
|
-
};
|
|
32287
32244
|
MotionServiceClient.prototype.getPose = function t(e, s, i) {
|
|
32288
32245
|
arguments.length === 2 && (i = arguments[1]);
|
|
32289
32246
|
var u = grpc$d.unary(MotionService.GetPose, {
|
|
@@ -35468,7 +35425,8 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb =
|
|
|
35468
35425
|
return proto.viam.service.navigation.v1.GetLocationResponse.toObject(o, this);
|
|
35469
35426
|
}, proto.viam.service.navigation.v1.GetLocationResponse.toObject = function(o, r) {
|
|
35470
35427
|
var n, l = {
|
|
35471
|
-
location: (n = r.getLocation()) && u.GeoPoint.toObject(o, n)
|
|
35428
|
+
location: (n = r.getLocation()) && u.GeoPoint.toObject(o, n),
|
|
35429
|
+
compassHeading: e.Message.getFloatingPointFieldWithDefault(r, 2, 0)
|
|
35472
35430
|
};
|
|
35473
35431
|
return o && (l.$jspbMessageInstance = r), l;
|
|
35474
35432
|
}), proto.viam.service.navigation.v1.GetLocationResponse.deserializeBinary = function(o) {
|
|
@@ -35482,6 +35440,13 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb =
|
|
|
35482
35440
|
var l = new u.GeoPoint();
|
|
35483
35441
|
r.readMessage(l, u.GeoPoint.deserializeBinaryFromReader), o.setLocation(l);
|
|
35484
35442
|
break;
|
|
35443
|
+
case 2:
|
|
35444
|
+
var l = (
|
|
35445
|
+
/** @type {number} */
|
|
35446
|
+
r.readDouble()
|
|
35447
|
+
);
|
|
35448
|
+
o.setCompassHeading(l);
|
|
35449
|
+
break;
|
|
35485
35450
|
default:
|
|
35486
35451
|
r.skipField();
|
|
35487
35452
|
break;
|
|
@@ -35497,6 +35462,9 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb =
|
|
|
35497
35462
|
1,
|
|
35498
35463
|
n,
|
|
35499
35464
|
u.GeoPoint.serializeBinaryToWriter
|
|
35465
|
+
), n = o.getCompassHeading(), n !== 0 && r.writeDouble(
|
|
35466
|
+
2,
|
|
35467
|
+
n
|
|
35500
35468
|
);
|
|
35501
35469
|
}, proto.viam.service.navigation.v1.GetLocationResponse.prototype.getLocation = function() {
|
|
35502
35470
|
return (
|
|
@@ -35509,6 +35477,13 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, navigation_pb =
|
|
|
35509
35477
|
return this.setLocation(void 0);
|
|
35510
35478
|
}, proto.viam.service.navigation.v1.GetLocationResponse.prototype.hasLocation = function() {
|
|
35511
35479
|
return e.Message.getField(this, 1) != null;
|
|
35480
|
+
}, proto.viam.service.navigation.v1.GetLocationResponse.prototype.getCompassHeading = function() {
|
|
35481
|
+
return (
|
|
35482
|
+
/** @type {number} */
|
|
35483
|
+
e.Message.getFloatingPointFieldWithDefault(this, 2, 0)
|
|
35484
|
+
);
|
|
35485
|
+
}, proto.viam.service.navigation.v1.GetLocationResponse.prototype.setCompassHeading = function(o) {
|
|
35486
|
+
return e.Message.setProto3FloatField(this, 2, o);
|
|
35512
35487
|
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.service.navigation.v1.GetWaypointsRequest.prototype.toObject = function(o) {
|
|
35513
35488
|
return proto.viam.service.navigation.v1.GetWaypointsRequest.toObject(o, this);
|
|
35514
35489
|
}, proto.viam.service.navigation.v1.GetWaypointsRequest.toObject = function(o, r) {
|
|
@@ -40477,6 +40452,10 @@ class BaseClient {
|
|
|
40477
40452
|
const { baseService: s } = this;
|
|
40478
40453
|
return doCommandFromClient(s, this.name, e, this.options);
|
|
40479
40454
|
}
|
|
40455
|
+
async getProperties(e = {}) {
|
|
40456
|
+
const { baseService: s } = this, i = new base_pb.GetPropertiesRequest();
|
|
40457
|
+
return i.setName(this.name), i.setExtra(struct_pb.Struct.fromJavaScript(e)), this.options.requestLogger?.(i), (await promisify(s.getProperties.bind(s), i)).toObject();
|
|
40458
|
+
}
|
|
40480
40459
|
}
|
|
40481
40460
|
class BoardClient {
|
|
40482
40461
|
client;
|
|
@@ -40772,151 +40751,173 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
40772
40751
|
var g = annotations_pb;
|
|
40773
40752
|
s.object.extend(proto, g);
|
|
40774
40753
|
var p = httpbody_pb;
|
|
40775
|
-
s.object.extend(proto, p)
|
|
40776
|
-
|
|
40777
|
-
|
|
40778
|
-
e.Message.initialize(this,
|
|
40779
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40780
|
-
e.Message.initialize(this,
|
|
40781
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40782
|
-
e.Message.initialize(this,
|
|
40783
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40784
|
-
e.Message.initialize(this,
|
|
40785
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40786
|
-
e.Message.initialize(this,
|
|
40787
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40788
|
-
e.Message.initialize(this,
|
|
40789
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40790
|
-
e.Message.initialize(this,
|
|
40791
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40792
|
-
e.Message.initialize(this,
|
|
40793
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40794
|
-
e.Message.initialize(this,
|
|
40795
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40796
|
-
e.Message.initialize(this,
|
|
40797
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40798
|
-
e.Message.initialize(this,
|
|
40799
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40800
|
-
e.Message.initialize(this,
|
|
40801
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40802
|
-
e.Message.initialize(this,
|
|
40803
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40804
|
-
e.Message.initialize(this,
|
|
40805
|
-
}, s.inherits(proto.viam.component.camera.v1.
|
|
40806
|
-
|
|
40807
|
-
}, proto.viam.component.camera.v1.GetImageRequest.toObject = function(
|
|
40808
|
-
|
|
40809
|
-
|
|
40810
|
-
|
|
40754
|
+
s.object.extend(proto, p);
|
|
40755
|
+
var o = struct_pb;
|
|
40756
|
+
s.object.extend(proto, o), s.exportSymbol("proto.viam.component.camera.v1.DistortionParameters", null, i), s.exportSymbol("proto.viam.component.camera.v1.Format", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetImageRequest", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetImageResponse", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetImagesRequest", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetImagesResponse", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetPointCloudRequest", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetPointCloudResponse", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetPropertiesRequest", null, i), s.exportSymbol("proto.viam.component.camera.v1.GetPropertiesResponse", null, i), s.exportSymbol("proto.viam.component.camera.v1.Image", null, i), s.exportSymbol("proto.viam.component.camera.v1.IntrinsicParameters", null, i), s.exportSymbol("proto.viam.component.camera.v1.Property", null, i), s.exportSymbol("proto.viam.component.camera.v1.RenderFrameRequest", null, i), s.exportSymbol("proto.viam.component.camera.v1.Webcam", null, i), s.exportSymbol("proto.viam.component.camera.v1.Webcams", null, i), proto.viam.component.camera.v1.GetImageRequest = function(r) {
|
|
40757
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40758
|
+
}, s.inherits(proto.viam.component.camera.v1.GetImageRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetImageRequest.displayName = "proto.viam.component.camera.v1.GetImageRequest"), proto.viam.component.camera.v1.GetImageResponse = function(r) {
|
|
40759
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40760
|
+
}, s.inherits(proto.viam.component.camera.v1.GetImageResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetImageResponse.displayName = "proto.viam.component.camera.v1.GetImageResponse"), proto.viam.component.camera.v1.GetImagesRequest = function(r) {
|
|
40761
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40762
|
+
}, s.inherits(proto.viam.component.camera.v1.GetImagesRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetImagesRequest.displayName = "proto.viam.component.camera.v1.GetImagesRequest"), proto.viam.component.camera.v1.GetImagesResponse = function(r) {
|
|
40763
|
+
e.Message.initialize(this, r, 0, 500, proto.viam.component.camera.v1.GetImagesResponse.repeatedFields_, null);
|
|
40764
|
+
}, s.inherits(proto.viam.component.camera.v1.GetImagesResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetImagesResponse.displayName = "proto.viam.component.camera.v1.GetImagesResponse"), proto.viam.component.camera.v1.Image = function(r) {
|
|
40765
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40766
|
+
}, s.inherits(proto.viam.component.camera.v1.Image, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.Image.displayName = "proto.viam.component.camera.v1.Image"), proto.viam.component.camera.v1.RenderFrameRequest = function(r) {
|
|
40767
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40768
|
+
}, s.inherits(proto.viam.component.camera.v1.RenderFrameRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.RenderFrameRequest.displayName = "proto.viam.component.camera.v1.RenderFrameRequest"), proto.viam.component.camera.v1.GetPointCloudRequest = function(r) {
|
|
40769
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40770
|
+
}, s.inherits(proto.viam.component.camera.v1.GetPointCloudRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPointCloudRequest.displayName = "proto.viam.component.camera.v1.GetPointCloudRequest"), proto.viam.component.camera.v1.GetPointCloudResponse = function(r) {
|
|
40771
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40772
|
+
}, s.inherits(proto.viam.component.camera.v1.GetPointCloudResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPointCloudResponse.displayName = "proto.viam.component.camera.v1.GetPointCloudResponse"), proto.viam.component.camera.v1.GetPropertiesRequest = function(r) {
|
|
40773
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40774
|
+
}, s.inherits(proto.viam.component.camera.v1.GetPropertiesRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPropertiesRequest.displayName = "proto.viam.component.camera.v1.GetPropertiesRequest"), proto.viam.component.camera.v1.GetPropertiesResponse = function(r) {
|
|
40775
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40776
|
+
}, s.inherits(proto.viam.component.camera.v1.GetPropertiesResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.GetPropertiesResponse.displayName = "proto.viam.component.camera.v1.GetPropertiesResponse"), proto.viam.component.camera.v1.Webcams = function(r) {
|
|
40777
|
+
e.Message.initialize(this, r, 0, -1, proto.viam.component.camera.v1.Webcams.repeatedFields_, null);
|
|
40778
|
+
}, s.inherits(proto.viam.component.camera.v1.Webcams, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.Webcams.displayName = "proto.viam.component.camera.v1.Webcams"), proto.viam.component.camera.v1.Webcam = function(r) {
|
|
40779
|
+
e.Message.initialize(this, r, 0, -1, proto.viam.component.camera.v1.Webcam.repeatedFields_, null);
|
|
40780
|
+
}, s.inherits(proto.viam.component.camera.v1.Webcam, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.Webcam.displayName = "proto.viam.component.camera.v1.Webcam"), proto.viam.component.camera.v1.Property = function(r) {
|
|
40781
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40782
|
+
}, s.inherits(proto.viam.component.camera.v1.Property, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.Property.displayName = "proto.viam.component.camera.v1.Property"), proto.viam.component.camera.v1.IntrinsicParameters = function(r) {
|
|
40783
|
+
e.Message.initialize(this, r, 0, -1, null, null);
|
|
40784
|
+
}, s.inherits(proto.viam.component.camera.v1.IntrinsicParameters, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.IntrinsicParameters.displayName = "proto.viam.component.camera.v1.IntrinsicParameters"), proto.viam.component.camera.v1.DistortionParameters = function(r) {
|
|
40785
|
+
e.Message.initialize(this, r, 0, -1, proto.viam.component.camera.v1.DistortionParameters.repeatedFields_, null);
|
|
40786
|
+
}, s.inherits(proto.viam.component.camera.v1.DistortionParameters, e.Message), s.DEBUG && !COMPILED && (proto.viam.component.camera.v1.DistortionParameters.displayName = "proto.viam.component.camera.v1.DistortionParameters"), e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImageRequest.prototype.toObject = function(r) {
|
|
40787
|
+
return proto.viam.component.camera.v1.GetImageRequest.toObject(r, this);
|
|
40788
|
+
}, proto.viam.component.camera.v1.GetImageRequest.toObject = function(r, n) {
|
|
40789
|
+
var l, c = {
|
|
40790
|
+
name: e.Message.getFieldWithDefault(n, 1, ""),
|
|
40791
|
+
mimeType: e.Message.getFieldWithDefault(n, 2, ""),
|
|
40792
|
+
extra: (l = n.getExtra()) && o.Struct.toObject(r, l)
|
|
40811
40793
|
};
|
|
40812
|
-
return
|
|
40813
|
-
}), proto.viam.component.camera.v1.GetImageRequest.deserializeBinary = function(
|
|
40814
|
-
var
|
|
40815
|
-
return proto.viam.component.camera.v1.GetImageRequest.deserializeBinaryFromReader(
|
|
40816
|
-
}, proto.viam.component.camera.v1.GetImageRequest.deserializeBinaryFromReader = function(
|
|
40817
|
-
for (;
|
|
40818
|
-
var
|
|
40819
|
-
switch (
|
|
40794
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
40795
|
+
}), proto.viam.component.camera.v1.GetImageRequest.deserializeBinary = function(r) {
|
|
40796
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetImageRequest();
|
|
40797
|
+
return proto.viam.component.camera.v1.GetImageRequest.deserializeBinaryFromReader(l, n);
|
|
40798
|
+
}, proto.viam.component.camera.v1.GetImageRequest.deserializeBinaryFromReader = function(r, n) {
|
|
40799
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
40800
|
+
var l = n.getFieldNumber();
|
|
40801
|
+
switch (l) {
|
|
40820
40802
|
case 1:
|
|
40821
|
-
var
|
|
40803
|
+
var c = (
|
|
40822
40804
|
/** @type {string} */
|
|
40823
|
-
|
|
40805
|
+
n.readString()
|
|
40824
40806
|
);
|
|
40825
|
-
|
|
40807
|
+
r.setName(c);
|
|
40826
40808
|
break;
|
|
40827
40809
|
case 2:
|
|
40828
|
-
var
|
|
40810
|
+
var c = (
|
|
40829
40811
|
/** @type {string} */
|
|
40830
|
-
|
|
40812
|
+
n.readString()
|
|
40831
40813
|
);
|
|
40832
|
-
|
|
40814
|
+
r.setMimeType(c);
|
|
40833
40815
|
break;
|
|
40834
|
-
|
|
40835
|
-
|
|
40816
|
+
case 99:
|
|
40817
|
+
var c = new o.Struct();
|
|
40818
|
+
n.readMessage(c, o.Struct.deserializeBinaryFromReader), r.setExtra(c);
|
|
40819
|
+
break;
|
|
40820
|
+
default:
|
|
40821
|
+
n.skipField();
|
|
40836
40822
|
break;
|
|
40837
40823
|
}
|
|
40838
40824
|
}
|
|
40839
|
-
return
|
|
40825
|
+
return r;
|
|
40840
40826
|
}, proto.viam.component.camera.v1.GetImageRequest.prototype.serializeBinary = function() {
|
|
40841
|
-
var
|
|
40842
|
-
return proto.viam.component.camera.v1.GetImageRequest.serializeBinaryToWriter(this,
|
|
40843
|
-
}, proto.viam.component.camera.v1.GetImageRequest.serializeBinaryToWriter = function(
|
|
40844
|
-
var
|
|
40845
|
-
|
|
40827
|
+
var r = new e.BinaryWriter();
|
|
40828
|
+
return proto.viam.component.camera.v1.GetImageRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
40829
|
+
}, proto.viam.component.camera.v1.GetImageRequest.serializeBinaryToWriter = function(r, n) {
|
|
40830
|
+
var l = void 0;
|
|
40831
|
+
l = r.getName(), l.length > 0 && n.writeString(
|
|
40846
40832
|
1,
|
|
40847
|
-
|
|
40848
|
-
),
|
|
40833
|
+
l
|
|
40834
|
+
), l = r.getMimeType(), l.length > 0 && n.writeString(
|
|
40849
40835
|
2,
|
|
40850
|
-
|
|
40836
|
+
l
|
|
40837
|
+
), l = r.getExtra(), l != null && n.writeMessage(
|
|
40838
|
+
99,
|
|
40839
|
+
l,
|
|
40840
|
+
o.Struct.serializeBinaryToWriter
|
|
40851
40841
|
);
|
|
40852
40842
|
}, proto.viam.component.camera.v1.GetImageRequest.prototype.getName = function() {
|
|
40853
40843
|
return (
|
|
40854
40844
|
/** @type {string} */
|
|
40855
40845
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
40856
40846
|
);
|
|
40857
|
-
}, proto.viam.component.camera.v1.GetImageRequest.prototype.setName = function(
|
|
40858
|
-
return e.Message.setProto3StringField(this, 1,
|
|
40847
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.setName = function(r) {
|
|
40848
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
40859
40849
|
}, proto.viam.component.camera.v1.GetImageRequest.prototype.getMimeType = function() {
|
|
40860
40850
|
return (
|
|
40861
40851
|
/** @type {string} */
|
|
40862
40852
|
e.Message.getFieldWithDefault(this, 2, "")
|
|
40863
40853
|
);
|
|
40864
|
-
}, proto.viam.component.camera.v1.GetImageRequest.prototype.setMimeType = function(
|
|
40865
|
-
return e.Message.setProto3StringField(this, 2,
|
|
40866
|
-
},
|
|
40867
|
-
return
|
|
40868
|
-
|
|
40869
|
-
|
|
40870
|
-
|
|
40871
|
-
|
|
40854
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.setMimeType = function(r) {
|
|
40855
|
+
return e.Message.setProto3StringField(this, 2, r);
|
|
40856
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.getExtra = function() {
|
|
40857
|
+
return (
|
|
40858
|
+
/** @type{?proto.google.protobuf.Struct} */
|
|
40859
|
+
e.Message.getWrapperField(this, o.Struct, 99)
|
|
40860
|
+
);
|
|
40861
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.setExtra = function(r) {
|
|
40862
|
+
return e.Message.setWrapperField(this, 99, r);
|
|
40863
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.clearExtra = function() {
|
|
40864
|
+
return this.setExtra(void 0);
|
|
40865
|
+
}, proto.viam.component.camera.v1.GetImageRequest.prototype.hasExtra = function() {
|
|
40866
|
+
return e.Message.getField(this, 99) != null;
|
|
40867
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImageResponse.prototype.toObject = function(r) {
|
|
40868
|
+
return proto.viam.component.camera.v1.GetImageResponse.toObject(r, this);
|
|
40869
|
+
}, proto.viam.component.camera.v1.GetImageResponse.toObject = function(r, n) {
|
|
40870
|
+
var l = {
|
|
40871
|
+
mimeType: e.Message.getFieldWithDefault(n, 1, ""),
|
|
40872
|
+
image: n.getImage_asB64()
|
|
40872
40873
|
};
|
|
40873
|
-
return
|
|
40874
|
-
}), proto.viam.component.camera.v1.GetImageResponse.deserializeBinary = function(
|
|
40875
|
-
var
|
|
40876
|
-
return proto.viam.component.camera.v1.GetImageResponse.deserializeBinaryFromReader(
|
|
40877
|
-
}, proto.viam.component.camera.v1.GetImageResponse.deserializeBinaryFromReader = function(
|
|
40878
|
-
for (;
|
|
40879
|
-
var
|
|
40880
|
-
switch (
|
|
40874
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
40875
|
+
}), proto.viam.component.camera.v1.GetImageResponse.deserializeBinary = function(r) {
|
|
40876
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetImageResponse();
|
|
40877
|
+
return proto.viam.component.camera.v1.GetImageResponse.deserializeBinaryFromReader(l, n);
|
|
40878
|
+
}, proto.viam.component.camera.v1.GetImageResponse.deserializeBinaryFromReader = function(r, n) {
|
|
40879
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
40880
|
+
var l = n.getFieldNumber();
|
|
40881
|
+
switch (l) {
|
|
40881
40882
|
case 1:
|
|
40882
|
-
var
|
|
40883
|
+
var c = (
|
|
40883
40884
|
/** @type {string} */
|
|
40884
|
-
|
|
40885
|
+
n.readString()
|
|
40885
40886
|
);
|
|
40886
|
-
|
|
40887
|
+
r.setMimeType(c);
|
|
40887
40888
|
break;
|
|
40888
40889
|
case 2:
|
|
40889
|
-
var
|
|
40890
|
+
var c = (
|
|
40890
40891
|
/** @type {!Uint8Array} */
|
|
40891
|
-
|
|
40892
|
+
n.readBytes()
|
|
40892
40893
|
);
|
|
40893
|
-
|
|
40894
|
+
r.setImage(c);
|
|
40894
40895
|
break;
|
|
40895
40896
|
default:
|
|
40896
|
-
|
|
40897
|
+
n.skipField();
|
|
40897
40898
|
break;
|
|
40898
40899
|
}
|
|
40899
40900
|
}
|
|
40900
|
-
return
|
|
40901
|
+
return r;
|
|
40901
40902
|
}, proto.viam.component.camera.v1.GetImageResponse.prototype.serializeBinary = function() {
|
|
40902
|
-
var
|
|
40903
|
-
return proto.viam.component.camera.v1.GetImageResponse.serializeBinaryToWriter(this,
|
|
40904
|
-
}, proto.viam.component.camera.v1.GetImageResponse.serializeBinaryToWriter = function(
|
|
40905
|
-
var
|
|
40906
|
-
|
|
40903
|
+
var r = new e.BinaryWriter();
|
|
40904
|
+
return proto.viam.component.camera.v1.GetImageResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
40905
|
+
}, proto.viam.component.camera.v1.GetImageResponse.serializeBinaryToWriter = function(r, n) {
|
|
40906
|
+
var l = void 0;
|
|
40907
|
+
l = r.getMimeType(), l.length > 0 && n.writeString(
|
|
40907
40908
|
1,
|
|
40908
|
-
|
|
40909
|
-
),
|
|
40909
|
+
l
|
|
40910
|
+
), l = r.getImage_asU8(), l.length > 0 && n.writeBytes(
|
|
40910
40911
|
2,
|
|
40911
|
-
|
|
40912
|
+
l
|
|
40912
40913
|
);
|
|
40913
40914
|
}, proto.viam.component.camera.v1.GetImageResponse.prototype.getMimeType = function() {
|
|
40914
40915
|
return (
|
|
40915
40916
|
/** @type {string} */
|
|
40916
40917
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
40917
40918
|
);
|
|
40918
|
-
}, proto.viam.component.camera.v1.GetImageResponse.prototype.setMimeType = function(
|
|
40919
|
-
return e.Message.setProto3StringField(this, 1,
|
|
40919
|
+
}, proto.viam.component.camera.v1.GetImageResponse.prototype.setMimeType = function(r) {
|
|
40920
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
40920
40921
|
}, proto.viam.component.camera.v1.GetImageResponse.prototype.getImage = function() {
|
|
40921
40922
|
return (
|
|
40922
40923
|
/** @type {string} */
|
|
@@ -40936,96 +40937,96 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
40936
40937
|
this.getImage()
|
|
40937
40938
|
)
|
|
40938
40939
|
);
|
|
40939
|
-
}, proto.viam.component.camera.v1.GetImageResponse.prototype.setImage = function(
|
|
40940
|
-
return e.Message.setProto3BytesField(this, 2,
|
|
40941
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImagesRequest.prototype.toObject = function(
|
|
40942
|
-
return proto.viam.component.camera.v1.GetImagesRequest.toObject(
|
|
40943
|
-
}, proto.viam.component.camera.v1.GetImagesRequest.toObject = function(
|
|
40944
|
-
var
|
|
40945
|
-
name: e.Message.getFieldWithDefault(
|
|
40940
|
+
}, proto.viam.component.camera.v1.GetImageResponse.prototype.setImage = function(r) {
|
|
40941
|
+
return e.Message.setProto3BytesField(this, 2, r);
|
|
40942
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImagesRequest.prototype.toObject = function(r) {
|
|
40943
|
+
return proto.viam.component.camera.v1.GetImagesRequest.toObject(r, this);
|
|
40944
|
+
}, proto.viam.component.camera.v1.GetImagesRequest.toObject = function(r, n) {
|
|
40945
|
+
var l = {
|
|
40946
|
+
name: e.Message.getFieldWithDefault(n, 1, "")
|
|
40946
40947
|
};
|
|
40947
|
-
return
|
|
40948
|
-
}), proto.viam.component.camera.v1.GetImagesRequest.deserializeBinary = function(
|
|
40949
|
-
var
|
|
40950
|
-
return proto.viam.component.camera.v1.GetImagesRequest.deserializeBinaryFromReader(
|
|
40951
|
-
}, proto.viam.component.camera.v1.GetImagesRequest.deserializeBinaryFromReader = function(
|
|
40952
|
-
for (;
|
|
40953
|
-
var
|
|
40954
|
-
switch (
|
|
40948
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
40949
|
+
}), proto.viam.component.camera.v1.GetImagesRequest.deserializeBinary = function(r) {
|
|
40950
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetImagesRequest();
|
|
40951
|
+
return proto.viam.component.camera.v1.GetImagesRequest.deserializeBinaryFromReader(l, n);
|
|
40952
|
+
}, proto.viam.component.camera.v1.GetImagesRequest.deserializeBinaryFromReader = function(r, n) {
|
|
40953
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
40954
|
+
var l = n.getFieldNumber();
|
|
40955
|
+
switch (l) {
|
|
40955
40956
|
case 1:
|
|
40956
|
-
var
|
|
40957
|
+
var c = (
|
|
40957
40958
|
/** @type {string} */
|
|
40958
|
-
|
|
40959
|
+
n.readString()
|
|
40959
40960
|
);
|
|
40960
|
-
|
|
40961
|
+
r.setName(c);
|
|
40961
40962
|
break;
|
|
40962
40963
|
default:
|
|
40963
|
-
|
|
40964
|
+
n.skipField();
|
|
40964
40965
|
break;
|
|
40965
40966
|
}
|
|
40966
40967
|
}
|
|
40967
|
-
return
|
|
40968
|
+
return r;
|
|
40968
40969
|
}, proto.viam.component.camera.v1.GetImagesRequest.prototype.serializeBinary = function() {
|
|
40969
|
-
var
|
|
40970
|
-
return proto.viam.component.camera.v1.GetImagesRequest.serializeBinaryToWriter(this,
|
|
40971
|
-
}, proto.viam.component.camera.v1.GetImagesRequest.serializeBinaryToWriter = function(
|
|
40972
|
-
var
|
|
40973
|
-
|
|
40970
|
+
var r = new e.BinaryWriter();
|
|
40971
|
+
return proto.viam.component.camera.v1.GetImagesRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
40972
|
+
}, proto.viam.component.camera.v1.GetImagesRequest.serializeBinaryToWriter = function(r, n) {
|
|
40973
|
+
var l = void 0;
|
|
40974
|
+
l = r.getName(), l.length > 0 && n.writeString(
|
|
40974
40975
|
1,
|
|
40975
|
-
|
|
40976
|
+
l
|
|
40976
40977
|
);
|
|
40977
40978
|
}, proto.viam.component.camera.v1.GetImagesRequest.prototype.getName = function() {
|
|
40978
40979
|
return (
|
|
40979
40980
|
/** @type {string} */
|
|
40980
40981
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
40981
40982
|
);
|
|
40982
|
-
}, proto.viam.component.camera.v1.GetImagesRequest.prototype.setName = function(
|
|
40983
|
-
return e.Message.setProto3StringField(this, 1,
|
|
40984
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImagesResponse.prototype.toObject = function(
|
|
40985
|
-
return proto.viam.component.camera.v1.GetImagesResponse.toObject(
|
|
40986
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.toObject = function(
|
|
40987
|
-
var
|
|
40983
|
+
}, proto.viam.component.camera.v1.GetImagesRequest.prototype.setName = function(r) {
|
|
40984
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
40985
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetImagesResponse.prototype.toObject = function(r) {
|
|
40986
|
+
return proto.viam.component.camera.v1.GetImagesResponse.toObject(r, this);
|
|
40987
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.toObject = function(r, n) {
|
|
40988
|
+
var l, c = {
|
|
40988
40989
|
imagesList: e.Message.toObjectList(
|
|
40989
|
-
|
|
40990
|
+
n.getImagesList(),
|
|
40990
40991
|
proto.viam.component.camera.v1.Image.toObject,
|
|
40991
|
-
|
|
40992
|
+
r
|
|
40992
40993
|
),
|
|
40993
|
-
responseMetadata: (
|
|
40994
|
+
responseMetadata: (l = n.getResponseMetadata()) && u.ResponseMetadata.toObject(r, l)
|
|
40994
40995
|
};
|
|
40995
|
-
return
|
|
40996
|
-
}), proto.viam.component.camera.v1.GetImagesResponse.deserializeBinary = function(
|
|
40997
|
-
var
|
|
40998
|
-
return proto.viam.component.camera.v1.GetImagesResponse.deserializeBinaryFromReader(
|
|
40999
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.deserializeBinaryFromReader = function(
|
|
41000
|
-
for (;
|
|
41001
|
-
var
|
|
41002
|
-
switch (
|
|
40996
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
40997
|
+
}), proto.viam.component.camera.v1.GetImagesResponse.deserializeBinary = function(r) {
|
|
40998
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetImagesResponse();
|
|
40999
|
+
return proto.viam.component.camera.v1.GetImagesResponse.deserializeBinaryFromReader(l, n);
|
|
41000
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.deserializeBinaryFromReader = function(r, n) {
|
|
41001
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41002
|
+
var l = n.getFieldNumber();
|
|
41003
|
+
switch (l) {
|
|
41003
41004
|
case 1:
|
|
41004
|
-
var
|
|
41005
|
-
|
|
41005
|
+
var c = new proto.viam.component.camera.v1.Image();
|
|
41006
|
+
n.readMessage(c, proto.viam.component.camera.v1.Image.deserializeBinaryFromReader), r.addImages(c);
|
|
41006
41007
|
break;
|
|
41007
41008
|
case 84260:
|
|
41008
|
-
var
|
|
41009
|
-
|
|
41009
|
+
var c = new u.ResponseMetadata();
|
|
41010
|
+
n.readMessage(c, u.ResponseMetadata.deserializeBinaryFromReader), r.setResponseMetadata(c);
|
|
41010
41011
|
break;
|
|
41011
41012
|
default:
|
|
41012
|
-
|
|
41013
|
+
n.skipField();
|
|
41013
41014
|
break;
|
|
41014
41015
|
}
|
|
41015
41016
|
}
|
|
41016
|
-
return
|
|
41017
|
+
return r;
|
|
41017
41018
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.serializeBinary = function() {
|
|
41018
|
-
var
|
|
41019
|
-
return proto.viam.component.camera.v1.GetImagesResponse.serializeBinaryToWriter(this,
|
|
41020
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.serializeBinaryToWriter = function(
|
|
41021
|
-
var
|
|
41022
|
-
|
|
41019
|
+
var r = new e.BinaryWriter();
|
|
41020
|
+
return proto.viam.component.camera.v1.GetImagesResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41021
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.serializeBinaryToWriter = function(r, n) {
|
|
41022
|
+
var l = void 0;
|
|
41023
|
+
l = r.getImagesList(), l.length > 0 && n.writeRepeatedMessage(
|
|
41023
41024
|
1,
|
|
41024
|
-
|
|
41025
|
+
l,
|
|
41025
41026
|
proto.viam.component.camera.v1.Image.serializeBinaryToWriter
|
|
41026
|
-
),
|
|
41027
|
+
), l = r.getResponseMetadata(), l != null && n.writeMessage(
|
|
41027
41028
|
84260,
|
|
41028
|
-
|
|
41029
|
+
l,
|
|
41029
41030
|
u.ResponseMetadata.serializeBinaryToWriter
|
|
41030
41031
|
);
|
|
41031
41032
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.getImagesList = function() {
|
|
@@ -41033,10 +41034,10 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41033
41034
|
/** @type{!Array<!proto.viam.component.camera.v1.Image>} */
|
|
41034
41035
|
e.Message.getRepeatedWrapperField(this, proto.viam.component.camera.v1.Image, 1)
|
|
41035
41036
|
);
|
|
41036
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.setImagesList = function(
|
|
41037
|
-
return e.Message.setRepeatedWrapperField(this, 1,
|
|
41038
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.addImages = function(
|
|
41039
|
-
return e.Message.addToRepeatedWrapperField(this, 1,
|
|
41037
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.setImagesList = function(r) {
|
|
41038
|
+
return e.Message.setRepeatedWrapperField(this, 1, r);
|
|
41039
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.addImages = function(r, n) {
|
|
41040
|
+
return e.Message.addToRepeatedWrapperField(this, 1, r, proto.viam.component.camera.v1.Image, n);
|
|
41040
41041
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.clearImagesList = function() {
|
|
41041
41042
|
return this.setImagesList([]);
|
|
41042
41043
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.getResponseMetadata = function() {
|
|
@@ -41044,84 +41045,84 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41044
41045
|
/** @type{?proto.viam.common.v1.ResponseMetadata} */
|
|
41045
41046
|
e.Message.getWrapperField(this, u.ResponseMetadata, 84260)
|
|
41046
41047
|
);
|
|
41047
|
-
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.setResponseMetadata = function(
|
|
41048
|
-
return e.Message.setWrapperField(this, 84260,
|
|
41048
|
+
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.setResponseMetadata = function(r) {
|
|
41049
|
+
return e.Message.setWrapperField(this, 84260, r);
|
|
41049
41050
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.clearResponseMetadata = function() {
|
|
41050
41051
|
return this.setResponseMetadata(void 0);
|
|
41051
41052
|
}, proto.viam.component.camera.v1.GetImagesResponse.prototype.hasResponseMetadata = function() {
|
|
41052
41053
|
return e.Message.getField(this, 84260) != null;
|
|
41053
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Image.prototype.toObject = function(
|
|
41054
|
-
return proto.viam.component.camera.v1.Image.toObject(
|
|
41055
|
-
}, proto.viam.component.camera.v1.Image.toObject = function(
|
|
41056
|
-
var
|
|
41057
|
-
sourceName: e.Message.getFieldWithDefault(
|
|
41058
|
-
format: e.Message.getFieldWithDefault(
|
|
41059
|
-
image:
|
|
41054
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Image.prototype.toObject = function(r) {
|
|
41055
|
+
return proto.viam.component.camera.v1.Image.toObject(r, this);
|
|
41056
|
+
}, proto.viam.component.camera.v1.Image.toObject = function(r, n) {
|
|
41057
|
+
var l = {
|
|
41058
|
+
sourceName: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41059
|
+
format: e.Message.getFieldWithDefault(n, 2, 0),
|
|
41060
|
+
image: n.getImage_asB64()
|
|
41060
41061
|
};
|
|
41061
|
-
return
|
|
41062
|
-
}), proto.viam.component.camera.v1.Image.deserializeBinary = function(
|
|
41063
|
-
var
|
|
41064
|
-
return proto.viam.component.camera.v1.Image.deserializeBinaryFromReader(
|
|
41065
|
-
}, proto.viam.component.camera.v1.Image.deserializeBinaryFromReader = function(
|
|
41066
|
-
for (;
|
|
41067
|
-
var
|
|
41068
|
-
switch (
|
|
41062
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41063
|
+
}), proto.viam.component.camera.v1.Image.deserializeBinary = function(r) {
|
|
41064
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.Image();
|
|
41065
|
+
return proto.viam.component.camera.v1.Image.deserializeBinaryFromReader(l, n);
|
|
41066
|
+
}, proto.viam.component.camera.v1.Image.deserializeBinaryFromReader = function(r, n) {
|
|
41067
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41068
|
+
var l = n.getFieldNumber();
|
|
41069
|
+
switch (l) {
|
|
41069
41070
|
case 1:
|
|
41070
|
-
var
|
|
41071
|
+
var c = (
|
|
41071
41072
|
/** @type {string} */
|
|
41072
|
-
|
|
41073
|
+
n.readString()
|
|
41073
41074
|
);
|
|
41074
|
-
|
|
41075
|
+
r.setSourceName(c);
|
|
41075
41076
|
break;
|
|
41076
41077
|
case 2:
|
|
41077
|
-
var
|
|
41078
|
+
var c = (
|
|
41078
41079
|
/** @type {!proto.viam.component.camera.v1.Format} */
|
|
41079
|
-
|
|
41080
|
+
n.readEnum()
|
|
41080
41081
|
);
|
|
41081
|
-
|
|
41082
|
+
r.setFormat(c);
|
|
41082
41083
|
break;
|
|
41083
41084
|
case 3:
|
|
41084
|
-
var
|
|
41085
|
+
var c = (
|
|
41085
41086
|
/** @type {!Uint8Array} */
|
|
41086
|
-
|
|
41087
|
+
n.readBytes()
|
|
41087
41088
|
);
|
|
41088
|
-
|
|
41089
|
+
r.setImage(c);
|
|
41089
41090
|
break;
|
|
41090
41091
|
default:
|
|
41091
|
-
|
|
41092
|
+
n.skipField();
|
|
41092
41093
|
break;
|
|
41093
41094
|
}
|
|
41094
41095
|
}
|
|
41095
|
-
return
|
|
41096
|
+
return r;
|
|
41096
41097
|
}, proto.viam.component.camera.v1.Image.prototype.serializeBinary = function() {
|
|
41097
|
-
var
|
|
41098
|
-
return proto.viam.component.camera.v1.Image.serializeBinaryToWriter(this,
|
|
41099
|
-
}, proto.viam.component.camera.v1.Image.serializeBinaryToWriter = function(
|
|
41100
|
-
var
|
|
41101
|
-
|
|
41098
|
+
var r = new e.BinaryWriter();
|
|
41099
|
+
return proto.viam.component.camera.v1.Image.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41100
|
+
}, proto.viam.component.camera.v1.Image.serializeBinaryToWriter = function(r, n) {
|
|
41101
|
+
var l = void 0;
|
|
41102
|
+
l = r.getSourceName(), l.length > 0 && n.writeString(
|
|
41102
41103
|
1,
|
|
41103
|
-
|
|
41104
|
-
),
|
|
41104
|
+
l
|
|
41105
|
+
), l = r.getFormat(), l !== 0 && n.writeEnum(
|
|
41105
41106
|
2,
|
|
41106
|
-
|
|
41107
|
-
),
|
|
41107
|
+
l
|
|
41108
|
+
), l = r.getImage_asU8(), l.length > 0 && n.writeBytes(
|
|
41108
41109
|
3,
|
|
41109
|
-
|
|
41110
|
+
l
|
|
41110
41111
|
);
|
|
41111
41112
|
}, proto.viam.component.camera.v1.Image.prototype.getSourceName = function() {
|
|
41112
41113
|
return (
|
|
41113
41114
|
/** @type {string} */
|
|
41114
41115
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41115
41116
|
);
|
|
41116
|
-
}, proto.viam.component.camera.v1.Image.prototype.setSourceName = function(
|
|
41117
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41117
|
+
}, proto.viam.component.camera.v1.Image.prototype.setSourceName = function(r) {
|
|
41118
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41118
41119
|
}, proto.viam.component.camera.v1.Image.prototype.getFormat = function() {
|
|
41119
41120
|
return (
|
|
41120
41121
|
/** @type {!proto.viam.component.camera.v1.Format} */
|
|
41121
41122
|
e.Message.getFieldWithDefault(this, 2, 0)
|
|
41122
41123
|
);
|
|
41123
|
-
}, proto.viam.component.camera.v1.Image.prototype.setFormat = function(
|
|
41124
|
-
return e.Message.setProto3EnumField(this, 2,
|
|
41124
|
+
}, proto.viam.component.camera.v1.Image.prototype.setFormat = function(r) {
|
|
41125
|
+
return e.Message.setProto3EnumField(this, 2, r);
|
|
41125
41126
|
}, proto.viam.component.camera.v1.Image.prototype.getImage = function() {
|
|
41126
41127
|
return (
|
|
41127
41128
|
/** @type {string} */
|
|
@@ -41141,184 +41142,224 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41141
41142
|
this.getImage()
|
|
41142
41143
|
)
|
|
41143
41144
|
);
|
|
41144
|
-
}, proto.viam.component.camera.v1.Image.prototype.setImage = function(
|
|
41145
|
-
return e.Message.setProto3BytesField(this, 3,
|
|
41146
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.RenderFrameRequest.prototype.toObject = function(
|
|
41147
|
-
return proto.viam.component.camera.v1.RenderFrameRequest.toObject(
|
|
41148
|
-
}, proto.viam.component.camera.v1.RenderFrameRequest.toObject = function(
|
|
41149
|
-
var
|
|
41150
|
-
name: e.Message.getFieldWithDefault(
|
|
41151
|
-
mimeType: e.Message.getFieldWithDefault(
|
|
41145
|
+
}, proto.viam.component.camera.v1.Image.prototype.setImage = function(r) {
|
|
41146
|
+
return e.Message.setProto3BytesField(this, 3, r);
|
|
41147
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.RenderFrameRequest.prototype.toObject = function(r) {
|
|
41148
|
+
return proto.viam.component.camera.v1.RenderFrameRequest.toObject(r, this);
|
|
41149
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.toObject = function(r, n) {
|
|
41150
|
+
var l, c = {
|
|
41151
|
+
name: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41152
|
+
mimeType: e.Message.getFieldWithDefault(n, 2, ""),
|
|
41153
|
+
extra: (l = n.getExtra()) && o.Struct.toObject(r, l)
|
|
41152
41154
|
};
|
|
41153
|
-
return
|
|
41154
|
-
}), proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinary = function(
|
|
41155
|
-
var
|
|
41156
|
-
return proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinaryFromReader(
|
|
41157
|
-
}, proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinaryFromReader = function(
|
|
41158
|
-
for (;
|
|
41159
|
-
var
|
|
41160
|
-
switch (
|
|
41155
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
41156
|
+
}), proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinary = function(r) {
|
|
41157
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.RenderFrameRequest();
|
|
41158
|
+
return proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinaryFromReader(l, n);
|
|
41159
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.deserializeBinaryFromReader = function(r, n) {
|
|
41160
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41161
|
+
var l = n.getFieldNumber();
|
|
41162
|
+
switch (l) {
|
|
41161
41163
|
case 1:
|
|
41162
|
-
var
|
|
41164
|
+
var c = (
|
|
41163
41165
|
/** @type {string} */
|
|
41164
|
-
|
|
41166
|
+
n.readString()
|
|
41165
41167
|
);
|
|
41166
|
-
|
|
41168
|
+
r.setName(c);
|
|
41167
41169
|
break;
|
|
41168
41170
|
case 2:
|
|
41169
|
-
var
|
|
41171
|
+
var c = (
|
|
41170
41172
|
/** @type {string} */
|
|
41171
|
-
|
|
41173
|
+
n.readString()
|
|
41172
41174
|
);
|
|
41173
|
-
|
|
41175
|
+
r.setMimeType(c);
|
|
41176
|
+
break;
|
|
41177
|
+
case 99:
|
|
41178
|
+
var c = new o.Struct();
|
|
41179
|
+
n.readMessage(c, o.Struct.deserializeBinaryFromReader), r.setExtra(c);
|
|
41174
41180
|
break;
|
|
41175
41181
|
default:
|
|
41176
|
-
|
|
41182
|
+
n.skipField();
|
|
41177
41183
|
break;
|
|
41178
41184
|
}
|
|
41179
41185
|
}
|
|
41180
|
-
return
|
|
41186
|
+
return r;
|
|
41181
41187
|
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.serializeBinary = function() {
|
|
41182
|
-
var
|
|
41183
|
-
return proto.viam.component.camera.v1.RenderFrameRequest.serializeBinaryToWriter(this,
|
|
41184
|
-
}, proto.viam.component.camera.v1.RenderFrameRequest.serializeBinaryToWriter = function(
|
|
41185
|
-
var
|
|
41186
|
-
|
|
41188
|
+
var r = new e.BinaryWriter();
|
|
41189
|
+
return proto.viam.component.camera.v1.RenderFrameRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41190
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.serializeBinaryToWriter = function(r, n) {
|
|
41191
|
+
var l = void 0;
|
|
41192
|
+
l = r.getName(), l.length > 0 && n.writeString(
|
|
41187
41193
|
1,
|
|
41188
|
-
|
|
41189
|
-
),
|
|
41194
|
+
l
|
|
41195
|
+
), l = r.getMimeType(), l.length > 0 && n.writeString(
|
|
41190
41196
|
2,
|
|
41191
|
-
|
|
41197
|
+
l
|
|
41198
|
+
), l = r.getExtra(), l != null && n.writeMessage(
|
|
41199
|
+
99,
|
|
41200
|
+
l,
|
|
41201
|
+
o.Struct.serializeBinaryToWriter
|
|
41192
41202
|
);
|
|
41193
41203
|
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.getName = function() {
|
|
41194
41204
|
return (
|
|
41195
41205
|
/** @type {string} */
|
|
41196
41206
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41197
41207
|
);
|
|
41198
|
-
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.setName = function(
|
|
41199
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41208
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.setName = function(r) {
|
|
41209
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41200
41210
|
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.getMimeType = function() {
|
|
41201
41211
|
return (
|
|
41202
41212
|
/** @type {string} */
|
|
41203
41213
|
e.Message.getFieldWithDefault(this, 2, "")
|
|
41204
41214
|
);
|
|
41205
|
-
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.setMimeType = function(
|
|
41206
|
-
return e.Message.setProto3StringField(this, 2,
|
|
41207
|
-
},
|
|
41208
|
-
return
|
|
41209
|
-
|
|
41210
|
-
|
|
41211
|
-
|
|
41212
|
-
|
|
41215
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.setMimeType = function(r) {
|
|
41216
|
+
return e.Message.setProto3StringField(this, 2, r);
|
|
41217
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.getExtra = function() {
|
|
41218
|
+
return (
|
|
41219
|
+
/** @type{?proto.google.protobuf.Struct} */
|
|
41220
|
+
e.Message.getWrapperField(this, o.Struct, 99)
|
|
41221
|
+
);
|
|
41222
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.setExtra = function(r) {
|
|
41223
|
+
return e.Message.setWrapperField(this, 99, r);
|
|
41224
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.clearExtra = function() {
|
|
41225
|
+
return this.setExtra(void 0);
|
|
41226
|
+
}, proto.viam.component.camera.v1.RenderFrameRequest.prototype.hasExtra = function() {
|
|
41227
|
+
return e.Message.getField(this, 99) != null;
|
|
41228
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPointCloudRequest.prototype.toObject = function(r) {
|
|
41229
|
+
return proto.viam.component.camera.v1.GetPointCloudRequest.toObject(r, this);
|
|
41230
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.toObject = function(r, n) {
|
|
41231
|
+
var l, c = {
|
|
41232
|
+
name: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41233
|
+
mimeType: e.Message.getFieldWithDefault(n, 2, ""),
|
|
41234
|
+
extra: (l = n.getExtra()) && o.Struct.toObject(r, l)
|
|
41213
41235
|
};
|
|
41214
|
-
return
|
|
41215
|
-
}), proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinary = function(
|
|
41216
|
-
var
|
|
41217
|
-
return proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinaryFromReader(
|
|
41218
|
-
}, proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinaryFromReader = function(
|
|
41219
|
-
for (;
|
|
41220
|
-
var
|
|
41221
|
-
switch (
|
|
41236
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
41237
|
+
}), proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinary = function(r) {
|
|
41238
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetPointCloudRequest();
|
|
41239
|
+
return proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinaryFromReader(l, n);
|
|
41240
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.deserializeBinaryFromReader = function(r, n) {
|
|
41241
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41242
|
+
var l = n.getFieldNumber();
|
|
41243
|
+
switch (l) {
|
|
41222
41244
|
case 1:
|
|
41223
|
-
var
|
|
41245
|
+
var c = (
|
|
41224
41246
|
/** @type {string} */
|
|
41225
|
-
|
|
41247
|
+
n.readString()
|
|
41226
41248
|
);
|
|
41227
|
-
|
|
41249
|
+
r.setName(c);
|
|
41228
41250
|
break;
|
|
41229
41251
|
case 2:
|
|
41230
|
-
var
|
|
41252
|
+
var c = (
|
|
41231
41253
|
/** @type {string} */
|
|
41232
|
-
|
|
41254
|
+
n.readString()
|
|
41233
41255
|
);
|
|
41234
|
-
|
|
41256
|
+
r.setMimeType(c);
|
|
41257
|
+
break;
|
|
41258
|
+
case 99:
|
|
41259
|
+
var c = new o.Struct();
|
|
41260
|
+
n.readMessage(c, o.Struct.deserializeBinaryFromReader), r.setExtra(c);
|
|
41235
41261
|
break;
|
|
41236
41262
|
default:
|
|
41237
|
-
|
|
41263
|
+
n.skipField();
|
|
41238
41264
|
break;
|
|
41239
41265
|
}
|
|
41240
41266
|
}
|
|
41241
|
-
return
|
|
41267
|
+
return r;
|
|
41242
41268
|
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.serializeBinary = function() {
|
|
41243
|
-
var
|
|
41244
|
-
return proto.viam.component.camera.v1.GetPointCloudRequest.serializeBinaryToWriter(this,
|
|
41245
|
-
}, proto.viam.component.camera.v1.GetPointCloudRequest.serializeBinaryToWriter = function(
|
|
41246
|
-
var
|
|
41247
|
-
|
|
41269
|
+
var r = new e.BinaryWriter();
|
|
41270
|
+
return proto.viam.component.camera.v1.GetPointCloudRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41271
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.serializeBinaryToWriter = function(r, n) {
|
|
41272
|
+
var l = void 0;
|
|
41273
|
+
l = r.getName(), l.length > 0 && n.writeString(
|
|
41248
41274
|
1,
|
|
41249
|
-
|
|
41250
|
-
),
|
|
41275
|
+
l
|
|
41276
|
+
), l = r.getMimeType(), l.length > 0 && n.writeString(
|
|
41251
41277
|
2,
|
|
41252
|
-
|
|
41278
|
+
l
|
|
41279
|
+
), l = r.getExtra(), l != null && n.writeMessage(
|
|
41280
|
+
99,
|
|
41281
|
+
l,
|
|
41282
|
+
o.Struct.serializeBinaryToWriter
|
|
41253
41283
|
);
|
|
41254
41284
|
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.getName = function() {
|
|
41255
41285
|
return (
|
|
41256
41286
|
/** @type {string} */
|
|
41257
41287
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41258
41288
|
);
|
|
41259
|
-
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.setName = function(
|
|
41260
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41289
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.setName = function(r) {
|
|
41290
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41261
41291
|
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.getMimeType = function() {
|
|
41262
41292
|
return (
|
|
41263
41293
|
/** @type {string} */
|
|
41264
41294
|
e.Message.getFieldWithDefault(this, 2, "")
|
|
41265
41295
|
);
|
|
41266
|
-
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.setMimeType = function(
|
|
41267
|
-
return e.Message.setProto3StringField(this, 2,
|
|
41268
|
-
},
|
|
41269
|
-
return
|
|
41270
|
-
|
|
41271
|
-
|
|
41272
|
-
|
|
41273
|
-
|
|
41296
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.setMimeType = function(r) {
|
|
41297
|
+
return e.Message.setProto3StringField(this, 2, r);
|
|
41298
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.getExtra = function() {
|
|
41299
|
+
return (
|
|
41300
|
+
/** @type{?proto.google.protobuf.Struct} */
|
|
41301
|
+
e.Message.getWrapperField(this, o.Struct, 99)
|
|
41302
|
+
);
|
|
41303
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.setExtra = function(r) {
|
|
41304
|
+
return e.Message.setWrapperField(this, 99, r);
|
|
41305
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.clearExtra = function() {
|
|
41306
|
+
return this.setExtra(void 0);
|
|
41307
|
+
}, proto.viam.component.camera.v1.GetPointCloudRequest.prototype.hasExtra = function() {
|
|
41308
|
+
return e.Message.getField(this, 99) != null;
|
|
41309
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPointCloudResponse.prototype.toObject = function(r) {
|
|
41310
|
+
return proto.viam.component.camera.v1.GetPointCloudResponse.toObject(r, this);
|
|
41311
|
+
}, proto.viam.component.camera.v1.GetPointCloudResponse.toObject = function(r, n) {
|
|
41312
|
+
var l = {
|
|
41313
|
+
mimeType: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41314
|
+
pointCloud: n.getPointCloud_asB64()
|
|
41274
41315
|
};
|
|
41275
|
-
return
|
|
41276
|
-
}), proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinary = function(
|
|
41277
|
-
var
|
|
41278
|
-
return proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinaryFromReader(
|
|
41279
|
-
}, proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinaryFromReader = function(
|
|
41280
|
-
for (;
|
|
41281
|
-
var
|
|
41282
|
-
switch (
|
|
41316
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41317
|
+
}), proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinary = function(r) {
|
|
41318
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetPointCloudResponse();
|
|
41319
|
+
return proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinaryFromReader(l, n);
|
|
41320
|
+
}, proto.viam.component.camera.v1.GetPointCloudResponse.deserializeBinaryFromReader = function(r, n) {
|
|
41321
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41322
|
+
var l = n.getFieldNumber();
|
|
41323
|
+
switch (l) {
|
|
41283
41324
|
case 1:
|
|
41284
|
-
var
|
|
41325
|
+
var c = (
|
|
41285
41326
|
/** @type {string} */
|
|
41286
|
-
|
|
41327
|
+
n.readString()
|
|
41287
41328
|
);
|
|
41288
|
-
|
|
41329
|
+
r.setMimeType(c);
|
|
41289
41330
|
break;
|
|
41290
41331
|
case 2:
|
|
41291
|
-
var
|
|
41332
|
+
var c = (
|
|
41292
41333
|
/** @type {!Uint8Array} */
|
|
41293
|
-
|
|
41334
|
+
n.readBytes()
|
|
41294
41335
|
);
|
|
41295
|
-
|
|
41336
|
+
r.setPointCloud(c);
|
|
41296
41337
|
break;
|
|
41297
41338
|
default:
|
|
41298
|
-
|
|
41339
|
+
n.skipField();
|
|
41299
41340
|
break;
|
|
41300
41341
|
}
|
|
41301
41342
|
}
|
|
41302
|
-
return
|
|
41343
|
+
return r;
|
|
41303
41344
|
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.serializeBinary = function() {
|
|
41304
|
-
var
|
|
41305
|
-
return proto.viam.component.camera.v1.GetPointCloudResponse.serializeBinaryToWriter(this,
|
|
41306
|
-
}, proto.viam.component.camera.v1.GetPointCloudResponse.serializeBinaryToWriter = function(
|
|
41307
|
-
var
|
|
41308
|
-
|
|
41345
|
+
var r = new e.BinaryWriter();
|
|
41346
|
+
return proto.viam.component.camera.v1.GetPointCloudResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41347
|
+
}, proto.viam.component.camera.v1.GetPointCloudResponse.serializeBinaryToWriter = function(r, n) {
|
|
41348
|
+
var l = void 0;
|
|
41349
|
+
l = r.getMimeType(), l.length > 0 && n.writeString(
|
|
41309
41350
|
1,
|
|
41310
|
-
|
|
41311
|
-
),
|
|
41351
|
+
l
|
|
41352
|
+
), l = r.getPointCloud_asU8(), l.length > 0 && n.writeBytes(
|
|
41312
41353
|
2,
|
|
41313
|
-
|
|
41354
|
+
l
|
|
41314
41355
|
);
|
|
41315
41356
|
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.getMimeType = function() {
|
|
41316
41357
|
return (
|
|
41317
41358
|
/** @type {string} */
|
|
41318
41359
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41319
41360
|
);
|
|
41320
|
-
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.setMimeType = function(
|
|
41321
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41361
|
+
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.setMimeType = function(r) {
|
|
41362
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41322
41363
|
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.getPointCloud = function() {
|
|
41323
41364
|
return (
|
|
41324
41365
|
/** @type {string} */
|
|
@@ -41338,103 +41379,103 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41338
41379
|
this.getPointCloud()
|
|
41339
41380
|
)
|
|
41340
41381
|
);
|
|
41341
|
-
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.setPointCloud = function(
|
|
41342
|
-
return e.Message.setProto3BytesField(this, 2,
|
|
41343
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesRequest.prototype.toObject = function(
|
|
41344
|
-
return proto.viam.component.camera.v1.GetPropertiesRequest.toObject(
|
|
41345
|
-
}, proto.viam.component.camera.v1.GetPropertiesRequest.toObject = function(
|
|
41346
|
-
var
|
|
41347
|
-
name: e.Message.getFieldWithDefault(
|
|
41382
|
+
}, proto.viam.component.camera.v1.GetPointCloudResponse.prototype.setPointCloud = function(r) {
|
|
41383
|
+
return e.Message.setProto3BytesField(this, 2, r);
|
|
41384
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesRequest.prototype.toObject = function(r) {
|
|
41385
|
+
return proto.viam.component.camera.v1.GetPropertiesRequest.toObject(r, this);
|
|
41386
|
+
}, proto.viam.component.camera.v1.GetPropertiesRequest.toObject = function(r, n) {
|
|
41387
|
+
var l = {
|
|
41388
|
+
name: e.Message.getFieldWithDefault(n, 1, "")
|
|
41348
41389
|
};
|
|
41349
|
-
return
|
|
41350
|
-
}), proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinary = function(
|
|
41351
|
-
var
|
|
41352
|
-
return proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinaryFromReader(
|
|
41353
|
-
}, proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinaryFromReader = function(
|
|
41354
|
-
for (;
|
|
41355
|
-
var
|
|
41356
|
-
switch (
|
|
41390
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41391
|
+
}), proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinary = function(r) {
|
|
41392
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetPropertiesRequest();
|
|
41393
|
+
return proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinaryFromReader(l, n);
|
|
41394
|
+
}, proto.viam.component.camera.v1.GetPropertiesRequest.deserializeBinaryFromReader = function(r, n) {
|
|
41395
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41396
|
+
var l = n.getFieldNumber();
|
|
41397
|
+
switch (l) {
|
|
41357
41398
|
case 1:
|
|
41358
|
-
var
|
|
41399
|
+
var c = (
|
|
41359
41400
|
/** @type {string} */
|
|
41360
|
-
|
|
41401
|
+
n.readString()
|
|
41361
41402
|
);
|
|
41362
|
-
|
|
41403
|
+
r.setName(c);
|
|
41363
41404
|
break;
|
|
41364
41405
|
default:
|
|
41365
|
-
|
|
41406
|
+
n.skipField();
|
|
41366
41407
|
break;
|
|
41367
41408
|
}
|
|
41368
41409
|
}
|
|
41369
|
-
return
|
|
41410
|
+
return r;
|
|
41370
41411
|
}, proto.viam.component.camera.v1.GetPropertiesRequest.prototype.serializeBinary = function() {
|
|
41371
|
-
var
|
|
41372
|
-
return proto.viam.component.camera.v1.GetPropertiesRequest.serializeBinaryToWriter(this,
|
|
41373
|
-
}, proto.viam.component.camera.v1.GetPropertiesRequest.serializeBinaryToWriter = function(
|
|
41374
|
-
var
|
|
41375
|
-
|
|
41412
|
+
var r = new e.BinaryWriter();
|
|
41413
|
+
return proto.viam.component.camera.v1.GetPropertiesRequest.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41414
|
+
}, proto.viam.component.camera.v1.GetPropertiesRequest.serializeBinaryToWriter = function(r, n) {
|
|
41415
|
+
var l = void 0;
|
|
41416
|
+
l = r.getName(), l.length > 0 && n.writeString(
|
|
41376
41417
|
1,
|
|
41377
|
-
|
|
41418
|
+
l
|
|
41378
41419
|
);
|
|
41379
41420
|
}, proto.viam.component.camera.v1.GetPropertiesRequest.prototype.getName = function() {
|
|
41380
41421
|
return (
|
|
41381
41422
|
/** @type {string} */
|
|
41382
41423
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41383
41424
|
);
|
|
41384
|
-
}, proto.viam.component.camera.v1.GetPropertiesRequest.prototype.setName = function(
|
|
41385
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41386
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = function(
|
|
41387
|
-
return proto.viam.component.camera.v1.GetPropertiesResponse.toObject(
|
|
41388
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.toObject = function(
|
|
41389
|
-
var
|
|
41390
|
-
supportsPcd: e.Message.getBooleanFieldWithDefault(
|
|
41391
|
-
intrinsicParameters: (
|
|
41392
|
-
distortionParameters: (
|
|
41393
|
-
};
|
|
41394
|
-
return
|
|
41395
|
-
}), proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinary = function(
|
|
41396
|
-
var
|
|
41397
|
-
return proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinaryFromReader(
|
|
41398
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinaryFromReader = function(
|
|
41399
|
-
for (;
|
|
41400
|
-
var
|
|
41401
|
-
switch (
|
|
41425
|
+
}, proto.viam.component.camera.v1.GetPropertiesRequest.prototype.setName = function(r) {
|
|
41426
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41427
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = function(r) {
|
|
41428
|
+
return proto.viam.component.camera.v1.GetPropertiesResponse.toObject(r, this);
|
|
41429
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.toObject = function(r, n) {
|
|
41430
|
+
var l, c = {
|
|
41431
|
+
supportsPcd: e.Message.getBooleanFieldWithDefault(n, 1, !1),
|
|
41432
|
+
intrinsicParameters: (l = n.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(r, l),
|
|
41433
|
+
distortionParameters: (l = n.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(r, l)
|
|
41434
|
+
};
|
|
41435
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
41436
|
+
}), proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinary = function(r) {
|
|
41437
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.GetPropertiesResponse();
|
|
41438
|
+
return proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinaryFromReader(l, n);
|
|
41439
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.deserializeBinaryFromReader = function(r, n) {
|
|
41440
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41441
|
+
var l = n.getFieldNumber();
|
|
41442
|
+
switch (l) {
|
|
41402
41443
|
case 1:
|
|
41403
|
-
var
|
|
41444
|
+
var c = (
|
|
41404
41445
|
/** @type {boolean} */
|
|
41405
|
-
|
|
41446
|
+
n.readBool()
|
|
41406
41447
|
);
|
|
41407
|
-
|
|
41448
|
+
r.setSupportsPcd(c);
|
|
41408
41449
|
break;
|
|
41409
41450
|
case 2:
|
|
41410
|
-
var
|
|
41411
|
-
|
|
41451
|
+
var c = new proto.viam.component.camera.v1.IntrinsicParameters();
|
|
41452
|
+
n.readMessage(c, proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinaryFromReader), r.setIntrinsicParameters(c);
|
|
41412
41453
|
break;
|
|
41413
41454
|
case 3:
|
|
41414
|
-
var
|
|
41415
|
-
|
|
41455
|
+
var c = new proto.viam.component.camera.v1.DistortionParameters();
|
|
41456
|
+
n.readMessage(c, proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader), r.setDistortionParameters(c);
|
|
41416
41457
|
break;
|
|
41417
41458
|
default:
|
|
41418
|
-
|
|
41459
|
+
n.skipField();
|
|
41419
41460
|
break;
|
|
41420
41461
|
}
|
|
41421
41462
|
}
|
|
41422
|
-
return
|
|
41463
|
+
return r;
|
|
41423
41464
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.serializeBinary = function() {
|
|
41424
|
-
var
|
|
41425
|
-
return proto.viam.component.camera.v1.GetPropertiesResponse.serializeBinaryToWriter(this,
|
|
41426
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.serializeBinaryToWriter = function(
|
|
41427
|
-
var
|
|
41428
|
-
|
|
41465
|
+
var r = new e.BinaryWriter();
|
|
41466
|
+
return proto.viam.component.camera.v1.GetPropertiesResponse.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41467
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.serializeBinaryToWriter = function(r, n) {
|
|
41468
|
+
var l = void 0;
|
|
41469
|
+
l = r.getSupportsPcd(), l && n.writeBool(
|
|
41429
41470
|
1,
|
|
41430
|
-
|
|
41431
|
-
),
|
|
41471
|
+
l
|
|
41472
|
+
), l = r.getIntrinsicParameters(), l != null && n.writeMessage(
|
|
41432
41473
|
2,
|
|
41433
|
-
|
|
41474
|
+
l,
|
|
41434
41475
|
proto.viam.component.camera.v1.IntrinsicParameters.serializeBinaryToWriter
|
|
41435
|
-
),
|
|
41476
|
+
), l = r.getDistortionParameters(), l != null && n.writeMessage(
|
|
41436
41477
|
3,
|
|
41437
|
-
|
|
41478
|
+
l,
|
|
41438
41479
|
proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter
|
|
41439
41480
|
);
|
|
41440
41481
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.getSupportsPcd = function() {
|
|
@@ -41442,15 +41483,15 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41442
41483
|
/** @type {boolean} */
|
|
41443
41484
|
e.Message.getBooleanFieldWithDefault(this, 1, !1)
|
|
41444
41485
|
);
|
|
41445
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setSupportsPcd = function(
|
|
41446
|
-
return e.Message.setProto3BooleanField(this, 1,
|
|
41486
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setSupportsPcd = function(r) {
|
|
41487
|
+
return e.Message.setProto3BooleanField(this, 1, r);
|
|
41447
41488
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.getIntrinsicParameters = function() {
|
|
41448
41489
|
return (
|
|
41449
41490
|
/** @type{?proto.viam.component.camera.v1.IntrinsicParameters} */
|
|
41450
41491
|
e.Message.getWrapperField(this, proto.viam.component.camera.v1.IntrinsicParameters, 2)
|
|
41451
41492
|
);
|
|
41452
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setIntrinsicParameters = function(
|
|
41453
|
-
return e.Message.setWrapperField(this, 2,
|
|
41493
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setIntrinsicParameters = function(r) {
|
|
41494
|
+
return e.Message.setWrapperField(this, 2, r);
|
|
41454
41495
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.clearIntrinsicParameters = function() {
|
|
41455
41496
|
return this.setIntrinsicParameters(void 0);
|
|
41456
41497
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.hasIntrinsicParameters = function() {
|
|
@@ -41460,48 +41501,48 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41460
41501
|
/** @type{?proto.viam.component.camera.v1.DistortionParameters} */
|
|
41461
41502
|
e.Message.getWrapperField(this, proto.viam.component.camera.v1.DistortionParameters, 3)
|
|
41462
41503
|
);
|
|
41463
|
-
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setDistortionParameters = function(
|
|
41464
|
-
return e.Message.setWrapperField(this, 3,
|
|
41504
|
+
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.setDistortionParameters = function(r) {
|
|
41505
|
+
return e.Message.setWrapperField(this, 3, r);
|
|
41465
41506
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.clearDistortionParameters = function() {
|
|
41466
41507
|
return this.setDistortionParameters(void 0);
|
|
41467
41508
|
}, proto.viam.component.camera.v1.GetPropertiesResponse.prototype.hasDistortionParameters = function() {
|
|
41468
41509
|
return e.Message.getField(this, 3) != null;
|
|
41469
|
-
}, proto.viam.component.camera.v1.Webcams.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Webcams.prototype.toObject = function(
|
|
41470
|
-
return proto.viam.component.camera.v1.Webcams.toObject(
|
|
41471
|
-
}, proto.viam.component.camera.v1.Webcams.toObject = function(
|
|
41472
|
-
var
|
|
41510
|
+
}, proto.viam.component.camera.v1.Webcams.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Webcams.prototype.toObject = function(r) {
|
|
41511
|
+
return proto.viam.component.camera.v1.Webcams.toObject(r, this);
|
|
41512
|
+
}, proto.viam.component.camera.v1.Webcams.toObject = function(r, n) {
|
|
41513
|
+
var l = {
|
|
41473
41514
|
webcamsList: e.Message.toObjectList(
|
|
41474
|
-
|
|
41515
|
+
n.getWebcamsList(),
|
|
41475
41516
|
proto.viam.component.camera.v1.Webcam.toObject,
|
|
41476
|
-
|
|
41517
|
+
r
|
|
41477
41518
|
)
|
|
41478
41519
|
};
|
|
41479
|
-
return
|
|
41480
|
-
}), proto.viam.component.camera.v1.Webcams.deserializeBinary = function(
|
|
41481
|
-
var
|
|
41482
|
-
return proto.viam.component.camera.v1.Webcams.deserializeBinaryFromReader(
|
|
41483
|
-
}, proto.viam.component.camera.v1.Webcams.deserializeBinaryFromReader = function(
|
|
41484
|
-
for (;
|
|
41485
|
-
var
|
|
41486
|
-
switch (
|
|
41520
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41521
|
+
}), proto.viam.component.camera.v1.Webcams.deserializeBinary = function(r) {
|
|
41522
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.Webcams();
|
|
41523
|
+
return proto.viam.component.camera.v1.Webcams.deserializeBinaryFromReader(l, n);
|
|
41524
|
+
}, proto.viam.component.camera.v1.Webcams.deserializeBinaryFromReader = function(r, n) {
|
|
41525
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41526
|
+
var l = n.getFieldNumber();
|
|
41527
|
+
switch (l) {
|
|
41487
41528
|
case 1:
|
|
41488
|
-
var
|
|
41489
|
-
|
|
41529
|
+
var c = new proto.viam.component.camera.v1.Webcam();
|
|
41530
|
+
n.readMessage(c, proto.viam.component.camera.v1.Webcam.deserializeBinaryFromReader), r.addWebcams(c);
|
|
41490
41531
|
break;
|
|
41491
41532
|
default:
|
|
41492
|
-
|
|
41533
|
+
n.skipField();
|
|
41493
41534
|
break;
|
|
41494
41535
|
}
|
|
41495
41536
|
}
|
|
41496
|
-
return
|
|
41537
|
+
return r;
|
|
41497
41538
|
}, proto.viam.component.camera.v1.Webcams.prototype.serializeBinary = function() {
|
|
41498
|
-
var
|
|
41499
|
-
return proto.viam.component.camera.v1.Webcams.serializeBinaryToWriter(this,
|
|
41500
|
-
}, proto.viam.component.camera.v1.Webcams.serializeBinaryToWriter = function(
|
|
41501
|
-
var
|
|
41502
|
-
|
|
41539
|
+
var r = new e.BinaryWriter();
|
|
41540
|
+
return proto.viam.component.camera.v1.Webcams.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41541
|
+
}, proto.viam.component.camera.v1.Webcams.serializeBinaryToWriter = function(r, n) {
|
|
41542
|
+
var l = void 0;
|
|
41543
|
+
l = r.getWebcamsList(), l.length > 0 && n.writeRepeatedMessage(
|
|
41503
41544
|
1,
|
|
41504
|
-
|
|
41545
|
+
l,
|
|
41505
41546
|
proto.viam.component.camera.v1.Webcam.serializeBinaryToWriter
|
|
41506
41547
|
);
|
|
41507
41548
|
}, proto.viam.component.camera.v1.Webcams.prototype.getWebcamsList = function() {
|
|
@@ -41509,117 +41550,117 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41509
41550
|
/** @type{!Array<!proto.viam.component.camera.v1.Webcam>} */
|
|
41510
41551
|
e.Message.getRepeatedWrapperField(this, proto.viam.component.camera.v1.Webcam, 1)
|
|
41511
41552
|
);
|
|
41512
|
-
}, proto.viam.component.camera.v1.Webcams.prototype.setWebcamsList = function(
|
|
41513
|
-
return e.Message.setRepeatedWrapperField(this, 1,
|
|
41514
|
-
}, proto.viam.component.camera.v1.Webcams.prototype.addWebcams = function(
|
|
41515
|
-
return e.Message.addToRepeatedWrapperField(this, 1,
|
|
41553
|
+
}, proto.viam.component.camera.v1.Webcams.prototype.setWebcamsList = function(r) {
|
|
41554
|
+
return e.Message.setRepeatedWrapperField(this, 1, r);
|
|
41555
|
+
}, proto.viam.component.camera.v1.Webcams.prototype.addWebcams = function(r, n) {
|
|
41556
|
+
return e.Message.addToRepeatedWrapperField(this, 1, r, proto.viam.component.camera.v1.Webcam, n);
|
|
41516
41557
|
}, proto.viam.component.camera.v1.Webcams.prototype.clearWebcamsList = function() {
|
|
41517
41558
|
return this.setWebcamsList([]);
|
|
41518
|
-
}, proto.viam.component.camera.v1.Webcam.repeatedFields_ = [3], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Webcam.prototype.toObject = function(
|
|
41519
|
-
return proto.viam.component.camera.v1.Webcam.toObject(
|
|
41520
|
-
}, proto.viam.component.camera.v1.Webcam.toObject = function(
|
|
41521
|
-
var
|
|
41522
|
-
label: e.Message.getFieldWithDefault(
|
|
41523
|
-
status: e.Message.getFieldWithDefault(
|
|
41559
|
+
}, proto.viam.component.camera.v1.Webcam.repeatedFields_ = [3], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Webcam.prototype.toObject = function(r) {
|
|
41560
|
+
return proto.viam.component.camera.v1.Webcam.toObject(r, this);
|
|
41561
|
+
}, proto.viam.component.camera.v1.Webcam.toObject = function(r, n) {
|
|
41562
|
+
var l = {
|
|
41563
|
+
label: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41564
|
+
status: e.Message.getFieldWithDefault(n, 2, ""),
|
|
41524
41565
|
propertiesList: e.Message.toObjectList(
|
|
41525
|
-
|
|
41566
|
+
n.getPropertiesList(),
|
|
41526
41567
|
proto.viam.component.camera.v1.Property.toObject,
|
|
41527
|
-
|
|
41568
|
+
r
|
|
41528
41569
|
),
|
|
41529
|
-
name: e.Message.getFieldWithDefault(
|
|
41530
|
-
id: e.Message.getFieldWithDefault(
|
|
41570
|
+
name: e.Message.getFieldWithDefault(n, 4, ""),
|
|
41571
|
+
id: e.Message.getFieldWithDefault(n, 5, "")
|
|
41531
41572
|
};
|
|
41532
|
-
return
|
|
41533
|
-
}), proto.viam.component.camera.v1.Webcam.deserializeBinary = function(
|
|
41534
|
-
var
|
|
41535
|
-
return proto.viam.component.camera.v1.Webcam.deserializeBinaryFromReader(
|
|
41536
|
-
}, proto.viam.component.camera.v1.Webcam.deserializeBinaryFromReader = function(
|
|
41537
|
-
for (;
|
|
41538
|
-
var
|
|
41539
|
-
switch (
|
|
41573
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41574
|
+
}), proto.viam.component.camera.v1.Webcam.deserializeBinary = function(r) {
|
|
41575
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.Webcam();
|
|
41576
|
+
return proto.viam.component.camera.v1.Webcam.deserializeBinaryFromReader(l, n);
|
|
41577
|
+
}, proto.viam.component.camera.v1.Webcam.deserializeBinaryFromReader = function(r, n) {
|
|
41578
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41579
|
+
var l = n.getFieldNumber();
|
|
41580
|
+
switch (l) {
|
|
41540
41581
|
case 1:
|
|
41541
|
-
var
|
|
41582
|
+
var c = (
|
|
41542
41583
|
/** @type {string} */
|
|
41543
|
-
|
|
41584
|
+
n.readString()
|
|
41544
41585
|
);
|
|
41545
|
-
|
|
41586
|
+
r.setLabel(c);
|
|
41546
41587
|
break;
|
|
41547
41588
|
case 2:
|
|
41548
|
-
var
|
|
41589
|
+
var c = (
|
|
41549
41590
|
/** @type {string} */
|
|
41550
|
-
|
|
41591
|
+
n.readString()
|
|
41551
41592
|
);
|
|
41552
|
-
|
|
41593
|
+
r.setStatus(c);
|
|
41553
41594
|
break;
|
|
41554
41595
|
case 3:
|
|
41555
|
-
var
|
|
41556
|
-
|
|
41596
|
+
var c = new proto.viam.component.camera.v1.Property();
|
|
41597
|
+
n.readMessage(c, proto.viam.component.camera.v1.Property.deserializeBinaryFromReader), r.addProperties(c);
|
|
41557
41598
|
break;
|
|
41558
41599
|
case 4:
|
|
41559
|
-
var
|
|
41600
|
+
var c = (
|
|
41560
41601
|
/** @type {string} */
|
|
41561
|
-
|
|
41602
|
+
n.readString()
|
|
41562
41603
|
);
|
|
41563
|
-
|
|
41604
|
+
r.setName(c);
|
|
41564
41605
|
break;
|
|
41565
41606
|
case 5:
|
|
41566
|
-
var
|
|
41607
|
+
var c = (
|
|
41567
41608
|
/** @type {string} */
|
|
41568
|
-
|
|
41609
|
+
n.readString()
|
|
41569
41610
|
);
|
|
41570
|
-
|
|
41611
|
+
r.setId(c);
|
|
41571
41612
|
break;
|
|
41572
41613
|
default:
|
|
41573
|
-
|
|
41614
|
+
n.skipField();
|
|
41574
41615
|
break;
|
|
41575
41616
|
}
|
|
41576
41617
|
}
|
|
41577
|
-
return
|
|
41618
|
+
return r;
|
|
41578
41619
|
}, proto.viam.component.camera.v1.Webcam.prototype.serializeBinary = function() {
|
|
41579
|
-
var
|
|
41580
|
-
return proto.viam.component.camera.v1.Webcam.serializeBinaryToWriter(this,
|
|
41581
|
-
}, proto.viam.component.camera.v1.Webcam.serializeBinaryToWriter = function(
|
|
41582
|
-
var
|
|
41583
|
-
|
|
41620
|
+
var r = new e.BinaryWriter();
|
|
41621
|
+
return proto.viam.component.camera.v1.Webcam.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41622
|
+
}, proto.viam.component.camera.v1.Webcam.serializeBinaryToWriter = function(r, n) {
|
|
41623
|
+
var l = void 0;
|
|
41624
|
+
l = r.getLabel(), l.length > 0 && n.writeString(
|
|
41584
41625
|
1,
|
|
41585
|
-
|
|
41586
|
-
),
|
|
41626
|
+
l
|
|
41627
|
+
), l = r.getStatus(), l.length > 0 && n.writeString(
|
|
41587
41628
|
2,
|
|
41588
|
-
|
|
41589
|
-
),
|
|
41629
|
+
l
|
|
41630
|
+
), l = r.getPropertiesList(), l.length > 0 && n.writeRepeatedMessage(
|
|
41590
41631
|
3,
|
|
41591
|
-
|
|
41632
|
+
l,
|
|
41592
41633
|
proto.viam.component.camera.v1.Property.serializeBinaryToWriter
|
|
41593
|
-
),
|
|
41634
|
+
), l = r.getName(), l.length > 0 && n.writeString(
|
|
41594
41635
|
4,
|
|
41595
|
-
|
|
41596
|
-
),
|
|
41636
|
+
l
|
|
41637
|
+
), l = r.getId(), l.length > 0 && n.writeString(
|
|
41597
41638
|
5,
|
|
41598
|
-
|
|
41639
|
+
l
|
|
41599
41640
|
);
|
|
41600
41641
|
}, proto.viam.component.camera.v1.Webcam.prototype.getLabel = function() {
|
|
41601
41642
|
return (
|
|
41602
41643
|
/** @type {string} */
|
|
41603
41644
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41604
41645
|
);
|
|
41605
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.setLabel = function(
|
|
41606
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41646
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.setLabel = function(r) {
|
|
41647
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41607
41648
|
}, proto.viam.component.camera.v1.Webcam.prototype.getStatus = function() {
|
|
41608
41649
|
return (
|
|
41609
41650
|
/** @type {string} */
|
|
41610
41651
|
e.Message.getFieldWithDefault(this, 2, "")
|
|
41611
41652
|
);
|
|
41612
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.setStatus = function(
|
|
41613
|
-
return e.Message.setProto3StringField(this, 2,
|
|
41653
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.setStatus = function(r) {
|
|
41654
|
+
return e.Message.setProto3StringField(this, 2, r);
|
|
41614
41655
|
}, proto.viam.component.camera.v1.Webcam.prototype.getPropertiesList = function() {
|
|
41615
41656
|
return (
|
|
41616
41657
|
/** @type{!Array<!proto.viam.component.camera.v1.Property>} */
|
|
41617
41658
|
e.Message.getRepeatedWrapperField(this, proto.viam.component.camera.v1.Property, 3)
|
|
41618
41659
|
);
|
|
41619
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.setPropertiesList = function(
|
|
41620
|
-
return e.Message.setRepeatedWrapperField(this, 3,
|
|
41621
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.addProperties = function(
|
|
41622
|
-
return e.Message.addToRepeatedWrapperField(this, 3,
|
|
41660
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.setPropertiesList = function(r) {
|
|
41661
|
+
return e.Message.setRepeatedWrapperField(this, 3, r);
|
|
41662
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.addProperties = function(r, n) {
|
|
41663
|
+
return e.Message.addToRepeatedWrapperField(this, 3, r, proto.viam.component.camera.v1.Property, n);
|
|
41623
41664
|
}, proto.viam.component.camera.v1.Webcam.prototype.clearPropertiesList = function() {
|
|
41624
41665
|
return this.setPropertiesList([]);
|
|
41625
41666
|
}, proto.viam.component.camera.v1.Webcam.prototype.getName = function() {
|
|
@@ -41627,308 +41668,308 @@ var camera_pb = {}, httpbody_pb = {}, any_pb = {};
|
|
|
41627
41668
|
/** @type {string} */
|
|
41628
41669
|
e.Message.getFieldWithDefault(this, 4, "")
|
|
41629
41670
|
);
|
|
41630
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.setName = function(
|
|
41631
|
-
return e.Message.setProto3StringField(this, 4,
|
|
41671
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.setName = function(r) {
|
|
41672
|
+
return e.Message.setProto3StringField(this, 4, r);
|
|
41632
41673
|
}, proto.viam.component.camera.v1.Webcam.prototype.getId = function() {
|
|
41633
41674
|
return (
|
|
41634
41675
|
/** @type {string} */
|
|
41635
41676
|
e.Message.getFieldWithDefault(this, 5, "")
|
|
41636
41677
|
);
|
|
41637
|
-
}, proto.viam.component.camera.v1.Webcam.prototype.setId = function(
|
|
41638
|
-
return e.Message.setProto3StringField(this, 5,
|
|
41639
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Property.prototype.toObject = function(
|
|
41640
|
-
return proto.viam.component.camera.v1.Property.toObject(
|
|
41641
|
-
}, proto.viam.component.camera.v1.Property.toObject = function(
|
|
41642
|
-
var
|
|
41643
|
-
widthPx: e.Message.getFieldWithDefault(
|
|
41644
|
-
heightPx: e.Message.getFieldWithDefault(
|
|
41645
|
-
frameFormat: e.Message.getFieldWithDefault(
|
|
41646
|
-
frameRate: e.Message.getFloatingPointFieldWithDefault(
|
|
41678
|
+
}, proto.viam.component.camera.v1.Webcam.prototype.setId = function(r) {
|
|
41679
|
+
return e.Message.setProto3StringField(this, 5, r);
|
|
41680
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.Property.prototype.toObject = function(r) {
|
|
41681
|
+
return proto.viam.component.camera.v1.Property.toObject(r, this);
|
|
41682
|
+
}, proto.viam.component.camera.v1.Property.toObject = function(r, n) {
|
|
41683
|
+
var l = {
|
|
41684
|
+
widthPx: e.Message.getFieldWithDefault(n, 1, 0),
|
|
41685
|
+
heightPx: e.Message.getFieldWithDefault(n, 2, 0),
|
|
41686
|
+
frameFormat: e.Message.getFieldWithDefault(n, 3, ""),
|
|
41687
|
+
frameRate: e.Message.getFloatingPointFieldWithDefault(n, 4, 0)
|
|
41647
41688
|
};
|
|
41648
|
-
return
|
|
41649
|
-
}), proto.viam.component.camera.v1.Property.deserializeBinary = function(
|
|
41650
|
-
var
|
|
41651
|
-
return proto.viam.component.camera.v1.Property.deserializeBinaryFromReader(
|
|
41652
|
-
}, proto.viam.component.camera.v1.Property.deserializeBinaryFromReader = function(
|
|
41653
|
-
for (;
|
|
41654
|
-
var
|
|
41655
|
-
switch (
|
|
41689
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41690
|
+
}), proto.viam.component.camera.v1.Property.deserializeBinary = function(r) {
|
|
41691
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.Property();
|
|
41692
|
+
return proto.viam.component.camera.v1.Property.deserializeBinaryFromReader(l, n);
|
|
41693
|
+
}, proto.viam.component.camera.v1.Property.deserializeBinaryFromReader = function(r, n) {
|
|
41694
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41695
|
+
var l = n.getFieldNumber();
|
|
41696
|
+
switch (l) {
|
|
41656
41697
|
case 1:
|
|
41657
|
-
var
|
|
41698
|
+
var c = (
|
|
41658
41699
|
/** @type {number} */
|
|
41659
|
-
|
|
41700
|
+
n.readInt32()
|
|
41660
41701
|
);
|
|
41661
|
-
|
|
41702
|
+
r.setWidthPx(c);
|
|
41662
41703
|
break;
|
|
41663
41704
|
case 2:
|
|
41664
|
-
var
|
|
41705
|
+
var c = (
|
|
41665
41706
|
/** @type {number} */
|
|
41666
|
-
|
|
41707
|
+
n.readInt32()
|
|
41667
41708
|
);
|
|
41668
|
-
|
|
41709
|
+
r.setHeightPx(c);
|
|
41669
41710
|
break;
|
|
41670
41711
|
case 3:
|
|
41671
|
-
var
|
|
41712
|
+
var c = (
|
|
41672
41713
|
/** @type {string} */
|
|
41673
|
-
|
|
41714
|
+
n.readString()
|
|
41674
41715
|
);
|
|
41675
|
-
|
|
41716
|
+
r.setFrameFormat(c);
|
|
41676
41717
|
break;
|
|
41677
41718
|
case 4:
|
|
41678
|
-
var
|
|
41719
|
+
var c = (
|
|
41679
41720
|
/** @type {number} */
|
|
41680
|
-
|
|
41721
|
+
n.readFloat()
|
|
41681
41722
|
);
|
|
41682
|
-
|
|
41723
|
+
r.setFrameRate(c);
|
|
41683
41724
|
break;
|
|
41684
41725
|
default:
|
|
41685
|
-
|
|
41726
|
+
n.skipField();
|
|
41686
41727
|
break;
|
|
41687
41728
|
}
|
|
41688
41729
|
}
|
|
41689
|
-
return
|
|
41730
|
+
return r;
|
|
41690
41731
|
}, proto.viam.component.camera.v1.Property.prototype.serializeBinary = function() {
|
|
41691
|
-
var
|
|
41692
|
-
return proto.viam.component.camera.v1.Property.serializeBinaryToWriter(this,
|
|
41693
|
-
}, proto.viam.component.camera.v1.Property.serializeBinaryToWriter = function(
|
|
41694
|
-
var
|
|
41695
|
-
|
|
41732
|
+
var r = new e.BinaryWriter();
|
|
41733
|
+
return proto.viam.component.camera.v1.Property.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41734
|
+
}, proto.viam.component.camera.v1.Property.serializeBinaryToWriter = function(r, n) {
|
|
41735
|
+
var l = void 0;
|
|
41736
|
+
l = r.getWidthPx(), l !== 0 && n.writeInt32(
|
|
41696
41737
|
1,
|
|
41697
|
-
|
|
41698
|
-
),
|
|
41738
|
+
l
|
|
41739
|
+
), l = r.getHeightPx(), l !== 0 && n.writeInt32(
|
|
41699
41740
|
2,
|
|
41700
|
-
|
|
41701
|
-
),
|
|
41741
|
+
l
|
|
41742
|
+
), l = r.getFrameFormat(), l.length > 0 && n.writeString(
|
|
41702
41743
|
3,
|
|
41703
|
-
|
|
41704
|
-
),
|
|
41744
|
+
l
|
|
41745
|
+
), l = r.getFrameRate(), l !== 0 && n.writeFloat(
|
|
41705
41746
|
4,
|
|
41706
|
-
|
|
41747
|
+
l
|
|
41707
41748
|
);
|
|
41708
41749
|
}, proto.viam.component.camera.v1.Property.prototype.getWidthPx = function() {
|
|
41709
41750
|
return (
|
|
41710
41751
|
/** @type {number} */
|
|
41711
41752
|
e.Message.getFieldWithDefault(this, 1, 0)
|
|
41712
41753
|
);
|
|
41713
|
-
}, proto.viam.component.camera.v1.Property.prototype.setWidthPx = function(
|
|
41714
|
-
return e.Message.setProto3IntField(this, 1,
|
|
41754
|
+
}, proto.viam.component.camera.v1.Property.prototype.setWidthPx = function(r) {
|
|
41755
|
+
return e.Message.setProto3IntField(this, 1, r);
|
|
41715
41756
|
}, proto.viam.component.camera.v1.Property.prototype.getHeightPx = function() {
|
|
41716
41757
|
return (
|
|
41717
41758
|
/** @type {number} */
|
|
41718
41759
|
e.Message.getFieldWithDefault(this, 2, 0)
|
|
41719
41760
|
);
|
|
41720
|
-
}, proto.viam.component.camera.v1.Property.prototype.setHeightPx = function(
|
|
41721
|
-
return e.Message.setProto3IntField(this, 2,
|
|
41761
|
+
}, proto.viam.component.camera.v1.Property.prototype.setHeightPx = function(r) {
|
|
41762
|
+
return e.Message.setProto3IntField(this, 2, r);
|
|
41722
41763
|
}, proto.viam.component.camera.v1.Property.prototype.getFrameFormat = function() {
|
|
41723
41764
|
return (
|
|
41724
41765
|
/** @type {string} */
|
|
41725
41766
|
e.Message.getFieldWithDefault(this, 3, "")
|
|
41726
41767
|
);
|
|
41727
|
-
}, proto.viam.component.camera.v1.Property.prototype.setFrameFormat = function(
|
|
41728
|
-
return e.Message.setProto3StringField(this, 3,
|
|
41768
|
+
}, proto.viam.component.camera.v1.Property.prototype.setFrameFormat = function(r) {
|
|
41769
|
+
return e.Message.setProto3StringField(this, 3, r);
|
|
41729
41770
|
}, proto.viam.component.camera.v1.Property.prototype.getFrameRate = function() {
|
|
41730
41771
|
return (
|
|
41731
41772
|
/** @type {number} */
|
|
41732
41773
|
e.Message.getFloatingPointFieldWithDefault(this, 4, 0)
|
|
41733
41774
|
);
|
|
41734
|
-
}, proto.viam.component.camera.v1.Property.prototype.setFrameRate = function(
|
|
41735
|
-
return e.Message.setProto3FloatField(this, 4,
|
|
41736
|
-
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.IntrinsicParameters.prototype.toObject = function(
|
|
41737
|
-
return proto.viam.component.camera.v1.IntrinsicParameters.toObject(
|
|
41738
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.toObject = function(
|
|
41739
|
-
var
|
|
41740
|
-
widthPx: e.Message.getFieldWithDefault(
|
|
41741
|
-
heightPx: e.Message.getFieldWithDefault(
|
|
41742
|
-
focalXPx: e.Message.getFloatingPointFieldWithDefault(
|
|
41743
|
-
focalYPx: e.Message.getFloatingPointFieldWithDefault(
|
|
41744
|
-
centerXPx: e.Message.getFloatingPointFieldWithDefault(
|
|
41745
|
-
centerYPx: e.Message.getFloatingPointFieldWithDefault(
|
|
41775
|
+
}, proto.viam.component.camera.v1.Property.prototype.setFrameRate = function(r) {
|
|
41776
|
+
return e.Message.setProto3FloatField(this, 4, r);
|
|
41777
|
+
}, e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.IntrinsicParameters.prototype.toObject = function(r) {
|
|
41778
|
+
return proto.viam.component.camera.v1.IntrinsicParameters.toObject(r, this);
|
|
41779
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.toObject = function(r, n) {
|
|
41780
|
+
var l = {
|
|
41781
|
+
widthPx: e.Message.getFieldWithDefault(n, 1, 0),
|
|
41782
|
+
heightPx: e.Message.getFieldWithDefault(n, 2, 0),
|
|
41783
|
+
focalXPx: e.Message.getFloatingPointFieldWithDefault(n, 3, 0),
|
|
41784
|
+
focalYPx: e.Message.getFloatingPointFieldWithDefault(n, 4, 0),
|
|
41785
|
+
centerXPx: e.Message.getFloatingPointFieldWithDefault(n, 5, 0),
|
|
41786
|
+
centerYPx: e.Message.getFloatingPointFieldWithDefault(n, 6, 0)
|
|
41746
41787
|
};
|
|
41747
|
-
return
|
|
41748
|
-
}), proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinary = function(
|
|
41749
|
-
var
|
|
41750
|
-
return proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinaryFromReader(
|
|
41751
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinaryFromReader = function(
|
|
41752
|
-
for (;
|
|
41753
|
-
var
|
|
41754
|
-
switch (
|
|
41788
|
+
return r && (l.$jspbMessageInstance = n), l;
|
|
41789
|
+
}), proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinary = function(r) {
|
|
41790
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.IntrinsicParameters();
|
|
41791
|
+
return proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinaryFromReader(l, n);
|
|
41792
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.deserializeBinaryFromReader = function(r, n) {
|
|
41793
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41794
|
+
var l = n.getFieldNumber();
|
|
41795
|
+
switch (l) {
|
|
41755
41796
|
case 1:
|
|
41756
|
-
var
|
|
41797
|
+
var c = (
|
|
41757
41798
|
/** @type {number} */
|
|
41758
|
-
|
|
41799
|
+
n.readUint32()
|
|
41759
41800
|
);
|
|
41760
|
-
|
|
41801
|
+
r.setWidthPx(c);
|
|
41761
41802
|
break;
|
|
41762
41803
|
case 2:
|
|
41763
|
-
var
|
|
41804
|
+
var c = (
|
|
41764
41805
|
/** @type {number} */
|
|
41765
|
-
|
|
41806
|
+
n.readUint32()
|
|
41766
41807
|
);
|
|
41767
|
-
|
|
41808
|
+
r.setHeightPx(c);
|
|
41768
41809
|
break;
|
|
41769
41810
|
case 3:
|
|
41770
|
-
var
|
|
41811
|
+
var c = (
|
|
41771
41812
|
/** @type {number} */
|
|
41772
|
-
|
|
41813
|
+
n.readDouble()
|
|
41773
41814
|
);
|
|
41774
|
-
|
|
41815
|
+
r.setFocalXPx(c);
|
|
41775
41816
|
break;
|
|
41776
41817
|
case 4:
|
|
41777
|
-
var
|
|
41818
|
+
var c = (
|
|
41778
41819
|
/** @type {number} */
|
|
41779
|
-
|
|
41820
|
+
n.readDouble()
|
|
41780
41821
|
);
|
|
41781
|
-
|
|
41822
|
+
r.setFocalYPx(c);
|
|
41782
41823
|
break;
|
|
41783
41824
|
case 5:
|
|
41784
|
-
var
|
|
41825
|
+
var c = (
|
|
41785
41826
|
/** @type {number} */
|
|
41786
|
-
|
|
41827
|
+
n.readDouble()
|
|
41787
41828
|
);
|
|
41788
|
-
|
|
41829
|
+
r.setCenterXPx(c);
|
|
41789
41830
|
break;
|
|
41790
41831
|
case 6:
|
|
41791
|
-
var
|
|
41832
|
+
var c = (
|
|
41792
41833
|
/** @type {number} */
|
|
41793
|
-
|
|
41834
|
+
n.readDouble()
|
|
41794
41835
|
);
|
|
41795
|
-
|
|
41836
|
+
r.setCenterYPx(c);
|
|
41796
41837
|
break;
|
|
41797
41838
|
default:
|
|
41798
|
-
|
|
41839
|
+
n.skipField();
|
|
41799
41840
|
break;
|
|
41800
41841
|
}
|
|
41801
41842
|
}
|
|
41802
|
-
return
|
|
41843
|
+
return r;
|
|
41803
41844
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.serializeBinary = function() {
|
|
41804
|
-
var
|
|
41805
|
-
return proto.viam.component.camera.v1.IntrinsicParameters.serializeBinaryToWriter(this,
|
|
41806
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.serializeBinaryToWriter = function(
|
|
41807
|
-
var
|
|
41808
|
-
|
|
41845
|
+
var r = new e.BinaryWriter();
|
|
41846
|
+
return proto.viam.component.camera.v1.IntrinsicParameters.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41847
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.serializeBinaryToWriter = function(r, n) {
|
|
41848
|
+
var l = void 0;
|
|
41849
|
+
l = r.getWidthPx(), l !== 0 && n.writeUint32(
|
|
41809
41850
|
1,
|
|
41810
|
-
|
|
41811
|
-
),
|
|
41851
|
+
l
|
|
41852
|
+
), l = r.getHeightPx(), l !== 0 && n.writeUint32(
|
|
41812
41853
|
2,
|
|
41813
|
-
|
|
41814
|
-
),
|
|
41854
|
+
l
|
|
41855
|
+
), l = r.getFocalXPx(), l !== 0 && n.writeDouble(
|
|
41815
41856
|
3,
|
|
41816
|
-
|
|
41817
|
-
),
|
|
41857
|
+
l
|
|
41858
|
+
), l = r.getFocalYPx(), l !== 0 && n.writeDouble(
|
|
41818
41859
|
4,
|
|
41819
|
-
|
|
41820
|
-
),
|
|
41860
|
+
l
|
|
41861
|
+
), l = r.getCenterXPx(), l !== 0 && n.writeDouble(
|
|
41821
41862
|
5,
|
|
41822
|
-
|
|
41823
|
-
),
|
|
41863
|
+
l
|
|
41864
|
+
), l = r.getCenterYPx(), l !== 0 && n.writeDouble(
|
|
41824
41865
|
6,
|
|
41825
|
-
|
|
41866
|
+
l
|
|
41826
41867
|
);
|
|
41827
41868
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getWidthPx = function() {
|
|
41828
41869
|
return (
|
|
41829
41870
|
/** @type {number} */
|
|
41830
41871
|
e.Message.getFieldWithDefault(this, 1, 0)
|
|
41831
41872
|
);
|
|
41832
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setWidthPx = function(
|
|
41833
|
-
return e.Message.setProto3IntField(this, 1,
|
|
41873
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setWidthPx = function(r) {
|
|
41874
|
+
return e.Message.setProto3IntField(this, 1, r);
|
|
41834
41875
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getHeightPx = function() {
|
|
41835
41876
|
return (
|
|
41836
41877
|
/** @type {number} */
|
|
41837
41878
|
e.Message.getFieldWithDefault(this, 2, 0)
|
|
41838
41879
|
);
|
|
41839
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setHeightPx = function(
|
|
41840
|
-
return e.Message.setProto3IntField(this, 2,
|
|
41880
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setHeightPx = function(r) {
|
|
41881
|
+
return e.Message.setProto3IntField(this, 2, r);
|
|
41841
41882
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getFocalXPx = function() {
|
|
41842
41883
|
return (
|
|
41843
41884
|
/** @type {number} */
|
|
41844
41885
|
e.Message.getFloatingPointFieldWithDefault(this, 3, 0)
|
|
41845
41886
|
);
|
|
41846
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setFocalXPx = function(
|
|
41847
|
-
return e.Message.setProto3FloatField(this, 3,
|
|
41887
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setFocalXPx = function(r) {
|
|
41888
|
+
return e.Message.setProto3FloatField(this, 3, r);
|
|
41848
41889
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getFocalYPx = function() {
|
|
41849
41890
|
return (
|
|
41850
41891
|
/** @type {number} */
|
|
41851
41892
|
e.Message.getFloatingPointFieldWithDefault(this, 4, 0)
|
|
41852
41893
|
);
|
|
41853
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setFocalYPx = function(
|
|
41854
|
-
return e.Message.setProto3FloatField(this, 4,
|
|
41894
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setFocalYPx = function(r) {
|
|
41895
|
+
return e.Message.setProto3FloatField(this, 4, r);
|
|
41855
41896
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getCenterXPx = function() {
|
|
41856
41897
|
return (
|
|
41857
41898
|
/** @type {number} */
|
|
41858
41899
|
e.Message.getFloatingPointFieldWithDefault(this, 5, 0)
|
|
41859
41900
|
);
|
|
41860
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setCenterXPx = function(
|
|
41861
|
-
return e.Message.setProto3FloatField(this, 5,
|
|
41901
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setCenterXPx = function(r) {
|
|
41902
|
+
return e.Message.setProto3FloatField(this, 5, r);
|
|
41862
41903
|
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.getCenterYPx = function() {
|
|
41863
41904
|
return (
|
|
41864
41905
|
/** @type {number} */
|
|
41865
41906
|
e.Message.getFloatingPointFieldWithDefault(this, 6, 0)
|
|
41866
41907
|
);
|
|
41867
|
-
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setCenterYPx = function(
|
|
41868
|
-
return e.Message.setProto3FloatField(this, 6,
|
|
41869
|
-
}, proto.viam.component.camera.v1.DistortionParameters.repeatedFields_ = [2], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.DistortionParameters.prototype.toObject = function(
|
|
41870
|
-
return proto.viam.component.camera.v1.DistortionParameters.toObject(
|
|
41871
|
-
}, proto.viam.component.camera.v1.DistortionParameters.toObject = function(
|
|
41872
|
-
var
|
|
41873
|
-
model: e.Message.getFieldWithDefault(
|
|
41874
|
-
parametersList: (
|
|
41908
|
+
}, proto.viam.component.camera.v1.IntrinsicParameters.prototype.setCenterYPx = function(r) {
|
|
41909
|
+
return e.Message.setProto3FloatField(this, 6, r);
|
|
41910
|
+
}, proto.viam.component.camera.v1.DistortionParameters.repeatedFields_ = [2], e.Message.GENERATE_TO_OBJECT && (proto.viam.component.camera.v1.DistortionParameters.prototype.toObject = function(r) {
|
|
41911
|
+
return proto.viam.component.camera.v1.DistortionParameters.toObject(r, this);
|
|
41912
|
+
}, proto.viam.component.camera.v1.DistortionParameters.toObject = function(r, n) {
|
|
41913
|
+
var l, c = {
|
|
41914
|
+
model: e.Message.getFieldWithDefault(n, 1, ""),
|
|
41915
|
+
parametersList: (l = e.Message.getRepeatedFloatingPointField(n, 2)) == null ? void 0 : l
|
|
41875
41916
|
};
|
|
41876
|
-
return
|
|
41877
|
-
}), proto.viam.component.camera.v1.DistortionParameters.deserializeBinary = function(
|
|
41878
|
-
var
|
|
41879
|
-
return proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader(
|
|
41880
|
-
}, proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader = function(
|
|
41881
|
-
for (;
|
|
41882
|
-
var
|
|
41883
|
-
switch (
|
|
41917
|
+
return r && (c.$jspbMessageInstance = n), c;
|
|
41918
|
+
}), proto.viam.component.camera.v1.DistortionParameters.deserializeBinary = function(r) {
|
|
41919
|
+
var n = new e.BinaryReader(r), l = new proto.viam.component.camera.v1.DistortionParameters();
|
|
41920
|
+
return proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader(l, n);
|
|
41921
|
+
}, proto.viam.component.camera.v1.DistortionParameters.deserializeBinaryFromReader = function(r, n) {
|
|
41922
|
+
for (; n.nextField() && !n.isEndGroup(); ) {
|
|
41923
|
+
var l = n.getFieldNumber();
|
|
41924
|
+
switch (l) {
|
|
41884
41925
|
case 1:
|
|
41885
|
-
var
|
|
41926
|
+
var c = (
|
|
41886
41927
|
/** @type {string} */
|
|
41887
|
-
|
|
41928
|
+
n.readString()
|
|
41888
41929
|
);
|
|
41889
|
-
|
|
41930
|
+
r.setModel(c);
|
|
41890
41931
|
break;
|
|
41891
41932
|
case 2:
|
|
41892
|
-
for (var
|
|
41933
|
+
for (var m = (
|
|
41893
41934
|
/** @type {!Array<number>} */
|
|
41894
|
-
|
|
41895
|
-
),
|
|
41896
|
-
|
|
41935
|
+
n.isDelimited() ? n.readPackedDouble() : [n.readDouble()]
|
|
41936
|
+
), d = 0; d < m.length; d++)
|
|
41937
|
+
r.addParameters(m[d]);
|
|
41897
41938
|
break;
|
|
41898
41939
|
default:
|
|
41899
|
-
|
|
41940
|
+
n.skipField();
|
|
41900
41941
|
break;
|
|
41901
41942
|
}
|
|
41902
41943
|
}
|
|
41903
|
-
return
|
|
41944
|
+
return r;
|
|
41904
41945
|
}, proto.viam.component.camera.v1.DistortionParameters.prototype.serializeBinary = function() {
|
|
41905
|
-
var
|
|
41906
|
-
return proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter(this,
|
|
41907
|
-
}, proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter = function(
|
|
41908
|
-
var
|
|
41909
|
-
|
|
41946
|
+
var r = new e.BinaryWriter();
|
|
41947
|
+
return proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter(this, r), r.getResultBuffer();
|
|
41948
|
+
}, proto.viam.component.camera.v1.DistortionParameters.serializeBinaryToWriter = function(r, n) {
|
|
41949
|
+
var l = void 0;
|
|
41950
|
+
l = r.getModel(), l.length > 0 && n.writeString(
|
|
41910
41951
|
1,
|
|
41911
|
-
|
|
41912
|
-
),
|
|
41952
|
+
l
|
|
41953
|
+
), l = r.getParametersList(), l.length > 0 && n.writePackedDouble(
|
|
41913
41954
|
2,
|
|
41914
|
-
|
|
41955
|
+
l
|
|
41915
41956
|
);
|
|
41916
41957
|
}, proto.viam.component.camera.v1.DistortionParameters.prototype.getModel = function() {
|
|
41917
41958
|
return (
|
|
41918
41959
|
/** @type {string} */
|
|
41919
41960
|
e.Message.getFieldWithDefault(this, 1, "")
|
|
41920
41961
|
);
|
|
41921
|
-
}, proto.viam.component.camera.v1.DistortionParameters.prototype.setModel = function(
|
|
41922
|
-
return e.Message.setProto3StringField(this, 1,
|
|
41962
|
+
}, proto.viam.component.camera.v1.DistortionParameters.prototype.setModel = function(r) {
|
|
41963
|
+
return e.Message.setProto3StringField(this, 1, r);
|
|
41923
41964
|
}, proto.viam.component.camera.v1.DistortionParameters.prototype.getParametersList = function() {
|
|
41924
41965
|
return (
|
|
41925
41966
|
/** @type {!Array<number>} */
|
|
41926
41967
|
e.Message.getRepeatedFloatingPointField(this, 2)
|
|
41927
41968
|
);
|
|
41928
|
-
}, proto.viam.component.camera.v1.DistortionParameters.prototype.setParametersList = function(
|
|
41929
|
-
return e.Message.setField(this, 2,
|
|
41930
|
-
}, proto.viam.component.camera.v1.DistortionParameters.prototype.addParameters = function(
|
|
41931
|
-
return e.Message.addToRepeatedField(this, 2,
|
|
41969
|
+
}, proto.viam.component.camera.v1.DistortionParameters.prototype.setParametersList = function(r) {
|
|
41970
|
+
return e.Message.setField(this, 2, r || []);
|
|
41971
|
+
}, proto.viam.component.camera.v1.DistortionParameters.prototype.addParameters = function(r, n) {
|
|
41972
|
+
return e.Message.addToRepeatedField(this, 2, r, n);
|
|
41932
41973
|
}, proto.viam.component.camera.v1.DistortionParameters.prototype.clearParametersList = function() {
|
|
41933
41974
|
return this.setParametersList([]);
|
|
41934
41975
|
}, proto.viam.component.camera.v1.Format = {
|
|
@@ -43736,6 +43777,11 @@ const encodeLinearConstraint = (t) => {
|
|
|
43736
43777
|
), e.setCollisionSpecificationList(
|
|
43737
43778
|
t.collisionSpecificationList.map((s) => encodeCollisionSpecification(s))
|
|
43738
43779
|
), e;
|
|
43780
|
+
}, encodeMotionConfiguration = (t) => {
|
|
43781
|
+
const e = new motion_pb.MotionConfiguration();
|
|
43782
|
+
return e.setVisionServicesList(
|
|
43783
|
+
t.visionServicesList.map((s) => encodeResourceName(s))
|
|
43784
|
+
), e.setPositionPollingFrequencyHz(t.positionPollingFrequencyHz), e.setObstaclePollingFrequencyHz(t.obstaclePollingFrequencyHz), e.setPlanDeviationM(t.planDeviationM), e.setLinearMPerSec(t.linearMPerSec), e.setAngularDegsPerSec(t.angularDegsPerSec), e;
|
|
43739
43785
|
};
|
|
43740
43786
|
class MotionClient {
|
|
43741
43787
|
client;
|
|
@@ -43761,13 +43807,9 @@ class MotionClient {
|
|
|
43761
43807
|
p
|
|
43762
43808
|
)).getSuccess();
|
|
43763
43809
|
}
|
|
43764
|
-
async moveOnGlobe(e, s, i, u, g, p, o
|
|
43765
|
-
const { service:
|
|
43766
|
-
return
|
|
43767
|
-
}
|
|
43768
|
-
async moveSingleComponent(e, s, i, u = {}) {
|
|
43769
|
-
const { service: g } = this, p = new motion_pb.MoveSingleComponentRequest();
|
|
43770
|
-
return p.setName(this.name), p.setDestination(encodePoseInFrame(e)), p.setComponentName(encodeResourceName(s)), i !== void 0 && p.setWorldState(encodeWorldState(i)), p.setExtra(struct_pb.Struct.fromJavaScript(u)), this.options.requestLogger?.(p), (await promisify(g.moveSingleComponent.bind(g), p)).getSuccess();
|
|
43810
|
+
async moveOnGlobe(e, s, i, u, g, p, o = {}) {
|
|
43811
|
+
const { service: r } = this, n = new motion_pb.MoveOnGlobeRequest();
|
|
43812
|
+
return n.setName(this.name), n.setDestination(encodeGeoPoint(e)), n.setComponentName(encodeResourceName(s)), n.setMovementSensorName(encodeResourceName(i)), u && n.setHeading(u), g && n.setObstaclesList(g.map((c) => encodeGeoObstacle(c))), p && n.setMotionConfiguration(encodeMotionConfiguration(p)), n.setExtra(struct_pb.Struct.fromJavaScript(o)), this.options.requestLogger?.(n), (await promisify(r.moveOnGlobe.bind(r), n)).getSuccess();
|
|
43771
43813
|
}
|
|
43772
43814
|
async getPose(e, s, i, u = {}) {
|
|
43773
43815
|
const { service: g } = this, p = new motion_pb.GetPoseRequest();
|
|
@@ -44183,7 +44225,7 @@ const concatArrayU8 = (t) => {
|
|
|
44183
44225
|
for (const u of t)
|
|
44184
44226
|
s.set(u, i), i += u.length;
|
|
44185
44227
|
return s;
|
|
44186
|
-
}, version = "0.3.1
|
|
44228
|
+
}, version = "0.3.1";
|
|
44187
44229
|
export {
|
|
44188
44230
|
ArmClient,
|
|
44189
44231
|
BaseClient,
|