Skip to content

Commit

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

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Nov 8, 2024
1 parent df5a429 commit c290cb1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
18 changes: 18 additions & 0 deletions lib/src/gen/google/api/client.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -737,11 +737,15 @@ class PhpSettings extends $pb.GeneratedMessage {
class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage {
factory PythonSettings_ExperimentalFeatures({
$core.bool? restAsyncIoEnabled,
$core.bool? protobufPythonicTypesEnabled,
}) {
final $result = create();
if (restAsyncIoEnabled != null) {
$result.restAsyncIoEnabled = restAsyncIoEnabled;
}
if (protobufPythonicTypesEnabled != null) {
$result.protobufPythonicTypesEnabled = protobufPythonicTypesEnabled;
}
return $result;
}
PythonSettings_ExperimentalFeatures._() : super();
Expand All @@ -750,6 +754,7 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage {

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PythonSettings.ExperimentalFeatures', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..aOB(1, _omitFieldNames ? '' : 'restAsyncIoEnabled')
..aOB(2, _omitFieldNames ? '' : 'protobufPythonicTypesEnabled')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -786,6 +791,19 @@ class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage {
$core.bool hasRestAsyncIoEnabled() => $_has(0);
@$pb.TagNumber(1)
void clearRestAsyncIoEnabled() => clearField(1);

/// Enables generation of protobuf code using new types that are more
/// Pythonic which are included in `protobuf>=5.29.x`. This feature will be
/// enabled by default 1 month after launching the feature in preview
/// packages.
@$pb.TagNumber(2)
$core.bool get protobufPythonicTypesEnabled => $_getBF(1);
@$pb.TagNumber(2)
set protobufPythonicTypesEnabled($core.bool v) { $_setBool(1, v); }
@$pb.TagNumber(2)
$core.bool hasProtobufPythonicTypesEnabled() => $_has(1);
@$pb.TagNumber(2)
void clearProtobufPythonicTypesEnabled() => clearField(2);
}

/// Settings for Python client libraries.
Expand Down
6 changes: 4 additions & 2 deletions lib/src/gen/google/api/client.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ const PythonSettings_ExperimentalFeatures$json = {
'1': 'ExperimentalFeatures',
'2': [
{'1': 'rest_async_io_enabled', '3': 1, '4': 1, '5': 8, '10': 'restAsyncIoEnabled'},
{'1': 'protobuf_pythonic_types_enabled', '3': 2, '4': 1, '5': 8, '10': 'protobufPythonicTypesEnabled'},
],
};

Expand All @@ -219,8 +220,9 @@ final $typed_data.Uint8List pythonSettingsDescriptor = $convert.base64Decode(
'Cg5QeXRob25TZXR0aW5ncxI6CgZjb21tb24YASABKAsyIi5nb29nbGUuYXBpLkNvbW1vbkxhbm'
'd1YWdlU2V0dGluZ3NSBmNvbW1vbhJkChVleHBlcmltZW50YWxfZmVhdHVyZXMYAiABKAsyLy5n'
'b29nbGUuYXBpLlB5dGhvblNldHRpbmdzLkV4cGVyaW1lbnRhbEZlYXR1cmVzUhRleHBlcmltZW'
'50YWxGZWF0dXJlcxpJChRFeHBlcmltZW50YWxGZWF0dXJlcxIxChVyZXN0X2FzeW5jX2lvX2Vu'
'YWJsZWQYASABKAhSEnJlc3RBc3luY0lvRW5hYmxlZA==');
'50YWxGZWF0dXJlcxqQAQoURXhwZXJpbWVudGFsRmVhdHVyZXMSMQoVcmVzdF9hc3luY19pb19l'
'bmFibGVkGAEgASgIUhJyZXN0QXN5bmNJb0VuYWJsZWQSRQofcHJvdG9idWZfcHl0aG9uaWNfdH'
'lwZXNfZW5hYmxlZBgCIAEoCFIccHJvdG9idWZQeXRob25pY1R5cGVzRW5hYmxlZA==');

@$core.Deprecated('Use nodeSettingsDescriptor instead')
const NodeSettings$json = {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ grpc_duration.Duration durationToProto(Duration duration) {

String getVersionMetadata() {
const String sdkVersion = 'v0.0.25';
const String apiTag = 'v0.1.357';
const String apiTag = 'v0.1.358';

return 'flutter;$sdkVersion;$apiTag';
}

0 comments on commit c290cb1

Please sign in to comment.