refactor: regenerate gRPC stubs for chain.v1 wire package
Some checks are pending
Security / Security check (push) Waiting to run
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:
parent
75a4b2b306
commit
d680cf3462
18 changed files with 282 additions and 282 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/// gRPC client for the Ch∆In hub.
|
||||
///
|
||||
/// Provides a typed Dart wrapper around the hub's gRPC services
|
||||
/// (Hub, HubAdmin) defined in `fai/platform`'s `proto/fai/v1/`
|
||||
/// (Hub, HubAdmin) defined in `fai/chain`'s `proto/chain/v1/`
|
||||
/// directory. Used by F∆I Studio and any Tier-3 Dart/Flutter
|
||||
/// app (DigiScout, J∆I, Scout, …) that wants to talk to a hub.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/common.proto.
|
||||
// Generated from chain/v1/common.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ class InvocationId extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvocationId',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'value')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -104,7 +104,7 @@ class CapabilityRef extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CapabilityRef',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'namespace')
|
||||
..aOS(2, _omitFieldNames ? '' : 'name')
|
||||
|
|
@ -194,7 +194,7 @@ class Payload extends $pb.GeneratedMessage {
|
|||
};
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Payload',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..oo(0, [1, 2, 3, 4])
|
||||
..aOS(1, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -298,7 +298,7 @@ class Bytes extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Bytes',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'mimeType')
|
||||
..a<$core.List<$core.int>>(
|
||||
|
|
@ -368,7 +368,7 @@ class FileRef extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FileRef',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'uri')
|
||||
..aOS(2, _omitFieldNames ? '' : 'mimeType')
|
||||
|
|
@ -458,7 +458,7 @@ class FaiError extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FaiError',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aE<FaiError_Code>(1, _omitFieldNames ? '' : 'code',
|
||||
enumValues: FaiError_Code.values)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/common.proto.
|
||||
// Generated from chain/v1/common.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/common.proto.
|
||||
// Generated from chain/v1/common.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ const Payload$json = {
|
|||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Bytes',
|
||||
'6': '.chain.v1.Bytes',
|
||||
'9': 0,
|
||||
'10': 'bytes'
|
||||
},
|
||||
|
|
@ -70,7 +70,7 @@ const Payload$json = {
|
|||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.FileRef',
|
||||
'6': '.chain.v1.FileRef',
|
||||
'9': 0,
|
||||
'10': 'file'
|
||||
},
|
||||
|
|
@ -125,7 +125,7 @@ const FaiError$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.fai.v1.FaiError.Code',
|
||||
'6': '.chain.v1.FaiError.Code',
|
||||
'10': 'code'
|
||||
},
|
||||
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/federation.proto.
|
||||
// Generated from chain/v1/federation.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ class ControlMessage extends $pb.GeneratedMessage {
|
|||
};
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ControlMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
|
||||
..aOM<HelloMessage>(1, _omitFieldNames ? '' : 'hello',
|
||||
|
|
@ -317,7 +317,7 @@ class DispatchCall extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DispatchCall',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'requestId')
|
||||
..aOM<DispatchRequest>(2, _omitFieldNames ? '' : 'request',
|
||||
|
|
@ -390,7 +390,7 @@ class DispatchResult extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DispatchResult',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'requestId')
|
||||
..aOM<DispatchResponse>(2, _omitFieldNames ? '' : 'response',
|
||||
|
|
@ -480,7 +480,7 @@ class HelloMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'HelloMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'hubId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'displayName')
|
||||
|
|
@ -645,7 +645,7 @@ class AcceptMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AcceptMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aI(1, _omitFieldNames ? '' : 'wireVersionChosen',
|
||||
fieldType: $pb.PbFieldType.OU3)
|
||||
|
|
@ -770,7 +770,7 @@ class AdvertiseMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AdvertiseMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<CapabilityAdvertisement>(1, _omitFieldNames ? '' : 'capabilities',
|
||||
subBuilder: CapabilityAdvertisement.create)
|
||||
|
|
@ -838,7 +838,7 @@ class CapabilityAdvertisement extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CapabilityAdvertisement',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capabilityId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'originUuid')
|
||||
|
|
@ -1001,7 +1001,7 @@ class Quality extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Quality',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aI(1, _omitFieldNames ? '' : 'rttP50Ms', fieldType: $pb.PbFieldType.OU3)
|
||||
..aI(2, _omitFieldNames ? '' : 'rttP95Ms', fieldType: $pb.PbFieldType.OU3)
|
||||
|
|
@ -1109,7 +1109,7 @@ class WithdrawMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'WithdrawMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPS(1, _omitFieldNames ? '' : 'capabilityIds')
|
||||
..aOS(2, _omitFieldNames ? '' : 'originUuid')
|
||||
|
|
@ -1173,7 +1173,7 @@ class HeartbeatMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'HeartbeatMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OU6,
|
||||
defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
|
|
@ -1242,7 +1242,7 @@ class HeartbeatAck extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'HeartbeatAck',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OU6,
|
||||
defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
|
|
@ -1313,7 +1313,7 @@ class RenameMessage extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RenameMessage',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'newDisplayName')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -1373,7 +1373,7 @@ class CertRenewRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CertRenewRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'csrPem')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -1432,7 +1432,7 @@ class CertRenewResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CertRenewResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'certPem')
|
||||
..aOS(2, _omitFieldNames ? '' : 'expiresAt')
|
||||
|
|
@ -1524,7 +1524,7 @@ class DispatchRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DispatchRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capabilityId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'targetHubId')
|
||||
|
|
@ -1534,7 +1534,7 @@ class DispatchRequest extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $1.Payload.create,
|
||||
valueDefaultOrMaker: $1.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..aOS(4, _omitFieldNames ? '' : 'traceId')
|
||||
..aOS(5, _omitFieldNames ? '' : 'nonce')
|
||||
..aOS(6, _omitFieldNames ? '' : 'callerName')
|
||||
|
|
@ -1663,7 +1663,7 @@ class DispatchResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DispatchResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..m<$core.String, $1.Payload>(1, _omitFieldNames ? '' : 'outputs',
|
||||
entryClassName: 'DispatchResponse.OutputsEntry',
|
||||
|
|
@ -1671,7 +1671,7 @@ class DispatchResponse extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $1.Payload.create,
|
||||
valueDefaultOrMaker: $1.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..aOM<$1.FaiError>(2, _omitFieldNames ? '' : 'error',
|
||||
subBuilder: $1.FaiError.create)
|
||||
..aI(3, _omitFieldNames ? '' : 'durationMs', fieldType: $pb.PbFieldType.OU3)
|
||||
|
|
@ -1780,7 +1780,7 @@ class BlobChunk extends $pb.GeneratedMessage {
|
|||
};
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'BlobChunk',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..oo(0, [1, 2, 3, 4])
|
||||
..aOM<BlobOpen>(1, _omitFieldNames ? '' : 'open',
|
||||
|
|
@ -1892,7 +1892,7 @@ class BlobOpen extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'BlobOpen',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'operation')
|
||||
..aOS(2, _omitFieldNames ? '' : 'sha256')
|
||||
|
|
@ -2000,7 +2000,7 @@ class BlobEof extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'BlobEof',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'sha256')
|
||||
..a<$fixnum.Int64>(
|
||||
|
|
@ -2072,7 +2072,7 @@ class BlobError extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'BlobError',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'code')
|
||||
..aOS(2, _omitFieldNames ? '' : 'message')
|
||||
|
|
@ -2147,7 +2147,7 @@ class EventsRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EventsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'filterHubId')
|
||||
..pPS(2, _omitFieldNames ? '' : 'eventTypes')
|
||||
|
|
@ -2253,7 +2253,7 @@ class RelayedEvent extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RelayedEvent',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'originHubId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'originDisplayName')
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/federation.proto.
|
||||
// Generated from chain/v1/federation.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/federation.proto.
|
||||
// Generated from chain/v1/federation.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ export 'federation.pb.dart';
|
|||
///
|
||||
/// See `docs/architecture/federation.md` for the full design,
|
||||
/// security model, and threat-model summary.
|
||||
@$pb.GrpcServiceName('fai.v1.Federation')
|
||||
@$pb.GrpcServiceName('chain.v1.Federation')
|
||||
class FederationClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
|
@ -104,27 +104,27 @@ class FederationClient extends $grpc.Client {
|
|||
|
||||
static final _$control =
|
||||
$grpc.ClientMethod<$0.ControlMessage, $0.ControlMessage>(
|
||||
'/fai.v1.Federation/Control',
|
||||
'/chain.v1.Federation/Control',
|
||||
($0.ControlMessage value) => value.writeToBuffer(),
|
||||
$0.ControlMessage.fromBuffer);
|
||||
static final _$dispatch =
|
||||
$grpc.ClientMethod<$0.DispatchRequest, $0.DispatchResponse>(
|
||||
'/fai.v1.Federation/Dispatch',
|
||||
'/chain.v1.Federation/Dispatch',
|
||||
($0.DispatchRequest value) => value.writeToBuffer(),
|
||||
$0.DispatchResponse.fromBuffer);
|
||||
static final _$blob = $grpc.ClientMethod<$0.BlobChunk, $0.BlobChunk>(
|
||||
'/fai.v1.Federation/Blob',
|
||||
'/chain.v1.Federation/Blob',
|
||||
($0.BlobChunk value) => value.writeToBuffer(),
|
||||
$0.BlobChunk.fromBuffer);
|
||||
static final _$events = $grpc.ClientMethod<$0.EventsRequest, $0.RelayedEvent>(
|
||||
'/fai.v1.Federation/Events',
|
||||
'/chain.v1.Federation/Events',
|
||||
($0.EventsRequest value) => value.writeToBuffer(),
|
||||
$0.RelayedEvent.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('fai.v1.Federation')
|
||||
@$pb.GrpcServiceName('chain.v1.Federation')
|
||||
abstract class FederationServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'fai.v1.Federation';
|
||||
$core.String get $name => 'chain.v1.Federation';
|
||||
|
||||
FederationServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.ControlMessage, $0.ControlMessage>(
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/federation.proto.
|
||||
// Generated from chain/v1/federation.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ const ControlMessage$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.HelloMessage',
|
||||
'6': '.chain.v1.HelloMessage',
|
||||
'9': 0,
|
||||
'10': 'hello'
|
||||
},
|
||||
|
|
@ -33,7 +33,7 @@ const ControlMessage$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.AcceptMessage',
|
||||
'6': '.chain.v1.AcceptMessage',
|
||||
'9': 0,
|
||||
'10': 'accept'
|
||||
},
|
||||
|
|
@ -42,7 +42,7 @@ const ControlMessage$json = {
|
|||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.AdvertiseMessage',
|
||||
'6': '.chain.v1.AdvertiseMessage',
|
||||
'9': 0,
|
||||
'10': 'advertise'
|
||||
},
|
||||
|
|
@ -51,7 +51,7 @@ const ControlMessage$json = {
|
|||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.WithdrawMessage',
|
||||
'6': '.chain.v1.WithdrawMessage',
|
||||
'9': 0,
|
||||
'10': 'withdraw'
|
||||
},
|
||||
|
|
@ -60,7 +60,7 @@ const ControlMessage$json = {
|
|||
'3': 5,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.HeartbeatMessage',
|
||||
'6': '.chain.v1.HeartbeatMessage',
|
||||
'9': 0,
|
||||
'10': 'heartbeat'
|
||||
},
|
||||
|
|
@ -69,7 +69,7 @@ const ControlMessage$json = {
|
|||
'3': 6,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.HeartbeatAck',
|
||||
'6': '.chain.v1.HeartbeatAck',
|
||||
'9': 0,
|
||||
'10': 'heartbeatAck'
|
||||
},
|
||||
|
|
@ -78,7 +78,7 @@ const ControlMessage$json = {
|
|||
'3': 7,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.RenameMessage',
|
||||
'6': '.chain.v1.RenameMessage',
|
||||
'9': 0,
|
||||
'10': 'rename'
|
||||
},
|
||||
|
|
@ -87,7 +87,7 @@ const ControlMessage$json = {
|
|||
'3': 8,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CertRenewRequest',
|
||||
'6': '.chain.v1.CertRenewRequest',
|
||||
'9': 0,
|
||||
'10': 'certRenewRequest'
|
||||
},
|
||||
|
|
@ -96,7 +96,7 @@ const ControlMessage$json = {
|
|||
'3': 9,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CertRenewResponse',
|
||||
'6': '.chain.v1.CertRenewResponse',
|
||||
'9': 0,
|
||||
'10': 'certRenewResponse'
|
||||
},
|
||||
|
|
@ -105,7 +105,7 @@ const ControlMessage$json = {
|
|||
'3': 10,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchCall',
|
||||
'6': '.chain.v1.DispatchCall',
|
||||
'9': 0,
|
||||
'10': 'dispatchCall'
|
||||
},
|
||||
|
|
@ -114,7 +114,7 @@ const ControlMessage$json = {
|
|||
'3': 11,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchResult',
|
||||
'6': '.chain.v1.DispatchResult',
|
||||
'9': 0,
|
||||
'10': 'dispatchResult'
|
||||
},
|
||||
|
|
@ -150,7 +150,7 @@ const DispatchCall$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchRequest',
|
||||
'6': '.chain.v1.DispatchRequest',
|
||||
'10': 'request'
|
||||
},
|
||||
],
|
||||
|
|
@ -171,7 +171,7 @@ const DispatchResult$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchResponse',
|
||||
'6': '.chain.v1.DispatchResponse',
|
||||
'10': 'response'
|
||||
},
|
||||
],
|
||||
|
|
@ -275,7 +275,7 @@ const AdvertiseMessage$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityAdvertisement',
|
||||
'6': '.chain.v1.CapabilityAdvertisement',
|
||||
'10': 'capabilities'
|
||||
},
|
||||
],
|
||||
|
|
@ -300,7 +300,7 @@ const CapabilityAdvertisement$json = {
|
|||
'3': 6,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Quality',
|
||||
'6': '.chain.v1.Quality',
|
||||
'10': 'quality'
|
||||
},
|
||||
{'1': 'permissions', '3': 7, '4': 3, '5': 9, '10': 'permissions'},
|
||||
|
|
@ -430,7 +430,7 @@ const DispatchRequest$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchRequest.InputsEntry',
|
||||
'6': '.chain.v1.DispatchRequest.InputsEntry',
|
||||
'10': 'inputs'
|
||||
},
|
||||
{'1': 'trace_id', '3': 4, '4': 1, '5': 9, '10': 'traceId'},
|
||||
|
|
@ -451,7 +451,7 @@ const DispatchRequest_InputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -477,7 +477,7 @@ const DispatchResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DispatchResponse.OutputsEntry',
|
||||
'6': '.chain.v1.DispatchResponse.OutputsEntry',
|
||||
'10': 'outputs'
|
||||
},
|
||||
{
|
||||
|
|
@ -485,7 +485,7 @@ const DispatchResponse$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.FaiError',
|
||||
'6': '.chain.v1.FaiError',
|
||||
'10': 'error'
|
||||
},
|
||||
{'1': 'duration_ms', '3': 3, '4': 1, '5': 13, '10': 'durationMs'},
|
||||
|
|
@ -510,7 +510,7 @@ const DispatchResponse_OutputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -535,7 +535,7 @@ const BlobChunk$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.BlobOpen',
|
||||
'6': '.chain.v1.BlobOpen',
|
||||
'9': 0,
|
||||
'10': 'open'
|
||||
},
|
||||
|
|
@ -545,7 +545,7 @@ const BlobChunk$json = {
|
|||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.BlobEof',
|
||||
'6': '.chain.v1.BlobEof',
|
||||
'9': 0,
|
||||
'10': 'eof'
|
||||
},
|
||||
|
|
@ -554,7 +554,7 @@ const BlobChunk$json = {
|
|||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.BlobError',
|
||||
'6': '.chain.v1.BlobError',
|
||||
'9': 0,
|
||||
'10': 'error'
|
||||
},
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/hub.proto.
|
||||
// Generated from chain/v1/hub.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ class SubmitRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SubmitRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..a<$core.List<$core.int>>(
|
||||
1, _omitFieldNames ? '' : 'flowYaml', $pb.PbFieldType.OY)
|
||||
|
|
@ -54,7 +54,7 @@ class SubmitRequest extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $2.Payload.create,
|
||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -113,7 +113,7 @@ class SubmitResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SubmitResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<$2.InvocationId>(1, _omitFieldNames ? '' : 'invocationId',
|
||||
subBuilder: $2.InvocationId.create)
|
||||
|
|
@ -123,7 +123,7 @@ class SubmitResponse extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $2.Payload.create,
|
||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -181,7 +181,7 @@ class ModuleList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<ModuleSummary>(1, _omitFieldNames ? '' : 'modules',
|
||||
subBuilder: ModuleSummary.create)
|
||||
|
|
@ -233,7 +233,7 @@ class ModuleSummary extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleSummary',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -304,7 +304,7 @@ class HealthStatus extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'HealthStatus',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aE<HealthStatus_State>(1, _omitFieldNames ? '' : 'state',
|
||||
enumValues: HealthStatus_State.values)
|
||||
|
|
@ -369,7 +369,7 @@ class CapabilityList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CapabilityList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<CapabilityEntry>(1, _omitFieldNames ? '' : 'capabilities',
|
||||
subBuilder: CapabilityEntry.create)
|
||||
|
|
@ -432,7 +432,7 @@ class CapabilityEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CapabilityEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capability')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -591,7 +591,7 @@ class ModuleInfoRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleInfoRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'moduleName')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -661,7 +661,7 @@ class ModuleInfoResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleInfoResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -787,7 +787,7 @@ class ConsumedCapability extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ConsumedCapability',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capability')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -873,7 +873,7 @@ class ModuleField extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleField',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'type')
|
||||
|
|
@ -881,7 +881,7 @@ class ModuleField extends $pb.GeneratedMessage {
|
|||
entryClassName: 'ModuleField.DescriptionEntry',
|
||||
keyFieldType: $pb.PbFieldType.OS,
|
||||
valueFieldType: $pb.PbFieldType.OS,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -952,7 +952,7 @@ class CheckPermissionRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CheckPermissionRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'moduleName')
|
||||
..aOS(2, _omitFieldNames ? '' : 'permission')
|
||||
|
|
@ -1020,7 +1020,7 @@ class CheckPermissionResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CheckPermissionResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'allowed')
|
||||
..aOS(2, _omitFieldNames ? '' : 'reason')
|
||||
|
|
@ -1088,7 +1088,7 @@ class EventLogRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EventLogRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aI(1, _omitFieldNames ? '' : 'limit')
|
||||
..pPS(2, _omitFieldNames ? '' : 'eventTypes')
|
||||
|
|
@ -1148,7 +1148,7 @@ class EventLogResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EventLogResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<LoggedEvent>(1, _omitFieldNames ? '' : 'events',
|
||||
subBuilder: LoggedEvent.create)
|
||||
|
|
@ -1199,7 +1199,7 @@ class StreamEventsRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'StreamEventsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aI(1, _omitFieldNames ? '' : 'backfill')
|
||||
..pPS(2, _omitFieldNames ? '' : 'eventTypes')
|
||||
|
|
@ -1287,7 +1287,7 @@ class LoggedEvent extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'LoggedEvent',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'eventId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'timestamp')
|
||||
|
|
@ -1475,7 +1475,7 @@ class SaveFlowRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SaveFlowRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..a<$core.List<$core.int>>(
|
||||
|
|
@ -1555,7 +1555,7 @@ class SaveFlowResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SaveFlowResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOB(2, _omitFieldNames ? '' : 'created')
|
||||
|
|
@ -1619,7 +1619,7 @@ class DeleteFlowRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DeleteFlowRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -1673,7 +1673,7 @@ class DeleteFlowResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DeleteFlowResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -1727,7 +1727,7 @@ class FlowList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FlowList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<FlowSummary>(1, _omitFieldNames ? '' : 'flows',
|
||||
subBuilder: FlowSummary.create)
|
||||
|
|
@ -1782,7 +1782,7 @@ class FlowSummary extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FlowSummary',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'path')
|
||||
|
|
@ -1868,7 +1868,7 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RunSavedFlowRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..m<$core.String, $2.Payload>(2, _omitFieldNames ? '' : 'inputs',
|
||||
|
|
@ -1877,7 +1877,7 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $2.Payload.create,
|
||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -1932,7 +1932,7 @@ class GetFlowDefinitionRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetFlowDefinitionRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -1993,7 +1993,7 @@ class FlowDefinition extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FlowDefinition',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..pPM<FlowInputSpec>(2, _omitFieldNames ? '' : 'inputs',
|
||||
|
|
@ -2057,7 +2057,7 @@ class FlowInputSpec extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FlowInputSpec',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'type')
|
||||
|
|
@ -2136,7 +2136,7 @@ class SearchStoreRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SearchStoreRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'query')
|
||||
..aOS(2, _omitFieldNames ? '' : 'category')
|
||||
|
|
@ -2260,7 +2260,7 @@ class StoreSearchResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'StoreSearchResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<StoreEntry>(1, _omitFieldNames ? '' : 'entries',
|
||||
subBuilder: StoreEntry.create)
|
||||
|
|
@ -2313,7 +2313,7 @@ class InstallModuleRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InstallModuleRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'source')
|
||||
..aOS(2, _omitFieldNames ? '' : 'expectedSha256')
|
||||
|
|
@ -2399,7 +2399,7 @@ class InstallModuleResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InstallModuleResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -2477,7 +2477,7 @@ class UninstallModuleRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UninstallModuleRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -2548,7 +2548,7 @@ class UninstallModuleResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UninstallModuleResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -2617,7 +2617,7 @@ class FetchModuleDocsRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FetchModuleDocsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'locale')
|
||||
|
|
@ -2693,7 +2693,7 @@ class FetchModuleDocsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'FetchModuleDocsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'errorKind')
|
||||
..aOS(2, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -2780,7 +2780,7 @@ class GetInstalledModuleDocsRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetInstalledModuleDocsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'locale')
|
||||
|
|
@ -2858,7 +2858,7 @@ class GetInstalledModuleDocsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetInstalledModuleDocsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'text')
|
||||
..aOS(2, _omitFieldNames ? '' : 'sourcePath')
|
||||
|
|
@ -2945,7 +2945,7 @@ class InvokePluginThemeRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokePluginThemeRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capability')
|
||||
..aOS(2, _omitFieldNames ? '' : 'brightness')
|
||||
|
|
@ -3023,7 +3023,7 @@ class InvokePluginTranslateRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokePluginTranslateRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'capability')
|
||||
..aOS(2, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -3115,7 +3115,7 @@ class InvokePluginTranslateResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokePluginTranslateResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'translated')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -3176,7 +3176,7 @@ class InvokePluginThemeResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokePluginThemeResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'brightness')
|
||||
..p<$core.int>(2, _omitFieldNames ? '' : 'tokens', $pb.PbFieldType.KU3)
|
||||
|
|
@ -3248,7 +3248,7 @@ class ListApprovalsRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListApprovalsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPS(1, _omitFieldNames ? '' : 'statuses')
|
||||
..aI(2, _omitFieldNames ? '' : 'limit')
|
||||
|
|
@ -3309,7 +3309,7 @@ class ApprovalList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ApprovalList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<PendingApprovalEntry>(1, _omitFieldNames ? '' : 'entries',
|
||||
subBuilder: PendingApprovalEntry.create)
|
||||
|
|
@ -3380,7 +3380,7 @@ class PendingApprovalEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PendingApprovalEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'approvalId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'flowExecution')
|
||||
|
|
@ -3555,7 +3555,7 @@ class DecideApprovalRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DecideApprovalRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'approvalId')
|
||||
..aE<DecideApprovalRequest_Decision>(2, _omitFieldNames ? '' : 'decision',
|
||||
|
|
@ -3645,7 +3645,7 @@ class DecideApprovalResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DecideApprovalResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'approvalId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'status')
|
||||
|
|
@ -3715,7 +3715,7 @@ class VerifyEventChainResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'VerifyEventChainResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aInt64(1, _omitFieldNames ? '' : 'total')
|
||||
..aInt64(2, _omitFieldNames ? '' : 'verified')
|
||||
|
|
@ -3795,7 +3795,7 @@ class ServiceList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ServiceList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<DeclaredService>(1, _omitFieldNames ? '' : 'services',
|
||||
subBuilder: DeclaredService.create)
|
||||
|
|
@ -3850,7 +3850,7 @@ class DeclaredService extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DeclaredService',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'endpoint')
|
||||
|
|
@ -3971,7 +3971,7 @@ class StoreEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'StoreEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'taglineEn')
|
||||
|
|
@ -4239,7 +4239,7 @@ class ChannelStatusResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ChannelStatusResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'active')
|
||||
..pPM<ChannelEntry>(2, _omitFieldNames ? '' : 'channels',
|
||||
|
|
@ -4306,7 +4306,7 @@ class ChannelEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ChannelEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aI(2, _omitFieldNames ? '' : 'port', fieldType: $pb.PbFieldType.OU3)
|
||||
|
|
@ -4404,7 +4404,7 @@ class DaemonPathsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DaemonPathsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'logPath')
|
||||
..aOS(2, _omitFieldNames ? '' : 'dbPath')
|
||||
|
|
@ -4532,7 +4532,7 @@ class CheckUpdateResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CheckUpdateResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'channel')
|
||||
..aOS(2, _omitFieldNames ? '' : 'localVersion')
|
||||
|
|
@ -4693,7 +4693,7 @@ class SystemAiStatusResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SystemAiStatusResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'enabled')
|
||||
..aOS(2, _omitFieldNames ? '' : 'provider')
|
||||
|
|
@ -4822,7 +4822,7 @@ class AskAiRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AskAiRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'prompt')
|
||||
..aOB(2, _omitFieldNames ? '' : 'forceFresh')
|
||||
|
|
@ -4902,7 +4902,7 @@ class AskAiResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AskAiResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'errorKind')
|
||||
..aOS(2, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -5023,7 +5023,7 @@ class ClearSystemLlmCacheResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ClearSystemLlmCacheResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'purged', $pb.PbFieldType.OU6,
|
||||
defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
|
|
@ -5090,7 +5090,7 @@ class UpdateSystemAiRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateSystemAiRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'provider')
|
||||
..aOS(2, _omitFieldNames ? '' : 'endpoint')
|
||||
|
|
@ -5201,7 +5201,7 @@ class TestSystemAiRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'TestSystemAiRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'provider')
|
||||
..aOS(2, _omitFieldNames ? '' : 'endpoint')
|
||||
|
|
@ -5302,7 +5302,7 @@ class ListSystemAiModelsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListSystemAiModelsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'errorKind')
|
||||
..aOS(2, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -5377,7 +5377,7 @@ class SystemAiModel extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SystemAiModel',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'id')
|
||||
..aOS(2, _omitFieldNames ? '' : 'ownedBy')
|
||||
|
|
@ -5447,7 +5447,7 @@ class PullSystemAiModelRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PullSystemAiModelRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'endpoint')
|
||||
..aOS(2, _omitFieldNames ? '' : 'apiKeyEnv')
|
||||
|
|
@ -5529,7 +5529,7 @@ class PullSystemAiModelResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PullSystemAiModelResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'errorKind')
|
||||
..aOS(2, _omitFieldNames ? '' : 'text')
|
||||
|
|
@ -5617,7 +5617,7 @@ class HardwareInfoResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'HardwareInfoResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'tier')
|
||||
..aOS(2, _omitFieldNames ? '' : 'cpuBrand')
|
||||
|
|
@ -5740,7 +5740,7 @@ class ListSystemAiCuratedModelsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListSystemAiCuratedModelsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<CuratedModel>(1, _omitFieldNames ? '' : 'models',
|
||||
subBuilder: CuratedModel.create)
|
||||
|
|
@ -5819,7 +5819,7 @@ class CuratedModel extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CuratedModel',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'id')
|
||||
..aOS(2, _omitFieldNames ? '' : 'family')
|
||||
|
|
@ -5952,7 +5952,7 @@ class ClearEventLogRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ClearEventLogRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'reviewer')
|
||||
..aOS(2, _omitFieldNames ? '' : 'reason')
|
||||
|
|
@ -6023,7 +6023,7 @@ class ClearEventLogResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ClearEventLogResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'purged', $pb.PbFieldType.OU6,
|
||||
defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
|
|
@ -6093,7 +6093,7 @@ class SetDefaultScopeRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SetDefaultScopeRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPS(1, _omitFieldNames ? '' : 'scope')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -6148,7 +6148,7 @@ class DefaultScopeResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DefaultScopeResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPS(1, _omitFieldNames ? '' : 'scope')
|
||||
..pPS(2, _omitFieldNames ? '' : 'knownProviders')
|
||||
|
|
@ -6206,7 +6206,7 @@ class ReloadAuthResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ReloadAuthResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aI(1, _omitFieldNames ? '' : 'tokenCount', fieldType: $pb.PbFieldType.OU3)
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -6269,7 +6269,7 @@ class McpClientConfigEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'McpClientConfigEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'endpoint')
|
||||
|
|
@ -6360,7 +6360,7 @@ class ListMcpClientsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListMcpClientsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<McpClientStatus>(1, _omitFieldNames ? '' : 'clients',
|
||||
subBuilder: McpClientStatus.create)
|
||||
|
|
@ -6418,7 +6418,7 @@ class McpClientStatus extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'McpClientStatus',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<McpClientConfigEntry>(1, _omitFieldNames ? '' : 'config',
|
||||
subBuilder: McpClientConfigEntry.create)
|
||||
|
|
@ -6512,7 +6512,7 @@ class RemoveMcpClientRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RemoveMcpClientRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -6573,7 +6573,7 @@ class N8nEndpointConfigEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'N8nEndpointConfigEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'baseUrl')
|
||||
|
|
@ -6659,7 +6659,7 @@ class ListN8nEndpointsResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListN8nEndpointsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<N8nEndpointStatus>(1, _omitFieldNames ? '' : 'endpoints',
|
||||
subBuilder: N8nEndpointStatus.create)
|
||||
|
|
@ -6715,7 +6715,7 @@ class N8nEndpointStatus extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'N8nEndpointStatus',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<N8nEndpointConfigEntry>(1, _omitFieldNames ? '' : 'config',
|
||||
subBuilder: N8nEndpointConfigEntry.create)
|
||||
|
|
@ -6803,7 +6803,7 @@ class RemoveN8nEndpointRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RemoveN8nEndpointRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..hasRequiredFields = false;
|
||||
|
|
@ -6862,7 +6862,7 @@ class IssueBootstrapTokenRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'IssueBootstrapTokenRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'satelliteName')
|
||||
..aOS(2, _omitFieldNames ? '' : 'region')
|
||||
|
|
@ -6947,7 +6947,7 @@ class IssueBootstrapTokenResponse extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'IssueBootstrapTokenResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'token')
|
||||
..aOS(2, _omitFieldNames ? '' : 'expiresAt')
|
||||
|
|
@ -7031,7 +7031,7 @@ class SatelliteList extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SatelliteList',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..pPM<SatelliteEntry>(1, _omitFieldNames ? '' : 'satellites',
|
||||
subBuilder: SatelliteEntry.create)
|
||||
|
|
@ -7090,7 +7090,7 @@ class SatelliteEntry extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SatelliteEntry',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'hubId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'displayName')
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/hub.proto.
|
||||
// Generated from chain/v1/hub.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/hub.proto.
|
||||
// Generated from chain/v1/hub.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ import 'hub.pb.dart' as $0;
|
|||
export 'hub.pb.dart';
|
||||
|
||||
/// The Hub service is what CLI clients, web UIs, or other tools talk to.
|
||||
@$pb.GrpcServiceName('fai.v1.Hub')
|
||||
@$pb.GrpcServiceName('chain.v1.Hub')
|
||||
class HubClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
|
@ -62,22 +62,22 @@ class HubClient extends $grpc.Client {
|
|||
|
||||
static final _$submit =
|
||||
$grpc.ClientMethod<$0.SubmitRequest, $0.SubmitResponse>(
|
||||
'/fai.v1.Hub/Submit',
|
||||
'/chain.v1.Hub/Submit',
|
||||
($0.SubmitRequest value) => value.writeToBuffer(),
|
||||
$0.SubmitResponse.fromBuffer);
|
||||
static final _$listModules = $grpc.ClientMethod<$1.Empty, $0.ModuleList>(
|
||||
'/fai.v1.Hub/ListModules',
|
||||
'/chain.v1.Hub/ListModules',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ModuleList.fromBuffer);
|
||||
static final _$health = $grpc.ClientMethod<$1.Empty, $0.HealthStatus>(
|
||||
'/fai.v1.Hub/Health',
|
||||
'/chain.v1.Hub/Health',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.HealthStatus.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('fai.v1.Hub')
|
||||
@$pb.GrpcServiceName('chain.v1.Hub')
|
||||
abstract class HubServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'fai.v1.Hub';
|
||||
$core.String get $name => 'chain.v1.Hub';
|
||||
|
||||
HubServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.SubmitRequest, $0.SubmitResponse>(
|
||||
|
|
@ -135,7 +135,7 @@ abstract class HubServiceBase extends $grpc.Service {
|
|||
/// Phase 0/0.5 (localhost trust). Phase 1+ adds bearer-token / mTLS
|
||||
/// auth on this surface. Calls from within modules require the
|
||||
/// `hub:` permission scope (read / install / admin).
|
||||
@$pb.GrpcServiceName('fai.v1.HubAdmin')
|
||||
@$pb.GrpcServiceName('chain.v1.HubAdmin')
|
||||
class HubAdminClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
|
@ -641,246 +641,246 @@ class HubAdminClient extends $grpc.Client {
|
|||
|
||||
static final _$listCapabilities =
|
||||
$grpc.ClientMethod<$1.Empty, $0.CapabilityList>(
|
||||
'/fai.v1.HubAdmin/ListCapabilities',
|
||||
'/chain.v1.HubAdmin/ListCapabilities',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.CapabilityList.fromBuffer);
|
||||
static final _$moduleInfo =
|
||||
$grpc.ClientMethod<$0.ModuleInfoRequest, $0.ModuleInfoResponse>(
|
||||
'/fai.v1.HubAdmin/ModuleInfo',
|
||||
'/chain.v1.HubAdmin/ModuleInfo',
|
||||
($0.ModuleInfoRequest value) => value.writeToBuffer(),
|
||||
$0.ModuleInfoResponse.fromBuffer);
|
||||
static final _$checkPermission =
|
||||
$grpc.ClientMethod<$0.CheckPermissionRequest, $0.CheckPermissionResponse>(
|
||||
'/fai.v1.HubAdmin/CheckPermission',
|
||||
'/chain.v1.HubAdmin/CheckPermission',
|
||||
($0.CheckPermissionRequest value) => value.writeToBuffer(),
|
||||
$0.CheckPermissionResponse.fromBuffer);
|
||||
static final _$eventLog =
|
||||
$grpc.ClientMethod<$0.EventLogRequest, $0.EventLogResponse>(
|
||||
'/fai.v1.HubAdmin/EventLog',
|
||||
'/chain.v1.HubAdmin/EventLog',
|
||||
($0.EventLogRequest value) => value.writeToBuffer(),
|
||||
$0.EventLogResponse.fromBuffer);
|
||||
static final _$streamEvents =
|
||||
$grpc.ClientMethod<$0.StreamEventsRequest, $0.LoggedEvent>(
|
||||
'/fai.v1.HubAdmin/StreamEvents',
|
||||
'/chain.v1.HubAdmin/StreamEvents',
|
||||
($0.StreamEventsRequest value) => value.writeToBuffer(),
|
||||
$0.LoggedEvent.fromBuffer);
|
||||
static final _$saveFlow =
|
||||
$grpc.ClientMethod<$0.SaveFlowRequest, $0.SaveFlowResponse>(
|
||||
'/fai.v1.HubAdmin/SaveFlow',
|
||||
'/chain.v1.HubAdmin/SaveFlow',
|
||||
($0.SaveFlowRequest value) => value.writeToBuffer(),
|
||||
$0.SaveFlowResponse.fromBuffer);
|
||||
static final _$deleteFlow =
|
||||
$grpc.ClientMethod<$0.DeleteFlowRequest, $0.DeleteFlowResponse>(
|
||||
'/fai.v1.HubAdmin/DeleteFlow',
|
||||
'/chain.v1.HubAdmin/DeleteFlow',
|
||||
($0.DeleteFlowRequest value) => value.writeToBuffer(),
|
||||
$0.DeleteFlowResponse.fromBuffer);
|
||||
static final _$listFlows = $grpc.ClientMethod<$1.Empty, $0.FlowList>(
|
||||
'/fai.v1.HubAdmin/ListFlows',
|
||||
'/chain.v1.HubAdmin/ListFlows',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.FlowList.fromBuffer);
|
||||
static final _$runSavedFlow =
|
||||
$grpc.ClientMethod<$0.RunSavedFlowRequest, $0.SubmitResponse>(
|
||||
'/fai.v1.HubAdmin/RunSavedFlow',
|
||||
'/chain.v1.HubAdmin/RunSavedFlow',
|
||||
($0.RunSavedFlowRequest value) => value.writeToBuffer(),
|
||||
$0.SubmitResponse.fromBuffer);
|
||||
static final _$getFlowDefinition =
|
||||
$grpc.ClientMethod<$0.GetFlowDefinitionRequest, $0.FlowDefinition>(
|
||||
'/fai.v1.HubAdmin/GetFlowDefinition',
|
||||
'/chain.v1.HubAdmin/GetFlowDefinition',
|
||||
($0.GetFlowDefinitionRequest value) => value.writeToBuffer(),
|
||||
$0.FlowDefinition.fromBuffer);
|
||||
static final _$searchStore =
|
||||
$grpc.ClientMethod<$0.SearchStoreRequest, $0.StoreSearchResponse>(
|
||||
'/fai.v1.HubAdmin/SearchStore',
|
||||
'/chain.v1.HubAdmin/SearchStore',
|
||||
($0.SearchStoreRequest value) => value.writeToBuffer(),
|
||||
$0.StoreSearchResponse.fromBuffer);
|
||||
static final _$installModule =
|
||||
$grpc.ClientMethod<$0.InstallModuleRequest, $0.InstallModuleResponse>(
|
||||
'/fai.v1.HubAdmin/InstallModule',
|
||||
'/chain.v1.HubAdmin/InstallModule',
|
||||
($0.InstallModuleRequest value) => value.writeToBuffer(),
|
||||
$0.InstallModuleResponse.fromBuffer);
|
||||
static final _$uninstallModule =
|
||||
$grpc.ClientMethod<$0.UninstallModuleRequest, $0.UninstallModuleResponse>(
|
||||
'/fai.v1.HubAdmin/UninstallModule',
|
||||
'/chain.v1.HubAdmin/UninstallModule',
|
||||
($0.UninstallModuleRequest value) => value.writeToBuffer(),
|
||||
$0.UninstallModuleResponse.fromBuffer);
|
||||
static final _$fetchModuleDocs =
|
||||
$grpc.ClientMethod<$0.FetchModuleDocsRequest, $0.FetchModuleDocsResponse>(
|
||||
'/fai.v1.HubAdmin/FetchModuleDocs',
|
||||
'/chain.v1.HubAdmin/FetchModuleDocs',
|
||||
($0.FetchModuleDocsRequest value) => value.writeToBuffer(),
|
||||
$0.FetchModuleDocsResponse.fromBuffer);
|
||||
static final _$getInstalledModuleDocs = $grpc.ClientMethod<
|
||||
$0.GetInstalledModuleDocsRequest, $0.GetInstalledModuleDocsResponse>(
|
||||
'/fai.v1.HubAdmin/GetInstalledModuleDocs',
|
||||
'/chain.v1.HubAdmin/GetInstalledModuleDocs',
|
||||
($0.GetInstalledModuleDocsRequest value) => value.writeToBuffer(),
|
||||
$0.GetInstalledModuleDocsResponse.fromBuffer);
|
||||
static final _$invokePluginTheme = $grpc.ClientMethod<
|
||||
$0.InvokePluginThemeRequest, $0.InvokePluginThemeResponse>(
|
||||
'/fai.v1.HubAdmin/InvokePluginTheme',
|
||||
'/chain.v1.HubAdmin/InvokePluginTheme',
|
||||
($0.InvokePluginThemeRequest value) => value.writeToBuffer(),
|
||||
$0.InvokePluginThemeResponse.fromBuffer);
|
||||
static final _$invokePluginTranslate = $grpc.ClientMethod<
|
||||
$0.InvokePluginTranslateRequest, $0.InvokePluginTranslateResponse>(
|
||||
'/fai.v1.HubAdmin/InvokePluginTranslate',
|
||||
'/chain.v1.HubAdmin/InvokePluginTranslate',
|
||||
($0.InvokePluginTranslateRequest value) => value.writeToBuffer(),
|
||||
$0.InvokePluginTranslateResponse.fromBuffer);
|
||||
static final _$listApprovals =
|
||||
$grpc.ClientMethod<$0.ListApprovalsRequest, $0.ApprovalList>(
|
||||
'/fai.v1.HubAdmin/ListApprovals',
|
||||
'/chain.v1.HubAdmin/ListApprovals',
|
||||
($0.ListApprovalsRequest value) => value.writeToBuffer(),
|
||||
$0.ApprovalList.fromBuffer);
|
||||
static final _$decideApproval =
|
||||
$grpc.ClientMethod<$0.DecideApprovalRequest, $0.DecideApprovalResponse>(
|
||||
'/fai.v1.HubAdmin/DecideApproval',
|
||||
'/chain.v1.HubAdmin/DecideApproval',
|
||||
($0.DecideApprovalRequest value) => value.writeToBuffer(),
|
||||
$0.DecideApprovalResponse.fromBuffer);
|
||||
static final _$verifyEventChain =
|
||||
$grpc.ClientMethod<$1.Empty, $0.VerifyEventChainResponse>(
|
||||
'/fai.v1.HubAdmin/VerifyEventChain',
|
||||
'/chain.v1.HubAdmin/VerifyEventChain',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.VerifyEventChainResponse.fromBuffer);
|
||||
static final _$clearEventLog =
|
||||
$grpc.ClientMethod<$0.ClearEventLogRequest, $0.ClearEventLogResponse>(
|
||||
'/fai.v1.HubAdmin/ClearEventLog',
|
||||
'/chain.v1.HubAdmin/ClearEventLog',
|
||||
($0.ClearEventLogRequest value) => value.writeToBuffer(),
|
||||
$0.ClearEventLogResponse.fromBuffer);
|
||||
static final _$getDefaultScope =
|
||||
$grpc.ClientMethod<$1.Empty, $0.DefaultScopeResponse>(
|
||||
'/fai.v1.HubAdmin/GetDefaultScope',
|
||||
'/chain.v1.HubAdmin/GetDefaultScope',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.DefaultScopeResponse.fromBuffer);
|
||||
static final _$setDefaultScope =
|
||||
$grpc.ClientMethod<$0.SetDefaultScopeRequest, $0.DefaultScopeResponse>(
|
||||
'/fai.v1.HubAdmin/SetDefaultScope',
|
||||
'/chain.v1.HubAdmin/SetDefaultScope',
|
||||
($0.SetDefaultScopeRequest value) => value.writeToBuffer(),
|
||||
$0.DefaultScopeResponse.fromBuffer);
|
||||
static final _$reloadAuth =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ReloadAuthResponse>(
|
||||
'/fai.v1.HubAdmin/ReloadAuth',
|
||||
'/chain.v1.HubAdmin/ReloadAuth',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ReloadAuthResponse.fromBuffer);
|
||||
static final _$listServices = $grpc.ClientMethod<$1.Empty, $0.ServiceList>(
|
||||
'/fai.v1.HubAdmin/ListServices',
|
||||
'/chain.v1.HubAdmin/ListServices',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ServiceList.fromBuffer);
|
||||
static final _$checkUpdate =
|
||||
$grpc.ClientMethod<$1.Empty, $0.CheckUpdateResponse>(
|
||||
'/fai.v1.HubAdmin/CheckUpdate',
|
||||
'/chain.v1.HubAdmin/CheckUpdate',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.CheckUpdateResponse.fromBuffer);
|
||||
static final _$channelStatus =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ChannelStatusResponse>(
|
||||
'/fai.v1.HubAdmin/ChannelStatus',
|
||||
'/chain.v1.HubAdmin/ChannelStatus',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ChannelStatusResponse.fromBuffer);
|
||||
static final _$daemonPaths =
|
||||
$grpc.ClientMethod<$1.Empty, $0.DaemonPathsResponse>(
|
||||
'/fai.v1.HubAdmin/DaemonPaths',
|
||||
'/chain.v1.HubAdmin/DaemonPaths',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.DaemonPathsResponse.fromBuffer);
|
||||
static final _$listMcpClients =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListMcpClientsResponse>(
|
||||
'/fai.v1.HubAdmin/ListMcpClients',
|
||||
'/chain.v1.HubAdmin/ListMcpClients',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListMcpClientsResponse.fromBuffer);
|
||||
static final _$refreshMcpClients =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListMcpClientsResponse>(
|
||||
'/fai.v1.HubAdmin/RefreshMcpClients',
|
||||
'/chain.v1.HubAdmin/RefreshMcpClients',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListMcpClientsResponse.fromBuffer);
|
||||
static final _$addMcpClient =
|
||||
$grpc.ClientMethod<$0.McpClientConfigEntry, $0.ListMcpClientsResponse>(
|
||||
'/fai.v1.HubAdmin/AddMcpClient',
|
||||
'/chain.v1.HubAdmin/AddMcpClient',
|
||||
($0.McpClientConfigEntry value) => value.writeToBuffer(),
|
||||
$0.ListMcpClientsResponse.fromBuffer);
|
||||
static final _$removeMcpClient =
|
||||
$grpc.ClientMethod<$0.RemoveMcpClientRequest, $0.ListMcpClientsResponse>(
|
||||
'/fai.v1.HubAdmin/RemoveMcpClient',
|
||||
'/chain.v1.HubAdmin/RemoveMcpClient',
|
||||
($0.RemoveMcpClientRequest value) => value.writeToBuffer(),
|
||||
$0.ListMcpClientsResponse.fromBuffer);
|
||||
static final _$listN8nEndpoints =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListN8nEndpointsResponse>(
|
||||
'/fai.v1.HubAdmin/ListN8nEndpoints',
|
||||
'/chain.v1.HubAdmin/ListN8nEndpoints',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListN8nEndpointsResponse.fromBuffer);
|
||||
static final _$refreshN8nEndpoints =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListN8nEndpointsResponse>(
|
||||
'/fai.v1.HubAdmin/RefreshN8nEndpoints',
|
||||
'/chain.v1.HubAdmin/RefreshN8nEndpoints',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListN8nEndpointsResponse.fromBuffer);
|
||||
static final _$addN8nEndpoint = $grpc.ClientMethod<$0.N8nEndpointConfigEntry,
|
||||
$0.ListN8nEndpointsResponse>(
|
||||
'/fai.v1.HubAdmin/AddN8nEndpoint',
|
||||
'/chain.v1.HubAdmin/AddN8nEndpoint',
|
||||
($0.N8nEndpointConfigEntry value) => value.writeToBuffer(),
|
||||
$0.ListN8nEndpointsResponse.fromBuffer);
|
||||
static final _$removeN8nEndpoint = $grpc.ClientMethod<
|
||||
$0.RemoveN8nEndpointRequest, $0.ListN8nEndpointsResponse>(
|
||||
'/fai.v1.HubAdmin/RemoveN8nEndpoint',
|
||||
'/chain.v1.HubAdmin/RemoveN8nEndpoint',
|
||||
($0.RemoveN8nEndpointRequest value) => value.writeToBuffer(),
|
||||
$0.ListN8nEndpointsResponse.fromBuffer);
|
||||
static final _$systemAiStatus =
|
||||
$grpc.ClientMethod<$1.Empty, $0.SystemAiStatusResponse>(
|
||||
'/fai.v1.HubAdmin/SystemAiStatus',
|
||||
'/chain.v1.HubAdmin/SystemAiStatus',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.SystemAiStatusResponse.fromBuffer);
|
||||
static final _$askAi = $grpc.ClientMethod<$0.AskAiRequest, $0.AskAiResponse>(
|
||||
'/fai.v1.HubAdmin/AskAi',
|
||||
'/chain.v1.HubAdmin/AskAi',
|
||||
($0.AskAiRequest value) => value.writeToBuffer(),
|
||||
$0.AskAiResponse.fromBuffer);
|
||||
static final _$updateSystemAi =
|
||||
$grpc.ClientMethod<$0.UpdateSystemAiRequest, $0.SystemAiStatusResponse>(
|
||||
'/fai.v1.HubAdmin/UpdateSystemAi',
|
||||
'/chain.v1.HubAdmin/UpdateSystemAi',
|
||||
($0.UpdateSystemAiRequest value) => value.writeToBuffer(),
|
||||
$0.SystemAiStatusResponse.fromBuffer);
|
||||
static final _$testSystemAi =
|
||||
$grpc.ClientMethod<$0.TestSystemAiRequest, $0.AskAiResponse>(
|
||||
'/fai.v1.HubAdmin/TestSystemAi',
|
||||
'/chain.v1.HubAdmin/TestSystemAi',
|
||||
($0.TestSystemAiRequest value) => value.writeToBuffer(),
|
||||
$0.AskAiResponse.fromBuffer);
|
||||
static final _$listSystemAiModels =
|
||||
$grpc.ClientMethod<$0.TestSystemAiRequest, $0.ListSystemAiModelsResponse>(
|
||||
'/fai.v1.HubAdmin/ListSystemAiModels',
|
||||
'/chain.v1.HubAdmin/ListSystemAiModels',
|
||||
($0.TestSystemAiRequest value) => value.writeToBuffer(),
|
||||
$0.ListSystemAiModelsResponse.fromBuffer);
|
||||
static final _$pullSystemAiModel = $grpc.ClientMethod<
|
||||
$0.PullSystemAiModelRequest, $0.PullSystemAiModelResponse>(
|
||||
'/fai.v1.HubAdmin/PullSystemAiModel',
|
||||
'/chain.v1.HubAdmin/PullSystemAiModel',
|
||||
($0.PullSystemAiModelRequest value) => value.writeToBuffer(),
|
||||
$0.PullSystemAiModelResponse.fromBuffer);
|
||||
static final _$clearSystemLlmCache =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ClearSystemLlmCacheResponse>(
|
||||
'/fai.v1.HubAdmin/ClearSystemLlmCache',
|
||||
'/chain.v1.HubAdmin/ClearSystemLlmCache',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ClearSystemLlmCacheResponse.fromBuffer);
|
||||
static final _$forgetCachedExplanation =
|
||||
$grpc.ClientMethod<$0.AskAiRequest, $1.Empty>(
|
||||
'/fai.v1.HubAdmin/ForgetCachedExplanation',
|
||||
'/chain.v1.HubAdmin/ForgetCachedExplanation',
|
||||
($0.AskAiRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$hardwareInfo =
|
||||
$grpc.ClientMethod<$1.Empty, $0.HardwareInfoResponse>(
|
||||
'/fai.v1.HubAdmin/HardwareInfo',
|
||||
'/chain.v1.HubAdmin/HardwareInfo',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.HardwareInfoResponse.fromBuffer);
|
||||
static final _$listSystemAiCuratedModels =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListSystemAiCuratedModelsResponse>(
|
||||
'/fai.v1.HubAdmin/ListSystemAiCuratedModels',
|
||||
'/chain.v1.HubAdmin/ListSystemAiCuratedModels',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListSystemAiCuratedModelsResponse.fromBuffer);
|
||||
static final _$issueBootstrapToken = $grpc.ClientMethod<
|
||||
$0.IssueBootstrapTokenRequest, $0.IssueBootstrapTokenResponse>(
|
||||
'/fai.v1.HubAdmin/IssueBootstrapToken',
|
||||
'/chain.v1.HubAdmin/IssueBootstrapToken',
|
||||
($0.IssueBootstrapTokenRequest value) => value.writeToBuffer(),
|
||||
$0.IssueBootstrapTokenResponse.fromBuffer);
|
||||
static final _$listSatellites =
|
||||
$grpc.ClientMethod<$1.Empty, $0.SatelliteList>(
|
||||
'/fai.v1.HubAdmin/ListSatellites',
|
||||
'/chain.v1.HubAdmin/ListSatellites',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.SatelliteList.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('fai.v1.HubAdmin')
|
||||
@$pb.GrpcServiceName('chain.v1.HubAdmin')
|
||||
abstract class HubAdminServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'fai.v1.HubAdmin';
|
||||
$core.String get $name => 'chain.v1.HubAdmin';
|
||||
|
||||
HubAdminServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.CapabilityList>(
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/hub.proto.
|
||||
// Generated from chain/v1/hub.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ const SubmitRequest$json = {
|
|||
'3': 2,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.SubmitRequest.InputsEntry',
|
||||
'6': '.chain.v1.SubmitRequest.InputsEntry',
|
||||
'10': 'inputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -42,7 +42,7 @@ const SubmitRequest_InputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -65,7 +65,7 @@ const SubmitResponse$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.InvocationId',
|
||||
'6': '.chain.v1.InvocationId',
|
||||
'10': 'invocationId'
|
||||
},
|
||||
{
|
||||
|
|
@ -73,7 +73,7 @@ const SubmitResponse$json = {
|
|||
'3': 2,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.SubmitResponse.OutputsEntry',
|
||||
'6': '.chain.v1.SubmitResponse.OutputsEntry',
|
||||
'10': 'outputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -90,7 +90,7 @@ const SubmitResponse_OutputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -113,7 +113,7 @@ const ModuleList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ModuleSummary',
|
||||
'6': '.chain.v1.ModuleSummary',
|
||||
'10': 'modules'
|
||||
},
|
||||
],
|
||||
|
|
@ -135,7 +135,7 @@ const ModuleSummary$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityRef',
|
||||
'6': '.chain.v1.CapabilityRef',
|
||||
'10': 'provides'
|
||||
},
|
||||
],
|
||||
|
|
@ -156,7 +156,7 @@ const HealthStatus$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.fai.v1.HealthStatus.State',
|
||||
'6': '.chain.v1.HealthStatus.State',
|
||||
'10': 'state'
|
||||
},
|
||||
{'1': 'detail', '3': 2, '4': 1, '5': 9, '10': 'detail'},
|
||||
|
|
@ -189,7 +189,7 @@ const CapabilityList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityEntry',
|
||||
'6': '.chain.v1.CapabilityEntry',
|
||||
'10': 'capabilities'
|
||||
},
|
||||
],
|
||||
|
|
@ -246,7 +246,7 @@ const ModuleInfoResponse$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityRef',
|
||||
'6': '.chain.v1.CapabilityRef',
|
||||
'10': 'provides'
|
||||
},
|
||||
{'1': 'permissions', '3': 4, '4': 3, '5': 9, '10': 'permissions'},
|
||||
|
|
@ -257,7 +257,7 @@ const ModuleInfoResponse$json = {
|
|||
'3': 7,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ConsumedCapability',
|
||||
'6': '.chain.v1.ConsumedCapability',
|
||||
'10': 'consumes'
|
||||
},
|
||||
{
|
||||
|
|
@ -265,7 +265,7 @@ const ModuleInfoResponse$json = {
|
|||
'3': 8,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ModuleField',
|
||||
'6': '.chain.v1.ModuleField',
|
||||
'10': 'inputs'
|
||||
},
|
||||
{
|
||||
|
|
@ -273,7 +273,7 @@ const ModuleInfoResponse$json = {
|
|||
'3': 9,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ModuleField',
|
||||
'6': '.chain.v1.ModuleField',
|
||||
'10': 'outputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -315,7 +315,7 @@ const ModuleField$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ModuleField.DescriptionEntry',
|
||||
'6': '.chain.v1.ModuleField.DescriptionEntry',
|
||||
'10': 'description'
|
||||
},
|
||||
],
|
||||
|
|
@ -392,7 +392,7 @@ const EventLogResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.LoggedEvent',
|
||||
'6': '.chain.v1.LoggedEvent',
|
||||
'10': 'events'
|
||||
},
|
||||
],
|
||||
|
|
@ -510,7 +510,7 @@ const FlowList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.FlowSummary',
|
||||
'6': '.chain.v1.FlowSummary',
|
||||
'10': 'flows'
|
||||
},
|
||||
],
|
||||
|
|
@ -553,7 +553,7 @@ const RunSavedFlowRequest$json = {
|
|||
'3': 2,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.RunSavedFlowRequest.InputsEntry',
|
||||
'6': '.chain.v1.RunSavedFlowRequest.InputsEntry',
|
||||
'10': 'inputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -570,7 +570,7 @@ const RunSavedFlowRequest_InputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -607,7 +607,7 @@ const FlowDefinition$json = {
|
|||
'3': 2,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.FlowInputSpec',
|
||||
'6': '.chain.v1.FlowInputSpec',
|
||||
'10': 'inputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -662,7 +662,7 @@ const StoreSearchResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.StoreEntry',
|
||||
'6': '.chain.v1.StoreEntry',
|
||||
'10': 'entries'
|
||||
},
|
||||
],
|
||||
|
|
@ -882,7 +882,7 @@ const ApprovalList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.PendingApprovalEntry',
|
||||
'6': '.chain.v1.PendingApprovalEntry',
|
||||
'10': 'entries'
|
||||
},
|
||||
],
|
||||
|
|
@ -932,7 +932,7 @@ const DecideApprovalRequest$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.fai.v1.DecideApprovalRequest.Decision',
|
||||
'6': '.chain.v1.DecideApprovalRequest.Decision',
|
||||
'10': 'decision'
|
||||
},
|
||||
{'1': 'reviewer', '3': 3, '4': 1, '5': 9, '10': 'reviewer'},
|
||||
|
|
@ -998,7 +998,7 @@ const ServiceList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.DeclaredService',
|
||||
'6': '.chain.v1.DeclaredService',
|
||||
'10': 'services'
|
||||
},
|
||||
],
|
||||
|
|
@ -1092,7 +1092,7 @@ const ChannelStatusResponse$json = {
|
|||
'3': 2,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.ChannelEntry',
|
||||
'6': '.chain.v1.ChannelEntry',
|
||||
'10': 'channels'
|
||||
},
|
||||
],
|
||||
|
|
@ -1289,7 +1289,7 @@ const ListSystemAiModelsResponse$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.SystemAiModel',
|
||||
'6': '.chain.v1.SystemAiModel',
|
||||
'10': 'models'
|
||||
},
|
||||
],
|
||||
|
|
@ -1378,7 +1378,7 @@ const ListSystemAiCuratedModelsResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CuratedModel',
|
||||
'6': '.chain.v1.CuratedModel',
|
||||
'10': 'models'
|
||||
},
|
||||
{'1': 'last_reviewed', '3': 2, '4': 1, '5': 9, '10': 'lastReviewed'},
|
||||
|
|
@ -1508,7 +1508,7 @@ const ListMcpClientsResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.McpClientStatus',
|
||||
'6': '.chain.v1.McpClientStatus',
|
||||
'10': 'clients'
|
||||
},
|
||||
],
|
||||
|
|
@ -1529,7 +1529,7 @@ const McpClientStatus$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.McpClientConfigEntry',
|
||||
'6': '.chain.v1.McpClientConfigEntry',
|
||||
'10': 'config'
|
||||
},
|
||||
{'1': 'tool_count', '3': 2, '4': 1, '5': 13, '10': 'toolCount'},
|
||||
|
|
@ -1583,7 +1583,7 @@ const ListN8nEndpointsResponse$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.N8nEndpointStatus',
|
||||
'6': '.chain.v1.N8nEndpointStatus',
|
||||
'10': 'endpoints'
|
||||
},
|
||||
],
|
||||
|
|
@ -1604,7 +1604,7 @@ const N8nEndpointStatus$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.N8nEndpointConfigEntry',
|
||||
'6': '.chain.v1.N8nEndpointConfigEntry',
|
||||
'10': 'config'
|
||||
},
|
||||
{'1': 'workflow_count', '3': 2, '4': 1, '5': 13, '10': 'workflowCount'},
|
||||
|
|
@ -1676,7 +1676,7 @@ const SatelliteList$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.SatelliteEntry',
|
||||
'6': '.chain.v1.SatelliteEntry',
|
||||
'10': 'satellites'
|
||||
},
|
||||
],
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/module.proto.
|
||||
// Generated from chain/v1/module.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ class InvokeRequest extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokeRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<$2.InvocationId>(1, _omitFieldNames ? '' : 'invocationId',
|
||||
subBuilder: $2.InvocationId.create)
|
||||
|
|
@ -57,7 +57,7 @@ class InvokeRequest extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $2.Payload.create,
|
||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..a<$fixnum.Int64>(
|
||||
4, _omitFieldNames ? '' : 'deadlineMs', $pb.PbFieldType.OU6,
|
||||
defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
|
|
@ -147,7 +147,7 @@ class InvokeResponse extends $pb.GeneratedMessage {
|
|||
};
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'InvokeResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..oo(0, [1, 2])
|
||||
..aOM<Success>(1, _omitFieldNames ? '' : 'success',
|
||||
|
|
@ -226,7 +226,7 @@ class Success extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Success',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..m<$core.String, $2.Payload>(1, _omitFieldNames ? '' : 'outputs',
|
||||
entryClassName: 'Success.OutputsEntry',
|
||||
|
|
@ -234,7 +234,7 @@ class Success extends $pb.GeneratedMessage {
|
|||
valueFieldType: $pb.PbFieldType.OM,
|
||||
valueCreator: $2.Payload.create,
|
||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||
packageName: const $pb.PackageName('fai.v1'))
|
||||
packageName: const $pb.PackageName('chain.v1'))
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -285,7 +285,7 @@ class ModuleDescriptor extends $pb.GeneratedMessage {
|
|||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ModuleDescriptor',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'fai.v1'),
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'chain.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/module.proto.
|
||||
// Generated from chain/v1/module.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/module.proto.
|
||||
// Generated from chain/v1/module.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ export 'module.pb.dart';
|
|||
/// 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('fai.v1.Module')
|
||||
@$pb.GrpcServiceName('chain.v1.Module')
|
||||
class ModuleClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
|
@ -59,18 +59,18 @@ class ModuleClient extends $grpc.Client {
|
|||
|
||||
static final _$invoke =
|
||||
$grpc.ClientMethod<$0.InvokeRequest, $0.InvokeResponse>(
|
||||
'/fai.v1.Module/Invoke',
|
||||
'/chain.v1.Module/Invoke',
|
||||
($0.InvokeRequest value) => value.writeToBuffer(),
|
||||
$0.InvokeResponse.fromBuffer);
|
||||
static final _$describe = $grpc.ClientMethod<$1.Empty, $0.ModuleDescriptor>(
|
||||
'/fai.v1.Module/Describe',
|
||||
'/chain.v1.Module/Describe',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ModuleDescriptor.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('fai.v1.Module')
|
||||
@$pb.GrpcServiceName('chain.v1.Module')
|
||||
abstract class ModuleServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'fai.v1.Module';
|
||||
$core.String get $name => 'chain.v1.Module';
|
||||
|
||||
ModuleServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.InvokeRequest, $0.InvokeResponse>(
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from fai/v1/module.proto.
|
||||
// Generated from chain/v1/module.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ const InvokeRequest$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.InvocationId',
|
||||
'6': '.chain.v1.InvocationId',
|
||||
'10': 'invocationId'
|
||||
},
|
||||
{
|
||||
|
|
@ -32,7 +32,7 @@ const InvokeRequest$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityRef',
|
||||
'6': '.chain.v1.CapabilityRef',
|
||||
'10': 'capability'
|
||||
},
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ const InvokeRequest$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.InvokeRequest.InputsEntry',
|
||||
'6': '.chain.v1.InvokeRequest.InputsEntry',
|
||||
'10': 'inputs'
|
||||
},
|
||||
{'1': 'deadline_ms', '3': 4, '4': 1, '5': 4, '10': 'deadlineMs'},
|
||||
|
|
@ -58,7 +58,7 @@ const InvokeRequest_InputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -83,7 +83,7 @@ const InvokeResponse$json = {
|
|||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Success',
|
||||
'6': '.chain.v1.Success',
|
||||
'9': 0,
|
||||
'10': 'success'
|
||||
},
|
||||
|
|
@ -92,7 +92,7 @@ const InvokeResponse$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.FaiError',
|
||||
'6': '.chain.v1.FaiError',
|
||||
'9': 0,
|
||||
'10': 'error'
|
||||
},
|
||||
|
|
@ -117,7 +117,7 @@ const Success$json = {
|
|||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Success.OutputsEntry',
|
||||
'6': '.chain.v1.Success.OutputsEntry',
|
||||
'10': 'outputs'
|
||||
},
|
||||
],
|
||||
|
|
@ -134,7 +134,7 @@ const Success_OutputsEntry$json = {
|
|||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.Payload',
|
||||
'6': '.chain.v1.Payload',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
|
|
@ -158,7 +158,7 @@ const ModuleDescriptor$json = {
|
|||
'3': 3,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.fai.v1.CapabilityRef',
|
||||
'6': '.chain.v1.CapabilityRef',
|
||||
'10': 'provides'
|
||||
},
|
||||
{'1': 'permissions', '3': 4, '4': 3, '5': 9, '10': 'permissions'},
|
||||
|
|
@ -12,9 +12,9 @@ import 'package:grpc/grpc_connection_interface.dart';
|
|||
|
||||
import 'channel_factory_io.dart'
|
||||
if (dart.library.html) 'channel_factory_web.dart' as channel_factory;
|
||||
import 'generated/fai/v1/common.pb.dart' as pb_common;
|
||||
import 'generated/fai/v1/hub.pb.dart' as pb;
|
||||
import 'generated/fai/v1/hub.pbgrpc.dart' as grpc_hub;
|
||||
import 'generated/chain/v1/common.pb.dart' as pb_common;
|
||||
import 'generated/chain/v1/hub.pb.dart' as pb;
|
||||
import 'generated/chain/v1/hub.pbgrpc.dart' as grpc_hub;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart'
|
||||
show Empty;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Generate Dart bindings for the F∆I gRPC surface.
|
||||
#
|
||||
# Reads .proto files from the sibling fai_platform repo and
|
||||
# Reads .proto files from the sibling fai_chain repo and
|
||||
# writes Dart code into lib/src/generated/. Run after
|
||||
# `dart pub global activate protoc_plugin` so that
|
||||
# `protoc-gen-dart` is on PATH (`$HOME/.pub-cache/bin`).
|
||||
|
|
@ -10,19 +10,19 @@
|
|||
# tools/generate.sh
|
||||
#
|
||||
# Env overrides:
|
||||
# PROTO_ROOT Path to fai_platform/proto/ (default: ../fai_platform/proto)
|
||||
# PROTO_ROOT Path to fai_chain/proto/ (default: ../fai_chain/proto)
|
||||
# OUT_DIR Output dir (default: lib/src/generated)
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
SDK_ROOT="$( cd -- "$SCRIPT_DIR/.." && pwd )"
|
||||
|
||||
PROTO_ROOT="${PROTO_ROOT:-$SDK_ROOT/../fai_platform/proto}"
|
||||
PROTO_ROOT="${PROTO_ROOT:-$SDK_ROOT/../fai_chain/proto}"
|
||||
OUT_DIR="${OUT_DIR:-$SDK_ROOT/lib/src/generated}"
|
||||
|
||||
if [[ ! -d "$PROTO_ROOT" ]]; then
|
||||
echo "error: PROTO_ROOT does not exist: $PROTO_ROOT" >&2
|
||||
echo "Set PROTO_ROOT to the fai_platform/proto directory." >&2
|
||||
echo "Set PROTO_ROOT to the fai_chain/proto directory." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue