독립 control plane 구성을 위해 기존 Dart CLI/runtime을 runner 앱 경계로 옮기고, 후속 client/core/root 작업을 같은 마일스톤 task group에 연결한다.
100 lines
4 KiB
Dart
100 lines
4 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from iop/runtime.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class RunSessionMode extends $pb.ProtobufEnum {
|
|
static const RunSessionMode RUN_SESSION_MODE_UNSPECIFIED =
|
|
RunSessionMode._(0, _omitEnumNames ? '' : 'RUN_SESSION_MODE_UNSPECIFIED');
|
|
static const RunSessionMode RUN_SESSION_MODE_CREATE_IF_MISSING =
|
|
RunSessionMode._(
|
|
1, _omitEnumNames ? '' : 'RUN_SESSION_MODE_CREATE_IF_MISSING');
|
|
static const RunSessionMode RUN_SESSION_MODE_REQUIRE_EXISTING =
|
|
RunSessionMode._(
|
|
2, _omitEnumNames ? '' : 'RUN_SESSION_MODE_REQUIRE_EXISTING');
|
|
|
|
static const $core.List<RunSessionMode> values = <RunSessionMode>[
|
|
RUN_SESSION_MODE_UNSPECIFIED,
|
|
RUN_SESSION_MODE_CREATE_IF_MISSING,
|
|
RUN_SESSION_MODE_REQUIRE_EXISTING,
|
|
];
|
|
|
|
static final $core.List<RunSessionMode?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static RunSessionMode? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const RunSessionMode._(super.value, super.name);
|
|
}
|
|
|
|
class CancelAction extends $pb.ProtobufEnum {
|
|
static const CancelAction CANCEL_ACTION_UNSPECIFIED =
|
|
CancelAction._(0, _omitEnumNames ? '' : 'CANCEL_ACTION_UNSPECIFIED');
|
|
static const CancelAction CANCEL_ACTION_CANCEL_RUN =
|
|
CancelAction._(1, _omitEnumNames ? '' : 'CANCEL_ACTION_CANCEL_RUN');
|
|
static const CancelAction CANCEL_ACTION_TERMINATE_SESSION = CancelAction._(
|
|
2, _omitEnumNames ? '' : 'CANCEL_ACTION_TERMINATE_SESSION');
|
|
|
|
static const $core.List<CancelAction> values = <CancelAction>[
|
|
CANCEL_ACTION_UNSPECIFIED,
|
|
CANCEL_ACTION_CANCEL_RUN,
|
|
CANCEL_ACTION_TERMINATE_SESSION,
|
|
];
|
|
|
|
static final $core.List<CancelAction?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 2);
|
|
static CancelAction? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const CancelAction._(super.value, super.name);
|
|
}
|
|
|
|
class NodeCommandType extends $pb.ProtobufEnum {
|
|
static const NodeCommandType NODE_COMMAND_TYPE_UNSPECIFIED =
|
|
NodeCommandType._(
|
|
0, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_UNSPECIFIED');
|
|
static const NodeCommandType NODE_COMMAND_TYPE_USAGE_STATUS =
|
|
NodeCommandType._(
|
|
1, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_USAGE_STATUS');
|
|
static const NodeCommandType NODE_COMMAND_TYPE_CAPABILITIES =
|
|
NodeCommandType._(
|
|
2, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_CAPABILITIES');
|
|
static const NodeCommandType NODE_COMMAND_TYPE_SESSION_LIST =
|
|
NodeCommandType._(
|
|
3, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_SESSION_LIST');
|
|
static const NodeCommandType NODE_COMMAND_TYPE_TRANSPORT_STATUS =
|
|
NodeCommandType._(
|
|
4, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_TRANSPORT_STATUS');
|
|
static const NodeCommandType NODE_COMMAND_TYPE_OLLAMA_API = NodeCommandType._(
|
|
5, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_OLLAMA_API');
|
|
|
|
static const $core.List<NodeCommandType> values = <NodeCommandType>[
|
|
NODE_COMMAND_TYPE_UNSPECIFIED,
|
|
NODE_COMMAND_TYPE_USAGE_STATUS,
|
|
NODE_COMMAND_TYPE_CAPABILITIES,
|
|
NODE_COMMAND_TYPE_SESSION_LIST,
|
|
NODE_COMMAND_TYPE_TRANSPORT_STATUS,
|
|
NODE_COMMAND_TYPE_OLLAMA_API,
|
|
];
|
|
|
|
static final $core.List<NodeCommandType?> _byValue =
|
|
$pb.ProtobufEnum.$_initByValueList(values, 5);
|
|
static NodeCommandType? valueOf($core.int value) =>
|
|
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const NodeCommandType._(super.value, super.name);
|
|
}
|
|
|
|
const $core.bool _omitEnumNames =
|
|
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|