#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HostToArk {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(message, optional, tag = "2")]
pub err: ::core::option::Option<Error>,
#[prost(
oneof = "host_to_ark::Content",
tags = "256, 257, 258, 259, 260, 513, 514, 515, 516, 517, 769, 770, 771, 772, 773, 774, 1025, 1026, 1027, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1793, 4096"
)]
pub content: ::core::option::Option<host_to_ark::Content>,
}
pub mod host_to_ark {
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
pub enum Content {
#[prost(message, tag = "256")]
Onboard(super::OnboardingRequest),
#[prost(message, tag = "257")]
DeviceInfo(super::DeviceInfoRequest),
#[prost(message, tag = "258")]
CloudSyncStart(super::CloudSyncStartRequest),
#[prost(message, tag = "259")]
CloudSyncFinish(super::CloudSyncFinishRequest),
#[prost(message, tag = "260")]
GenuinityProof(super::GenuinityProofRequest),
#[prost(message, tag = "513")]
FirmwareUpdatePrep(super::FirmwareUpdatePrepRequest),
#[prost(message, tag = "514")]
FirmwareUpdateInit(super::FirmwareUpdateInitRequest),
#[prost(message, tag = "515")]
FirmwareUpdateUpload(super::FirmwareUpdateUploadRequest),
#[prost(message, tag = "516")]
FirmwareUpdateVerify(super::FirmwareUpdateVerifyRequest),
#[prost(message, tag = "517")]
FirmwareUpdateInstall(super::FirmwareUpdateInstallRequest),
#[prost(message, tag = "769")]
PairingAuth(super::PairingAuthRequest),
#[prost(message, tag = "770")]
PairingSetAppId(super::PairingSetAppIdentityRequest),
#[prost(message, tag = "771")]
PairingSetAppStorage(super::PairingSetAppStorageRequest),
#[prost(message, tag = "772")]
PairingAckArkStorage(super::PairingAckArkStorageRequest),
#[prost(message, tag = "773")]
PairingAccept(super::PairingAcceptanceRequest),
#[prost(message, tag = "774")]
PairingComplete(super::PairingCompletionRequest),
#[prost(message, tag = "1025")]
RelayJoin(super::RelayJoinRequest),
#[prost(message, tag = "1026")]
RelayInbound(super::RelayInboundRequest),
#[prost(message, tag = "1027")]
RelayOutbound(super::RelayOutboundResponse),
#[prost(message, tag = "1281")]
Unlock(super::UnlockRequest),
#[prost(message, tag = "1282")]
ExecUploadStart(super::ExecutionUploadStartRequest),
#[prost(message, tag = "1283")]
ExecUploadChunk(super::ExecutionUploadChunkRequest),
#[prost(message, tag = "1284")]
ExecSched(super::ExecutionScheduleRequest),
#[prost(message, tag = "1285")]
ExecStatus(super::ExecutionStatusRequest),
#[prost(message, tag = "1286")]
ExecCancel(super::ExecutionCancelRequest),
#[prost(message, tag = "1287")]
ExecResult(super::ExecutionResultRequest),
#[prost(message, tag = "1288")]
ExecOutput(super::ExecutionOutputRequest),
#[prost(message, tag = "1537")]
SlotList(super::SlotListRequest),
#[prost(message, tag = "1538")]
SlotRepair(super::SlotRepairRequest),
#[prost(message, tag = "1539")]
SlotDelete(super::SlotDeleteRequest),
#[prost(message, tag = "1540")]
SlotIdentify(super::SlotIdentifyRequest),
#[prost(message, tag = "1541")]
SlotUploadStart(super::SlotUploadStartRequest),
#[prost(message, tag = "1542")]
SlotUploadChunk(super::SlotUploadChunkRequest),
#[prost(message, tag = "1543")]
SlotUploadCancel(super::SlotUploadCancelRequest),
#[prost(message, tag = "1544")]
SlotUploadProcess(super::SlotUploadProcessRequest),
#[prost(message, tag = "1793")]
DatasetPaths(super::DatasetPathsRequest),
#[prost(bytes, tag = "4096")]
Develop(::prost::alloc::vec::Vec<u8>),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ArkToHost {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(message, optional, tag = "2")]
pub err: ::core::option::Option<Error>,
#[prost(
oneof = "ark_to_host::Content",
tags = "256, 257, 258, 259, 260, 513, 514, 515, 516, 517, 769, 770, 771, 772, 773, 774, 1025, 1026, 1027, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1793, 4096"
)]
pub content: ::core::option::Option<ark_to_host::Content>,
}
pub mod ark_to_host {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Content {
#[prost(message, tag = "256")]
Onboard(super::OnboardingResponse),
#[prost(message, tag = "257")]
DeviceInfo(super::DeviceInfoResponse),
#[prost(message, tag = "258")]
CloudSyncStart(super::CloudSyncStartResponse),
#[prost(message, tag = "259")]
CloudSyncFinish(super::CloudSyncFinishResponse),
#[prost(message, tag = "260")]
GenuinityProof(super::GenuinityProofResponse),
#[prost(message, tag = "513")]
FirmwareUpdatePrep(super::FirmwareUpdatePrepResponse),
#[prost(message, tag = "514")]
FirmwareUpdateInit(super::FirmwareUpdateInitResponse),
#[prost(message, tag = "515")]
FirmwareUpdateUpload(super::FirmwareUpdateUploadResponse),
#[prost(message, tag = "516")]
FirmwareUpdateVerify(super::FirmwareUpdateVerifyResponse),
#[prost(message, tag = "517")]
FirmwareUpdateInstall(super::FirmwareUpdateInstallResponse),
#[prost(message, tag = "769")]
PairingAuth(super::PairingAuthResponse),
#[prost(message, tag = "770")]
PairingSetAppId(super::PairingSetAppIdentityResponse),
#[prost(message, tag = "771")]
PairingSetAppStorage(super::PairingSetAppStorageResponse),
#[prost(message, tag = "772")]
PairingAckArkStorage(super::PairingAckArkStorageResponse),
#[prost(message, tag = "773")]
PairingAccept(super::PairingAcceptanceResponse),
#[prost(message, tag = "774")]
PairingComplete(super::PairingCompletionResponse),
#[prost(message, tag = "1025")]
RelayJoin(super::RelayJoinResponse),
#[prost(message, tag = "1026")]
RelayInbound(super::RelayInboundResponse),
#[prost(message, tag = "1027")]
RelayOutbound(super::RelayOutboundRequest),
#[prost(message, tag = "1281")]
Unlock(super::UnlockResponse),
#[prost(message, tag = "1282")]
ExecUploadStart(super::ExecutionUploadStartResponse),
#[prost(message, tag = "1283")]
ExecUploadChunk(super::ExecutionUploadChunkResponse),
#[prost(message, tag = "1284")]
ExecSched(super::ExecutionScheduleResponse),
#[prost(message, tag = "1285")]
ExecStatus(super::ExecutionStatusResponse),
#[prost(message, tag = "1286")]
ExecCancel(super::ExecutionCancelResponse),
#[prost(message, tag = "1287")]
ExecResult(super::ExecutionResultResponse),
#[prost(message, tag = "1288")]
ExecOutput(super::ExecutionOutputResponse),
#[prost(message, tag = "1537")]
SlotList(super::SlotListResponse),
#[prost(message, tag = "1538")]
SlotRepair(super::SlotRepairResponse),
#[prost(message, tag = "1539")]
SlotDelete(super::SlotDeleteResponse),
#[prost(message, tag = "1540")]
SlotIdentify(super::SlotIdentifyResponse),
#[prost(message, tag = "1541")]
SlotUploadStart(super::SlotUploadStartResponse),
#[prost(message, tag = "1542")]
SlotUploadChunk(super::SlotUploadChunkResponse),
#[prost(message, tag = "1543")]
SlotUploadCancel(super::SlotUploadCancelResponse),
#[prost(message, tag = "1544")]
SlotUploadProcess(super::SlotUploadProcessResponse),
#[prost(message, tag = "1793")]
DatasetPaths(super::DatasetPathsResponse),
#[prost(bytes, tag = "4096")]
Develop(::prost::alloc::vec::Vec<u8>),
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Error {
#[prost(uint64, tag = "1")]
pub code: u64,
#[prost(string, tag = "2")]
pub msg: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct OnboardingRequest {
#[prost(bytes = "vec", tag = "1")]
pub device_attestation: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct OnboardingResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeviceInfoRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeviceInfoResponse {
#[prost(uint32, tag = "1")]
pub version_id: u32,
#[prost(string, tag = "2")]
pub version_str: ::prost::alloc::string::String,
#[prost(uint32, tag = "3")]
pub revision_id: u32,
#[prost(string, tag = "4")]
pub revision_str: ::prost::alloc::string::String,
#[prost(string, tag = "7")]
pub firmware_version: ::prost::alloc::string::String,
#[prost(uint64, tag = "8")]
pub firmware_publish: u64,
#[prost(bool, tag = "9")]
pub cloud_synced: bool,
#[prost(uint64, tag = "10")]
pub cloud_clock: u64,
#[prost(bool, tag = "11")]
pub paired: bool,
#[prost(bool, tag = "12")]
pub unlocked: bool,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloudSyncStartRequest {
#[prost(bytes = "vec", tag = "1")]
pub signer: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "2")]
pub crypto: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloudSyncStartResponse {
#[prost(bytes = "vec", tag = "1")]
pub challenge: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloudSyncFinishRequest {
#[prost(uint64, tag = "1")]
pub unixmilli: u64,
#[prost(bytes = "vec", tag = "2")]
pub signature: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloudSyncFinishResponse {
#[prost(uint64, tag = "1")]
pub accepted: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GenuinityProofRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GenuinityProofResponse {
#[prost(bytes = "vec", tag = "1")]
pub proof: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdatePrepRequest {
#[prost(string, tag = "1")]
pub version: ::prost::alloc::string::String,
#[prost(bytes = "vec", tag = "2")]
pub sha256: ::prost::alloc::vec::Vec<u8>,
#[prost(uint64, tag = "3")]
pub bytes: u64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdatePrepResponse {
#[prost(bytes = "vec", tag = "1")]
pub auth: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateInitRequest {
#[prost(bytes = "vec", tag = "1")]
pub access: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateInitResponse {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateUploadRequest {
#[prost(bytes = "vec", tag = "1")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateUploadResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateVerifyRequest {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateVerifyResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateInstallRequest {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirmwareUpdateInstallResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAuthRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAuthResponse {
#[prost(bytes = "vec", tag = "1")]
pub auth: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "2")]
pub fprint: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingSetAppIdentityRequest {
#[prost(bytes = "vec", tag = "1")]
pub identity: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingSetAppIdentityResponse {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingSetAppStorageRequest {
#[prost(bytes = "vec", tag = "1")]
pub app_key: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingSetAppStorageResponse {
#[prost(bytes = "vec", tag = "1")]
pub ark_keys: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAckArkStorageRequest {
#[prost(bytes = "vec", tag = "1")]
pub app_ack: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAckArkStorageResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAcceptanceRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingAcceptanceResponse {
#[prost(bytes = "vec", tag = "1")]
pub confirm: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingCompletionRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PairingCompletionResponse {
#[prost(bytes = "vec", tag = "1")]
pub confirm: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayJoinRequest {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayJoinResponse {
#[prost(bytes = "vec", tag = "1")]
pub auth: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayInboundRequest {
#[prost(bytes = "vec", tag = "1")]
pub frame: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayInboundResponse {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayOutboundRequest {
#[prost(bytes = "vec", tag = "1")]
pub frame: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayOutboundResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UnlockRequest {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UnlockResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionUploadStartRequest {
#[prost(uint64, tag = "1")]
pub bytes: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionUploadStartResponse {
#[prost(uint64, tag = "1")]
pub taskid: u64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionUploadChunkRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
#[prost(bytes = "vec", tag = "2")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionUploadChunkResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionScheduleRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionScheduleResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionCancelRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionCancelResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionStatusRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionStatusResponse {
#[prost(enumeration = "ExecutionState", tag = "3")]
pub state: i32,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionResultRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionResultResponse {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub version: ::prost::alloc::string::String,
#[prost(bool, tag = "3")]
pub develop: bool,
#[prost(bool, tag = "4")]
pub success: bool,
#[prost(string, repeated, tag = "5")]
pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, tag = "6")]
pub media: ::prost::alloc::string::String,
#[prost(uint64, tag = "7")]
pub stdout_bytes: u64,
#[prost(uint64, tag = "8")]
pub stderr_bytes: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionOutputRequest {
#[prost(uint64, tag = "1")]
pub taskid: u64,
#[prost(enumeration = "ExecutionStream", tag = "2")]
pub stream: i32,
#[prost(uint64, tag = "3")]
pub offset: u64,
#[prost(uint64, tag = "4")]
pub size: u64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionOutputResponse {
#[prost(bytes = "vec", tag = "1")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotDownload {
#[prost(string, tag = "1")]
pub url: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub bytes: u64,
#[prost(string, tag = "3")]
pub sha256: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotStatus {
#[prost(enumeration = "SlotKind", tag = "1")]
pub kind: i32,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub desc: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub format: ::prost::alloc::string::String,
#[prost(enumeration = "SlotOrigin", tag = "5")]
pub origin: i32,
#[prost(enumeration = "SlotState", tag = "6")]
pub state: i32,
#[prost(string, tag = "7")]
pub damage: ::prost::alloc::string::String,
#[prost(enumeration = "SlotKind", repeated, tag = "8")]
pub deps: ::prost::alloc::vec::Vec<i32>,
#[prost(uint64, tag = "9")]
pub bytes: u64,
#[prost(string, tag = "10")]
pub build: ::prost::alloc::string::String,
#[prost(string, tag = "11")]
pub version: ::prost::alloc::string::String,
#[prost(message, optional, tag = "12")]
pub download: ::core::option::Option<SlotDownload>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotListRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SlotListResponse {
#[prost(message, repeated, tag = "1")]
pub slots: ::prost::alloc::vec::Vec<SlotStatus>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotRepairRequest {
#[prost(enumeration = "SlotKind", tag = "1")]
pub slot: i32,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotRepairResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotDeleteRequest {
#[prost(enumeration = "SlotKind", tag = "1")]
pub slot: i32,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotDeleteResponse {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotIdentifyRequest {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub size: u64,
#[prost(bytes = "vec", tag = "3")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
#[prost(enumeration = "SlotKind", repeated, tag = "4")]
pub kinds: ::prost::alloc::vec::Vec<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotIdentifyResponse {
#[prost(enumeration = "SlotKind", tag = "1")]
pub kind: i32,
#[prost(enumeration = "SlotConfidence", tag = "2")]
pub conf: i32,
#[prost(string, tag = "3")]
pub summary: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub details: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub rejection: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadStartRequest {
#[prost(enumeration = "SlotKind", tag = "1")]
pub kind: i32,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(uint64, tag = "3")]
pub size: u64,
#[prost(bytes = "vec", tag = "4")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadStartResponse {
#[prost(uint64, tag = "1")]
pub session: u64,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadChunkRequest {
#[prost(uint64, tag = "1")]
pub session: u64,
#[prost(bytes = "vec", tag = "2")]
pub chunk: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadChunkResponse {}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadCancelRequest {
#[prost(uint64, tag = "1")]
pub session: u64,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadCancelResponse {}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotPhase {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub desc: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SlotUploadProcessRequest {
#[prost(uint64, tag = "1")]
pub session: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SlotUploadProcessResponse {
#[prost(uint64, tag = "1")]
pub proc_start: u64,
#[prost(message, repeated, tag = "2")]
pub phases: ::prost::alloc::vec::Vec<SlotPhase>,
#[prost(uint64, tag = "3")]
pub phase_in: u64,
#[prost(uint64, tag = "4")]
pub phase_start: u64,
#[prost(uint64, tag = "5")]
pub phase_progress: u64,
#[prost(string, tag = "6")]
pub failure: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DatasetPathsRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DatasetPathsResponse {
#[prost(message, repeated, tag = "1")]
pub paths: ::prost::alloc::vec::Vec<DatasetPath>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DatasetPath {
#[prost(string, tag = "1")]
pub path: ::prost::alloc::string::String,
#[prost(bool, tag = "2")]
pub directory: bool,
#[prost(bool, tag = "3")]
pub grantable: bool,
#[prost(bool, tag = "4")]
pub available: bool,
#[prost(string, tag = "5")]
pub desc: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub format: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "7")]
pub examples: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "8")]
pub public: bool,
#[prost(string, tag = "9")]
pub wording: ::prost::alloc::string::String,
}
#[non_exhaustive]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ReservedErrors {
Unspecified = 0,
Unanswered = 1,
Unknown = 2,
Unsupported = 3,
Unavailable = 4,
Unauthorized = 5,
Unconfirmed = 6,
Undelivered = 7,
}
impl ReservedErrors {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "RESERVED_ERRORS_UNSPECIFIED",
Self::Unanswered => "RESERVED_ERRORS_UNANSWERED",
Self::Unknown => "RESERVED_ERRORS_UNKNOWN",
Self::Unsupported => "RESERVED_ERRORS_UNSUPPORTED",
Self::Unavailable => "RESERVED_ERRORS_UNAVAILABLE",
Self::Unauthorized => "RESERVED_ERRORS_UNAUTHORIZED",
Self::Unconfirmed => "RESERVED_ERRORS_UNCONFIRMED",
Self::Undelivered => "RESERVED_ERRORS_UNDELIVERED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"RESERVED_ERRORS_UNSPECIFIED" => Some(Self::Unspecified),
"RESERVED_ERRORS_UNANSWERED" => Some(Self::Unanswered),
"RESERVED_ERRORS_UNKNOWN" => Some(Self::Unknown),
"RESERVED_ERRORS_UNSUPPORTED" => Some(Self::Unsupported),
"RESERVED_ERRORS_UNAVAILABLE" => Some(Self::Unavailable),
"RESERVED_ERRORS_UNAUTHORIZED" => Some(Self::Unauthorized),
"RESERVED_ERRORS_UNCONFIRMED" => Some(Self::Unconfirmed),
"RESERVED_ERRORS_UNDELIVERED" => Some(Self::Undelivered),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ExecutionState {
Unspecified = 0,
Running = 1,
Awaiting = 2,
Resolved = 3,
}
impl ExecutionState {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "EXECUTION_STATE_UNSPECIFIED",
Self::Running => "EXECUTION_STATE_RUNNING",
Self::Awaiting => "EXECUTION_STATE_AWAITING",
Self::Resolved => "EXECUTION_STATE_RESOLVED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"EXECUTION_STATE_UNSPECIFIED" => Some(Self::Unspecified),
"EXECUTION_STATE_RUNNING" => Some(Self::Running),
"EXECUTION_STATE_AWAITING" => Some(Self::Awaiting),
"EXECUTION_STATE_RESOLVED" => Some(Self::Resolved),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ExecutionStream {
Unspecified = 0,
Stdout = 1,
Stderr = 2,
}
impl ExecutionStream {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "EXECUTION_STREAM_UNSPECIFIED",
Self::Stdout => "EXECUTION_STREAM_STDOUT",
Self::Stderr => "EXECUTION_STREAM_STDERR",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"EXECUTION_STREAM_UNSPECIFIED" => Some(Self::Unspecified),
"EXECUTION_STREAM_STDOUT" => Some(Self::Stdout),
"EXECUTION_STREAM_STDERR" => Some(Self::Stderr),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotKind {
Unspecified = 0,
ReferenceGenome = 1,
GeneAnnotations = 2,
SnpIndelCalls = 3,
VariantCatalog = 4,
}
impl SlotKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SLOT_KIND_UNSPECIFIED",
Self::ReferenceGenome => "SLOT_KIND_REFERENCE_GENOME",
Self::GeneAnnotations => "SLOT_KIND_GENE_ANNOTATIONS",
Self::SnpIndelCalls => "SLOT_KIND_SNP_INDEL_CALLS",
Self::VariantCatalog => "SLOT_KIND_VARIANT_CATALOG",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SLOT_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"SLOT_KIND_REFERENCE_GENOME" => Some(Self::ReferenceGenome),
"SLOT_KIND_GENE_ANNOTATIONS" => Some(Self::GeneAnnotations),
"SLOT_KIND_SNP_INDEL_CALLS" => Some(Self::SnpIndelCalls),
"SLOT_KIND_VARIANT_CATALOG" => Some(Self::VariantCatalog),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotOrigin {
Unspecified = 0,
Personal = 1,
Reference = 2,
}
impl SlotOrigin {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SLOT_ORIGIN_UNSPECIFIED",
Self::Personal => "SLOT_ORIGIN_PERSONAL",
Self::Reference => "SLOT_ORIGIN_REFERENCE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SLOT_ORIGIN_UNSPECIFIED" => Some(Self::Unspecified),
"SLOT_ORIGIN_PERSONAL" => Some(Self::Personal),
"SLOT_ORIGIN_REFERENCE" => Some(Self::Reference),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotState {
Unspecified = 0,
Empty = 1,
Filled = 2,
Damaged = 3,
}
impl SlotState {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SLOT_STATE_UNSPECIFIED",
Self::Empty => "SLOT_STATE_EMPTY",
Self::Filled => "SLOT_STATE_FILLED",
Self::Damaged => "SLOT_STATE_DAMAGED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SLOT_STATE_UNSPECIFIED" => Some(Self::Unspecified),
"SLOT_STATE_EMPTY" => Some(Self::Empty),
"SLOT_STATE_FILLED" => Some(Self::Filled),
"SLOT_STATE_DAMAGED" => Some(Self::Damaged),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotConfidence {
Unspecified = 0,
Low = 1,
Mid = 2,
High = 3,
}
impl SlotConfidence {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SLOT_CONFIDENCE_UNSPECIFIED",
Self::Low => "SLOT_CONFIDENCE_LOW",
Self::Mid => "SLOT_CONFIDENCE_MID",
Self::High => "SLOT_CONFIDENCE_HIGH",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SLOT_CONFIDENCE_UNSPECIFIED" => Some(Self::Unspecified),
"SLOT_CONFIDENCE_LOW" => Some(Self::Low),
"SLOT_CONFIDENCE_MID" => Some(Self::Mid),
"SLOT_CONFIDENCE_HIGH" => Some(Self::High),
_ => None,
}
}
}