diff --git a/lib/src/gen/service/vision/v1/vision.pb.dart b/lib/src/gen/service/vision/v1/vision.pb.dart index a9d2a6a15b4..76f66fb5114 100644 --- a/lib/src/gen/service/vision/v1/vision.pb.dart +++ b/lib/src/gen/service/vision/v1/vision.pb.dart @@ -14,8 +14,9 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $1; -import '../../../google/protobuf/struct.pb.dart' as $2; +import '../../../common/v1/common.pb.dart' as $2; +import '../../../component/camera/v1/camera.pb.dart' as $0; +import '../../../google/protobuf/struct.pb.dart' as $4; class GetDetectionsRequest extends $pb.GeneratedMessage { factory GetDetectionsRequest({ @@ -24,7 +25,7 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { $fixnum.Int64? width, $fixnum.Int64? height, $core.String? mimeType, - $2.Struct? extra, + $4.Struct? extra, }) { final $result = create(); if (name != null) { @@ -57,7 +58,7 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { ..aInt64(3, _omitFieldNames ? '' : 'width') ..aInt64(4, _omitFieldNames ? '' : 'height') ..aOS(5, _omitFieldNames ? '' : 'mimeType') - ..aOM<$2.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $2.Struct.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) ..hasRequiredFields = false ; @@ -134,15 +135,15 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $2.Struct get extra => $_getN(5); + $4.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($2.Struct v) { setField(99, v); } + set extra($4.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $2.Struct ensureExtra() => $_ensure(5); + $4.Struct ensureExtra() => $_ensure(5); } class GetDetectionsResponse extends $pb.GeneratedMessage { @@ -194,7 +195,7 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { factory GetDetectionsFromCameraRequest({ $core.String? name, $core.String? cameraName, - $2.Struct? extra, + $4.Struct? extra, }) { final $result = create(); if (name != null) { @@ -215,7 +216,7 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..aOM<$2.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $2.Struct.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) ..hasRequiredFields = false ; @@ -261,15 +262,15 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { void clearCameraName() => clearField(2); @$pb.TagNumber(99) - $2.Struct get extra => $_getN(2); + $4.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($2.Struct v) { setField(99, v); } + set extra($4.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $2.Struct ensureExtra() => $_ensure(2); + $4.Struct ensureExtra() => $_ensure(2); } class GetDetectionsFromCameraResponse extends $pb.GeneratedMessage { @@ -448,7 +449,7 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { $core.int? height, $core.String? mimeType, $core.int? n, - $2.Struct? extra, + $4.Struct? extra, }) { final $result = create(); if (name != null) { @@ -485,7 +486,7 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { ..a<$core.int>(4, _omitFieldNames ? '' : 'height', $pb.PbFieldType.O3) ..aOS(5, _omitFieldNames ? '' : 'mimeType') ..a<$core.int>(6, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$2.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $2.Struct.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) ..hasRequiredFields = false ; @@ -572,15 +573,15 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $2.Struct get extra => $_getN(6); + $4.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($2.Struct v) { setField(99, v); } + set extra($4.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $2.Struct ensureExtra() => $_ensure(6); + $4.Struct ensureExtra() => $_ensure(6); } class GetClassificationsResponse extends $pb.GeneratedMessage { @@ -632,7 +633,7 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? cameraName, $core.int? n, - $2.Struct? extra, + $4.Struct? extra, }) { final $result = create(); if (name != null) { @@ -657,7 +658,7 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') ..a<$core.int>(3, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$2.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $2.Struct.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) ..hasRequiredFields = false ; @@ -714,15 +715,15 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $2.Struct get extra => $_getN(3); + $4.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($2.Struct v) { setField(99, v); } + set extra($4.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $2.Struct ensureExtra() => $_ensure(3); + $4.Struct ensureExtra() => $_ensure(3); } class GetClassificationsFromCameraResponse extends $pb.GeneratedMessage { @@ -841,7 +842,7 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? cameraName, $core.String? mimeType, - $2.Struct? extra, + $4.Struct? extra, }) { final $result = create(); if (name != null) { @@ -866,7 +867,7 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') ..aOS(3, _omitFieldNames ? '' : 'mimeType') - ..aOM<$2.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $2.Struct.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) ..hasRequiredFields = false ; @@ -922,21 +923,21 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $2.Struct get extra => $_getN(3); + $4.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($2.Struct v) { setField(99, v); } + set extra($4.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $2.Struct ensureExtra() => $_ensure(3); + $4.Struct ensureExtra() => $_ensure(3); } class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { factory GetObjectPointCloudsResponse({ $core.String? mimeType, - $core.Iterable<$1.PointCloudObject>? objects, + $core.Iterable<$2.PointCloudObject>? objects, }) { final $result = create(); if (mimeType != null) { @@ -953,7 +954,7 @@ class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObjectPointCloudsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mimeType') - ..pc<$1.PointCloudObject>(2, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $1.PointCloudObject.create) + ..pc<$2.PointCloudObject>(2, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $2.PointCloudObject.create) ..hasRequiredFields = false ; @@ -990,7 +991,390 @@ class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { /// List of objects in the scene @$pb.TagNumber(2) - $core.List<$1.PointCloudObject> get objects => $_getList(1); + $core.List<$2.PointCloudObject> get objects => $_getList(1); +} + +class GetPropertiesRequest extends $pb.GeneratedMessage { + factory GetPropertiesRequest({ + $core.String? name, + $4.Struct? extra, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (extra != null) { + $result.extra = extra; + } + return $result; + } + GetPropertiesRequest._() : super(); + factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetPropertiesRequest create() => GetPropertiesRequest._(); + GetPropertiesRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetPropertiesRequest? _defaultInstance; + + /// name of the vision service + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// Additional arguments to the method + @$pb.TagNumber(99) + $4.Struct get extra => $_getN(1); + @$pb.TagNumber(99) + set extra($4.Struct v) { setField(99, v); } + @$pb.TagNumber(99) + $core.bool hasExtra() => $_has(1); + @$pb.TagNumber(99) + void clearExtra() => clearField(99); + @$pb.TagNumber(99) + $4.Struct ensureExtra() => $_ensure(1); +} + +class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { + factory CaptureAllFromCameraRequest({ + $core.String? name, + $core.String? cameraName, + $core.bool? returnImage, + $core.bool? returnClassifications, + $core.bool? returnDetections, + $core.bool? returnObjectPointClouds, + $4.Struct? extra, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (cameraName != null) { + $result.cameraName = cameraName; + } + if (returnImage != null) { + $result.returnImage = returnImage; + } + if (returnClassifications != null) { + $result.returnClassifications = returnClassifications; + } + if (returnDetections != null) { + $result.returnDetections = returnDetections; + } + if (returnObjectPointClouds != null) { + $result.returnObjectPointClouds = returnObjectPointClouds; + } + if (extra != null) { + $result.extra = extra; + } + return $result; + } + CaptureAllFromCameraRequest._() : super(); + factory CaptureAllFromCameraRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CaptureAllFromCameraRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureAllFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'cameraName') + ..aOB(3, _omitFieldNames ? '' : 'returnImage') + ..aOB(4, _omitFieldNames ? '' : 'returnClassifications') + ..aOB(5, _omitFieldNames ? '' : 'returnDetections') + ..aOB(6, _omitFieldNames ? '' : 'returnObjectPointClouds') + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CaptureAllFromCameraRequest clone() => CaptureAllFromCameraRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CaptureAllFromCameraRequest copyWith(void Function(CaptureAllFromCameraRequest) updates) => super.copyWith((message) => updates(message as CaptureAllFromCameraRequest)) as CaptureAllFromCameraRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CaptureAllFromCameraRequest create() => CaptureAllFromCameraRequest._(); + CaptureAllFromCameraRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CaptureAllFromCameraRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CaptureAllFromCameraRequest? _defaultInstance; + + /// name of the vision service + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// name of camera source to use as input + @$pb.TagNumber(2) + $core.String get cameraName => $_getSZ(1); + @$pb.TagNumber(2) + set cameraName($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasCameraName() => $_has(1); + @$pb.TagNumber(2) + void clearCameraName() => clearField(2); + + /// whether or not including the image in the response + @$pb.TagNumber(3) + $core.bool get returnImage => $_getBF(2); + @$pb.TagNumber(3) + set returnImage($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasReturnImage() => $_has(2); + @$pb.TagNumber(3) + void clearReturnImage() => clearField(3); + + /// whether or not including classifications in the response + @$pb.TagNumber(4) + $core.bool get returnClassifications => $_getBF(3); + @$pb.TagNumber(4) + set returnClassifications($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasReturnClassifications() => $_has(3); + @$pb.TagNumber(4) + void clearReturnClassifications() => clearField(4); + + /// whether or not including detections in the response + @$pb.TagNumber(5) + $core.bool get returnDetections => $_getBF(4); + @$pb.TagNumber(5) + set returnDetections($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasReturnDetections() => $_has(4); + @$pb.TagNumber(5) + void clearReturnDetections() => clearField(5); + + /// whether or not including pcd in the response + @$pb.TagNumber(6) + $core.bool get returnObjectPointClouds => $_getBF(5); + @$pb.TagNumber(6) + set returnObjectPointClouds($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasReturnObjectPointClouds() => $_has(5); + @$pb.TagNumber(6) + void clearReturnObjectPointClouds() => clearField(6); + + @$pb.TagNumber(99) + $4.Struct get extra => $_getN(6); + @$pb.TagNumber(99) + set extra($4.Struct v) { setField(99, v); } + @$pb.TagNumber(99) + $core.bool hasExtra() => $_has(6); + @$pb.TagNumber(99) + void clearExtra() => clearField(99); + @$pb.TagNumber(99) + $4.Struct ensureExtra() => $_ensure(6); +} + +class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { + factory CaptureAllFromCameraResponse({ + $0.Image? image, + $core.Iterable? detections, + $core.Iterable? classifications, + $core.Iterable<$2.PointCloudObject>? objects, + $4.Struct? extra, + }) { + final $result = create(); + if (image != null) { + $result.image = image; + } + if (detections != null) { + $result.detections.addAll(detections); + } + if (classifications != null) { + $result.classifications.addAll(classifications); + } + if (objects != null) { + $result.objects.addAll(objects); + } + if (extra != null) { + $result.extra = extra; + } + return $result; + } + CaptureAllFromCameraResponse._() : super(); + factory CaptureAllFromCameraResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CaptureAllFromCameraResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureAllFromCameraResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) + ..aOM<$0.Image>(1, _omitFieldNames ? '' : 'image', subBuilder: $0.Image.create) + ..pc(2, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) + ..pc(3, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) + ..pc<$2.PointCloudObject>(4, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $2.PointCloudObject.create) + ..aOM<$4.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $4.Struct.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CaptureAllFromCameraResponse clone() => CaptureAllFromCameraResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CaptureAllFromCameraResponse copyWith(void Function(CaptureAllFromCameraResponse) updates) => super.copyWith((message) => updates(message as CaptureAllFromCameraResponse)) as CaptureAllFromCameraResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CaptureAllFromCameraResponse create() => CaptureAllFromCameraResponse._(); + CaptureAllFromCameraResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CaptureAllFromCameraResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CaptureAllFromCameraResponse? _defaultInstance; + + @$pb.TagNumber(1) + $0.Image get image => $_getN(0); + @$pb.TagNumber(1) + set image($0.Image v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasImage() => $_has(0); + @$pb.TagNumber(1) + void clearImage() => clearField(1); + @$pb.TagNumber(1) + $0.Image ensureImage() => $_ensure(0); + + @$pb.TagNumber(2) + $core.List get detections => $_getList(1); + + @$pb.TagNumber(3) + $core.List get classifications => $_getList(2); + + @$pb.TagNumber(4) + $core.List<$2.PointCloudObject> get objects => $_getList(3); + + @$pb.TagNumber(99) + $4.Struct get extra => $_getN(4); + @$pb.TagNumber(99) + set extra($4.Struct v) { setField(99, v); } + @$pb.TagNumber(99) + $core.bool hasExtra() => $_has(4); + @$pb.TagNumber(99) + void clearExtra() => clearField(99); + @$pb.TagNumber(99) + $4.Struct ensureExtra() => $_ensure(4); +} + +class GetPropertiesResponse extends $pb.GeneratedMessage { + factory GetPropertiesResponse({ + $core.bool? classificationsSupported, + $core.bool? detectionsSupported, + $core.bool? objectPointCloudsSupported, + }) { + final $result = create(); + if (classificationsSupported != null) { + $result.classificationsSupported = classificationsSupported; + } + if (detectionsSupported != null) { + $result.detectionsSupported = detectionsSupported; + } + if (objectPointCloudsSupported != null) { + $result.objectPointCloudsSupported = objectPointCloudsSupported; + } + return $result; + } + GetPropertiesResponse._() : super(); + factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'classificationsSupported') + ..aOB(2, _omitFieldNames ? '' : 'detectionsSupported') + ..aOB(3, _omitFieldNames ? '' : 'objectPointCloudsSupported') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetPropertiesResponse create() => GetPropertiesResponse._(); + GetPropertiesResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetPropertiesResponse? _defaultInstance; + + /// whether or not classifactions are supported by the vision service + @$pb.TagNumber(1) + $core.bool get classificationsSupported => $_getBF(0); + @$pb.TagNumber(1) + set classificationsSupported($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasClassificationsSupported() => $_has(0); + @$pb.TagNumber(1) + void clearClassificationsSupported() => clearField(1); + + /// whether or not detections are supported by the vision service + @$pb.TagNumber(2) + $core.bool get detectionsSupported => $_getBF(1); + @$pb.TagNumber(2) + set detectionsSupported($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasDetectionsSupported() => $_has(1); + @$pb.TagNumber(2) + void clearDetectionsSupported() => clearField(2); + + /// whether or not 3d segmentation is supported by the vision service + @$pb.TagNumber(3) + $core.bool get objectPointCloudsSupported => $_getBF(2); + @$pb.TagNumber(3) + set objectPointCloudsSupported($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasObjectPointCloudsSupported() => $_has(2); + @$pb.TagNumber(3) + void clearObjectPointCloudsSupported() => clearField(3); } diff --git a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart index 03220aeae82..3d679348461 100644 --- a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart +++ b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart @@ -15,37 +15,45 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $1; -import 'vision.pb.dart' as $0; +import '../../../common/v1/common.pb.dart' as $2; +import 'vision.pb.dart' as $3; export 'vision.pb.dart'; @$pb.GrpcServiceName('viam.service.vision.v1.VisionService') class VisionServiceClient extends $grpc.Client { - static final _$getDetectionsFromCamera = $grpc.ClientMethod<$0.GetDetectionsFromCameraRequest, $0.GetDetectionsFromCameraResponse>( + static final _$getDetectionsFromCamera = $grpc.ClientMethod<$3.GetDetectionsFromCameraRequest, $3.GetDetectionsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetDetectionsFromCamera', - ($0.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetDetectionsFromCameraResponse.fromBuffer(value)); - static final _$getDetections = $grpc.ClientMethod<$0.GetDetectionsRequest, $0.GetDetectionsResponse>( + ($3.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetDetectionsFromCameraResponse.fromBuffer(value)); + static final _$getDetections = $grpc.ClientMethod<$3.GetDetectionsRequest, $3.GetDetectionsResponse>( '/viam.service.vision.v1.VisionService/GetDetections', - ($0.GetDetectionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetDetectionsResponse.fromBuffer(value)); - static final _$getClassificationsFromCamera = $grpc.ClientMethod<$0.GetClassificationsFromCameraRequest, $0.GetClassificationsFromCameraResponse>( + ($3.GetDetectionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetDetectionsResponse.fromBuffer(value)); + static final _$getClassificationsFromCamera = $grpc.ClientMethod<$3.GetClassificationsFromCameraRequest, $3.GetClassificationsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetClassificationsFromCamera', - ($0.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetClassificationsFromCameraResponse.fromBuffer(value)); - static final _$getClassifications = $grpc.ClientMethod<$0.GetClassificationsRequest, $0.GetClassificationsResponse>( + ($3.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetClassificationsFromCameraResponse.fromBuffer(value)); + static final _$getClassifications = $grpc.ClientMethod<$3.GetClassificationsRequest, $3.GetClassificationsResponse>( '/viam.service.vision.v1.VisionService/GetClassifications', - ($0.GetClassificationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetClassificationsResponse.fromBuffer(value)); - static final _$getObjectPointClouds = $grpc.ClientMethod<$0.GetObjectPointCloudsRequest, $0.GetObjectPointCloudsResponse>( + ($3.GetClassificationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetClassificationsResponse.fromBuffer(value)); + static final _$getObjectPointClouds = $grpc.ClientMethod<$3.GetObjectPointCloudsRequest, $3.GetObjectPointCloudsResponse>( '/viam.service.vision.v1.VisionService/GetObjectPointClouds', - ($0.GetObjectPointCloudsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetObjectPointCloudsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$1.DoCommandRequest, $1.DoCommandResponse>( + ($3.GetObjectPointCloudsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetObjectPointCloudsResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$3.GetPropertiesRequest, $3.GetPropertiesResponse>( + '/viam.service.vision.v1.VisionService/GetProperties', + ($3.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetPropertiesResponse.fromBuffer(value)); + static final _$captureAllFromCamera = $grpc.ClientMethod<$3.CaptureAllFromCameraRequest, $3.CaptureAllFromCameraResponse>( + '/viam.service.vision.v1.VisionService/CaptureAllFromCamera', + ($3.CaptureAllFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.CaptureAllFromCameraResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$2.DoCommandRequest, $2.DoCommandResponse>( '/viam.service.vision.v1.VisionService/DoCommand', - ($1.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DoCommandResponse.fromBuffer(value)); + ($2.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DoCommandResponse.fromBuffer(value)); VisionServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -53,27 +61,35 @@ class VisionServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$0.GetDetectionsFromCameraResponse> getDetectionsFromCamera($0.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetDetectionsFromCameraResponse> getDetectionsFromCamera($3.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetectionsFromCamera, request, options: options); } - $grpc.ResponseFuture<$0.GetDetectionsResponse> getDetections($0.GetDetectionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetDetectionsResponse> getDetections($3.GetDetectionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetections, request, options: options); } - $grpc.ResponseFuture<$0.GetClassificationsFromCameraResponse> getClassificationsFromCamera($0.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetClassificationsFromCameraResponse> getClassificationsFromCamera($3.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassificationsFromCamera, request, options: options); } - $grpc.ResponseFuture<$0.GetClassificationsResponse> getClassifications($0.GetClassificationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetClassificationsResponse> getClassifications($3.GetClassificationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassifications, request, options: options); } - $grpc.ResponseFuture<$0.GetObjectPointCloudsResponse> getObjectPointClouds($0.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetObjectPointCloudsResponse> getObjectPointClouds($3.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getObjectPointClouds, request, options: options); } - $grpc.ResponseFuture<$1.DoCommandResponse> doCommand($1.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetPropertiesResponse> getProperties($3.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$getProperties, request, options: options); + } + + $grpc.ResponseFuture<$3.CaptureAllFromCameraResponse> captureAllFromCamera($3.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$captureAllFromCamera, request, options: options); + } + + $grpc.ResponseFuture<$2.DoCommandResponse> doCommand($2.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -83,78 +99,102 @@ abstract class VisionServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.vision.v1.VisionService'; VisionServiceBase() { - $addMethod($grpc.ServiceMethod<$0.GetDetectionsFromCameraRequest, $0.GetDetectionsFromCameraResponse>( + $addMethod($grpc.ServiceMethod<$3.GetDetectionsFromCameraRequest, $3.GetDetectionsFromCameraResponse>( 'GetDetectionsFromCamera', getDetectionsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $0.GetDetectionsFromCameraRequest.fromBuffer(value), - ($0.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetDetectionsRequest, $0.GetDetectionsResponse>( + ($core.List<$core.int> value) => $3.GetDetectionsFromCameraRequest.fromBuffer(value), + ($3.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetDetectionsRequest, $3.GetDetectionsResponse>( 'GetDetections', getDetections_Pre, false, false, - ($core.List<$core.int> value) => $0.GetDetectionsRequest.fromBuffer(value), - ($0.GetDetectionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetClassificationsFromCameraRequest, $0.GetClassificationsFromCameraResponse>( + ($core.List<$core.int> value) => $3.GetDetectionsRequest.fromBuffer(value), + ($3.GetDetectionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetClassificationsFromCameraRequest, $3.GetClassificationsFromCameraResponse>( 'GetClassificationsFromCamera', getClassificationsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $0.GetClassificationsFromCameraRequest.fromBuffer(value), - ($0.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetClassificationsRequest, $0.GetClassificationsResponse>( + ($core.List<$core.int> value) => $3.GetClassificationsFromCameraRequest.fromBuffer(value), + ($3.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetClassificationsRequest, $3.GetClassificationsResponse>( 'GetClassifications', getClassifications_Pre, false, false, - ($core.List<$core.int> value) => $0.GetClassificationsRequest.fromBuffer(value), - ($0.GetClassificationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetObjectPointCloudsRequest, $0.GetObjectPointCloudsResponse>( + ($core.List<$core.int> value) => $3.GetClassificationsRequest.fromBuffer(value), + ($3.GetClassificationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetObjectPointCloudsRequest, $3.GetObjectPointCloudsResponse>( 'GetObjectPointClouds', getObjectPointClouds_Pre, false, false, - ($core.List<$core.int> value) => $0.GetObjectPointCloudsRequest.fromBuffer(value), - ($0.GetObjectPointCloudsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DoCommandRequest, $1.DoCommandResponse>( + ($core.List<$core.int> value) => $3.GetObjectPointCloudsRequest.fromBuffer(value), + ($3.GetObjectPointCloudsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetPropertiesRequest, $3.GetPropertiesResponse>( + 'GetProperties', + getProperties_Pre, + false, + false, + ($core.List<$core.int> value) => $3.GetPropertiesRequest.fromBuffer(value), + ($3.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.CaptureAllFromCameraRequest, $3.CaptureAllFromCameraResponse>( + 'CaptureAllFromCamera', + captureAllFromCamera_Pre, + false, + false, + ($core.List<$core.int> value) => $3.CaptureAllFromCameraRequest.fromBuffer(value), + ($3.CaptureAllFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DoCommandRequest, $2.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $1.DoCommandRequest.fromBuffer(value), - ($1.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $2.DoCommandRequest.fromBuffer(value), + ($2.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$0.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$0.GetDetectionsFromCameraRequest> request) async { + $async.Future<$3.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$3.GetDetectionsFromCameraRequest> request) async { return getDetectionsFromCamera(call, await request); } - $async.Future<$0.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$0.GetDetectionsRequest> request) async { + $async.Future<$3.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$3.GetDetectionsRequest> request) async { return getDetections(call, await request); } - $async.Future<$0.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$0.GetClassificationsFromCameraRequest> request) async { + $async.Future<$3.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$3.GetClassificationsFromCameraRequest> request) async { return getClassificationsFromCamera(call, await request); } - $async.Future<$0.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$0.GetClassificationsRequest> request) async { + $async.Future<$3.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$3.GetClassificationsRequest> request) async { return getClassifications(call, await request); } - $async.Future<$0.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$0.GetObjectPointCloudsRequest> request) async { + $async.Future<$3.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$3.GetObjectPointCloudsRequest> request) async { return getObjectPointClouds(call, await request); } - $async.Future<$1.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$1.DoCommandRequest> request) async { + $async.Future<$3.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$3.GetPropertiesRequest> request) async { + return getProperties(call, await request); + } + + $async.Future<$3.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$3.CaptureAllFromCameraRequest> request) async { + return captureAllFromCamera(call, await request); + } + + $async.Future<$2.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$2.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$0.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $0.GetDetectionsFromCameraRequest request); - $async.Future<$0.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $0.GetDetectionsRequest request); - $async.Future<$0.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $0.GetClassificationsFromCameraRequest request); - $async.Future<$0.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $0.GetClassificationsRequest request); - $async.Future<$0.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $0.GetObjectPointCloudsRequest request); - $async.Future<$1.DoCommandResponse> doCommand($grpc.ServiceCall call, $1.DoCommandRequest request); + $async.Future<$3.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $3.GetDetectionsFromCameraRequest request); + $async.Future<$3.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $3.GetDetectionsRequest request); + $async.Future<$3.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $3.GetClassificationsFromCameraRequest request); + $async.Future<$3.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $3.GetClassificationsRequest request); + $async.Future<$3.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $3.GetObjectPointCloudsRequest request); + $async.Future<$3.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $3.GetPropertiesRequest request); + $async.Future<$3.CaptureAllFromCameraResponse> captureAllFromCamera($grpc.ServiceCall call, $3.CaptureAllFromCameraRequest request); + $async.Future<$2.DoCommandResponse> doCommand($grpc.ServiceCall call, $2.DoCommandRequest request); } diff --git a/lib/src/gen/service/vision/v1/vision.pbjson.dart b/lib/src/gen/service/vision/v1/vision.pbjson.dart index fb093a50c60..61b282cb354 100644 --- a/lib/src/gen/service/vision/v1/vision.pbjson.dart +++ b/lib/src/gen/service/vision/v1/vision.pbjson.dart @@ -212,3 +212,79 @@ final $typed_data.Uint8List getObjectPointCloudsResponseDescriptor = $convert.ba 'R5cGUSOgoHb2JqZWN0cxgCIAMoCzIgLnZpYW0uY29tbW9uLnYxLlBvaW50Q2xvdWRPYmplY3RS' 'B29iamVjdHM='); +@$core.Deprecated('Use getPropertiesRequestDescriptor instead') +const GetPropertiesRequest$json = { + '1': 'GetPropertiesRequest', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, + ], +}; + +/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( + 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' + 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); + +@$core.Deprecated('Use captureAllFromCameraRequestDescriptor instead') +const CaptureAllFromCameraRequest$json = { + '1': 'CaptureAllFromCameraRequest', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'camera_name', '3': 2, '4': 1, '5': 9, '10': 'cameraName'}, + {'1': 'return_image', '3': 3, '4': 1, '5': 8, '10': 'returnImage'}, + {'1': 'return_classifications', '3': 4, '4': 1, '5': 8, '10': 'returnClassifications'}, + {'1': 'return_detections', '3': 5, '4': 1, '5': 8, '10': 'returnDetections'}, + {'1': 'return_object_point_clouds', '3': 6, '4': 1, '5': 8, '10': 'returnObjectPointClouds'}, + {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, + ], +}; + +/// Descriptor for `CaptureAllFromCameraRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List captureAllFromCameraRequestDescriptor = $convert.base64Decode( + 'ChtDYXB0dXJlQWxsRnJvbUNhbWVyYVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIfCgtjYW' + '1lcmFfbmFtZRgCIAEoCVIKY2FtZXJhTmFtZRIhCgxyZXR1cm5faW1hZ2UYAyABKAhSC3JldHVy' + 'bkltYWdlEjUKFnJldHVybl9jbGFzc2lmaWNhdGlvbnMYBCABKAhSFXJldHVybkNsYXNzaWZpY2' + 'F0aW9ucxIrChFyZXR1cm5fZGV0ZWN0aW9ucxgFIAEoCFIQcmV0dXJuRGV0ZWN0aW9ucxI7Chpy' + 'ZXR1cm5fb2JqZWN0X3BvaW50X2Nsb3VkcxgGIAEoCFIXcmV0dXJuT2JqZWN0UG9pbnRDbG91ZH' + 'MSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); + +@$core.Deprecated('Use captureAllFromCameraResponseDescriptor instead') +const CaptureAllFromCameraResponse$json = { + '1': 'CaptureAllFromCameraResponse', + '2': [ + {'1': 'image', '3': 1, '4': 1, '5': 11, '6': '.viam.component.camera.v1.Image', '10': 'image'}, + {'1': 'detections', '3': 2, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Detection', '10': 'detections'}, + {'1': 'classifications', '3': 3, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Classification', '10': 'classifications'}, + {'1': 'objects', '3': 4, '4': 3, '5': 11, '6': '.viam.common.v1.PointCloudObject', '10': 'objects'}, + {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, + ], +}; + +/// Descriptor for `CaptureAllFromCameraResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List captureAllFromCameraResponseDescriptor = $convert.base64Decode( + 'ChxDYXB0dXJlQWxsRnJvbUNhbWVyYVJlc3BvbnNlEjUKBWltYWdlGAEgASgLMh8udmlhbS5jb2' + '1wb25lbnQuY2FtZXJhLnYxLkltYWdlUgVpbWFnZRJBCgpkZXRlY3Rpb25zGAIgAygLMiEudmlh' + 'bS5zZXJ2aWNlLnZpc2lvbi52MS5EZXRlY3Rpb25SCmRldGVjdGlvbnMSUAoPY2xhc3NpZmljYX' + 'Rpb25zGAMgAygLMiYudmlhbS5zZXJ2aWNlLnZpc2lvbi52MS5DbGFzc2lmaWNhdGlvblIPY2xh' + 'c3NpZmljYXRpb25zEjoKB29iamVjdHMYBCADKAsyIC52aWFtLmNvbW1vbi52MS5Qb2ludENsb3' + 'VkT2JqZWN0UgdvYmplY3RzEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVj' + 'dFIFZXh0cmE='); + +@$core.Deprecated('Use getPropertiesResponseDescriptor instead') +const GetPropertiesResponse$json = { + '1': 'GetPropertiesResponse', + '2': [ + {'1': 'classifications_supported', '3': 1, '4': 1, '5': 8, '10': 'classificationsSupported'}, + {'1': 'detections_supported', '3': 2, '4': 1, '5': 8, '10': 'detectionsSupported'}, + {'1': 'object_point_clouds_supported', '3': 3, '4': 1, '5': 8, '10': 'objectPointCloudsSupported'}, + ], +}; + +/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( + 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USOwoZY2xhc3NpZmljYXRpb25zX3N1cHBvcnRlZBgBIA' + 'EoCFIYY2xhc3NpZmljYXRpb25zU3VwcG9ydGVkEjEKFGRldGVjdGlvbnNfc3VwcG9ydGVkGAIg' + 'ASgIUhNkZXRlY3Rpb25zU3VwcG9ydGVkEkEKHW9iamVjdF9wb2ludF9jbG91ZHNfc3VwcG9ydG' + 'VkGAMgASgIUhpvYmplY3RQb2ludENsb3Vkc1N1cHBvcnRlZA=='); +