#[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, 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")]
RelayReq(super::RelayAppToArkRequest),
#[prost(message, tag = "1027")]
RelayRes(super::RelayAppToArkResponse),
#[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 = "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, 1028, 1281, 1282, 1283, 1284, 1285, 1286, 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")]
RelayReq(super::RelayArkToAppRequest),
#[prost(message, tag = "1027")]
RelayRes(super::RelayArkToAppResponse),
#[prost(message, tag = "1028")]
RelayFail(super::RelayAppToArkFailure),
#[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 = "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 RelayAppToArkRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(bytes = "vec", tag = "2")]
pub req: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayArkToAppResponse {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(bytes = "vec", tag = "2")]
pub res: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayAppToArkFailure {
#[prost(string, tag = "1")]
pub error: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayArkToAppRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(bytes = "vec", tag = "2")]
pub req: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RelayAppToArkResponse {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(bytes = "vec", tag = "2")]
pub res: ::prost::alloc::vec::Vec<u8>,
}
#[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, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionResultResponse {
#[prost(string, tag = "2")]
pub app_name: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub app_version: ::prost::alloc::string::String,
#[prost(bool, tag = "4")]
pub success: bool,
#[prost(bytes = "vec", tag = "5")]
pub stdout: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "6")]
pub stderr: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionStatusResponse {
#[prost(bool, tag = "1")]
pub pending: bool,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<ExecutionResultResponse>,
}
#[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(enumeration = "SlotOrigin", tag = "4")]
pub origin: i32,
#[prost(enumeration = "SlotState", tag = "5")]
pub state: i32,
#[prost(string, tag = "6")]
pub damage: ::prost::alloc::string::String,
#[prost(enumeration = "SlotKind", repeated, tag = "7")]
pub deps: ::prost::alloc::vec::Vec<i32>,
#[prost(uint64, tag = "8")]
pub bytes: u64,
#[prost(string, tag = "9")]
pub build: ::prost::alloc::string::String,
#[prost(string, tag = "10")]
pub version: ::prost::alloc::string::String,
#[prost(message, optional, tag = "11")]
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, Eq, Hash, ::prost::Message)]
pub struct DatasetPathsResponse {
#[prost(string, tag = "1")]
pub readme: ::prost::alloc::string::String,
}
#[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,
}
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",
}
}
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),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotKind {
SlotUnspecified = 0,
SlotReferenceGenome = 1,
SlotGeneAnnotations = 2,
SlotSnpIndelCalls = 3,
SlotVariantCatalog = 4,
}
impl SlotKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::SlotUnspecified => "SLOT_UNSPECIFIED",
Self::SlotReferenceGenome => "SLOT_REFERENCE_GENOME",
Self::SlotGeneAnnotations => "SLOT_GENE_ANNOTATIONS",
Self::SlotSnpIndelCalls => "SLOT_SNP_INDEL_CALLS",
Self::SlotVariantCatalog => "SLOT_VARIANT_CATALOG",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SLOT_UNSPECIFIED" => Some(Self::SlotUnspecified),
"SLOT_REFERENCE_GENOME" => Some(Self::SlotReferenceGenome),
"SLOT_GENE_ANNOTATIONS" => Some(Self::SlotGeneAnnotations),
"SLOT_SNP_INDEL_CALLS" => Some(Self::SlotSnpIndelCalls),
"SLOT_VARIANT_CATALOG" => Some(Self::SlotVariantCatalog),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotOrigin {
OriginUnspecified = 0,
OriginPersonal = 1,
OriginReference = 2,
}
impl SlotOrigin {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::OriginUnspecified => "ORIGIN_UNSPECIFIED",
Self::OriginPersonal => "ORIGIN_PERSONAL",
Self::OriginReference => "ORIGIN_REFERENCE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ORIGIN_UNSPECIFIED" => Some(Self::OriginUnspecified),
"ORIGIN_PERSONAL" => Some(Self::OriginPersonal),
"ORIGIN_REFERENCE" => Some(Self::OriginReference),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotState {
StateUnspecified = 0,
StateEmpty = 1,
StateFilled = 2,
StateDamaged = 3,
}
impl SlotState {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::StateUnspecified => "STATE_UNSPECIFIED",
Self::StateEmpty => "STATE_EMPTY",
Self::StateFilled => "STATE_FILLED",
Self::StateDamaged => "STATE_DAMAGED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STATE_UNSPECIFIED" => Some(Self::StateUnspecified),
"STATE_EMPTY" => Some(Self::StateEmpty),
"STATE_FILLED" => Some(Self::StateFilled),
"STATE_DAMAGED" => Some(Self::StateDamaged),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SlotConfidence {
ConfidenceUnspecified = 0,
ConfidenceLow = 1,
ConfidenceMid = 2,
ConfidenceHigh = 3,
}
impl SlotConfidence {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::ConfidenceUnspecified => "CONFIDENCE_UNSPECIFIED",
Self::ConfidenceLow => "CONFIDENCE_LOW",
Self::ConfidenceMid => "CONFIDENCE_MID",
Self::ConfidenceHigh => "CONFIDENCE_HIGH",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"CONFIDENCE_UNSPECIFIED" => Some(Self::ConfidenceUnspecified),
"CONFIDENCE_LOW" => Some(Self::ConfidenceLow),
"CONFIDENCE_MID" => Some(Self::ConfidenceMid),
"CONFIDENCE_HIGH" => Some(Self::ConfidenceHigh),
_ => None,
}
}
}