- Add IOP connection smoke test (test/oto_iop_connection_smoke_test.dart) - Add protobuf support files for IOP runtime and Google struct - Update ROADMAP.md and milestone docs - Update project rules and pubspec.yaml
72 lines
3.5 KiB
Dart
72 lines
3.5 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: iop/runtime.proto
|
|
//
|
|
// @dart = 2.12
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
|
|
|
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.Map<$core.int, RunSessionMode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static RunSessionMode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const RunSessionMode._($core.int v, $core.String n) : super(v, n);
|
|
}
|
|
|
|
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.Map<$core.int, CancelAction> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static CancelAction? valueOf($core.int value) => _byValue[value];
|
|
|
|
const CancelAction._($core.int v, $core.String n) : super(v, n);
|
|
}
|
|
|
|
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 $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,
|
|
];
|
|
|
|
static final $core.Map<$core.int, NodeCommandType> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static NodeCommandType? valueOf($core.int value) => _byValue[value];
|
|
|
|
const NodeCommandType._($core.int v, $core.String n) : super(v, n);
|
|
}
|
|
|
|
|
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|