// This is a generated file - do not edit.
//
// Generated from proto/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 ProviderTunnelFrameKind extends $pb.ProtobufEnum {
  static const ProviderTunnelFrameKind PROVIDER_TUNNEL_FRAME_KIND_UNSPECIFIED =
      ProviderTunnelFrameKind._(
          0, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_UNSPECIFIED');
  static const ProviderTunnelFrameKind
      PROVIDER_TUNNEL_FRAME_KIND_RESPONSE_START = ProviderTunnelFrameKind._(
          1, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_RESPONSE_START');
  static const ProviderTunnelFrameKind PROVIDER_TUNNEL_FRAME_KIND_BODY =
      ProviderTunnelFrameKind._(
          2, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_BODY');
  static const ProviderTunnelFrameKind PROVIDER_TUNNEL_FRAME_KIND_END =
      ProviderTunnelFrameKind._(
          3, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_END');
  static const ProviderTunnelFrameKind PROVIDER_TUNNEL_FRAME_KIND_ERROR =
      ProviderTunnelFrameKind._(
          4, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_ERROR');
  static const ProviderTunnelFrameKind PROVIDER_TUNNEL_FRAME_KIND_USAGE =
      ProviderTunnelFrameKind._(
          5, _omitEnumNames ? '' : 'PROVIDER_TUNNEL_FRAME_KIND_USAGE');

  static const $core.List<ProviderTunnelFrameKind> values =
      <ProviderTunnelFrameKind>[
    PROVIDER_TUNNEL_FRAME_KIND_UNSPECIFIED,
    PROVIDER_TUNNEL_FRAME_KIND_RESPONSE_START,
    PROVIDER_TUNNEL_FRAME_KIND_BODY,
    PROVIDER_TUNNEL_FRAME_KIND_END,
    PROVIDER_TUNNEL_FRAME_KIND_ERROR,
    PROVIDER_TUNNEL_FRAME_KIND_USAGE,
  ];

  static final $core.List<ProviderTunnelFrameKind?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 5);
  static ProviderTunnelFrameKind? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const ProviderTunnelFrameKind._(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_CAPABILITIES =
      NodeCommandType._(
          2, _omitEnumNames ? '' : 'NODE_COMMAND_TYPE_CAPABILITIES');
  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_CAPABILITIES,
    NODE_COMMAND_TYPE_TRANSPORT_STATUS,
    NODE_COMMAND_TYPE_OLLAMA_API,
  ];

  static final $core.Map<$core.int, NodeCommandType> _byValue =
      $pb.ProtobufEnum.initByValue(values);
  static NodeCommandType? valueOf($core.int value) => _byValue[value];

  const NodeCommandType._(super.value, super.name);
}

/// WorkspaceOperation is the closed set of workspace operations admitted by
/// Edge and implemented by the Node-private executor.
class WorkspaceOperation extends $pb.ProtobufEnum {
  static const WorkspaceOperation WORKSPACE_OPERATION_UNSPECIFIED =
      WorkspaceOperation._(
          0, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_UNSPECIFIED');
  static const WorkspaceOperation WORKSPACE_OPERATION_READ =
      WorkspaceOperation._(1, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_READ');
  static const WorkspaceOperation WORKSPACE_OPERATION_LIST =
      WorkspaceOperation._(2, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_LIST');
  static const WorkspaceOperation WORKSPACE_OPERATION_WRITE =
      WorkspaceOperation._(
          3, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_WRITE');
  static const WorkspaceOperation WORKSPACE_OPERATION_DELETE =
      WorkspaceOperation._(
          4, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_DELETE');
  static const WorkspaceOperation WORKSPACE_OPERATION_COMMAND =
      WorkspaceOperation._(
          5, _omitEnumNames ? '' : 'WORKSPACE_OPERATION_COMMAND');

  static const $core.List<WorkspaceOperation> values = <WorkspaceOperation>[
    WORKSPACE_OPERATION_UNSPECIFIED,
    WORKSPACE_OPERATION_READ,
    WORKSPACE_OPERATION_LIST,
    WORKSPACE_OPERATION_WRITE,
    WORKSPACE_OPERATION_DELETE,
    WORKSPACE_OPERATION_COMMAND,
  ];

  static final $core.List<WorkspaceOperation?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 5);
  static WorkspaceOperation? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const WorkspaceOperation._(super.value, super.name);
}

class WorkspaceStatus extends $pb.ProtobufEnum {
  static const WorkspaceStatus WORKSPACE_STATUS_UNSPECIFIED = WorkspaceStatus._(
      0, _omitEnumNames ? '' : 'WORKSPACE_STATUS_UNSPECIFIED');
  static const WorkspaceStatus WORKSPACE_STATUS_SUCCESS =
      WorkspaceStatus._(1, _omitEnumNames ? '' : 'WORKSPACE_STATUS_SUCCESS');
  static const WorkspaceStatus WORKSPACE_STATUS_ERROR =
      WorkspaceStatus._(2, _omitEnumNames ? '' : 'WORKSPACE_STATUS_ERROR');
  static const WorkspaceStatus WORKSPACE_STATUS_TIMEOUT =
      WorkspaceStatus._(3, _omitEnumNames ? '' : 'WORKSPACE_STATUS_TIMEOUT');
  static const WorkspaceStatus WORKSPACE_STATUS_CANCELLED =
      WorkspaceStatus._(4, _omitEnumNames ? '' : 'WORKSPACE_STATUS_CANCELLED');
  static const WorkspaceStatus WORKSPACE_STATUS_UNSUPPORTED = WorkspaceStatus._(
      5, _omitEnumNames ? '' : 'WORKSPACE_STATUS_UNSUPPORTED');

  static const $core.List<WorkspaceStatus> values = <WorkspaceStatus>[
    WORKSPACE_STATUS_UNSPECIFIED,
    WORKSPACE_STATUS_SUCCESS,
    WORKSPACE_STATUS_ERROR,
    WORKSPACE_STATUS_TIMEOUT,
    WORKSPACE_STATUS_CANCELLED,
    WORKSPACE_STATUS_UNSUPPORTED,
  ];

  static final $core.List<WorkspaceStatus?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 5);
  static WorkspaceStatus? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const WorkspaceStatus._(super.value, super.name);
}

class WorkspaceErrorCode extends $pb.ProtobufEnum {
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_UNSPECIFIED =
      WorkspaceErrorCode._(
          0, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_UNSPECIFIED');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_NOT_READY =
      WorkspaceErrorCode._(
          1, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_NOT_READY');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_UNSUPPORTED =
      WorkspaceErrorCode._(
          2, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_UNSUPPORTED');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_INVALID_REQUEST =
      WorkspaceErrorCode._(
          3, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_INVALID_REQUEST');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_NOT_FOUND =
      WorkspaceErrorCode._(
          4, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_NOT_FOUND');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_TIMEOUT =
      WorkspaceErrorCode._(
          5, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_TIMEOUT');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_CANCELLED =
      WorkspaceErrorCode._(
          6, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_CANCELLED');
  static const WorkspaceErrorCode WORKSPACE_ERROR_CODE_INTERNAL =
      WorkspaceErrorCode._(
          7, _omitEnumNames ? '' : 'WORKSPACE_ERROR_CODE_INTERNAL');

  static const $core.List<WorkspaceErrorCode> values = <WorkspaceErrorCode>[
    WORKSPACE_ERROR_CODE_UNSPECIFIED,
    WORKSPACE_ERROR_CODE_NOT_READY,
    WORKSPACE_ERROR_CODE_UNSUPPORTED,
    WORKSPACE_ERROR_CODE_INVALID_REQUEST,
    WORKSPACE_ERROR_CODE_NOT_FOUND,
    WORKSPACE_ERROR_CODE_TIMEOUT,
    WORKSPACE_ERROR_CODE_CANCELLED,
    WORKSPACE_ERROR_CODE_INTERNAL,
  ];

  static final $core.List<WorkspaceErrorCode?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 7);
  static WorkspaceErrorCode? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const WorkspaceErrorCode._(super.value, super.name);
}

/// WorkspaceArtifactKind is a closed coordinator-only artifact selector. Node
/// maps these values to fixed names inside .iop/job/<request_id>; no path crosses
/// the wire or becomes available to public workspace tools.
class WorkspaceArtifactKind extends $pb.ProtobufEnum {
  static const WorkspaceArtifactKind WORKSPACE_ARTIFACT_KIND_UNSPECIFIED =
      WorkspaceArtifactKind._(
          0, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_KIND_UNSPECIFIED');
  static const WorkspaceArtifactKind WORKSPACE_ARTIFACT_KIND_PLAN =
      WorkspaceArtifactKind._(
          1, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_KIND_PLAN');
  static const WorkspaceArtifactKind WORKSPACE_ARTIFACT_KIND_REVIEW =
      WorkspaceArtifactKind._(
          2, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_KIND_REVIEW');

  static const $core.List<WorkspaceArtifactKind> values =
      <WorkspaceArtifactKind>[
    WORKSPACE_ARTIFACT_KIND_UNSPECIFIED,
    WORKSPACE_ARTIFACT_KIND_PLAN,
    WORKSPACE_ARTIFACT_KIND_REVIEW,
  ];

  static final $core.List<WorkspaceArtifactKind?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 2);
  static WorkspaceArtifactKind? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const WorkspaceArtifactKind._(super.value, super.name);
}

class WorkspaceArtifactOperation extends $pb.ProtobufEnum {
  static const WorkspaceArtifactOperation
      WORKSPACE_ARTIFACT_OPERATION_UNSPECIFIED = WorkspaceArtifactOperation._(
          0, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_OPERATION_UNSPECIFIED');
  static const WorkspaceArtifactOperation WORKSPACE_ARTIFACT_OPERATION_READ =
      WorkspaceArtifactOperation._(
          1, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_OPERATION_READ');
  static const WorkspaceArtifactOperation WORKSPACE_ARTIFACT_OPERATION_WRITE =
      WorkspaceArtifactOperation._(
          2, _omitEnumNames ? '' : 'WORKSPACE_ARTIFACT_OPERATION_WRITE');

  static const $core.List<WorkspaceArtifactOperation> values =
      <WorkspaceArtifactOperation>[
    WORKSPACE_ARTIFACT_OPERATION_UNSPECIFIED,
    WORKSPACE_ARTIFACT_OPERATION_READ,
    WORKSPACE_ARTIFACT_OPERATION_WRITE,
  ];

  static final $core.List<WorkspaceArtifactOperation?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 2);
  static WorkspaceArtifactOperation? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const WorkspaceArtifactOperation._(super.value, super.name);
}

class NodeConfigRefreshStatus extends $pb.ProtobufEnum {
  static const NodeConfigRefreshStatus NODE_CONFIG_REFRESH_STATUS_UNSPECIFIED =
      NodeConfigRefreshStatus._(
          0, _omitEnumNames ? '' : 'NODE_CONFIG_REFRESH_STATUS_UNSPECIFIED');
  static const NodeConfigRefreshStatus NODE_CONFIG_REFRESH_STATUS_APPLIED =
      NodeConfigRefreshStatus._(
          1, _omitEnumNames ? '' : 'NODE_CONFIG_REFRESH_STATUS_APPLIED');
  static const NodeConfigRefreshStatus
      NODE_CONFIG_REFRESH_STATUS_RESTART_REQUIRED = NodeConfigRefreshStatus._(2,
          _omitEnumNames ? '' : 'NODE_CONFIG_REFRESH_STATUS_RESTART_REQUIRED');
  static const NodeConfigRefreshStatus NODE_CONFIG_REFRESH_STATUS_FAILED =
      NodeConfigRefreshStatus._(
          3, _omitEnumNames ? '' : 'NODE_CONFIG_REFRESH_STATUS_FAILED');
  static const NodeConfigRefreshStatus NODE_CONFIG_REFRESH_STATUS_SKIPPED =
      NodeConfigRefreshStatus._(
          4, _omitEnumNames ? '' : 'NODE_CONFIG_REFRESH_STATUS_SKIPPED');

  static const $core.List<NodeConfigRefreshStatus> values =
      <NodeConfigRefreshStatus>[
    NODE_CONFIG_REFRESH_STATUS_UNSPECIFIED,
    NODE_CONFIG_REFRESH_STATUS_APPLIED,
    NODE_CONFIG_REFRESH_STATUS_RESTART_REQUIRED,
    NODE_CONFIG_REFRESH_STATUS_FAILED,
    NODE_CONFIG_REFRESH_STATUS_SKIPPED,
  ];

  static final $core.List<NodeConfigRefreshStatus?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 4);
  static NodeConfigRefreshStatus? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const NodeConfigRefreshStatus._(super.value, super.name);
}

const $core.bool _omitEnumNames =
    $core.bool.fromEnvironment('protobuf.omit_enum_names');
