Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: f836d9d1783…
Browse files Browse the repository at this point in the history
…d88c60df844164781f8a2a10522cc (#319)

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Dec 23, 2024
1 parent 3749a17 commit 5eda81a
Show file tree
Hide file tree
Showing 57 changed files with 2,966 additions and 2,880 deletions.
12 changes: 6 additions & 6 deletions lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import '../../../common/v1/common.pb.dart' as $14;
import '../../../common/v1/common.pb.dart' as $15;
import '../../../google/protobuf/struct.pb.dart' as $43;
import '../../../google/protobuf/timestamp.pb.dart' as $44;
import 'cloud_slam.pbenum.dart';
Expand Down Expand Up @@ -642,7 +642,7 @@ class GetMappingSessionPointCloudRequest extends $pb.GeneratedMessage {
class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage {
factory GetMappingSessionPointCloudResponse({
$core.String? mapUrl,
$14.Pose? pose,
$15.Pose? pose,
}) {
final $result = create();
if (mapUrl != null) {
Expand All @@ -659,7 +659,7 @@ class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage {

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionPointCloudResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'mapUrl')
..aOM<$14.Pose>(2, _omitFieldNames ? '' : 'pose', subBuilder: $14.Pose.create)
..aOM<$15.Pose>(2, _omitFieldNames ? '' : 'pose', subBuilder: $15.Pose.create)
..hasRequiredFields = false
;

Expand Down Expand Up @@ -696,15 +696,15 @@ class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage {

/// Current position within the SLAM Map
@$pb.TagNumber(2)
$14.Pose get pose => $_getN(1);
$15.Pose get pose => $_getN(1);
@$pb.TagNumber(2)
set pose($14.Pose v) { setField(2, v); }
set pose($15.Pose v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasPose() => $_has(1);
@$pb.TagNumber(2)
void clearPose() => clearField(2);
@$pb.TagNumber(2)
$14.Pose ensurePose() => $_ensure(1);
$15.Pose ensurePose() => $_ensure(1);
}

class ListMappingSessionsRequest extends $pb.GeneratedMessage {
Expand Down
39 changes: 38 additions & 1 deletion lib/src/gen/app/mlinference/v1/ml_inference.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import '../../../service/mlmodel/v1/mlmodel.pb.dart' as $6;
import '../../data/v1/data.pb.dart' as $3;

class GetInferenceRequest extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -113,12 +114,26 @@ class GetInferenceRequest extends $pb.GeneratedMessage {
}

class GetInferenceResponse extends $pb.GeneratedMessage {
factory GetInferenceResponse() => create();
factory GetInferenceResponse({
$6.FlatTensors? outputTensors,
$3.Annotations? annotations,
}) {
final $result = create();
if (outputTensors != null) {
$result.outputTensors = outputTensors;
}
if (annotations != null) {
$result.annotations = annotations;
}
return $result;
}
GetInferenceResponse._() : super();
factory GetInferenceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetInferenceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInferenceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mlinference.v1'), createEmptyInstance: create)
..aOM<$6.FlatTensors>(1, _omitFieldNames ? '' : 'outputTensors', subBuilder: $6.FlatTensors.create)
..aOM<$3.Annotations>(2, _omitFieldNames ? '' : 'annotations', subBuilder: $3.Annotations.create)
..hasRequiredFields = false
;

Expand All @@ -142,6 +157,28 @@ class GetInferenceResponse extends $pb.GeneratedMessage {
@$core.pragma('dart2js:noInline')
static GetInferenceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetInferenceResponse>(create);
static GetInferenceResponse? _defaultInstance;

@$pb.TagNumber(1)
$6.FlatTensors get outputTensors => $_getN(0);
@$pb.TagNumber(1)
set outputTensors($6.FlatTensors v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasOutputTensors() => $_has(0);
@$pb.TagNumber(1)
void clearOutputTensors() => clearField(1);
@$pb.TagNumber(1)
$6.FlatTensors ensureOutputTensors() => $_ensure(0);

@$pb.TagNumber(2)
$3.Annotations get annotations => $_getN(1);
@$pb.TagNumber(2)
set annotations($3.Annotations v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasAnnotations() => $_has(1);
@$pb.TagNumber(2)
void clearAnnotations() => clearField(2);
@$pb.TagNumber(2)
$3.Annotations ensureAnnotations() => $_ensure(1);
}


Expand Down
20 changes: 10 additions & 10 deletions lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;

import 'ml_inference.pb.dart' as $6;
import 'ml_inference.pb.dart' as $7;

export 'ml_inference.pb.dart';

@$pb.GrpcServiceName('viam.app.mlinference.v1.MLInferenceService')
class MLInferenceServiceClient extends $grpc.Client {
static final _$getInference = $grpc.ClientMethod<$6.GetInferenceRequest, $6.GetInferenceResponse>(
static final _$getInference = $grpc.ClientMethod<$7.GetInferenceRequest, $7.GetInferenceResponse>(
'/viam.app.mlinference.v1.MLInferenceService/GetInference',
($6.GetInferenceRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.GetInferenceResponse.fromBuffer(value));
($7.GetInferenceRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.GetInferenceResponse.fromBuffer(value));

MLInferenceServiceClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);

$grpc.ResponseFuture<$6.GetInferenceResponse> getInference($6.GetInferenceRequest request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$7.GetInferenceResponse> getInference($7.GetInferenceRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getInference, request, options: options);
}
}
Expand All @@ -42,18 +42,18 @@ abstract class MLInferenceServiceBase extends $grpc.Service {
$core.String get $name => 'viam.app.mlinference.v1.MLInferenceService';

MLInferenceServiceBase() {
$addMethod($grpc.ServiceMethod<$6.GetInferenceRequest, $6.GetInferenceResponse>(
$addMethod($grpc.ServiceMethod<$7.GetInferenceRequest, $7.GetInferenceResponse>(
'GetInference',
getInference_Pre,
false,
false,
($core.List<$core.int> value) => $6.GetInferenceRequest.fromBuffer(value),
($6.GetInferenceResponse value) => value.writeToBuffer()));
($core.List<$core.int> value) => $7.GetInferenceRequest.fromBuffer(value),
($7.GetInferenceResponse value) => value.writeToBuffer()));
}

$async.Future<$6.GetInferenceResponse> getInference_Pre($grpc.ServiceCall call, $async.Future<$6.GetInferenceRequest> request) async {
$async.Future<$7.GetInferenceResponse> getInference_Pre($grpc.ServiceCall call, $async.Future<$7.GetInferenceRequest> request) async {
return getInference(call, await request);
}

$async.Future<$6.GetInferenceResponse> getInference($grpc.ServiceCall call, $6.GetInferenceRequest request);
$async.Future<$7.GetInferenceResponse> getInference($grpc.ServiceCall call, $7.GetInferenceRequest request);
}
8 changes: 7 additions & 1 deletion lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ final $typed_data.Uint8List getInferenceRequestDescriptor = $convert.base64Decod
@$core.Deprecated('Use getInferenceResponseDescriptor instead')
const GetInferenceResponse$json = {
'1': 'GetInferenceResponse',
'2': [
{'1': 'output_tensors', '3': 1, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensors', '10': 'outputTensors'},
{'1': 'annotations', '3': 2, '4': 1, '5': 11, '6': '.viam.app.data.v1.Annotations', '10': 'annotations'},
],
};

/// Descriptor for `GetInferenceResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getInferenceResponseDescriptor = $convert.base64Decode(
'ChRHZXRJbmZlcmVuY2VSZXNwb25zZQ==');
'ChRHZXRJbmZlcmVuY2VSZXNwb25zZRJLCg5vdXRwdXRfdGVuc29ycxgBIAEoCzIkLnZpYW0uc2'
'VydmljZS5tbG1vZGVsLnYxLkZsYXRUZW5zb3JzUg1vdXRwdXRUZW5zb3JzEj8KC2Fubm90YXRp'
'b25zGAIgASgLMh0udmlhbS5hcHAuZGF0YS52MS5Bbm5vdGF0aW9uc1ILYW5ub3RhdGlvbnM=');

Loading

0 comments on commit 5eda81a

Please sign in to comment.