refactor: regenerate gRPC stubs for chain.v1 wire package
Some checks are pending
Security / Security check (push) Waiting to run

The hub renamed its gRPC package fai.v1 -> chain.v1 (proto dir
proto/fai/v1 -> proto/chain/v1). Move the generated stubs to
generated/chain/v1 and rewrite the wire package + service paths
(/fai.v1.Hub/* -> /chain.v1.Hub/*) so the client talks to the
renamed hub. Pure package rename — no message/field changes.
HubClient public API is unchanged, so dependents need no edits.
dart analyze: clean.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-16 16:59:35 +02:00
parent 75a4b2b306
commit d680cf3462
18 changed files with 282 additions and 282 deletions

View file

@ -0,0 +1,518 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/common.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:core' as $core;
import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;
import 'package:protobuf/well_known_types/google/protobuf/struct.pb.dart' as $0;
import 'common.pbenum.dart';
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'common.pbenum.dart';
/// A unique identifier for a flow invocation (UUIDv7).
class InvocationId extends $pb.GeneratedMessage {
factory InvocationId({
$core.String? value,
}) {
final result = create();
if (value != null) result.value = value;
return result;
}
InvocationId._();
factory InvocationId.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory InvocationId.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'InvocationId',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvocationId clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvocationId copyWith(void Function(InvocationId) updates) =>
super.copyWith((message) => updates(message as InvocationId))
as InvocationId;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static InvocationId create() => InvocationId._();
@$core.override
InvocationId createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static InvocationId getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<InvocationId>(create);
static InvocationId? _defaultInstance;
@$pb.TagNumber(1)
$core.String get value => $_getSZ(0);
@$pb.TagNumber(1)
set value($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => $_clearField(1);
}
/// A reference to a capability requested by a flow step.
///
/// Example: namespace="text", name="extract", version_req="^1"
class CapabilityRef extends $pb.GeneratedMessage {
factory CapabilityRef({
$core.String? namespace,
$core.String? name,
$core.String? versionReq,
}) {
final result = create();
if (namespace != null) result.namespace = namespace;
if (name != null) result.name = name;
if (versionReq != null) result.versionReq = versionReq;
return result;
}
CapabilityRef._();
factory CapabilityRef.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory CapabilityRef.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'CapabilityRef',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'namespace')
..aOS(2, _omitFieldNames ? '' : 'name')
..aOS(3, _omitFieldNames ? '' : 'versionReq')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CapabilityRef clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CapabilityRef copyWith(void Function(CapabilityRef) updates) =>
super.copyWith((message) => updates(message as CapabilityRef))
as CapabilityRef;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CapabilityRef create() => CapabilityRef._();
@$core.override
CapabilityRef createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static CapabilityRef getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<CapabilityRef>(create);
static CapabilityRef? _defaultInstance;
@$pb.TagNumber(1)
$core.String get namespace => $_getSZ(0);
@$pb.TagNumber(1)
set namespace($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasNamespace() => $_has(0);
@$pb.TagNumber(1)
void clearNamespace() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set name($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearName() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get versionReq => $_getSZ(2);
@$pb.TagNumber(3)
set versionReq($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasVersionReq() => $_has(2);
@$pb.TagNumber(3)
void clearVersionReq() => $_clearField(3);
}
enum Payload_Kind { text, json, bytes, file, notSet }
/// A typed value passed between flow steps.
class Payload extends $pb.GeneratedMessage {
factory Payload({
$core.String? text,
$0.Struct? json,
Bytes? bytes,
FileRef? file,
}) {
final result = create();
if (text != null) result.text = text;
if (json != null) result.json = json;
if (bytes != null) result.bytes = bytes;
if (file != null) result.file = file;
return result;
}
Payload._();
factory Payload.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory Payload.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static const $core.Map<$core.int, Payload_Kind> _Payload_KindByTag = {
1: Payload_Kind.text,
2: Payload_Kind.json,
3: Payload_Kind.bytes,
4: Payload_Kind.file,
0: Payload_Kind.notSet
};
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'Payload',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..oo(0, [1, 2, 3, 4])
..aOS(1, _omitFieldNames ? '' : 'text')
..aOM<$0.Struct>(2, _omitFieldNames ? '' : 'json',
subBuilder: $0.Struct.create)
..aOM<Bytes>(3, _omitFieldNames ? '' : 'bytes', subBuilder: Bytes.create)
..aOM<FileRef>(4, _omitFieldNames ? '' : 'file', subBuilder: FileRef.create)
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Payload clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Payload copyWith(void Function(Payload) updates) =>
super.copyWith((message) => updates(message as Payload)) as Payload;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Payload create() => Payload._();
@$core.override
Payload createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static Payload getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Payload>(create);
static Payload? _defaultInstance;
@$pb.TagNumber(1)
@$pb.TagNumber(2)
@$pb.TagNumber(3)
@$pb.TagNumber(4)
Payload_Kind whichKind() => _Payload_KindByTag[$_whichOneof(0)]!;
@$pb.TagNumber(1)
@$pb.TagNumber(2)
@$pb.TagNumber(3)
@$pb.TagNumber(4)
void clearKind() => $_clearField($_whichOneof(0));
@$pb.TagNumber(1)
$core.String get text => $_getSZ(0);
@$pb.TagNumber(1)
set text($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasText() => $_has(0);
@$pb.TagNumber(1)
void clearText() => $_clearField(1);
@$pb.TagNumber(2)
$0.Struct get json => $_getN(1);
@$pb.TagNumber(2)
set json($0.Struct value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasJson() => $_has(1);
@$pb.TagNumber(2)
void clearJson() => $_clearField(2);
@$pb.TagNumber(2)
$0.Struct ensureJson() => $_ensure(1);
@$pb.TagNumber(3)
Bytes get bytes => $_getN(2);
@$pb.TagNumber(3)
set bytes(Bytes value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasBytes() => $_has(2);
@$pb.TagNumber(3)
void clearBytes() => $_clearField(3);
@$pb.TagNumber(3)
Bytes ensureBytes() => $_ensure(2);
@$pb.TagNumber(4)
FileRef get file => $_getN(3);
@$pb.TagNumber(4)
set file(FileRef value) => $_setField(4, value);
@$pb.TagNumber(4)
$core.bool hasFile() => $_has(3);
@$pb.TagNumber(4)
void clearFile() => $_clearField(4);
@$pb.TagNumber(4)
FileRef ensureFile() => $_ensure(3);
}
class Bytes extends $pb.GeneratedMessage {
factory Bytes({
$core.String? mimeType,
$core.List<$core.int>? data,
}) {
final result = create();
if (mimeType != null) result.mimeType = mimeType;
if (data != null) result.data = data;
return result;
}
Bytes._();
factory Bytes.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory Bytes.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'Bytes',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'mimeType')
..a<$core.List<$core.int>>(
2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Bytes clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Bytes copyWith(void Function(Bytes) updates) =>
super.copyWith((message) => updates(message as Bytes)) as Bytes;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Bytes create() => Bytes._();
@$core.override
Bytes createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static Bytes getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Bytes>(create);
static Bytes? _defaultInstance;
@$pb.TagNumber(1)
$core.String get mimeType => $_getSZ(0);
@$pb.TagNumber(1)
set mimeType($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasMimeType() => $_has(0);
@$pb.TagNumber(1)
void clearMimeType() => $_clearField(1);
@$pb.TagNumber(2)
$core.List<$core.int> get data => $_getN(1);
@$pb.TagNumber(2)
set data($core.List<$core.int> value) => $_setBytes(1, value);
@$pb.TagNumber(2)
$core.bool hasData() => $_has(1);
@$pb.TagNumber(2)
void clearData() => $_clearField(2);
}
class FileRef extends $pb.GeneratedMessage {
factory FileRef({
$core.String? uri,
$core.String? mimeType,
$fixnum.Int64? sizeBytes,
$core.String? sha256,
}) {
final result = create();
if (uri != null) result.uri = uri;
if (mimeType != null) result.mimeType = mimeType;
if (sizeBytes != null) result.sizeBytes = sizeBytes;
if (sha256 != null) result.sha256 = sha256;
return result;
}
FileRef._();
factory FileRef.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory FileRef.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'FileRef',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'uri')
..aOS(2, _omitFieldNames ? '' : 'mimeType')
..a<$fixnum.Int64>(
3, _omitFieldNames ? '' : 'sizeBytes', $pb.PbFieldType.OU6,
defaultOrMaker: $fixnum.Int64.ZERO)
..aOS(4, _omitFieldNames ? '' : 'sha256')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FileRef clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FileRef copyWith(void Function(FileRef) updates) =>
super.copyWith((message) => updates(message as FileRef)) as FileRef;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FileRef create() => FileRef._();
@$core.override
FileRef createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static FileRef getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FileRef>(create);
static FileRef? _defaultInstance;
@$pb.TagNumber(1)
$core.String get uri => $_getSZ(0);
@$pb.TagNumber(1)
set uri($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasUri() => $_has(0);
@$pb.TagNumber(1)
void clearUri() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get mimeType => $_getSZ(1);
@$pb.TagNumber(2)
set mimeType($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasMimeType() => $_has(1);
@$pb.TagNumber(2)
void clearMimeType() => $_clearField(2);
@$pb.TagNumber(3)
$fixnum.Int64 get sizeBytes => $_getI64(2);
@$pb.TagNumber(3)
set sizeBytes($fixnum.Int64 value) => $_setInt64(2, value);
@$pb.TagNumber(3)
$core.bool hasSizeBytes() => $_has(2);
@$pb.TagNumber(3)
void clearSizeBytes() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get sha256 => $_getSZ(3);
@$pb.TagNumber(4)
set sha256($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasSha256() => $_has(3);
@$pb.TagNumber(4)
void clearSha256() => $_clearField(4);
}
/// Standard error shape for hub and module responses.
class FaiError extends $pb.GeneratedMessage {
factory FaiError({
FaiError_Code? code,
$core.String? message,
$core.String? details,
}) {
final result = create();
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
return result;
}
FaiError._();
factory FaiError.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory FaiError.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'FaiError',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aE<FaiError_Code>(1, _omitFieldNames ? '' : 'code',
enumValues: FaiError_Code.values)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FaiError clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FaiError copyWith(void Function(FaiError) updates) =>
super.copyWith((message) => updates(message as FaiError)) as FaiError;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FaiError create() => FaiError._();
@$core.override
FaiError createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static FaiError getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FaiError>(create);
static FaiError? _defaultInstance;
@$pb.TagNumber(1)
FaiError_Code get code => $_getN(0);
@$pb.TagNumber(1)
set code(FaiError_Code value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearDetails() => $_clearField(3);
}
const $core.bool _omitFieldNames =
$core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames =
$core.bool.fromEnvironment('protobuf.omit_message_names');

View file

@ -0,0 +1,52 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/common.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class FaiError_Code extends $pb.ProtobufEnum {
static const FaiError_Code UNKNOWN =
FaiError_Code._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const FaiError_Code INVALID_INPUT =
FaiError_Code._(1, _omitEnumNames ? '' : 'INVALID_INPUT');
static const FaiError_Code CAPABILITY_NOT_SUPPORTED =
FaiError_Code._(2, _omitEnumNames ? '' : 'CAPABILITY_NOT_SUPPORTED');
static const FaiError_Code PERMISSION_DENIED =
FaiError_Code._(3, _omitEnumNames ? '' : 'PERMISSION_DENIED');
static const FaiError_Code RESOURCE_EXHAUSTED =
FaiError_Code._(4, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED');
static const FaiError_Code DEADLINE_EXCEEDED =
FaiError_Code._(5, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED');
static const FaiError_Code INTERNAL =
FaiError_Code._(6, _omitEnumNames ? '' : 'INTERNAL');
static const $core.List<FaiError_Code> values = <FaiError_Code>[
UNKNOWN,
INVALID_INPUT,
CAPABILITY_NOT_SUPPORTED,
PERMISSION_DENIED,
RESOURCE_EXHAUSTED,
DEADLINE_EXCEEDED,
INTERNAL,
];
static final $core.List<FaiError_Code?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 6);
static FaiError_Code? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const FaiError_Code._(super.value, super.name);
}
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');

View file

@ -0,0 +1,157 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/common.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
// ignore_for_file: unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use invocationIdDescriptor instead')
const InvocationId$json = {
'1': 'InvocationId',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'},
],
};
/// Descriptor for `InvocationId`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invocationIdDescriptor =
$convert.base64Decode('CgxJbnZvY2F0aW9uSWQSFAoFdmFsdWUYASABKAlSBXZhbHVl');
@$core.Deprecated('Use capabilityRefDescriptor instead')
const CapabilityRef$json = {
'1': 'CapabilityRef',
'2': [
{'1': 'namespace', '3': 1, '4': 1, '5': 9, '10': 'namespace'},
{'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
{'1': 'version_req', '3': 3, '4': 1, '5': 9, '10': 'versionReq'},
],
};
/// Descriptor for `CapabilityRef`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List capabilityRefDescriptor = $convert.base64Decode(
'Cg1DYXBhYmlsaXR5UmVmEhwKCW5hbWVzcGFjZRgBIAEoCVIJbmFtZXNwYWNlEhIKBG5hbWUYAi'
'ABKAlSBG5hbWUSHwoLdmVyc2lvbl9yZXEYAyABKAlSCnZlcnNpb25SZXE=');
@$core.Deprecated('Use payloadDescriptor instead')
const Payload$json = {
'1': 'Payload',
'2': [
{'1': 'text', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'text'},
{
'1': 'json',
'3': 2,
'4': 1,
'5': 11,
'6': '.google.protobuf.Struct',
'9': 0,
'10': 'json'
},
{
'1': 'bytes',
'3': 3,
'4': 1,
'5': 11,
'6': '.chain.v1.Bytes',
'9': 0,
'10': 'bytes'
},
{
'1': 'file',
'3': 4,
'4': 1,
'5': 11,
'6': '.chain.v1.FileRef',
'9': 0,
'10': 'file'
},
],
'8': [
{'1': 'kind'},
],
};
/// Descriptor for `Payload`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List payloadDescriptor = $convert.base64Decode(
'CgdQYXlsb2FkEhQKBHRleHQYASABKAlIAFIEdGV4dBItCgRqc29uGAIgASgLMhcuZ29vZ2xlLn'
'Byb3RvYnVmLlN0cnVjdEgAUgRqc29uEiUKBWJ5dGVzGAMgASgLMg0uZmFpLnYxLkJ5dGVzSABS'
'BWJ5dGVzEiUKBGZpbGUYBCABKAsyDy5mYWkudjEuRmlsZVJlZkgAUgRmaWxlQgYKBGtpbmQ=');
@$core.Deprecated('Use bytesDescriptor instead')
const Bytes$json = {
'1': 'Bytes',
'2': [
{'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'},
{'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'},
],
};
/// Descriptor for `Bytes`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List bytesDescriptor = $convert.base64Decode(
'CgVCeXRlcxIbCgltaW1lX3R5cGUYASABKAlSCG1pbWVUeXBlEhIKBGRhdGEYAiABKAxSBGRhdG'
'E=');
@$core.Deprecated('Use fileRefDescriptor instead')
const FileRef$json = {
'1': 'FileRef',
'2': [
{'1': 'uri', '3': 1, '4': 1, '5': 9, '10': 'uri'},
{'1': 'mime_type', '3': 2, '4': 1, '5': 9, '10': 'mimeType'},
{'1': 'size_bytes', '3': 3, '4': 1, '5': 4, '10': 'sizeBytes'},
{'1': 'sha256', '3': 4, '4': 1, '5': 9, '10': 'sha256'},
],
};
/// Descriptor for `FileRef`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fileRefDescriptor = $convert.base64Decode(
'CgdGaWxlUmVmEhAKA3VyaRgBIAEoCVIDdXJpEhsKCW1pbWVfdHlwZRgCIAEoCVIIbWltZVR5cG'
'USHQoKc2l6ZV9ieXRlcxgDIAEoBFIJc2l6ZUJ5dGVzEhYKBnNoYTI1NhgEIAEoCVIGc2hhMjU2');
@$core.Deprecated('Use faiErrorDescriptor instead')
const FaiError$json = {
'1': 'FaiError',
'2': [
{
'1': 'code',
'3': 1,
'4': 1,
'5': 14,
'6': '.chain.v1.FaiError.Code',
'10': 'code'
},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
],
'4': [FaiError_Code$json],
};
@$core.Deprecated('Use faiErrorDescriptor instead')
const FaiError_Code$json = {
'1': 'Code',
'2': [
{'1': 'UNKNOWN', '2': 0},
{'1': 'INVALID_INPUT', '2': 1},
{'1': 'CAPABILITY_NOT_SUPPORTED', '2': 2},
{'1': 'PERMISSION_DENIED', '2': 3},
{'1': 'RESOURCE_EXHAUSTED', '2': 4},
{'1': 'DEADLINE_EXCEEDED', '2': 5},
{'1': 'INTERNAL', '2': 6},
],
};
/// Descriptor for `FaiError`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List faiErrorDescriptor = $convert.base64Decode(
'CghGYWlFcnJvchIpCgRjb2RlGAEgASgOMhUuZmFpLnYxLkZhaUVycm9yLkNvZGVSBGNvZGUSGA'
'oHbWVzc2FnZRgCIAEoCVIHbWVzc2FnZRIYCgdkZXRhaWxzGAMgASgJUgdkZXRhaWxzIpgBCgRD'
'b2RlEgsKB1VOS05PV04QABIRCg1JTlZBTElEX0lOUFVUEAESHAoYQ0FQQUJJTElUWV9OT1RfU1'
'VQUE9SVEVEEAISFQoRUEVSTUlTU0lPTl9ERU5JRUQQAxIWChJSRVNPVVJDRV9FWEhBVVNURUQQ'
'BBIVChFERUFETElORV9FWENFRURFRBAFEgwKCElOVEVSTkFMEAY=');

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,11 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/federation.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports

View file

@ -0,0 +1,181 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/federation.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:async' as $async;
import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'federation.pb.dart' as $0;
export 'federation.pb.dart';
/// Hub-to-hub federation. A satellite hub opens one persistent
/// HTTP/2 connection to a primary hub. Within that connection,
/// the four streams below multiplex.
///
/// Phase 1.0 ships Control + Invoke + Blob + Events. A fifth
/// stream (`Stream` for bidirectional streaming caps, e.g. live
/// audio) is reserved for Phase 1.1; the slot stays free in the
/// service so adding it is purely additive.
///
/// See `docs/architecture/federation.md` for the full design,
/// security model, and threat-model summary.
@$pb.GrpcServiceName('chain.v1.Federation')
class FederationClient extends $grpc.Client {
/// The hostname for this service.
static const $core.String defaultHost = '';
/// OAuth scopes needed for the client.
static const $core.List<$core.String> oauthScopes = [
'',
];
FederationClient(super.channel, {super.options, super.interceptors});
/// Long-lived bidirectional Control stream. First two messages
/// exchanged are always Hello (satellite -> primary) and Accept
/// (primary -> satellite). Subsequent messages multiplex over
/// the same channel: advertisements, withdrawals, heartbeats,
/// renames, and cert renewals.
///
/// Disconnect signals shutdown: the primary withdraws every
/// capability advertised by this satellite. The satellite is
/// expected to reconnect with exponential backoff.
$grpc.ResponseStream<$0.ControlMessage> control(
$async.Stream<$0.ControlMessage> request, {
$grpc.CallOptions? options,
}) {
return $createStreamingCall(_$control, request, options: options);
}
/// Reserved stub. Cross-hub dispatch does NOT use a unary RPC:
/// the satellite dials outbound (NAT-friendly) and is the gRPC
/// client, so the primary cannot open a call back into it. Real
/// dispatch flows over the Control stream via DispatchCall /
/// DispatchResult (FED-06). This RPC stays declared only so the
/// service slot is stable; it returns UNIMPLEMENTED.
///
/// The satellite resolves `capability_id` against its **local**
/// registry; unknown capabilities return CAPABILITY_NOT_SUPPORTED.
/// The wire never carries executable content only inputs.
$grpc.ResponseFuture<$0.DispatchResponse> dispatch(
$0.DispatchRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$dispatch, request, options: options);
}
/// Bidirectional chunked binary transfer. Used for `bytes`
/// payloads above `federation.blob_threshold` (default 1 MiB).
/// The first message on either side is BlobOpen describing the
/// operation ("upload" or "download"); subsequent messages
/// carry data or end-of-stream / error markers.
$grpc.ResponseStream<$0.BlobChunk> blob(
$async.Stream<$0.BlobChunk> request, {
$grpc.CallOptions? options,
}) {
return $createStreamingCall(_$blob, request, options: options);
}
/// Server-streaming relay of audit + step events from a
/// satellite to the primary. The primary's Studio uses this to
/// show live progress of remote flow runs and to surface
/// approval-pending notices from remote steps.
$grpc.ResponseStream<$0.RelayedEvent> events(
$0.EventsRequest request, {
$grpc.CallOptions? options,
}) {
return $createStreamingCall(_$events, $async.Stream.fromIterable([request]),
options: options);
}
// method descriptors
static final _$control =
$grpc.ClientMethod<$0.ControlMessage, $0.ControlMessage>(
'/chain.v1.Federation/Control',
($0.ControlMessage value) => value.writeToBuffer(),
$0.ControlMessage.fromBuffer);
static final _$dispatch =
$grpc.ClientMethod<$0.DispatchRequest, $0.DispatchResponse>(
'/chain.v1.Federation/Dispatch',
($0.DispatchRequest value) => value.writeToBuffer(),
$0.DispatchResponse.fromBuffer);
static final _$blob = $grpc.ClientMethod<$0.BlobChunk, $0.BlobChunk>(
'/chain.v1.Federation/Blob',
($0.BlobChunk value) => value.writeToBuffer(),
$0.BlobChunk.fromBuffer);
static final _$events = $grpc.ClientMethod<$0.EventsRequest, $0.RelayedEvent>(
'/chain.v1.Federation/Events',
($0.EventsRequest value) => value.writeToBuffer(),
$0.RelayedEvent.fromBuffer);
}
@$pb.GrpcServiceName('chain.v1.Federation')
abstract class FederationServiceBase extends $grpc.Service {
$core.String get $name => 'chain.v1.Federation';
FederationServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ControlMessage, $0.ControlMessage>(
'Control',
control,
true,
true,
($core.List<$core.int> value) => $0.ControlMessage.fromBuffer(value),
($0.ControlMessage value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DispatchRequest, $0.DispatchResponse>(
'Dispatch',
dispatch_Pre,
false,
false,
($core.List<$core.int> value) => $0.DispatchRequest.fromBuffer(value),
($0.DispatchResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BlobChunk, $0.BlobChunk>(
'Blob',
blob,
true,
true,
($core.List<$core.int> value) => $0.BlobChunk.fromBuffer(value),
($0.BlobChunk value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.EventsRequest, $0.RelayedEvent>(
'Events',
events_Pre,
false,
true,
($core.List<$core.int> value) => $0.EventsRequest.fromBuffer(value),
($0.RelayedEvent value) => value.writeToBuffer()));
}
$async.Stream<$0.ControlMessage> control(
$grpc.ServiceCall call, $async.Stream<$0.ControlMessage> request);
$async.Future<$0.DispatchResponse> dispatch_Pre($grpc.ServiceCall $call,
$async.Future<$0.DispatchRequest> $request) async {
return dispatch($call, await $request);
}
$async.Future<$0.DispatchResponse> dispatch(
$grpc.ServiceCall call, $0.DispatchRequest request);
$async.Stream<$0.BlobChunk> blob(
$grpc.ServiceCall call, $async.Stream<$0.BlobChunk> request);
$async.Stream<$0.RelayedEvent> events_Pre($grpc.ServiceCall $call,
$async.Future<$0.EventsRequest> $request) async* {
yield* events($call, await $request);
}
$async.Stream<$0.RelayedEvent> events(
$grpc.ServiceCall call, $0.EventsRequest request);
}

View file

@ -0,0 +1,674 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/federation.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
// ignore_for_file: unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use controlMessageDescriptor instead')
const ControlMessage$json = {
'1': 'ControlMessage',
'2': [
{
'1': 'hello',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.HelloMessage',
'9': 0,
'10': 'hello'
},
{
'1': 'accept',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.AcceptMessage',
'9': 0,
'10': 'accept'
},
{
'1': 'advertise',
'3': 3,
'4': 1,
'5': 11,
'6': '.chain.v1.AdvertiseMessage',
'9': 0,
'10': 'advertise'
},
{
'1': 'withdraw',
'3': 4,
'4': 1,
'5': 11,
'6': '.chain.v1.WithdrawMessage',
'9': 0,
'10': 'withdraw'
},
{
'1': 'heartbeat',
'3': 5,
'4': 1,
'5': 11,
'6': '.chain.v1.HeartbeatMessage',
'9': 0,
'10': 'heartbeat'
},
{
'1': 'heartbeat_ack',
'3': 6,
'4': 1,
'5': 11,
'6': '.chain.v1.HeartbeatAck',
'9': 0,
'10': 'heartbeatAck'
},
{
'1': 'rename',
'3': 7,
'4': 1,
'5': 11,
'6': '.chain.v1.RenameMessage',
'9': 0,
'10': 'rename'
},
{
'1': 'cert_renew_request',
'3': 8,
'4': 1,
'5': 11,
'6': '.chain.v1.CertRenewRequest',
'9': 0,
'10': 'certRenewRequest'
},
{
'1': 'cert_renew_response',
'3': 9,
'4': 1,
'5': 11,
'6': '.chain.v1.CertRenewResponse',
'9': 0,
'10': 'certRenewResponse'
},
{
'1': 'dispatch_call',
'3': 10,
'4': 1,
'5': 11,
'6': '.chain.v1.DispatchCall',
'9': 0,
'10': 'dispatchCall'
},
{
'1': 'dispatch_result',
'3': 11,
'4': 1,
'5': 11,
'6': '.chain.v1.DispatchResult',
'9': 0,
'10': 'dispatchResult'
},
],
'8': [
{'1': 'kind'},
],
};
/// Descriptor for `ControlMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List controlMessageDescriptor = $convert.base64Decode(
'Cg5Db250cm9sTWVzc2FnZRIsCgVoZWxsbxgBIAEoCzIULmZhaS52MS5IZWxsb01lc3NhZ2VIAF'
'IFaGVsbG8SLwoGYWNjZXB0GAIgASgLMhUuZmFpLnYxLkFjY2VwdE1lc3NhZ2VIAFIGYWNjZXB0'
'EjgKCWFkdmVydGlzZRgDIAEoCzIYLmZhaS52MS5BZHZlcnRpc2VNZXNzYWdlSABSCWFkdmVydG'
'lzZRI1Cgh3aXRoZHJhdxgEIAEoCzIXLmZhaS52MS5XaXRoZHJhd01lc3NhZ2VIAFIId2l0aGRy'
'YXcSOAoJaGVhcnRiZWF0GAUgASgLMhguZmFpLnYxLkhlYXJ0YmVhdE1lc3NhZ2VIAFIJaGVhcn'
'RiZWF0EjsKDWhlYXJ0YmVhdF9hY2sYBiABKAsyFC5mYWkudjEuSGVhcnRiZWF0QWNrSABSDGhl'
'YXJ0YmVhdEFjaxIvCgZyZW5hbWUYByABKAsyFS5mYWkudjEuUmVuYW1lTWVzc2FnZUgAUgZyZW'
'5hbWUSSAoSY2VydF9yZW5ld19yZXF1ZXN0GAggASgLMhguZmFpLnYxLkNlcnRSZW5ld1JlcXVl'
'c3RIAFIQY2VydFJlbmV3UmVxdWVzdBJLChNjZXJ0X3JlbmV3X3Jlc3BvbnNlGAkgASgLMhkuZm'
'FpLnYxLkNlcnRSZW5ld1Jlc3BvbnNlSABSEWNlcnRSZW5ld1Jlc3BvbnNlEjsKDWRpc3BhdGNo'
'X2NhbGwYCiABKAsyFC5mYWkudjEuRGlzcGF0Y2hDYWxsSABSDGRpc3BhdGNoQ2FsbBJBCg9kaX'
'NwYXRjaF9yZXN1bHQYCyABKAsyFi5mYWkudjEuRGlzcGF0Y2hSZXN1bHRIAFIOZGlzcGF0Y2hS'
'ZXN1bHRCBgoEa2luZA==');
@$core.Deprecated('Use dispatchCallDescriptor instead')
const DispatchCall$json = {
'1': 'DispatchCall',
'2': [
{'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'},
{
'1': 'request',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.DispatchRequest',
'10': 'request'
},
],
};
/// Descriptor for `DispatchCall`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dispatchCallDescriptor = $convert.base64Decode(
'CgxEaXNwYXRjaENhbGwSHQoKcmVxdWVzdF9pZBgBIAEoCVIJcmVxdWVzdElkEjEKB3JlcXVlc3'
'QYAiABKAsyFy5mYWkudjEuRGlzcGF0Y2hSZXF1ZXN0UgdyZXF1ZXN0');
@$core.Deprecated('Use dispatchResultDescriptor instead')
const DispatchResult$json = {
'1': 'DispatchResult',
'2': [
{'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'},
{
'1': 'response',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.DispatchResponse',
'10': 'response'
},
],
};
/// Descriptor for `DispatchResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dispatchResultDescriptor = $convert.base64Decode(
'Cg5EaXNwYXRjaFJlc3VsdBIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSNAoIcmVzcG'
'9uc2UYAiABKAsyGC5mYWkudjEuRGlzcGF0Y2hSZXNwb25zZVIIcmVzcG9uc2U=');
@$core.Deprecated('Use helloMessageDescriptor instead')
const HelloMessage$json = {
'1': 'HelloMessage',
'2': [
{'1': 'hub_id', '3': 1, '4': 1, '5': 9, '10': 'hubId'},
{'1': 'display_name', '3': 2, '4': 1, '5': 9, '10': 'displayName'},
{'1': 'hub_version', '3': 3, '4': 1, '5': 9, '10': 'hubVersion'},
{
'1': 'wire_versions_supported',
'3': 4,
'4': 3,
'5': 13,
'10': 'wireVersionsSupported'
},
{
'1': 'wit_versions_supported',
'3': 5,
'4': 3,
'5': 9,
'10': 'witVersionsSupported'
},
{'1': 'bootstrap_token', '3': 6, '4': 1, '5': 9, '10': 'bootstrapToken'},
{'1': 'region', '3': 7, '4': 1, '5': 9, '10': 'region'},
{'1': 'csr_pem', '3': 8, '4': 1, '5': 9, '10': 'csrPem'},
],
};
/// Descriptor for `HelloMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List helloMessageDescriptor = $convert.base64Decode(
'CgxIZWxsb01lc3NhZ2USFQoGaHViX2lkGAEgASgJUgVodWJJZBIhCgxkaXNwbGF5X25hbWUYAi'
'ABKAlSC2Rpc3BsYXlOYW1lEh8KC2h1Yl92ZXJzaW9uGAMgASgJUgpodWJWZXJzaW9uEjYKF3dp'
'cmVfdmVyc2lvbnNfc3VwcG9ydGVkGAQgAygNUhV3aXJlVmVyc2lvbnNTdXBwb3J0ZWQSNAoWd2'
'l0X3ZlcnNpb25zX3N1cHBvcnRlZBgFIAMoCVIUd2l0VmVyc2lvbnNTdXBwb3J0ZWQSJwoPYm9v'
'dHN0cmFwX3Rva2VuGAYgASgJUg5ib290c3RyYXBUb2tlbhIWCgZyZWdpb24YByABKAlSBnJlZ2'
'lvbhIXCgdjc3JfcGVtGAggASgJUgZjc3JQZW0=');
@$core.Deprecated('Use acceptMessageDescriptor instead')
const AcceptMessage$json = {
'1': 'AcceptMessage',
'2': [
{
'1': 'wire_version_chosen',
'3': 1,
'4': 1,
'5': 13,
'10': 'wireVersionChosen'
},
{'1': 'primary_hub_id', '3': 2, '4': 1, '5': 9, '10': 'primaryHubId'},
{
'1': 'primary_display_name',
'3': 3,
'4': 1,
'5': 9,
'10': 'primaryDisplayName'
},
{
'1': 'primary_hub_version',
'3': 4,
'4': 1,
'5': 9,
'10': 'primaryHubVersion'
},
{
'1': 'primary_wire_versions_supported',
'3': 5,
'4': 3,
'5': 13,
'10': 'primaryWireVersionsSupported'
},
{'1': 'issued_cert_pem', '3': 6, '4': 1, '5': 9, '10': 'issuedCertPem'},
{'1': 'cert_expires_at', '3': 7, '4': 1, '5': 9, '10': 'certExpiresAt'},
],
};
/// Descriptor for `AcceptMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List acceptMessageDescriptor = $convert.base64Decode(
'Cg1BY2NlcHRNZXNzYWdlEi4KE3dpcmVfdmVyc2lvbl9jaG9zZW4YASABKA1SEXdpcmVWZXJzaW'
'9uQ2hvc2VuEiQKDnByaW1hcnlfaHViX2lkGAIgASgJUgxwcmltYXJ5SHViSWQSMAoUcHJpbWFy'
'eV9kaXNwbGF5X25hbWUYAyABKAlSEnByaW1hcnlEaXNwbGF5TmFtZRIuChNwcmltYXJ5X2h1Yl'
'92ZXJzaW9uGAQgASgJUhFwcmltYXJ5SHViVmVyc2lvbhJFCh9wcmltYXJ5X3dpcmVfdmVyc2lv'
'bnNfc3VwcG9ydGVkGAUgAygNUhxwcmltYXJ5V2lyZVZlcnNpb25zU3VwcG9ydGVkEiYKD2lzc3'
'VlZF9jZXJ0X3BlbRgGIAEoCVINaXNzdWVkQ2VydFBlbRImCg9jZXJ0X2V4cGlyZXNfYXQYByAB'
'KAlSDWNlcnRFeHBpcmVzQXQ=');
@$core.Deprecated('Use advertiseMessageDescriptor instead')
const AdvertiseMessage$json = {
'1': 'AdvertiseMessage',
'2': [
{
'1': 'capabilities',
'3': 1,
'4': 3,
'5': 11,
'6': '.chain.v1.CapabilityAdvertisement',
'10': 'capabilities'
},
],
};
/// Descriptor for `AdvertiseMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List advertiseMessageDescriptor = $convert.base64Decode(
'ChBBZHZlcnRpc2VNZXNzYWdlEkMKDGNhcGFiaWxpdGllcxgBIAMoCzIfLmZhaS52MS5DYXBhYm'
'lsaXR5QWR2ZXJ0aXNlbWVudFIMY2FwYWJpbGl0aWVz');
@$core.Deprecated('Use capabilityAdvertisementDescriptor instead')
const CapabilityAdvertisement$json = {
'1': 'CapabilityAdvertisement',
'2': [
{'1': 'capability_id', '3': 1, '4': 1, '5': 9, '10': 'capabilityId'},
{'1': 'origin_uuid', '3': 2, '4': 1, '5': 9, '10': 'originUuid'},
{'1': 'origin_name', '3': 3, '4': 1, '5': 9, '10': 'originName'},
{'1': 'route', '3': 4, '4': 3, '5': 9, '10': 'route'},
{'1': 'region', '3': 5, '4': 1, '5': 9, '10': 'region'},
{
'1': 'quality',
'3': 6,
'4': 1,
'5': 11,
'6': '.chain.v1.Quality',
'10': 'quality'
},
{'1': 'permissions', '3': 7, '4': 3, '5': 9, '10': 'permissions'},
{'1': 'wit_version', '3': 8, '4': 1, '5': 9, '10': 'witVersion'},
{'1': 'hub_version', '3': 9, '4': 1, '5': 9, '10': 'hubVersion'},
],
};
/// Descriptor for `CapabilityAdvertisement`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List capabilityAdvertisementDescriptor = $convert.base64Decode(
'ChdDYXBhYmlsaXR5QWR2ZXJ0aXNlbWVudBIjCg1jYXBhYmlsaXR5X2lkGAEgASgJUgxjYXBhYm'
'lsaXR5SWQSHwoLb3JpZ2luX3V1aWQYAiABKAlSCm9yaWdpblV1aWQSHwoLb3JpZ2luX25hbWUY'
'AyABKAlSCm9yaWdpbk5hbWUSFAoFcm91dGUYBCADKAlSBXJvdXRlEhYKBnJlZ2lvbhgFIAEoCV'
'IGcmVnaW9uEikKB3F1YWxpdHkYBiABKAsyDy5mYWkudjEuUXVhbGl0eVIHcXVhbGl0eRIgCgtw'
'ZXJtaXNzaW9ucxgHIAMoCVILcGVybWlzc2lvbnMSHwoLd2l0X3ZlcnNpb24YCCABKAlSCndpdF'
'ZlcnNpb24SHwoLaHViX3ZlcnNpb24YCSABKAlSCmh1YlZlcnNpb24=');
@$core.Deprecated('Use qualityDescriptor instead')
const Quality$json = {
'1': 'Quality',
'2': [
{'1': 'rtt_p50_ms', '3': 1, '4': 1, '5': 13, '10': 'rttP50Ms'},
{'1': 'rtt_p95_ms', '3': 2, '4': 1, '5': 13, '10': 'rttP95Ms'},
{'1': 'success_rate_30m', '3': 3, '4': 1, '5': 2, '10': 'successRate30m'},
{'1': 'streams_active', '3': 4, '4': 1, '5': 13, '10': 'streamsActive'},
{'1': 'streams_capacity', '3': 5, '4': 1, '5': 13, '10': 'streamsCapacity'},
],
};
/// Descriptor for `Quality`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List qualityDescriptor = $convert.base64Decode(
'CgdRdWFsaXR5EhwKCnJ0dF9wNTBfbXMYASABKA1SCHJ0dFA1ME1zEhwKCnJ0dF9wOTVfbXMYAi'
'ABKA1SCHJ0dFA5NU1zEigKEHN1Y2Nlc3NfcmF0ZV8zMG0YAyABKAJSDnN1Y2Nlc3NSYXRlMzBt'
'EiUKDnN0cmVhbXNfYWN0aXZlGAQgASgNUg1zdHJlYW1zQWN0aXZlEikKEHN0cmVhbXNfY2FwYW'
'NpdHkYBSABKA1SD3N0cmVhbXNDYXBhY2l0eQ==');
@$core.Deprecated('Use withdrawMessageDescriptor instead')
const WithdrawMessage$json = {
'1': 'WithdrawMessage',
'2': [
{'1': 'capability_ids', '3': 1, '4': 3, '5': 9, '10': 'capabilityIds'},
{'1': 'origin_uuid', '3': 2, '4': 1, '5': 9, '10': 'originUuid'},
],
};
/// Descriptor for `WithdrawMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List withdrawMessageDescriptor = $convert.base64Decode(
'Cg9XaXRoZHJhd01lc3NhZ2USJQoOY2FwYWJpbGl0eV9pZHMYASADKAlSDWNhcGFiaWxpdHlJZH'
'MSHwoLb3JpZ2luX3V1aWQYAiABKAlSCm9yaWdpblV1aWQ=');
@$core.Deprecated('Use heartbeatMessageDescriptor instead')
const HeartbeatMessage$json = {
'1': 'HeartbeatMessage',
'2': [
{'1': 'nonce', '3': 1, '4': 1, '5': 4, '10': 'nonce'},
{'1': 'satellite_time_ms', '3': 2, '4': 1, '5': 3, '10': 'satelliteTimeMs'},
],
};
/// Descriptor for `HeartbeatMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List heartbeatMessageDescriptor = $convert.base64Decode(
'ChBIZWFydGJlYXRNZXNzYWdlEhQKBW5vbmNlGAEgASgEUgVub25jZRIqChFzYXRlbGxpdGVfdG'
'ltZV9tcxgCIAEoA1IPc2F0ZWxsaXRlVGltZU1z');
@$core.Deprecated('Use heartbeatAckDescriptor instead')
const HeartbeatAck$json = {
'1': 'HeartbeatAck',
'2': [
{'1': 'nonce', '3': 1, '4': 1, '5': 4, '10': 'nonce'},
{'1': 'primary_time_ms', '3': 2, '4': 1, '5': 3, '10': 'primaryTimeMs'},
],
};
/// Descriptor for `HeartbeatAck`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List heartbeatAckDescriptor = $convert.base64Decode(
'CgxIZWFydGJlYXRBY2sSFAoFbm9uY2UYASABKARSBW5vbmNlEiYKD3ByaW1hcnlfdGltZV9tcx'
'gCIAEoA1INcHJpbWFyeVRpbWVNcw==');
@$core.Deprecated('Use renameMessageDescriptor instead')
const RenameMessage$json = {
'1': 'RenameMessage',
'2': [
{'1': 'new_display_name', '3': 1, '4': 1, '5': 9, '10': 'newDisplayName'},
],
};
/// Descriptor for `RenameMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List renameMessageDescriptor = $convert.base64Decode(
'Cg1SZW5hbWVNZXNzYWdlEigKEG5ld19kaXNwbGF5X25hbWUYASABKAlSDm5ld0Rpc3BsYXlOYW'
'1l');
@$core.Deprecated('Use certRenewRequestDescriptor instead')
const CertRenewRequest$json = {
'1': 'CertRenewRequest',
'2': [
{'1': 'csr_pem', '3': 1, '4': 1, '5': 9, '10': 'csrPem'},
],
};
/// Descriptor for `CertRenewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List certRenewRequestDescriptor = $convert.base64Decode(
'ChBDZXJ0UmVuZXdSZXF1ZXN0EhcKB2Nzcl9wZW0YASABKAlSBmNzclBlbQ==');
@$core.Deprecated('Use certRenewResponseDescriptor instead')
const CertRenewResponse$json = {
'1': 'CertRenewResponse',
'2': [
{'1': 'cert_pem', '3': 1, '4': 1, '5': 9, '10': 'certPem'},
{'1': 'expires_at', '3': 2, '4': 1, '5': 9, '10': 'expiresAt'},
{'1': 'error', '3': 3, '4': 1, '5': 9, '10': 'error'},
],
};
/// Descriptor for `CertRenewResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List certRenewResponseDescriptor = $convert.base64Decode(
'ChFDZXJ0UmVuZXdSZXNwb25zZRIZCghjZXJ0X3BlbRgBIAEoCVIHY2VydFBlbRIdCgpleHBpcm'
'VzX2F0GAIgASgJUglleHBpcmVzQXQSFAoFZXJyb3IYAyABKAlSBWVycm9y');
@$core.Deprecated('Use dispatchRequestDescriptor instead')
const DispatchRequest$json = {
'1': 'DispatchRequest',
'2': [
{'1': 'capability_id', '3': 1, '4': 1, '5': 9, '10': 'capabilityId'},
{'1': 'target_hub_id', '3': 2, '4': 1, '5': 9, '10': 'targetHubId'},
{
'1': 'inputs',
'3': 3,
'4': 3,
'5': 11,
'6': '.chain.v1.DispatchRequest.InputsEntry',
'10': 'inputs'
},
{'1': 'trace_id', '3': 4, '4': 1, '5': 9, '10': 'traceId'},
{'1': 'nonce', '3': 5, '4': 1, '5': 9, '10': 'nonce'},
{'1': 'caller_name', '3': 6, '4': 1, '5': 9, '10': 'callerName'},
{'1': 'region_required', '3': 7, '4': 1, '5': 9, '10': 'regionRequired'},
],
'3': [DispatchRequest_InputsEntry$json],
};
@$core.Deprecated('Use dispatchRequestDescriptor instead')
const DispatchRequest_InputsEntry$json = {
'1': 'InputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `DispatchRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dispatchRequestDescriptor = $convert.base64Decode(
'Cg9EaXNwYXRjaFJlcXVlc3QSIwoNY2FwYWJpbGl0eV9pZBgBIAEoCVIMY2FwYWJpbGl0eUlkEi'
'IKDXRhcmdldF9odWJfaWQYAiABKAlSC3RhcmdldEh1YklkEjsKBmlucHV0cxgDIAMoCzIjLmZh'
'aS52MS5EaXNwYXRjaFJlcXVlc3QuSW5wdXRzRW50cnlSBmlucHV0cxIZCgh0cmFjZV9pZBgEIA'
'EoCVIHdHJhY2VJZBIUCgVub25jZRgFIAEoCVIFbm9uY2USHwoLY2FsbGVyX25hbWUYBiABKAlS'
'CmNhbGxlck5hbWUSJwoPcmVnaW9uX3JlcXVpcmVkGAcgASgJUg5yZWdpb25SZXF1aXJlZBpKCg'
'tJbnB1dHNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIlCgV2YWx1ZRgCIAEoCzIPLmZhaS52MS5Q'
'YXlsb2FkUgV2YWx1ZToCOAE=');
@$core.Deprecated('Use dispatchResponseDescriptor instead')
const DispatchResponse$json = {
'1': 'DispatchResponse',
'2': [
{
'1': 'outputs',
'3': 1,
'4': 3,
'5': 11,
'6': '.chain.v1.DispatchResponse.OutputsEntry',
'10': 'outputs'
},
{
'1': 'error',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.FaiError',
'10': 'error'
},
{'1': 'duration_ms', '3': 3, '4': 1, '5': 13, '10': 'durationMs'},
{
'1': 'executed_at_hub_id',
'3': 4,
'4': 1,
'5': 9,
'10': 'executedAtHubId'
},
],
'3': [DispatchResponse_OutputsEntry$json],
};
@$core.Deprecated('Use dispatchResponseDescriptor instead')
const DispatchResponse_OutputsEntry$json = {
'1': 'OutputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `DispatchResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dispatchResponseDescriptor = $convert.base64Decode(
'ChBEaXNwYXRjaFJlc3BvbnNlEj8KB291dHB1dHMYASADKAsyJS5mYWkudjEuRGlzcGF0Y2hSZX'
'Nwb25zZS5PdXRwdXRzRW50cnlSB291dHB1dHMSJgoFZXJyb3IYAiABKAsyEC5mYWkudjEuRmFp'
'RXJyb3JSBWVycm9yEh8KC2R1cmF0aW9uX21zGAMgASgNUgpkdXJhdGlvbk1zEisKEmV4ZWN1dG'
'VkX2F0X2h1Yl9pZBgEIAEoCVIPZXhlY3V0ZWRBdEh1YklkGksKDE91dHB1dHNFbnRyeRIQCgNr'
'ZXkYASABKAlSA2tleRIlCgV2YWx1ZRgCIAEoCzIPLmZhaS52MS5QYXlsb2FkUgV2YWx1ZToCOA'
'E=');
@$core.Deprecated('Use blobChunkDescriptor instead')
const BlobChunk$json = {
'1': 'BlobChunk',
'2': [
{
'1': 'open',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.BlobOpen',
'9': 0,
'10': 'open'
},
{'1': 'data', '3': 2, '4': 1, '5': 12, '9': 0, '10': 'data'},
{
'1': 'eof',
'3': 3,
'4': 1,
'5': 11,
'6': '.chain.v1.BlobEof',
'9': 0,
'10': 'eof'
},
{
'1': 'error',
'3': 4,
'4': 1,
'5': 11,
'6': '.chain.v1.BlobError',
'9': 0,
'10': 'error'
},
],
'8': [
{'1': 'kind'},
],
};
/// Descriptor for `BlobChunk`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List blobChunkDescriptor = $convert.base64Decode(
'CglCbG9iQ2h1bmsSJgoEb3BlbhgBIAEoCzIQLmZhaS52MS5CbG9iT3BlbkgAUgRvcGVuEhQKBG'
'RhdGEYAiABKAxIAFIEZGF0YRIjCgNlb2YYAyABKAsyDy5mYWkudjEuQmxvYkVvZkgAUgNlb2YS'
'KQoFZXJyb3IYBCABKAsyES5mYWkudjEuQmxvYkVycm9ySABSBWVycm9yQgYKBGtpbmQ=');
@$core.Deprecated('Use blobOpenDescriptor instead')
const BlobOpen$json = {
'1': 'BlobOpen',
'2': [
{'1': 'operation', '3': 1, '4': 1, '5': 9, '10': 'operation'},
{'1': 'sha256', '3': 2, '4': 1, '5': 9, '10': 'sha256'},
{'1': 'size_bytes', '3': 3, '4': 1, '5': 4, '10': 'sizeBytes'},
{'1': 'mime_type', '3': 4, '4': 1, '5': 9, '10': 'mimeType'},
{'1': 'signed_ref', '3': 5, '4': 1, '5': 9, '10': 'signedRef'},
],
};
/// Descriptor for `BlobOpen`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List blobOpenDescriptor = $convert.base64Decode(
'CghCbG9iT3BlbhIcCglvcGVyYXRpb24YASABKAlSCW9wZXJhdGlvbhIWCgZzaGEyNTYYAiABKA'
'lSBnNoYTI1NhIdCgpzaXplX2J5dGVzGAMgASgEUglzaXplQnl0ZXMSGwoJbWltZV90eXBlGAQg'
'ASgJUghtaW1lVHlwZRIdCgpzaWduZWRfcmVmGAUgASgJUglzaWduZWRSZWY=');
@$core.Deprecated('Use blobEofDescriptor instead')
const BlobEof$json = {
'1': 'BlobEof',
'2': [
{'1': 'sha256', '3': 1, '4': 1, '5': 9, '10': 'sha256'},
{'1': 'size_bytes', '3': 2, '4': 1, '5': 4, '10': 'sizeBytes'},
],
};
/// Descriptor for `BlobEof`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List blobEofDescriptor = $convert.base64Decode(
'CgdCbG9iRW9mEhYKBnNoYTI1NhgBIAEoCVIGc2hhMjU2Eh0KCnNpemVfYnl0ZXMYAiABKARSCX'
'NpemVCeXRlcw==');
@$core.Deprecated('Use blobErrorDescriptor instead')
const BlobError$json = {
'1': 'BlobError',
'2': [
{'1': 'code', '3': 1, '4': 1, '5': 9, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
],
};
/// Descriptor for `BlobError`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List blobErrorDescriptor = $convert.base64Decode(
'CglCbG9iRXJyb3ISEgoEY29kZRgBIAEoCVIEY29kZRIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYW'
'dl');
@$core.Deprecated('Use eventsRequestDescriptor instead')
const EventsRequest$json = {
'1': 'EventsRequest',
'2': [
{'1': 'filter_hub_id', '3': 1, '4': 1, '5': 9, '10': 'filterHubId'},
{'1': 'event_types', '3': 2, '4': 3, '5': 9, '10': 'eventTypes'},
{'1': 'backfill', '3': 3, '4': 1, '5': 13, '10': 'backfill'},
],
};
/// Descriptor for `EventsRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List eventsRequestDescriptor = $convert.base64Decode(
'Cg1FdmVudHNSZXF1ZXN0EiIKDWZpbHRlcl9odWJfaWQYASABKAlSC2ZpbHRlckh1YklkEh8KC2'
'V2ZW50X3R5cGVzGAIgAygJUgpldmVudFR5cGVzEhoKCGJhY2tmaWxsGAMgASgNUghiYWNrZmls'
'bA==');
@$core.Deprecated('Use relayedEventDescriptor instead')
const RelayedEvent$json = {
'1': 'RelayedEvent',
'2': [
{'1': 'origin_hub_id', '3': 1, '4': 1, '5': 9, '10': 'originHubId'},
{
'1': 'origin_display_name',
'3': 2,
'4': 1,
'5': 9,
'10': 'originDisplayName'
},
{'1': 'event_id', '3': 3, '4': 1, '5': 9, '10': 'eventId'},
{'1': 'timestamp', '3': 4, '4': 1, '5': 9, '10': 'timestamp'},
{'1': 'event_type', '3': 5, '4': 1, '5': 9, '10': 'eventType'},
{'1': 'flow_execution', '3': 6, '4': 1, '5': 9, '10': 'flowExecution'},
{'1': 'invocation_id', '3': 7, '4': 1, '5': 9, '10': 'invocationId'},
{'1': 'flow_name', '3': 8, '4': 1, '5': 9, '10': 'flowName'},
{'1': 'step_id', '3': 9, '4': 1, '5': 9, '10': 'stepId'},
{'1': 'module_name', '3': 10, '4': 1, '5': 9, '10': 'moduleName'},
{'1': 'module_version', '3': 11, '4': 1, '5': 9, '10': 'moduleVersion'},
{'1': 'duration_ms', '3': 12, '4': 1, '5': 3, '10': 'durationMs'},
{'1': 'error', '3': 13, '4': 1, '5': 9, '10': 'error'},
{'1': 'detail', '3': 14, '4': 1, '5': 9, '10': 'detail'},
{'1': 'caller_name', '3': 15, '4': 1, '5': 9, '10': 'callerName'},
],
};
/// Descriptor for `RelayedEvent`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List relayedEventDescriptor = $convert.base64Decode(
'CgxSZWxheWVkRXZlbnQSIgoNb3JpZ2luX2h1Yl9pZBgBIAEoCVILb3JpZ2luSHViSWQSLgoTb3'
'JpZ2luX2Rpc3BsYXlfbmFtZRgCIAEoCVIRb3JpZ2luRGlzcGxheU5hbWUSGQoIZXZlbnRfaWQY'
'AyABKAlSB2V2ZW50SWQSHAoJdGltZXN0YW1wGAQgASgJUgl0aW1lc3RhbXASHQoKZXZlbnRfdH'
'lwZRgFIAEoCVIJZXZlbnRUeXBlEiUKDmZsb3dfZXhlY3V0aW9uGAYgASgJUg1mbG93RXhlY3V0'
'aW9uEiMKDWludm9jYXRpb25faWQYByABKAlSDGludm9jYXRpb25JZBIbCglmbG93X25hbWUYCC'
'ABKAlSCGZsb3dOYW1lEhcKB3N0ZXBfaWQYCSABKAlSBnN0ZXBJZBIfCgttb2R1bGVfbmFtZRgK'
'IAEoCVIKbW9kdWxlTmFtZRIlCg5tb2R1bGVfdmVyc2lvbhgLIAEoCVINbW9kdWxlVmVyc2lvbh'
'IfCgtkdXJhdGlvbl9tcxgMIAEoA1IKZHVyYXRpb25NcxIUCgVlcnJvchgNIAEoCVIFZXJyb3IS'
'FgoGZGV0YWlsGA4gASgJUgZkZXRhaWwSHwoLY2FsbGVyX25hbWUYDyABKAlSCmNhbGxlck5hbW'
'U=');

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,64 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/hub.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class HealthStatus_State extends $pb.ProtobufEnum {
static const HealthStatus_State UNKNOWN =
HealthStatus_State._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const HealthStatus_State SERVING =
HealthStatus_State._(1, _omitEnumNames ? '' : 'SERVING');
static const HealthStatus_State NOT_SERVING =
HealthStatus_State._(2, _omitEnumNames ? '' : 'NOT_SERVING');
static const $core.List<HealthStatus_State> values = <HealthStatus_State>[
UNKNOWN,
SERVING,
NOT_SERVING,
];
static final $core.List<HealthStatus_State?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static HealthStatus_State? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const HealthStatus_State._(super.value, super.name);
}
class DecideApprovalRequest_Decision extends $pb.ProtobufEnum {
static const DecideApprovalRequest_Decision DECISION_UNSPECIFIED =
DecideApprovalRequest_Decision._(
0, _omitEnumNames ? '' : 'DECISION_UNSPECIFIED');
static const DecideApprovalRequest_Decision APPROVE =
DecideApprovalRequest_Decision._(1, _omitEnumNames ? '' : 'APPROVE');
static const DecideApprovalRequest_Decision REJECT =
DecideApprovalRequest_Decision._(2, _omitEnumNames ? '' : 'REJECT');
static const $core.List<DecideApprovalRequest_Decision> values =
<DecideApprovalRequest_Decision>[
DECISION_UNSPECIFIED,
APPROVE,
REJECT,
];
static final $core.List<DecideApprovalRequest_Decision?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static DecideApprovalRequest_Decision? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const DecideApprovalRequest_Decision._(super.value, super.name);
}
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,344 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/module.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:core' as $core;
import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;
import 'common.pb.dart' as $2;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class InvokeRequest extends $pb.GeneratedMessage {
factory InvokeRequest({
$2.InvocationId? invocationId,
$2.CapabilityRef? capability,
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
$fixnum.Int64? deadlineMs,
}) {
final result = create();
if (invocationId != null) result.invocationId = invocationId;
if (capability != null) result.capability = capability;
if (inputs != null) result.inputs.addEntries(inputs);
if (deadlineMs != null) result.deadlineMs = deadlineMs;
return result;
}
InvokeRequest._();
factory InvokeRequest.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory InvokeRequest.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'InvokeRequest',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOM<$2.InvocationId>(1, _omitFieldNames ? '' : 'invocationId',
subBuilder: $2.InvocationId.create)
..aOM<$2.CapabilityRef>(2, _omitFieldNames ? '' : 'capability',
subBuilder: $2.CapabilityRef.create)
..m<$core.String, $2.Payload>(3, _omitFieldNames ? '' : 'inputs',
entryClassName: 'InvokeRequest.InputsEntry',
keyFieldType: $pb.PbFieldType.OS,
valueFieldType: $pb.PbFieldType.OM,
valueCreator: $2.Payload.create,
valueDefaultOrMaker: $2.Payload.getDefault,
packageName: const $pb.PackageName('chain.v1'))
..a<$fixnum.Int64>(
4, _omitFieldNames ? '' : 'deadlineMs', $pb.PbFieldType.OU6,
defaultOrMaker: $fixnum.Int64.ZERO)
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvokeRequest clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvokeRequest copyWith(void Function(InvokeRequest) updates) =>
super.copyWith((message) => updates(message as InvokeRequest))
as InvokeRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static InvokeRequest create() => InvokeRequest._();
@$core.override
InvokeRequest createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static InvokeRequest getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<InvokeRequest>(create);
static InvokeRequest? _defaultInstance;
@$pb.TagNumber(1)
$2.InvocationId get invocationId => $_getN(0);
@$pb.TagNumber(1)
set invocationId($2.InvocationId value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasInvocationId() => $_has(0);
@$pb.TagNumber(1)
void clearInvocationId() => $_clearField(1);
@$pb.TagNumber(1)
$2.InvocationId ensureInvocationId() => $_ensure(0);
@$pb.TagNumber(2)
$2.CapabilityRef get capability => $_getN(1);
@$pb.TagNumber(2)
set capability($2.CapabilityRef value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasCapability() => $_has(1);
@$pb.TagNumber(2)
void clearCapability() => $_clearField(2);
@$pb.TagNumber(2)
$2.CapabilityRef ensureCapability() => $_ensure(1);
@$pb.TagNumber(3)
$pb.PbMap<$core.String, $2.Payload> get inputs => $_getMap(2);
@$pb.TagNumber(4)
$fixnum.Int64 get deadlineMs => $_getI64(3);
@$pb.TagNumber(4)
set deadlineMs($fixnum.Int64 value) => $_setInt64(3, value);
@$pb.TagNumber(4)
$core.bool hasDeadlineMs() => $_has(3);
@$pb.TagNumber(4)
void clearDeadlineMs() => $_clearField(4);
}
enum InvokeResponse_Result { success, error, notSet }
class InvokeResponse extends $pb.GeneratedMessage {
factory InvokeResponse({
Success? success,
$2.FaiError? error,
}) {
final result = create();
if (success != null) result.success = success;
if (error != null) result.error = error;
return result;
}
InvokeResponse._();
factory InvokeResponse.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory InvokeResponse.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static const $core.Map<$core.int, InvokeResponse_Result>
_InvokeResponse_ResultByTag = {
1: InvokeResponse_Result.success,
2: InvokeResponse_Result.error,
0: InvokeResponse_Result.notSet
};
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'InvokeResponse',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..oo(0, [1, 2])
..aOM<Success>(1, _omitFieldNames ? '' : 'success',
subBuilder: Success.create)
..aOM<$2.FaiError>(2, _omitFieldNames ? '' : 'error',
subBuilder: $2.FaiError.create)
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvokeResponse clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
InvokeResponse copyWith(void Function(InvokeResponse) updates) =>
super.copyWith((message) => updates(message as InvokeResponse))
as InvokeResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static InvokeResponse create() => InvokeResponse._();
@$core.override
InvokeResponse createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static InvokeResponse getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<InvokeResponse>(create);
static InvokeResponse? _defaultInstance;
@$pb.TagNumber(1)
@$pb.TagNumber(2)
InvokeResponse_Result whichResult() =>
_InvokeResponse_ResultByTag[$_whichOneof(0)]!;
@$pb.TagNumber(1)
@$pb.TagNumber(2)
void clearResult() => $_clearField($_whichOneof(0));
@$pb.TagNumber(1)
Success get success => $_getN(0);
@$pb.TagNumber(1)
set success(Success value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasSuccess() => $_has(0);
@$pb.TagNumber(1)
void clearSuccess() => $_clearField(1);
@$pb.TagNumber(1)
Success ensureSuccess() => $_ensure(0);
@$pb.TagNumber(2)
$2.FaiError get error => $_getN(1);
@$pb.TagNumber(2)
set error($2.FaiError value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasError() => $_has(1);
@$pb.TagNumber(2)
void clearError() => $_clearField(2);
@$pb.TagNumber(2)
$2.FaiError ensureError() => $_ensure(1);
}
class Success extends $pb.GeneratedMessage {
factory Success({
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? outputs,
}) {
final result = create();
if (outputs != null) result.outputs.addEntries(outputs);
return result;
}
Success._();
factory Success.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory Success.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'Success',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..m<$core.String, $2.Payload>(1, _omitFieldNames ? '' : 'outputs',
entryClassName: 'Success.OutputsEntry',
keyFieldType: $pb.PbFieldType.OS,
valueFieldType: $pb.PbFieldType.OM,
valueCreator: $2.Payload.create,
valueDefaultOrMaker: $2.Payload.getDefault,
packageName: const $pb.PackageName('chain.v1'))
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Success clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Success copyWith(void Function(Success) updates) =>
super.copyWith((message) => updates(message as Success)) as Success;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Success create() => Success._();
@$core.override
Success createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static Success getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Success>(create);
static Success? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbMap<$core.String, $2.Payload> get outputs => $_getMap(0);
}
class ModuleDescriptor extends $pb.GeneratedMessage {
factory ModuleDescriptor({
$core.String? name,
$core.String? version,
$core.Iterable<$2.CapabilityRef>? provides,
$core.Iterable<$core.String>? permissions,
}) {
final result = create();
if (name != null) result.name = name;
if (version != null) result.version = version;
if (provides != null) result.provides.addAll(provides);
if (permissions != null) result.permissions.addAll(permissions);
return result;
}
ModuleDescriptor._();
factory ModuleDescriptor.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory ModuleDescriptor.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'ModuleDescriptor',
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..aOS(2, _omitFieldNames ? '' : 'version')
..pPM<$2.CapabilityRef>(3, _omitFieldNames ? '' : 'provides',
subBuilder: $2.CapabilityRef.create)
..pPS(4, _omitFieldNames ? '' : 'permissions')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ModuleDescriptor clone() => deepCopy();
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ModuleDescriptor copyWith(void Function(ModuleDescriptor) updates) =>
super.copyWith((message) => updates(message as ModuleDescriptor))
as ModuleDescriptor;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ModuleDescriptor create() => ModuleDescriptor._();
@$core.override
ModuleDescriptor createEmptyInstance() => create();
@$core.pragma('dart2js:noInline')
static ModuleDescriptor getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<ModuleDescriptor>(create);
static ModuleDescriptor? _defaultInstance;
@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
@$pb.TagNumber(1)
set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get version => $_getSZ(1);
@$pb.TagNumber(2)
set version($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasVersion() => $_has(1);
@$pb.TagNumber(2)
void clearVersion() => $_clearField(2);
@$pb.TagNumber(3)
$pb.PbList<$2.CapabilityRef> get provides => $_getList(2);
@$pb.TagNumber(4)
$pb.PbList<$core.String> get permissions => $_getList(3);
}
const $core.bool _omitFieldNames =
$core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames =
$core.bool.fromEnvironment('protobuf.omit_message_names');

View file

@ -0,0 +1,11 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/module.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports

View file

@ -0,0 +1,107 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/module.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:async' as $async;
import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
import 'module.pb.dart' as $0;
export 'module.pb.dart';
/// The Module service is what the hub calls to invoke a module.
///
/// In Phase 0, modules run in-process as WASM components and this
/// service is not over the wire. The proto definition exists so that
/// external module processes (OCI, remote) can implement the same
/// contract in Phase 1+.
@$pb.GrpcServiceName('chain.v1.Module')
class ModuleClient extends $grpc.Client {
/// The hostname for this service.
static const $core.String defaultHost = '';
/// OAuth scopes needed for the client.
static const $core.List<$core.String> oauthScopes = [
'',
];
ModuleClient(super.channel, {super.options, super.interceptors});
/// Invoke the module once with typed inputs, receive typed outputs.
$grpc.ResponseFuture<$0.InvokeResponse> invoke(
$0.InvokeRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$invoke, request, options: options);
}
/// Return the module's self-description.
$grpc.ResponseFuture<$0.ModuleDescriptor> describe(
$1.Empty request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$describe, request, options: options);
}
// method descriptors
static final _$invoke =
$grpc.ClientMethod<$0.InvokeRequest, $0.InvokeResponse>(
'/chain.v1.Module/Invoke',
($0.InvokeRequest value) => value.writeToBuffer(),
$0.InvokeResponse.fromBuffer);
static final _$describe = $grpc.ClientMethod<$1.Empty, $0.ModuleDescriptor>(
'/chain.v1.Module/Describe',
($1.Empty value) => value.writeToBuffer(),
$0.ModuleDescriptor.fromBuffer);
}
@$pb.GrpcServiceName('chain.v1.Module')
abstract class ModuleServiceBase extends $grpc.Service {
$core.String get $name => 'chain.v1.Module';
ModuleServiceBase() {
$addMethod($grpc.ServiceMethod<$0.InvokeRequest, $0.InvokeResponse>(
'Invoke',
invoke_Pre,
false,
false,
($core.List<$core.int> value) => $0.InvokeRequest.fromBuffer(value),
($0.InvokeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Empty, $0.ModuleDescriptor>(
'Describe',
describe_Pre,
false,
false,
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
($0.ModuleDescriptor value) => value.writeToBuffer()));
}
$async.Future<$0.InvokeResponse> invoke_Pre(
$grpc.ServiceCall $call, $async.Future<$0.InvokeRequest> $request) async {
return invoke($call, await $request);
}
$async.Future<$0.InvokeResponse> invoke(
$grpc.ServiceCall call, $0.InvokeRequest request);
$async.Future<$0.ModuleDescriptor> describe_Pre(
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
return describe($call, await $request);
}
$async.Future<$0.ModuleDescriptor> describe(
$grpc.ServiceCall call, $1.Empty request);
}

View file

@ -0,0 +1,172 @@
// This is a generated file - do not edit.
//
// Generated from chain/v1/module.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
// ignore_for_file: unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use invokeRequestDescriptor instead')
const InvokeRequest$json = {
'1': 'InvokeRequest',
'2': [
{
'1': 'invocation_id',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.InvocationId',
'10': 'invocationId'
},
{
'1': 'capability',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.CapabilityRef',
'10': 'capability'
},
{
'1': 'inputs',
'3': 3,
'4': 3,
'5': 11,
'6': '.chain.v1.InvokeRequest.InputsEntry',
'10': 'inputs'
},
{'1': 'deadline_ms', '3': 4, '4': 1, '5': 4, '10': 'deadlineMs'},
],
'3': [InvokeRequest_InputsEntry$json],
};
@$core.Deprecated('Use invokeRequestDescriptor instead')
const InvokeRequest_InputsEntry$json = {
'1': 'InputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `InvokeRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invokeRequestDescriptor = $convert.base64Decode(
'Cg1JbnZva2VSZXF1ZXN0EjkKDWludm9jYXRpb25faWQYASABKAsyFC5mYWkudjEuSW52b2NhdG'
'lvbklkUgxpbnZvY2F0aW9uSWQSNQoKY2FwYWJpbGl0eRgCIAEoCzIVLmZhaS52MS5DYXBhYmls'
'aXR5UmVmUgpjYXBhYmlsaXR5EjkKBmlucHV0cxgDIAMoCzIhLmZhaS52MS5JbnZva2VSZXF1ZX'
'N0LklucHV0c0VudHJ5UgZpbnB1dHMSHwoLZGVhZGxpbmVfbXMYBCABKARSCmRlYWRsaW5lTXMa'
'SgoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSJQoFdmFsdWUYAiABKAsyDy5mYWkudj'
'EuUGF5bG9hZFIFdmFsdWU6AjgB');
@$core.Deprecated('Use invokeResponseDescriptor instead')
const InvokeResponse$json = {
'1': 'InvokeResponse',
'2': [
{
'1': 'success',
'3': 1,
'4': 1,
'5': 11,
'6': '.chain.v1.Success',
'9': 0,
'10': 'success'
},
{
'1': 'error',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.FaiError',
'9': 0,
'10': 'error'
},
],
'8': [
{'1': 'result'},
],
};
/// Descriptor for `InvokeResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List invokeResponseDescriptor = $convert.base64Decode(
'Cg5JbnZva2VSZXNwb25zZRIrCgdzdWNjZXNzGAEgASgLMg8uZmFpLnYxLlN1Y2Nlc3NIAFIHc3'
'VjY2VzcxIoCgVlcnJvchgCIAEoCzIQLmZhaS52MS5GYWlFcnJvckgAUgVlcnJvckIICgZyZXN1'
'bHQ=');
@$core.Deprecated('Use successDescriptor instead')
const Success$json = {
'1': 'Success',
'2': [
{
'1': 'outputs',
'3': 1,
'4': 3,
'5': 11,
'6': '.chain.v1.Success.OutputsEntry',
'10': 'outputs'
},
],
'3': [Success_OutputsEntry$json],
};
@$core.Deprecated('Use successDescriptor instead')
const Success_OutputsEntry$json = {
'1': 'OutputsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.chain.v1.Payload',
'10': 'value'
},
],
'7': {'7': true},
};
/// Descriptor for `Success`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List successDescriptor = $convert.base64Decode(
'CgdTdWNjZXNzEjYKB291dHB1dHMYASADKAsyHC5mYWkudjEuU3VjY2Vzcy5PdXRwdXRzRW50cn'
'lSB291dHB1dHMaSwoMT3V0cHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiUKBXZhbHVlGAIg'
'ASgLMg8uZmFpLnYxLlBheWxvYWRSBXZhbHVlOgI4AQ==');
@$core.Deprecated('Use moduleDescriptorDescriptor instead')
const ModuleDescriptor$json = {
'1': 'ModuleDescriptor',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'},
{
'1': 'provides',
'3': 3,
'4': 3,
'5': 11,
'6': '.chain.v1.CapabilityRef',
'10': 'provides'
},
{'1': 'permissions', '3': 4, '4': 3, '5': 9, '10': 'permissions'},
],
};
/// Descriptor for `ModuleDescriptor`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List moduleDescriptorDescriptor = $convert.base64Decode(
'ChBNb2R1bGVEZXNjcmlwdG9yEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHdmVyc2lvbhgCIAEoCV'
'IHdmVyc2lvbhIxCghwcm92aWRlcxgDIAMoCzIVLmZhaS52MS5DYXBhYmlsaXR5UmVmUghwcm92'
'aWRlcxIgCgtwZXJtaXNzaW9ucxgEIAMoCVILcGVybWlzc2lvbnM=');