Documentation ¶
Index ¶
- Variables
- type BandwidthStat
- func (*BandwidthStat) Descriptor() ([]byte, []int)deprecated
- func (x *BandwidthStat) GetTotal() int64
- func (x *BandwidthStat) GetUsed() int64
- func (*BandwidthStat) ProtoMessage()
- func (x *BandwidthStat) ProtoReflect() protoreflect.Message
- func (x *BandwidthStat) Reset()
- func (x *BandwidthStat) String() string
- type BlockCheckInfo
- func (*BlockCheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockCheckInfo) GetBlockHash() string
- func (x *BlockCheckInfo) GetBlockHeight() int64
- func (x *BlockCheckInfo) GetId() string
- func (*BlockCheckInfo) ProtoMessage()
- func (x *BlockCheckInfo) ProtoReflect() protoreflect.Message
- func (x *BlockCheckInfo) Reset()
- func (x *BlockCheckInfo) String() string
- type CpuStat
- type DiskStat
- type DownloadSliceInfo
- func (*DownloadSliceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSliceInfo) GetBackupsPpInfo() *PPBaseInfo
- func (x *DownloadSliceInfo) GetSliceNumber() uint64
- func (x *DownloadSliceInfo) GetSliceOffset() *SliceOffset
- func (x *DownloadSliceInfo) GetSliceStorageInfo() *SliceStorageInfo
- func (x *DownloadSliceInfo) GetStoragePpInfo() *PPBaseInfo
- func (x *DownloadSliceInfo) GetTaskId() string
- func (x *DownloadSliceInfo) GetVisitResult() bool
- func (*DownloadSliceInfo) ProtoMessage()
- func (x *DownloadSliceInfo) ProtoReflect() protoreflect.Message
- func (x *DownloadSliceInfo) Reset()
- func (x *DownloadSliceInfo) String() string
- type DownloadWrongType
- func (DownloadWrongType) Descriptor() protoreflect.EnumDescriptor
- func (x DownloadWrongType) Enum() *DownloadWrongType
- func (DownloadWrongType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DownloadWrongType) Number() protoreflect.EnumNumber
- func (x DownloadWrongType) String() string
- func (DownloadWrongType) Type() protoreflect.EnumType
- type EncryptedSlice
- func (*EncryptedSlice) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedSlice) GetAesNonce() uint64
- func (x *EncryptedSlice) GetData() []byte
- func (x *EncryptedSlice) GetHdkeyNonce() uint32
- func (x *EncryptedSlice) GetRawSize() uint64
- func (*EncryptedSlice) ProtoMessage()
- func (x *EncryptedSlice) ProtoReflect() protoreflect.Message
- func (x *EncryptedSlice) Reset()
- func (x *EncryptedSlice) String() string
- type FileIndexes
- func (*FileIndexes) Descriptor() ([]byte, []int)deprecated
- func (x *FileIndexes) GetFilePath() string
- func (x *FileIndexes) GetP2PAddress() string
- func (x *FileIndexes) GetSaveAs() string
- func (x *FileIndexes) GetSavePath() string
- func (x *FileIndexes) GetWalletAddress() string
- func (*FileIndexes) ProtoMessage()
- func (x *FileIndexes) ProtoReflect() protoreflect.Message
- func (x *FileIndexes) Reset()
- func (x *FileIndexes) String() string
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetCreateTime() uint64
- func (x *FileInfo) GetDuration() uint64
- func (x *FileInfo) GetEncryptionTag() string
- func (x *FileInfo) GetFileHash() string
- func (x *FileInfo) GetFileName() string
- func (x *FileInfo) GetFileSize() uint64
- func (x *FileInfo) GetIsDirectory() bool
- func (x *FileInfo) GetIsPrivate() bool
- func (x *FileInfo) GetOwnerWalletAddress() string
- func (x *FileInfo) GetShareLink() string
- func (x *FileInfo) GetSortId() uint64
- func (x *FileInfo) GetStoragePath() string
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FileSortType
- func (FileSortType) Descriptor() protoreflect.EnumDescriptor
- func (x FileSortType) Enum() *FileSortType
- func (FileSortType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileSortType) Number() protoreflect.EnumNumber
- func (x FileSortType) String() string
- func (FileSortType) Type() protoreflect.EnumType
- type FileUploadState
- func (FileUploadState) Descriptor() protoreflect.EnumDescriptor
- func (x FileUploadState) Enum() *FileUploadState
- func (FileUploadState) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileUploadState) Number() protoreflect.EnumNumber
- func (x FileUploadState) String() string
- func (FileUploadState) Type() protoreflect.EnumType
- type MemoryStat
- func (*MemoryStat) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryStat) GetMemTotal() int64
- func (x *MemoryStat) GetMemUsed() int64
- func (x *MemoryStat) GetSwapMemTotal() int64
- func (x *MemoryStat) GetSwapMemUsed() int64
- func (*MemoryStat) ProtoMessage()
- func (x *MemoryStat) ProtoReflect() protoreflect.Message
- func (x *MemoryStat) Reset()
- func (x *MemoryStat) String() string
- type MsgType
- type NoticeDeactivatedPP
- func (*NoticeDeactivatedPP) Descriptor() ([]byte, []int)deprecated
- func (x *NoticeDeactivatedPP) GetResult() *Result
- func (*NoticeDeactivatedPP) ProtoMessage()
- func (x *NoticeDeactivatedPP) ProtoReflect() protoreflect.Message
- func (x *NoticeDeactivatedPP) Reset()
- func (x *NoticeDeactivatedPP) String() string
- type NoticeFileSliceBackup
- func (*NoticeFileSliceBackup) Descriptor() ([]byte, []int)deprecated
- func (x *NoticeFileSliceBackup) GetDeleteOrigin() bool
- func (x *NoticeFileSliceBackup) GetFileHash() string
- func (x *NoticeFileSliceBackup) GetNodeSign() []byte
- func (x *NoticeFileSliceBackup) GetPpInfo() *PPBaseInfo
- func (x *NoticeFileSliceBackup) GetPubkey() []byte
- func (x *NoticeFileSliceBackup) GetSliceNumber() uint64
- func (x *NoticeFileSliceBackup) GetSliceStorageInfo() *SliceStorageInfo
- func (x *NoticeFileSliceBackup) GetSpP2PAddress() string
- func (x *NoticeFileSliceBackup) GetTaskId() string
- func (x *NoticeFileSliceBackup) GetTimeStamp() int64
- func (x *NoticeFileSliceBackup) GetToP2PAddress() string
- func (*NoticeFileSliceBackup) ProtoMessage()
- func (x *NoticeFileSliceBackup) ProtoReflect() protoreflect.Message
- func (x *NoticeFileSliceBackup) Reset()
- func (x *NoticeFileSliceBackup) String() string
- type NoticeSpUnderMaintenance
- func (*NoticeSpUnderMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *NoticeSpUnderMaintenance) GetMaintenanceType() int32
- func (x *NoticeSpUnderMaintenance) GetSpP2PAddress() string
- func (*NoticeSpUnderMaintenance) ProtoMessage()
- func (x *NoticeSpUnderMaintenance) ProtoReflect() protoreflect.Message
- func (x *NoticeSpUnderMaintenance) Reset()
- func (x *NoticeSpUnderMaintenance) String() string
- type NoticeUnbondingPP
- type NoticeUpdatedDepositPP
- func (*NoticeUpdatedDepositPP) Descriptor() ([]byte, []int)deprecated
- func (x *NoticeUpdatedDepositPP) GetDepositBalance() string
- func (x *NoticeUpdatedDepositPP) GetNodeTier() string
- func (x *NoticeUpdatedDepositPP) GetResult() *Result
- func (x *NoticeUpdatedDepositPP) GetWeightScore() string
- func (*NoticeUpdatedDepositPP) ProtoMessage()
- func (x *NoticeUpdatedDepositPP) ProtoReflect() protoreflect.Message
- func (x *NoticeUpdatedDepositPP) Reset()
- func (x *NoticeUpdatedDepositPP) String() string
- type PPBaseInfo
- func (*PPBaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PPBaseInfo) GetNetworkAddress() string
- func (x *PPBaseInfo) GetP2PAddress() string
- func (x *PPBaseInfo) GetRestAddress() string
- func (x *PPBaseInfo) GetWalletAddress() string
- func (*PPBaseInfo) ProtoMessage()
- func (x *PPBaseInfo) ProtoReflect() protoreflect.Message
- func (x *PPBaseInfo) Reset()
- func (x *PPBaseInfo) String() string
- type PPState
- type RelayMessage
- func (*RelayMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RelayMessage) GetData() []byte
- func (x *RelayMessage) GetType() string
- func (*RelayMessage) ProtoMessage()
- func (x *RelayMessage) ProtoReflect() protoreflect.Message
- func (x *RelayMessage) Reset()
- func (x *RelayMessage) String() string
- type ReportUploadSliceResult
- func (*ReportUploadSliceResult) Descriptor() ([]byte, []int)deprecated
- func (x *ReportUploadSliceResult) GetCostTime() int64
- func (x *ReportUploadSliceResult) GetFileHash() string
- func (x *ReportUploadSliceResult) GetIsPP() bool
- func (x *ReportUploadSliceResult) GetOpponentP2PAddress() string
- func (x *ReportUploadSliceResult) GetP2PAddress() string
- func (x *ReportUploadSliceResult) GetSlice() *SliceHashAddr
- func (x *ReportUploadSliceResult) GetSpP2PAddress() string
- func (x *ReportUploadSliceResult) GetTaskId() string
- func (x *ReportUploadSliceResult) GetUploadSuccess() bool
- func (x *ReportUploadSliceResult) GetWalletAddress() string
- func (*ReportUploadSliceResult) ProtoMessage()
- func (x *ReportUploadSliceResult) ProtoReflect() protoreflect.Message
- func (x *ReportUploadSliceResult) Reset()
- func (x *ReportUploadSliceResult) String() string
- type ReqActivatePP
- func (*ReqActivatePP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqActivatePP) GetAlreadyActive() bool
- func (x *ReqActivatePP) GetInitialDeposit() string
- func (x *ReqActivatePP) GetPpInfo() *PPBaseInfo
- func (x *ReqActivatePP) GetTx() []byte
- func (*ReqActivatePP) ProtoMessage()
- func (x *ReqActivatePP) ProtoReflect() protoreflect.Message
- func (x *ReqActivatePP) Reset()
- func (x *ReqActivatePP) String() string
- type ReqActivatedPP
- func (*ReqActivatedPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqActivatedPP) GetInitialDeposit() string
- func (x *ReqActivatedPP) GetOzoneLimitChanges() string
- func (x *ReqActivatedPP) GetP2PAddress() string
- func (x *ReqActivatedPP) GetP2PPubkey() string
- func (x *ReqActivatedPP) GetTxHash() string
- func (*ReqActivatedPP) ProtoMessage()
- func (x *ReqActivatedPP) ProtoReflect() protoreflect.Message
- func (x *ReqActivatedPP) Reset()
- func (x *ReqActivatedPP) String() string
- type ReqActivatedSP
- func (*ReqActivatedSP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqActivatedSP) GetOzoneLimitChanges() string
- func (x *ReqActivatedSP) GetP2PAddress() string
- func (x *ReqActivatedSP) GetTxHash() string
- func (*ReqActivatedSP) ProtoMessage()
- func (x *ReqActivatedSP) ProtoReflect() protoreflect.Message
- func (x *ReqActivatedSP) Reset()
- func (x *ReqActivatedSP) String() string
- type ReqBackupFileSlice
- func (*ReqBackupFileSlice) Descriptor() ([]byte, []int)deprecated
- func (x *ReqBackupFileSlice) GetData() []byte
- func (x *ReqBackupFileSlice) GetP2PAddress() string
- func (x *ReqBackupFileSlice) GetPieceOffset() *SliceOffset
- func (x *ReqBackupFileSlice) GetRspBackupFile() *RspBackupStatus
- func (x *ReqBackupFileSlice) GetSliceHash() string
- func (x *ReqBackupFileSlice) GetSliceNumber() uint64
- func (x *ReqBackupFileSlice) GetWalletAddress() string
- func (*ReqBackupFileSlice) ProtoMessage()
- func (x *ReqBackupFileSlice) ProtoReflect() protoreflect.Message
- func (x *ReqBackupFileSlice) Reset()
- func (x *ReqBackupFileSlice) String() string
- type ReqBackupStatus
- func (*ReqBackupStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReqBackupStatus) GetAddress() *PPBaseInfo
- func (x *ReqBackupStatus) GetFileHash() string
- func (x *ReqBackupStatus) GetTaskId() string
- func (*ReqBackupStatus) ProtoMessage()
- func (x *ReqBackupStatus) ProtoReflect() protoreflect.Message
- func (x *ReqBackupStatus) Reset()
- func (x *ReqBackupStatus) String() string
- type ReqBalance
- type ReqBlockCheck
- func (*ReqBlockCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ReqBlockCheck) GetBlockHeight() int64
- func (x *ReqBlockCheck) GetId() string
- func (*ReqBlockCheck) ProtoMessage()
- func (x *ReqBlockCheck) ProtoReflect() protoreflect.Message
- func (x *ReqBlockCheck) Reset()
- func (x *ReqBlockCheck) String() string
- type ReqBlockInfo
- func (*ReqBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqBlockInfo) GetBlockHash() string
- func (x *ReqBlockInfo) GetId() string
- func (*ReqBlockInfo) ProtoMessage()
- func (x *ReqBlockInfo) ProtoReflect() protoreflect.Message
- func (x *ReqBlockInfo) Reset()
- func (x *ReqBlockInfo) String() string
- type ReqClearDownloadTask
- func (*ReqClearDownloadTask) Descriptor() ([]byte, []int)deprecated
- func (x *ReqClearDownloadTask) GetFileHash() string
- func (x *ReqClearDownloadTask) GetP2PAddress() string
- func (x *ReqClearDownloadTask) GetWalletAddress() string
- func (*ReqClearDownloadTask) ProtoMessage()
- func (x *ReqClearDownloadTask) ProtoReflect() protoreflect.Message
- func (x *ReqClearDownloadTask) Reset()
- func (x *ReqClearDownloadTask) String() string
- type ReqClearExpiredShareLinks
- func (*ReqClearExpiredShareLinks) Descriptor() ([]byte, []int)deprecated
- func (x *ReqClearExpiredShareLinks) GetP2PAddress() string
- func (x *ReqClearExpiredShareLinks) GetReqTime() int64
- func (x *ReqClearExpiredShareLinks) GetSignature() *Signature
- func (*ReqClearExpiredShareLinks) ProtoMessage()
- func (x *ReqClearExpiredShareLinks) ProtoReflect() protoreflect.Message
- func (x *ReqClearExpiredShareLinks) Reset()
- func (x *ReqClearExpiredShareLinks) String() string
- type ReqDeactivatePP
- func (*ReqDeactivatePP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDeactivatePP) GetP2PAddress() string
- func (x *ReqDeactivatePP) GetTx() []byte
- func (*ReqDeactivatePP) ProtoMessage()
- func (x *ReqDeactivatePP) ProtoReflect() protoreflect.Message
- func (x *ReqDeactivatePP) Reset()
- func (x *ReqDeactivatePP) String() string
- type ReqDeactivatedPP
- func (*ReqDeactivatedPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDeactivatedPP) GetP2PAddress() string
- func (x *ReqDeactivatedPP) GetTxHash() string
- func (*ReqDeactivatedPP) ProtoMessage()
- func (x *ReqDeactivatedPP) ProtoReflect() protoreflect.Message
- func (x *ReqDeactivatedPP) Reset()
- func (x *ReqDeactivatedPP) String() string
- type ReqDeactivatedSP
- type ReqDeleteFile
- func (*ReqDeleteFile) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDeleteFile) GetFileHash() string
- func (x *ReqDeleteFile) GetP2PAddress() string
- func (x *ReqDeleteFile) GetReqTime() int64
- func (x *ReqDeleteFile) GetSignature() *Signature
- func (*ReqDeleteFile) ProtoMessage()
- func (x *ReqDeleteFile) ProtoReflect() protoreflect.Message
- func (x *ReqDeleteFile) Reset()
- func (x *ReqDeleteFile) String() string
- type ReqDeleteShare
- func (*ReqDeleteShare) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDeleteShare) GetP2PAddress() string
- func (x *ReqDeleteShare) GetReqTime() int64
- func (x *ReqDeleteShare) GetShareId() string
- func (x *ReqDeleteShare) GetSignature() *Signature
- func (*ReqDeleteShare) ProtoMessage()
- func (x *ReqDeleteShare) ProtoReflect() protoreflect.Message
- func (x *ReqDeleteShare) Reset()
- func (x *ReqDeleteShare) String() string
- type ReqDownloadFileWrong
- func (*ReqDownloadFileWrong) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDownloadFileWrong) GetFailedPpNodes() []*PPBaseInfo
- func (x *ReqDownloadFileWrong) GetFailedSlices() []string
- func (x *ReqDownloadFileWrong) GetFileHash() string
- func (x *ReqDownloadFileWrong) GetFileIndexes() *FileIndexes
- func (x *ReqDownloadFileWrong) GetTaskId() string
- func (*ReqDownloadFileWrong) ProtoMessage()
- func (x *ReqDownloadFileWrong) ProtoReflect() protoreflect.Message
- func (x *ReqDownloadFileWrong) Reset()
- func (x *ReqDownloadFileWrong) String() string
- type ReqDownloadSlice
- func (*ReqDownloadSlice) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDownloadSlice) GetP2PAddress() string
- func (x *ReqDownloadSlice) GetRspFileStorageInfo() *RspFileStorageInfo
- func (x *ReqDownloadSlice) GetSliceNumber() uint64
- func (*ReqDownloadSlice) ProtoMessage()
- func (x *ReqDownloadSlice) ProtoReflect() protoreflect.Message
- func (x *ReqDownloadSlice) Reset()
- func (x *ReqDownloadSlice) String() string
- type ReqDownloadSlicePause
- func (*ReqDownloadSlicePause) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDownloadSlicePause) GetFileHash() string
- func (x *ReqDownloadSlicePause) GetP2PAddress() string
- func (x *ReqDownloadSlicePause) GetWalletAddress() string
- func (*ReqDownloadSlicePause) ProtoMessage()
- func (x *ReqDownloadSlicePause) ProtoReflect() protoreflect.Message
- func (x *ReqDownloadSlicePause) Reset()
- func (x *ReqDownloadSlicePause) String() string
- type ReqDownloadTaskInfo
- func (*ReqDownloadTaskInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqDownloadTaskInfo) GetId() string
- func (x *ReqDownloadTaskInfo) GetTaskId() string
- func (*ReqDownloadTaskInfo) ProtoMessage()
- func (x *ReqDownloadTaskInfo) ProtoReflect() protoreflect.Message
- func (x *ReqDownloadTaskInfo) Reset()
- func (x *ReqDownloadTaskInfo) String() string
- type ReqFileReplicaInfo
- func (*ReqFileReplicaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqFileReplicaInfo) GetFilePath() string
- func (x *ReqFileReplicaInfo) GetP2PAddress() string
- func (x *ReqFileReplicaInfo) GetReplicaIncreaseNum() uint32
- func (x *ReqFileReplicaInfo) GetReqTime() int64
- func (x *ReqFileReplicaInfo) GetSignature() *Signature
- func (*ReqFileReplicaInfo) ProtoMessage()
- func (x *ReqFileReplicaInfo) ProtoReflect() protoreflect.Message
- func (x *ReqFileReplicaInfo) Reset()
- func (x *ReqFileReplicaInfo) String() string
- type ReqFileStatus
- func (*ReqFileStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReqFileStatus) GetFileHash() string
- func (x *ReqFileStatus) GetReqTime() int64
- func (x *ReqFileStatus) GetSignature() *Signature
- func (x *ReqFileStatus) GetTaskId() string
- func (*ReqFileStatus) ProtoMessage()
- func (x *ReqFileStatus) ProtoReflect() protoreflect.Message
- func (x *ReqFileStatus) Reset()
- func (x *ReqFileStatus) String() string
- type ReqFileStorageInfo
- func (*ReqFileStorageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqFileStorageInfo) GetFileIndexes() *FileIndexes
- func (x *ReqFileStorageInfo) GetReqTime() int64
- func (x *ReqFileStorageInfo) GetShareRequest() *ReqGetShareFile
- func (x *ReqFileStorageInfo) GetSignature() *Signature
- func (*ReqFileStorageInfo) ProtoMessage()
- func (x *ReqFileStorageInfo) ProtoReflect() protoreflect.Message
- func (x *ReqFileStorageInfo) Reset()
- func (x *ReqFileStorageInfo) String() string
- type ReqFindMyFileList
- func (*ReqFindMyFileList) Descriptor() ([]byte, []int)deprecated
- func (x *ReqFindMyFileList) GetFileName() string
- func (x *ReqFindMyFileList) GetFileType() FileSortType
- func (x *ReqFindMyFileList) GetIsUp() bool
- func (x *ReqFindMyFileList) GetKeyword() string
- func (x *ReqFindMyFileList) GetP2PAddress() string
- func (x *ReqFindMyFileList) GetPageId() uint64
- func (x *ReqFindMyFileList) GetReqTime() int64
- func (x *ReqFindMyFileList) GetSignature() *Signature
- func (*ReqFindMyFileList) ProtoMessage()
- func (x *ReqFindMyFileList) ProtoReflect() protoreflect.Message
- func (x *ReqFindMyFileList) Reset()
- func (x *ReqFindMyFileList) String() string
- type ReqGetHDInfo
- func (*ReqGetHDInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetHDInfo) GetP2PAddress() string
- func (x *ReqGetHDInfo) GetWalletAddress() string
- func (*ReqGetHDInfo) ProtoMessage()
- func (x *ReqGetHDInfo) ProtoReflect() protoreflect.Message
- func (x *ReqGetHDInfo) Reset()
- func (x *ReqGetHDInfo) String() string
- type ReqGetPPDowngradeInfo
- func (*ReqGetPPDowngradeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetPPDowngradeInfo) GetMyAddress() *PPBaseInfo
- func (*ReqGetPPDowngradeInfo) ProtoMessage()
- func (x *ReqGetPPDowngradeInfo) ProtoReflect() protoreflect.Message
- func (x *ReqGetPPDowngradeInfo) Reset()
- func (x *ReqGetPPDowngradeInfo) String() string
- type ReqGetPPList
- type ReqGetPPStatus
- func (*ReqGetPPStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetPPStatus) GetInitPpList() bool
- func (x *ReqGetPPStatus) GetMyAddress() *PPBaseInfo
- func (*ReqGetPPStatus) ProtoMessage()
- func (x *ReqGetPPStatus) ProtoReflect() protoreflect.Message
- func (x *ReqGetPPStatus) Reset()
- func (x *ReqGetPPStatus) String() string
- type ReqGetSPList
- func (*ReqGetSPList) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetSPList) GetMyAddress() *PPBaseInfo
- func (x *ReqGetSPList) GetReqTime() int64
- func (x *ReqGetSPList) GetSignature() *Signature
- func (*ReqGetSPList) ProtoMessage()
- func (x *ReqGetSPList) ProtoReflect() protoreflect.Message
- func (x *ReqGetSPList) Reset()
- func (x *ReqGetSPList) String() string
- type ReqGetShareFile
- func (*ReqGetShareFile) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetShareFile) GetKeyword() string
- func (x *ReqGetShareFile) GetP2PAddress() string
- func (x *ReqGetShareFile) GetReqTime() int64
- func (x *ReqGetShareFile) GetSaveAs() string
- func (x *ReqGetShareFile) GetSharePassword() string
- func (x *ReqGetShareFile) GetSignature() *Signature
- func (*ReqGetShareFile) ProtoMessage()
- func (x *ReqGetShareFile) ProtoReflect() protoreflect.Message
- func (x *ReqGetShareFile) Reset()
- func (x *ReqGetShareFile) String() string
- type ReqGetWalletOz
- func (*ReqGetWalletOz) Descriptor() ([]byte, []int)deprecated
- func (x *ReqGetWalletOz) GetDownloadRequest() *ReqFileStorageInfo
- func (x *ReqGetWalletOz) GetUploadRequest() *ReqUploadFile
- func (x *ReqGetWalletOz) GetWalletAddress() string
- func (*ReqGetWalletOz) ProtoMessage()
- func (x *ReqGetWalletOz) ProtoReflect() protoreflect.Message
- func (x *ReqGetWalletOz) Reset()
- func (x *ReqGetWalletOz) String() string
- type ReqMessageForward
- func (*ReqMessageForward) Descriptor() ([]byte, []int)deprecated
- func (x *ReqMessageForward) GetCmdType() uint32
- func (x *ReqMessageForward) GetDestP2P() string
- func (m *ReqMessageForward) GetMsg() isReqMessageForward_Msg
- func (x *ReqMessageForward) GetReqReportBackupSliceResult() *ReqReportBackupSliceResult
- func (x *ReqMessageForward) GetReqReportDownloadResult() *ReqReportDownloadResult
- func (x *ReqMessageForward) GetReqTransferDownloadWrong() *ReqTransferDownloadWrong
- func (x *ReqMessageForward) GetReqUploadSliceResult() *ReportUploadSliceResult
- func (x *ReqMessageForward) GetReqUploadSlicesWrong() *ReqUploadSlicesWrong
- func (x *ReqMessageForward) GetSourceP2P() string
- func (*ReqMessageForward) ProtoMessage()
- func (x *ReqMessageForward) ProtoReflect() protoreflect.Message
- func (x *ReqMessageForward) Reset()
- func (x *ReqMessageForward) String() string
- type ReqMessageForward_ReqReportBackupSliceResult
- type ReqMessageForward_ReqReportDownloadResult
- type ReqMessageForward_ReqTransferDownloadWrong
- type ReqMessageForward_ReqUploadSliceResult
- type ReqMessageForward_ReqUploadSlicesWrong
- type ReqMining
- type ReqPpLatencyCheck
- func (*ReqPpLatencyCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ReqPpLatencyCheck) GetNetworkAddressSp() string
- func (x *ReqPpLatencyCheck) GetP2PAddressPp() string
- func (x *ReqPpLatencyCheck) GetSpIndex() string
- func (*ReqPpLatencyCheck) ProtoMessage()
- func (x *ReqPpLatencyCheck) ProtoReflect() protoreflect.Message
- func (x *ReqPpLatencyCheck) Reset()
- func (x *ReqPpLatencyCheck) String() string
- type ReqPrepaid
- func (*ReqPrepaid) Descriptor() ([]byte, []int)deprecated
- func (x *ReqPrepaid) GetPurchasedUoz() string
- func (x *ReqPrepaid) GetTxHash() string
- func (x *ReqPrepaid) GetWalletAddress() string
- func (*ReqPrepaid) ProtoMessage()
- func (x *ReqPrepaid) ProtoReflect() protoreflect.Message
- func (x *ReqPrepaid) Reset()
- func (x *ReqPrepaid) String() string
- type ReqPrepay
- func (*ReqPrepay) Descriptor() ([]byte, []int)deprecated
- func (x *ReqPrepay) GetP2PAddress() string
- func (x *ReqPrepay) GetReqTime() int64
- func (x *ReqPrepay) GetSignature() *Signature
- func (x *ReqPrepay) GetTx() []byte
- func (*ReqPrepay) ProtoMessage()
- func (x *ReqPrepay) ProtoReflect() protoreflect.Message
- func (x *ReqPrepay) Reset()
- func (x *ReqPrepay) String() string
- type ReqRegister
- func (*ReqRegister) Descriptor() ([]byte, []int)deprecated
- func (x *ReqRegister) GetAddress() *PPBaseInfo
- func (x *ReqRegister) GetMyAddress() *PPBaseInfo
- func (x *ReqRegister) GetPublicKey() []byte
- func (x *ReqRegister) GetReqTime() int64
- func (x *ReqRegister) GetSignature() *Signature
- func (*ReqRegister) ProtoMessage()
- func (x *ReqRegister) ProtoReflect() protoreflect.Message
- func (x *ReqRegister) Reset()
- func (x *ReqRegister) String() string
- type ReqRegisterNewPP
- func (*ReqRegisterNewPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqRegisterNewPP) GetCpuInfo() string
- func (x *ReqRegisterNewPP) GetDiskSize() uint64
- func (x *ReqRegisterNewPP) GetFreeDisk() uint64
- func (x *ReqRegisterNewPP) GetMacAddress() string
- func (x *ReqRegisterNewPP) GetMemorySize() uint64
- func (x *ReqRegisterNewPP) GetNetworkAddress() string
- func (x *ReqRegisterNewPP) GetOsAndVer() string
- func (x *ReqRegisterNewPP) GetP2PAddress() string
- func (x *ReqRegisterNewPP) GetPubKey() []byte
- func (x *ReqRegisterNewPP) GetReqTime() int64
- func (x *ReqRegisterNewPP) GetSignature() *Signature
- func (x *ReqRegisterNewPP) GetVersion() uint32
- func (*ReqRegisterNewPP) ProtoMessage()
- func (x *ReqRegisterNewPP) ProtoReflect() protoreflect.Message
- func (x *ReqRegisterNewPP) Reset()
- func (x *ReqRegisterNewPP) String() string
- type ReqReportBackupSliceResult
- func (*ReqReportBackupSliceResult) Descriptor() ([]byte, []int)deprecated
- func (x *ReqReportBackupSliceResult) GetBackupSuccess() bool
- func (x *ReqReportBackupSliceResult) GetCostTime() int64
- func (x *ReqReportBackupSliceResult) GetFileHash() string
- func (x *ReqReportBackupSliceResult) GetIsReceiver() bool
- func (x *ReqReportBackupSliceResult) GetOpponentP2PAddress() string
- func (x *ReqReportBackupSliceResult) GetOriginDeleted() bool
- func (x *ReqReportBackupSliceResult) GetP2PAddress() string
- func (x *ReqReportBackupSliceResult) GetPpInfo() *PPBaseInfo
- func (x *ReqReportBackupSliceResult) GetPpP2PAddress() string
- func (x *ReqReportBackupSliceResult) GetSliceHash() string
- func (x *ReqReportBackupSliceResult) GetSliceNumber() uint64
- func (x *ReqReportBackupSliceResult) GetSliceSize() uint64
- func (x *ReqReportBackupSliceResult) GetSpP2PAddress() string
- func (x *ReqReportBackupSliceResult) GetTaskId() string
- func (*ReqReportBackupSliceResult) ProtoMessage()
- func (x *ReqReportBackupSliceResult) ProtoReflect() protoreflect.Message
- func (x *ReqReportBackupSliceResult) Reset()
- func (x *ReqReportBackupSliceResult) String() string
- type ReqReportDownloadResult
- func (*ReqReportDownloadResult) Descriptor() ([]byte, []int)deprecated
- func (x *ReqReportDownloadResult) GetCostTime() int64
- func (x *ReqReportDownloadResult) GetDownloaderP2PAddress() string
- func (x *ReqReportDownloadResult) GetFileHash() string
- func (x *ReqReportDownloadResult) GetIsPP() bool
- func (x *ReqReportDownloadResult) GetOpponentP2PAddress() string
- func (x *ReqReportDownloadResult) GetPpP2PAddress() string
- func (x *ReqReportDownloadResult) GetPpWalletAddress() string
- func (x *ReqReportDownloadResult) GetSliceInfo() *DownloadSliceInfo
- func (x *ReqReportDownloadResult) GetSpP2PAddress() string
- func (x *ReqReportDownloadResult) GetTaskId() string
- func (x *ReqReportDownloadResult) GetWalletAddress() string
- func (*ReqReportDownloadResult) ProtoMessage()
- func (x *ReqReportDownloadResult) ProtoReflect() protoreflect.Message
- func (x *ReqReportDownloadResult) Reset()
- func (x *ReqReportDownloadResult) String() string
- type ReqReportNodeStatus
- func (*ReqReportNodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReqReportNodeStatus) GetBandwidth() *BandwidthStat
- func (x *ReqReportNodeStatus) GetCpu() *CpuStat
- func (x *ReqReportNodeStatus) GetDisk() *DiskStat
- func (x *ReqReportNodeStatus) GetMemory() *MemoryStat
- func (x *ReqReportNodeStatus) GetP2PAddress() string
- func (*ReqReportNodeStatus) ProtoMessage()
- func (x *ReqReportNodeStatus) ProtoReflect() protoreflect.Message
- func (x *ReqReportNodeStatus) Reset()
- func (x *ReqReportNodeStatus) String() string
- type ReqReportTaskBP
- func (*ReqReportTaskBP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqReportTaskBP) GetReporter() *PPBaseInfo
- func (x *ReqReportTaskBP) GetTaskId() string
- func (x *ReqReportTaskBP) GetTraffic() uint64
- func (*ReqReportTaskBP) ProtoMessage()
- func (x *ReqReportTaskBP) ProtoReflect() protoreflect.Message
- func (x *ReqReportTaskBP) Reset()
- func (x *ReqReportTaskBP) String() string
- type ReqShareFile
- func (*ReqShareFile) Descriptor() ([]byte, []int)deprecated
- func (x *ReqShareFile) GetFileHash() string
- func (x *ReqShareFile) GetIsPrivate() bool
- func (x *ReqShareFile) GetP2PAddress() string
- func (x *ReqShareFile) GetPathHash() string
- func (x *ReqShareFile) GetReqTime() int64
- func (x *ReqShareFile) GetShareTime() int64
- func (x *ReqShareFile) GetSignature() *Signature
- func (*ReqShareFile) ProtoMessage()
- func (x *ReqShareFile) ProtoReflect() protoreflect.Message
- func (x *ReqShareFile) Reset()
- func (x *ReqShareFile) String() string
- type ReqShareLink
- func (*ReqShareLink) Descriptor() ([]byte, []int)deprecated
- func (x *ReqShareLink) GetP2PAddress() string
- func (x *ReqShareLink) GetPageId() uint64
- func (x *ReqShareLink) GetReqTime() int64
- func (x *ReqShareLink) GetSignature() *Signature
- func (*ReqShareLink) ProtoMessage()
- func (x *ReqShareLink) ProtoReflect() protoreflect.Message
- func (x *ReqShareLink) Reset()
- func (x *ReqShareLink) String() string
- type ReqSpLatencyCheck
- func (*ReqSpLatencyCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ReqSpLatencyCheck) GetNetworkAddressSp() string
- func (x *ReqSpLatencyCheck) GetP2PAddressPp() string
- func (x *ReqSpLatencyCheck) GetSpIndex() string
- func (*ReqSpLatencyCheck) ProtoMessage()
- func (x *ReqSpLatencyCheck) ProtoReflect() protoreflect.Message
- func (x *ReqSpLatencyCheck) Reset()
- func (x *ReqSpLatencyCheck) String() string
- type ReqStartMaintenance
- func (*ReqStartMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *ReqStartMaintenance) GetAddress() *PPBaseInfo
- func (x *ReqStartMaintenance) GetDuration() uint64
- func (*ReqStartMaintenance) ProtoMessage()
- func (x *ReqStartMaintenance) ProtoReflect() protoreflect.Message
- func (x *ReqStartMaintenance) Reset()
- func (x *ReqStartMaintenance) String() string
- type ReqStateChangePP
- type ReqStopMaintenance
- func (*ReqStopMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *ReqStopMaintenance) GetAddress() *PPBaseInfo
- func (*ReqStopMaintenance) ProtoMessage()
- func (x *ReqStopMaintenance) ProtoReflect() protoreflect.Message
- func (x *ReqStopMaintenance) Reset()
- func (x *ReqStopMaintenance) String() string
- type ReqTransaction
- func (*ReqTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *ReqTransaction) GetCode() int64
- func (x *ReqTransaction) GetId() string
- func (x *ReqTransaction) GetTransactionHash() string
- func (*ReqTransaction) ProtoMessage()
- func (x *ReqTransaction) ProtoReflect() protoreflect.Message
- func (x *ReqTransaction) Reset()
- func (x *ReqTransaction) String() string
- type ReqTransferDownload
- func (*ReqTransferDownload) Descriptor() ([]byte, []int)deprecated
- func (x *ReqTransferDownload) GetNewPp() *PPBaseInfo
- func (x *ReqTransferDownload) GetNoticeFileSliceBackup() *NoticeFileSliceBackup
- func (x *ReqTransferDownload) GetP2PAddress() string
- func (*ReqTransferDownload) ProtoMessage()
- func (x *ReqTransferDownload) ProtoReflect() protoreflect.Message
- func (x *ReqTransferDownload) Reset()
- func (x *ReqTransferDownload) String() string
- type ReqTransferDownloadWrong
- func (*ReqTransferDownloadWrong) Descriptor() ([]byte, []int)deprecated
- func (x *ReqTransferDownloadWrong) GetFileHash() string
- func (x *ReqTransferDownloadWrong) GetNewPp() *PPBaseInfo
- func (x *ReqTransferDownloadWrong) GetOriginalPp() *PPBaseInfo
- func (x *ReqTransferDownloadWrong) GetSliceStorageInfo() *SliceStorageInfo
- func (x *ReqTransferDownloadWrong) GetSpP2PAddress() string
- func (x *ReqTransferDownloadWrong) GetTaskId() string
- func (*ReqTransferDownloadWrong) ProtoMessage()
- func (x *ReqTransferDownloadWrong) ProtoReflect() protoreflect.Message
- func (x *ReqTransferDownloadWrong) Reset()
- func (x *ReqTransferDownloadWrong) String() string
- type ReqUnbondingPP
- func (*ReqUnbondingPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUnbondingPP) GetDepositToRemove() string
- func (x *ReqUnbondingPP) GetOzoneLimitChanges() string
- func (x *ReqUnbondingPP) GetP2PAddress() string
- func (x *ReqUnbondingPP) GetTxHash() string
- func (x *ReqUnbondingPP) GetUnbondingMatureTime() string
- func (*ReqUnbondingPP) ProtoMessage()
- func (x *ReqUnbondingPP) ProtoReflect() protoreflect.Message
- func (x *ReqUnbondingPP) Reset()
- func (x *ReqUnbondingPP) String() string
- type ReqUnbondingSP
- func (*ReqUnbondingSP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUnbondingSP) GetDepositToRemove() string
- func (x *ReqUnbondingSP) GetOzoneLimitChanges() string
- func (x *ReqUnbondingSP) GetP2PAddress() string
- func (x *ReqUnbondingSP) GetTxHash() string
- func (x *ReqUnbondingSP) GetUnbondingMatureTime() string
- func (*ReqUnbondingSP) ProtoMessage()
- func (x *ReqUnbondingSP) ProtoReflect() protoreflect.Message
- func (x *ReqUnbondingSP) Reset()
- func (x *ReqUnbondingSP) String() string
- type ReqUpdateDepositPP
- func (*ReqUpdateDepositPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUpdateDepositPP) GetP2PAddress() string
- func (x *ReqUpdateDepositPP) GetTx() []byte
- func (*ReqUpdateDepositPP) ProtoMessage()
- func (x *ReqUpdateDepositPP) ProtoReflect() protoreflect.Message
- func (x *ReqUpdateDepositPP) Reset()
- func (x *ReqUpdateDepositPP) String() string
- type ReqUpdatedDepositPP
- func (*ReqUpdatedDepositPP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUpdatedDepositPP) GetAvailableTokenAfter() string
- func (x *ReqUpdatedDepositPP) GetAvailableTokenBefore() string
- func (x *ReqUpdatedDepositPP) GetCurrentDeposit() string
- func (x *ReqUpdatedDepositPP) GetDepositDelta() string
- func (x *ReqUpdatedDepositPP) GetOzoneLimitChanges() string
- func (x *ReqUpdatedDepositPP) GetP2PAddress() string
- func (x *ReqUpdatedDepositPP) GetTxHash() string
- func (*ReqUpdatedDepositPP) ProtoMessage()
- func (x *ReqUpdatedDepositPP) ProtoReflect() protoreflect.Message
- func (x *ReqUpdatedDepositPP) Reset()
- func (x *ReqUpdatedDepositPP) String() string
- type ReqUpdatedDepositSP
- func (*ReqUpdatedDepositSP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUpdatedDepositSP) GetAvailableTokenAfter() string
- func (x *ReqUpdatedDepositSP) GetAvailableTokenBefore() string
- func (x *ReqUpdatedDepositSP) GetCurrentDeposit() string
- func (x *ReqUpdatedDepositSP) GetDepositDelta() string
- func (x *ReqUpdatedDepositSP) GetOzoneLimitChanges() string
- func (x *ReqUpdatedDepositSP) GetP2PAddress() string
- func (x *ReqUpdatedDepositSP) GetTxHash() string
- func (*ReqUpdatedDepositSP) ProtoMessage()
- func (x *ReqUpdatedDepositSP) ProtoReflect() protoreflect.Message
- func (x *ReqUpdatedDepositSP) Reset()
- func (x *ReqUpdatedDepositSP) String() string
- type ReqUploadFile
- func (*ReqUploadFile) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUploadFile) GetAllowHigherTier() bool
- func (x *ReqUploadFile) GetDesiredTier() uint32
- func (x *ReqUploadFile) GetFileInfo() *FileInfo
- func (x *ReqUploadFile) GetMyAddress() *PPBaseInfo
- func (x *ReqUploadFile) GetReqTime() int64
- func (x *ReqUploadFile) GetSignature() *Signature
- func (x *ReqUploadFile) GetSlices() []*SliceHashAddr
- func (*ReqUploadFile) ProtoMessage()
- func (x *ReqUploadFile) ProtoReflect() protoreflect.Message
- func (x *ReqUploadFile) Reset()
- func (x *ReqUploadFile) String() string
- type ReqUploadFileSlice
- func (*ReqUploadFileSlice) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUploadFileSlice) GetData() []byte
- func (x *ReqUploadFileSlice) GetP2PAddress() string
- func (x *ReqUploadFileSlice) GetPieceOffset() *SliceOffset
- func (x *ReqUploadFileSlice) GetRspUploadFile() *RspUploadFile
- func (x *ReqUploadFileSlice) GetSliceHash() string
- func (x *ReqUploadFileSlice) GetSliceNumber() uint64
- func (x *ReqUploadFileSlice) GetWalletAddress() string
- func (*ReqUploadFileSlice) ProtoMessage()
- func (x *ReqUploadFileSlice) ProtoReflect() protoreflect.Message
- func (x *ReqUploadFileSlice) Reset()
- func (x *ReqUploadFileSlice) String() string
- type ReqUploadSlicesWrong
- func (*ReqUploadSlicesWrong) Descriptor() ([]byte, []int)deprecated
- func (x *ReqUploadSlicesWrong) GetExcludedDestinations() []*PPBaseInfo
- func (x *ReqUploadSlicesWrong) GetFailedSlices() []bool
- func (x *ReqUploadSlicesWrong) GetFileHash() string
- func (x *ReqUploadSlicesWrong) GetMyAddress() *PPBaseInfo
- func (x *ReqUploadSlicesWrong) GetSlices() []*SliceHashAddr
- func (x *ReqUploadSlicesWrong) GetSpP2PAddress() string
- func (x *ReqUploadSlicesWrong) GetTaskId() string
- func (x *ReqUploadSlicesWrong) GetUploadType() UploadType
- func (*ReqUploadSlicesWrong) ProtoMessage()
- func (x *ReqUploadSlicesWrong) ProtoReflect() protoreflect.Message
- func (x *ReqUploadSlicesWrong) Reset()
- func (x *ReqUploadSlicesWrong) String() string
- type ReqWithdrawnDepositSP
- func (*ReqWithdrawnDepositSP) Descriptor() ([]byte, []int)deprecated
- func (x *ReqWithdrawnDepositSP) GetP2PAddress() string
- func (x *ReqWithdrawnDepositSP) GetTxHash() string
- func (x *ReqWithdrawnDepositSP) GetUnbondingMatureTime() string
- func (*ReqWithdrawnDepositSP) ProtoMessage()
- func (x *ReqWithdrawnDepositSP) ProtoReflect() protoreflect.Message
- func (x *ReqWithdrawnDepositSP) Reset()
- func (x *ReqWithdrawnDepositSP) String() string
- type Result
- type ResultState
- func (ResultState) Descriptor() protoreflect.EnumDescriptor
- func (x ResultState) Enum() *ResultState
- func (ResultState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResultState) Number() protoreflect.EnumNumber
- func (x ResultState) String() string
- func (ResultState) Type() protoreflect.EnumType
- type RspActivatePP
- func (*RspActivatePP) Descriptor() ([]byte, []int)deprecated
- func (x *RspActivatePP) GetActivationState() uint32
- func (x *RspActivatePP) GetResult() *Result
- func (x *RspActivatePP) GetTx() []byte
- func (*RspActivatePP) ProtoMessage()
- func (x *RspActivatePP) ProtoReflect() protoreflect.Message
- func (x *RspActivatePP) Reset()
- func (x *RspActivatePP) String() string
- type RspActivatedPP
- type RspBackupFileSlice
- func (*RspBackupFileSlice) Descriptor() ([]byte, []int)deprecated
- func (x *RspBackupFileSlice) GetFileHash() string
- func (x *RspBackupFileSlice) GetP2PAddress() string
- func (x *RspBackupFileSlice) GetResult() *Result
- func (x *RspBackupFileSlice) GetSlice() *SliceHashAddr
- func (x *RspBackupFileSlice) GetSliceHash() string
- func (x *RspBackupFileSlice) GetSliceSize() uint64
- func (x *RspBackupFileSlice) GetSpP2PAddress() string
- func (x *RspBackupFileSlice) GetTaskId() string
- func (x *RspBackupFileSlice) GetWalletAddress() string
- func (*RspBackupFileSlice) ProtoMessage()
- func (x *RspBackupFileSlice) ProtoReflect() protoreflect.Message
- func (x *RspBackupFileSlice) Reset()
- func (x *RspBackupFileSlice) String() string
- type RspBackupStatus
- func (*RspBackupStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RspBackupStatus) GetDeleteOriginTmp() bool
- func (x *RspBackupStatus) GetFileHash() string
- func (x *RspBackupStatus) GetNodeSign() []byte
- func (x *RspBackupStatus) GetReplicas() uint32
- func (x *RspBackupStatus) GetResult() *Result
- func (x *RspBackupStatus) GetSlices() []*SliceHashAddr
- func (x *RspBackupStatus) GetSpP2PAddress() string
- func (x *RspBackupStatus) GetTaskId() string
- func (x *RspBackupStatus) GetTimeStamp() int64
- func (*RspBackupStatus) ProtoMessage()
- func (x *RspBackupStatus) ProtoReflect() protoreflect.Message
- func (x *RspBackupStatus) Reset()
- func (x *RspBackupStatus) String() string
- type RspBadVersion
- func (*RspBadVersion) Descriptor() ([]byte, []int)deprecated
- func (x *RspBadVersion) GetCommand() uint32
- func (x *RspBadVersion) GetMinimumVersion() int32
- func (x *RspBadVersion) GetVersion() int32
- func (*RspBadVersion) ProtoMessage()
- func (x *RspBadVersion) ProtoReflect() protoreflect.Message
- func (x *RspBadVersion) Reset()
- func (x *RspBadVersion) String() string
- type RspBalance
- func (*RspBalance) Descriptor() ([]byte, []int)deprecated
- func (x *RspBalance) GetBalance() float32
- func (x *RspBalance) GetCode() int64
- func (x *RspBalance) GetId() string
- func (*RspBalance) ProtoMessage()
- func (x *RspBalance) ProtoReflect() protoreflect.Message
- func (x *RspBalance) Reset()
- func (x *RspBalance) String() string
- type RspBlockCheck
- func (*RspBlockCheck) Descriptor() ([]byte, []int)deprecated
- func (x *RspBlockCheck) GetBlockList() []*BlockCheckInfo
- func (x *RspBlockCheck) GetCode() int64
- func (x *RspBlockCheck) GetId() string
- func (*RspBlockCheck) ProtoMessage()
- func (x *RspBlockCheck) ProtoReflect() protoreflect.Message
- func (x *RspBlockCheck) Reset()
- func (x *RspBlockCheck) String() string
- type RspBlockInfo
- func (*RspBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspBlockInfo) GetBlockInfo() []byte
- func (x *RspBlockInfo) GetCode() int64
- func (x *RspBlockInfo) GetId() string
- func (*RspBlockInfo) ProtoMessage()
- func (x *RspBlockInfo) ProtoReflect() protoreflect.Message
- func (x *RspBlockInfo) Reset()
- func (x *RspBlockInfo) String() string
- type RspClearExpiredShareLinks
- func (*RspClearExpiredShareLinks) Descriptor() ([]byte, []int)deprecated
- func (x *RspClearExpiredShareLinks) GetCleared() uint32
- func (x *RspClearExpiredShareLinks) GetNewTotal() uint32
- func (x *RspClearExpiredShareLinks) GetResult() *Result
- func (x *RspClearExpiredShareLinks) GetWalletAddress() string
- func (*RspClearExpiredShareLinks) ProtoMessage()
- func (x *RspClearExpiredShareLinks) ProtoReflect() protoreflect.Message
- func (x *RspClearExpiredShareLinks) Reset()
- func (x *RspClearExpiredShareLinks) String() string
- type RspDeactivatePP
- func (*RspDeactivatePP) Descriptor() ([]byte, []int)deprecated
- func (x *RspDeactivatePP) GetActivationState() uint32
- func (x *RspDeactivatePP) GetResult() *Result
- func (x *RspDeactivatePP) GetTx() []byte
- func (*RspDeactivatePP) ProtoMessage()
- func (x *RspDeactivatePP) ProtoReflect() protoreflect.Message
- func (x *RspDeactivatePP) Reset()
- func (x *RspDeactivatePP) String() string
- type RspDeactivatedSP
- type RspDeleteFile
- func (*RspDeleteFile) Descriptor() ([]byte, []int)deprecated
- func (x *RspDeleteFile) GetFileHash() string
- func (x *RspDeleteFile) GetP2PAddress() string
- func (x *RspDeleteFile) GetResult() *Result
- func (x *RspDeleteFile) GetWalletAddress() string
- func (*RspDeleteFile) ProtoMessage()
- func (x *RspDeleteFile) ProtoReflect() protoreflect.Message
- func (x *RspDeleteFile) Reset()
- func (x *RspDeleteFile) String() string
- type RspDeleteShare
- func (*RspDeleteShare) Descriptor() ([]byte, []int)deprecated
- func (x *RspDeleteShare) GetP2PAddress() string
- func (x *RspDeleteShare) GetResult() *Result
- func (x *RspDeleteShare) GetShareId() string
- func (x *RspDeleteShare) GetWalletAddress() string
- func (*RspDeleteShare) ProtoMessage()
- func (x *RspDeleteShare) ProtoReflect() protoreflect.Message
- func (x *RspDeleteShare) Reset()
- func (x *RspDeleteShare) String() string
- type RspDownloadSlice
- func (*RspDownloadSlice) Descriptor() ([]byte, []int)deprecated
- func (x *RspDownloadSlice) GetData() []byte
- func (x *RspDownloadSlice) GetFileCrc() uint32
- func (x *RspDownloadSlice) GetFileHash() string
- func (x *RspDownloadSlice) GetIsEncrypted() bool
- func (x *RspDownloadSlice) GetIsVideoCaching() bool
- func (x *RspDownloadSlice) GetNeedReport() bool
- func (x *RspDownloadSlice) GetP2PAddress() string
- func (x *RspDownloadSlice) GetRawSliceSize() uint64
- func (x *RspDownloadSlice) GetResult() *Result
- func (x *RspDownloadSlice) GetSavePath() string
- func (x *RspDownloadSlice) GetSliceInfo() *SliceOffsetInfo
- func (x *RspDownloadSlice) GetSliceNumber() uint64
- func (x *RspDownloadSlice) GetSliceSize() uint64
- func (x *RspDownloadSlice) GetSpP2PAddress() string
- func (x *RspDownloadSlice) GetStorageP2PAddress() string
- func (x *RspDownloadSlice) GetTaskId() string
- func (x *RspDownloadSlice) GetWalletAddress() string
- func (*RspDownloadSlice) ProtoMessage()
- func (x *RspDownloadSlice) ProtoReflect() protoreflect.Message
- func (x *RspDownloadSlice) Reset()
- func (x *RspDownloadSlice) String() string
- type RspDownloadSlicePause
- func (*RspDownloadSlicePause) Descriptor() ([]byte, []int)deprecated
- func (x *RspDownloadSlicePause) GetFileHash() string
- func (x *RspDownloadSlicePause) GetP2PAddress() string
- func (x *RspDownloadSlicePause) GetResult() *Result
- func (x *RspDownloadSlicePause) GetWalletAddress() string
- func (*RspDownloadSlicePause) ProtoMessage()
- func (x *RspDownloadSlicePause) ProtoReflect() protoreflect.Message
- func (x *RspDownloadSlicePause) Reset()
- func (x *RspDownloadSlicePause) String() string
- type RspDownloadTaskInfo
- func (*RspDownloadTaskInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspDownloadTaskInfo) GetId() string
- func (x *RspDownloadTaskInfo) GetP2PAddressList() []string
- func (x *RspDownloadTaskInfo) GetResult() *Result
- func (x *RspDownloadTaskInfo) GetSliceHash() string
- func (x *RspDownloadTaskInfo) GetSliceNumber() uint64
- func (x *RspDownloadTaskInfo) GetSliceSize() uint64
- func (x *RspDownloadTaskInfo) GetStorageP2PAddress() string
- func (x *RspDownloadTaskInfo) GetTaskId() string
- func (x *RspDownloadTaskInfo) GetTime() uint64
- func (*RspDownloadTaskInfo) ProtoMessage()
- func (x *RspDownloadTaskInfo) ProtoReflect() protoreflect.Message
- func (x *RspDownloadTaskInfo) Reset()
- func (x *RspDownloadTaskInfo) String() string
- type RspFileReplicaInfo
- func (*RspFileReplicaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspFileReplicaInfo) GetExpectedReplicas() uint32
- func (x *RspFileReplicaInfo) GetFileHash() string
- func (x *RspFileReplicaInfo) GetReplicas() uint32
- func (x *RspFileReplicaInfo) GetResult() *Result
- func (x *RspFileReplicaInfo) GetSpP2PAddress() string
- func (*RspFileReplicaInfo) ProtoMessage()
- func (x *RspFileReplicaInfo) ProtoReflect() protoreflect.Message
- func (x *RspFileReplicaInfo) Reset()
- func (x *RspFileReplicaInfo) String() string
- type RspFileStatus
- func (*RspFileStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RspFileStatus) GetFileHash() string
- func (x *RspFileStatus) GetReplicas() uint32
- func (x *RspFileStatus) GetResult() *Result
- func (x *RspFileStatus) GetState() FileUploadState
- func (x *RspFileStatus) GetUserHasFile() bool
- func (*RspFileStatus) ProtoMessage()
- func (x *RspFileStatus) ProtoReflect() protoreflect.Message
- func (x *RspFileStatus) Reset()
- func (x *RspFileStatus) String() string
- type RspFileStorageInfo
- func (*RspFileStorageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspFileStorageInfo) GetEncryptionTag() string
- func (x *RspFileStorageInfo) GetFileHash() string
- func (x *RspFileStorageInfo) GetFileName() string
- func (x *RspFileStorageInfo) GetFileSize() uint64
- func (x *RspFileStorageInfo) GetNodeSign() []byte
- func (x *RspFileStorageInfo) GetP2PAddress() string
- func (x *RspFileStorageInfo) GetReqId() string
- func (x *RspFileStorageInfo) GetRestAddress() string
- func (x *RspFileStorageInfo) GetResult() *Result
- func (x *RspFileStorageInfo) GetSavePath() string
- func (x *RspFileStorageInfo) GetSliceInfo() []*DownloadSliceInfo
- func (x *RspFileStorageInfo) GetSpP2PAddress() string
- func (x *RspFileStorageInfo) GetTaskId() string
- func (x *RspFileStorageInfo) GetTimeStamp() int64
- func (x *RspFileStorageInfo) GetVisitCer() string
- func (x *RspFileStorageInfo) GetWalletAddress() string
- func (*RspFileStorageInfo) ProtoMessage()
- func (x *RspFileStorageInfo) ProtoReflect() protoreflect.Message
- func (x *RspFileStorageInfo) Reset()
- func (x *RspFileStorageInfo) String() string
- type RspFindMyFileList
- func (*RspFindMyFileList) Descriptor() ([]byte, []int)deprecated
- func (x *RspFindMyFileList) GetFileInfo() []*FileInfo
- func (x *RspFindMyFileList) GetP2PAddress() string
- func (x *RspFindMyFileList) GetPageId() uint64
- func (x *RspFindMyFileList) GetResult() *Result
- func (x *RspFindMyFileList) GetTotalFileNumber() uint64
- func (x *RspFindMyFileList) GetWalletAddress() string
- func (*RspFindMyFileList) ProtoMessage()
- func (x *RspFindMyFileList) ProtoReflect() protoreflect.Message
- func (x *RspFindMyFileList) Reset()
- func (x *RspFindMyFileList) String() string
- type RspGetHDInfo
- func (*RspGetHDInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetHDInfo) GetDiskFree() int64
- func (x *RspGetHDInfo) GetDiskSize() int64
- func (x *RspGetHDInfo) GetP2PAddress() string
- func (x *RspGetHDInfo) GetWalletAddress() string
- func (*RspGetHDInfo) ProtoMessage()
- func (x *RspGetHDInfo) ProtoReflect() protoreflect.Message
- func (x *RspGetHDInfo) Reset()
- func (x *RspGetHDInfo) String() string
- type RspGetPPDowngradeInfo
- func (*RspGetPPDowngradeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetPPDowngradeInfo) GetDowngradeHeightDeltaToNow() int64
- func (x *RspGetPPDowngradeInfo) GetResult() *Result
- func (x *RspGetPPDowngradeInfo) GetScoreDecreased() uint32
- func (x *RspGetPPDowngradeInfo) GetSpP2PAddress() string
- func (*RspGetPPDowngradeInfo) ProtoMessage()
- func (x *RspGetPPDowngradeInfo) ProtoReflect() protoreflect.Message
- func (x *RspGetPPDowngradeInfo) Reset()
- func (x *RspGetPPDowngradeInfo) String() string
- type RspGetPPList
- func (*RspGetPPList) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetPPList) GetPpList() []*PPBaseInfo
- func (x *RspGetPPList) GetResult() *Result
- func (*RspGetPPList) ProtoMessage()
- func (x *RspGetPPList) ProtoReflect() protoreflect.Message
- func (x *RspGetPPList) Reset()
- func (x *RspGetPPList) String() string
- type RspGetPPStatus
- func (*RspGetPPStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetPPStatus) GetInitPpList() bool
- func (x *RspGetPPStatus) GetInitTier() uint32
- func (x *RspGetPPStatus) GetIsActive() uint32
- func (x *RspGetPPStatus) GetOngoingTier() uint32
- func (x *RspGetPPStatus) GetResult() *Result
- func (x *RspGetPPStatus) GetState() int32
- func (x *RspGetPPStatus) GetWeightScore() uint32
- func (*RspGetPPStatus) ProtoMessage()
- func (x *RspGetPPStatus) ProtoReflect() protoreflect.Message
- func (x *RspGetPPStatus) Reset()
- func (x *RspGetPPStatus) String() string
- type RspGetSPList
- func (*RspGetSPList) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetSPList) GetResult() *Result
- func (x *RspGetSPList) GetSpList() []*SPBaseInfo
- func (*RspGetSPList) ProtoMessage()
- func (x *RspGetSPList) ProtoReflect() protoreflect.Message
- func (x *RspGetSPList) Reset()
- func (x *RspGetSPList) String() string
- type RspGetShareFile
- func (*RspGetShareFile) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetShareFile) GetFileInfo() []*FileInfo
- func (x *RspGetShareFile) GetIsPrivate() bool
- func (x *RspGetShareFile) GetResult() *Result
- func (x *RspGetShareFile) GetSequenceNumber() string
- func (x *RspGetShareFile) GetShareRequest() *ReqGetShareFile
- func (*RspGetShareFile) ProtoMessage()
- func (x *RspGetShareFile) ProtoReflect() protoreflect.Message
- func (x *RspGetShareFile) Reset()
- func (x *RspGetShareFile) String() string
- type RspGetWalletOz
- func (*RspGetWalletOz) Descriptor() ([]byte, []int)deprecated
- func (x *RspGetWalletOz) GetResult() *Result
- func (x *RspGetWalletOz) GetSequenceNumber() string
- func (x *RspGetWalletOz) GetWalletAddress() string
- func (x *RspGetWalletOz) GetWalletOz() string
- func (*RspGetWalletOz) ProtoMessage()
- func (x *RspGetWalletOz) ProtoReflect() protoreflect.Message
- func (x *RspGetWalletOz) Reset()
- func (x *RspGetWalletOz) String() string
- type RspMessageForward
- func (*RspMessageForward) Descriptor() ([]byte, []int)deprecated
- func (x *RspMessageForward) GetCmdType() uint32
- func (x *RspMessageForward) GetDestP2P() string
- func (m *RspMessageForward) GetMsg() isRspMessageForward_Msg
- func (x *RspMessageForward) GetRspReportBackupSliceResult() *RspReportBackupSliceResult
- func (x *RspMessageForward) GetRspReportDownloadResult() *RspReportDownloadResult
- func (x *RspMessageForward) GetRspUploadSliceResult() *RspReportUploadSliceResult
- func (x *RspMessageForward) GetRspUploadSlicesWrong() *RspUploadSlicesWrong
- func (x *RspMessageForward) GetSourceP2P() string
- func (*RspMessageForward) ProtoMessage()
- func (x *RspMessageForward) ProtoReflect() protoreflect.Message
- func (x *RspMessageForward) Reset()
- func (x *RspMessageForward) String() string
- type RspMessageForward_RspReportBackupSliceResult
- type RspMessageForward_RspReportDownloadResult
- type RspMessageForward_RspUploadSliceResult
- type RspMessageForward_RspUploadSlicesWrong
- type RspMining
- type RspPpLatencyCheck
- func (*RspPpLatencyCheck) Descriptor() ([]byte, []int)deprecated
- func (x *RspPpLatencyCheck) GetNetworkAddressSp() string
- func (x *RspPpLatencyCheck) GetP2PAddressPp() string
- func (x *RspPpLatencyCheck) GetSpIndex() string
- func (*RspPpLatencyCheck) ProtoMessage()
- func (x *RspPpLatencyCheck) ProtoReflect() protoreflect.Message
- func (x *RspPpLatencyCheck) Reset()
- func (x *RspPpLatencyCheck) String() string
- type RspPrepay
- type RspRegister
- func (*RspRegister) Descriptor() ([]byte, []int)deprecated
- func (x *RspRegister) GetIsPP() bool
- func (x *RspRegister) GetIsSuspended() bool
- func (x *RspRegister) GetP2PAddress() string
- func (x *RspRegister) GetResult() *Result
- func (*RspRegister) ProtoMessage()
- func (x *RspRegister) ProtoReflect() protoreflect.Message
- func (x *RspRegister) Reset()
- func (x *RspRegister) String() string
- type RspRegisterNewPP
- func (*RspRegisterNewPP) Descriptor() ([]byte, []int)deprecated
- func (x *RspRegisterNewPP) GetAlreadyPp() bool
- func (x *RspRegisterNewPP) GetResult() *Result
- func (*RspRegisterNewPP) ProtoMessage()
- func (x *RspRegisterNewPP) ProtoReflect() protoreflect.Message
- func (x *RspRegisterNewPP) Reset()
- func (x *RspRegisterNewPP) String() string
- type RspReportBackupSliceResult
- func (*RspReportBackupSliceResult) Descriptor() ([]byte, []int)deprecated
- func (x *RspReportBackupSliceResult) GetResult() *Result
- func (x *RspReportBackupSliceResult) GetSliceHash() string
- func (x *RspReportBackupSliceResult) GetTaskId() string
- func (*RspReportBackupSliceResult) ProtoMessage()
- func (x *RspReportBackupSliceResult) ProtoReflect() protoreflect.Message
- func (x *RspReportBackupSliceResult) Reset()
- func (x *RspReportBackupSliceResult) String() string
- type RspReportDownloadResult
- func (*RspReportDownloadResult) Descriptor() ([]byte, []int)deprecated
- func (x *RspReportDownloadResult) GetResult() *Result
- func (x *RspReportDownloadResult) GetSliceInfo() *DownloadSliceInfo
- func (*RspReportDownloadResult) ProtoMessage()
- func (x *RspReportDownloadResult) ProtoReflect() protoreflect.Message
- func (x *RspReportDownloadResult) Reset()
- func (x *RspReportDownloadResult) String() string
- type RspReportNodeStatus
- func (*RspReportNodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RspReportNodeStatus) GetPpstate() int32
- func (x *RspReportNodeStatus) GetResult() *Result
- func (*RspReportNodeStatus) ProtoMessage()
- func (x *RspReportNodeStatus) ProtoReflect() protoreflect.Message
- func (x *RspReportNodeStatus) Reset()
- func (x *RspReportNodeStatus) String() string
- type RspReportUploadSliceResult
- func (*RspReportUploadSliceResult) Descriptor() ([]byte, []int)deprecated
- func (x *RspReportUploadSliceResult) GetResult() *Result
- func (x *RspReportUploadSliceResult) GetSlice() *SliceHashAddr
- func (*RspReportUploadSliceResult) ProtoMessage()
- func (x *RspReportUploadSliceResult) ProtoReflect() protoreflect.Message
- func (x *RspReportUploadSliceResult) Reset()
- func (x *RspReportUploadSliceResult) String() string
- type RspShareFile
- func (*RspShareFile) Descriptor() ([]byte, []int)deprecated
- func (x *RspShareFile) GetP2PAddress() string
- func (x *RspShareFile) GetResult() *Result
- func (x *RspShareFile) GetShareId() string
- func (x *RspShareFile) GetShareLink() string
- func (x *RspShareFile) GetSharePassword() string
- func (x *RspShareFile) GetWalletAddress() string
- func (*RspShareFile) ProtoMessage()
- func (x *RspShareFile) ProtoReflect() protoreflect.Message
- func (x *RspShareFile) Reset()
- func (x *RspShareFile) String() string
- type RspShareLink
- func (*RspShareLink) Descriptor() ([]byte, []int)deprecated
- func (x *RspShareLink) GetP2PAddress() string
- func (x *RspShareLink) GetPageId() uint64
- func (x *RspShareLink) GetResult() *Result
- func (x *RspShareLink) GetShareInfo() []*ShareLinkInfo
- func (x *RspShareLink) GetTotalFileNumber() uint64
- func (x *RspShareLink) GetWalletAddress() string
- func (*RspShareLink) ProtoMessage()
- func (x *RspShareLink) ProtoReflect() protoreflect.Message
- func (x *RspShareLink) Reset()
- func (x *RspShareLink) String() string
- type RspSpLatencyCheck
- func (*RspSpLatencyCheck) Descriptor() ([]byte, []int)deprecated
- func (x *RspSpLatencyCheck) GetNetworkAddressSp() string
- func (x *RspSpLatencyCheck) GetP2PAddressPp() string
- func (x *RspSpLatencyCheck) GetSpIndex() string
- func (*RspSpLatencyCheck) ProtoMessage()
- func (x *RspSpLatencyCheck) ProtoReflect() protoreflect.Message
- func (x *RspSpLatencyCheck) Reset()
- func (x *RspSpLatencyCheck) String() string
- type RspStartMaintenance
- func (*RspStartMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *RspStartMaintenance) GetResult() *Result
- func (*RspStartMaintenance) ProtoMessage()
- func (x *RspStartMaintenance) ProtoReflect() protoreflect.Message
- func (x *RspStartMaintenance) Reset()
- func (x *RspStartMaintenance) String() string
- type RspStateChangePP
- func (*RspStateChangePP) Descriptor() ([]byte, []int)deprecated
- func (x *RspStateChangePP) GetResult() *Result
- func (x *RspStateChangePP) GetUpdateState() uint32
- func (*RspStateChangePP) ProtoMessage()
- func (x *RspStateChangePP) ProtoReflect() protoreflect.Message
- func (x *RspStateChangePP) Reset()
- func (x *RspStateChangePP) String() string
- type RspStopMaintenance
- func (*RspStopMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *RspStopMaintenance) GetResult() *Result
- func (*RspStopMaintenance) ProtoMessage()
- func (x *RspStopMaintenance) ProtoReflect() protoreflect.Message
- func (x *RspStopMaintenance) Reset()
- func (x *RspStopMaintenance) String() string
- type RspTransaction
- func (*RspTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *RspTransaction) GetCode() int64
- func (x *RspTransaction) GetId() string
- func (x *RspTransaction) GetRest() string
- func (*RspTransaction) ProtoMessage()
- func (x *RspTransaction) ProtoReflect() protoreflect.Message
- func (x *RspTransaction) Reset()
- func (x *RspTransaction) String() string
- type RspTransferDownload
- func (*RspTransferDownload) Descriptor() ([]byte, []int)deprecated
- func (x *RspTransferDownload) GetData() []byte
- func (x *RspTransferDownload) GetOffset() uint64
- func (x *RspTransferDownload) GetP2PAddress() string
- func (x *RspTransferDownload) GetResult() *Result
- func (x *RspTransferDownload) GetSliceHash() string
- func (x *RspTransferDownload) GetSliceSize() uint64
- func (x *RspTransferDownload) GetSpP2PAddress() string
- func (x *RspTransferDownload) GetTaskId() string
- func (*RspTransferDownload) ProtoMessage()
- func (x *RspTransferDownload) ProtoReflect() protoreflect.Message
- func (x *RspTransferDownload) Reset()
- func (x *RspTransferDownload) String() string
- type RspTransferDownloadResult
- func (*RspTransferDownloadResult) Descriptor() ([]byte, []int)deprecated
- func (x *RspTransferDownloadResult) GetResult() *Result
- func (x *RspTransferDownloadResult) GetSliceHash() string
- func (x *RspTransferDownloadResult) GetSpP2PAddress() string
- func (x *RspTransferDownloadResult) GetTaskId() string
- func (*RspTransferDownloadResult) ProtoMessage()
- func (x *RspTransferDownloadResult) ProtoReflect() protoreflect.Message
- func (x *RspTransferDownloadResult) Reset()
- func (x *RspTransferDownloadResult) String() string
- type RspUnbondingSP
- type RspUpdateDepositPP
- func (*RspUpdateDepositPP) Descriptor() ([]byte, []int)deprecated
- func (x *RspUpdateDepositPP) GetResult() *Result
- func (x *RspUpdateDepositPP) GetTx() []byte
- func (x *RspUpdateDepositPP) GetUpdateState() uint32
- func (*RspUpdateDepositPP) ProtoMessage()
- func (x *RspUpdateDepositPP) ProtoReflect() protoreflect.Message
- func (x *RspUpdateDepositPP) Reset()
- func (x *RspUpdateDepositPP) String() string
- type RspUploadFile
- func (*RspUploadFile) Descriptor() ([]byte, []int)deprecated
- func (x *RspUploadFile) GetFileHash() string
- func (x *RspUploadFile) GetIsEncrypted() bool
- func (x *RspUploadFile) GetNodeSign() []byte
- func (x *RspUploadFile) GetOwnerWalletAddress() string
- func (x *RspUploadFile) GetResult() *Result
- func (x *RspUploadFile) GetSlices() []*SliceHashAddr
- func (x *RspUploadFile) GetSpP2PAddress() string
- func (x *RspUploadFile) GetStorageCer() string
- func (x *RspUploadFile) GetTaskId() string
- func (x *RspUploadFile) GetTimeStamp() int64
- func (x *RspUploadFile) GetTotalSlice() int64
- func (*RspUploadFile) ProtoMessage()
- func (x *RspUploadFile) ProtoReflect() protoreflect.Message
- func (x *RspUploadFile) Reset()
- func (x *RspUploadFile) String() string
- type RspUploadFileSlice
- func (*RspUploadFileSlice) Descriptor() ([]byte, []int)deprecated
- func (x *RspUploadFileSlice) GetFileHash() string
- func (x *RspUploadFileSlice) GetP2PAddress() string
- func (x *RspUploadFileSlice) GetResult() *Result
- func (x *RspUploadFileSlice) GetSlice() *SliceHashAddr
- func (x *RspUploadFileSlice) GetSliceHash() string
- func (x *RspUploadFileSlice) GetSpP2PAddress() string
- func (x *RspUploadFileSlice) GetTaskId() string
- func (x *RspUploadFileSlice) GetWalletAddress() string
- func (*RspUploadFileSlice) ProtoMessage()
- func (x *RspUploadFileSlice) ProtoReflect() protoreflect.Message
- func (x *RspUploadFileSlice) Reset()
- func (x *RspUploadFileSlice) String() string
- type RspUploadSlicesWrong
- func (*RspUploadSlicesWrong) Descriptor() ([]byte, []int)deprecated
- func (x *RspUploadSlicesWrong) GetFileHash() string
- func (x *RspUploadSlicesWrong) GetResult() *Result
- func (x *RspUploadSlicesWrong) GetRspUploadFile() *RspUploadFile
- func (x *RspUploadSlicesWrong) GetSlices() []*SliceHashAddr
- func (x *RspUploadSlicesWrong) GetTaskId() string
- func (x *RspUploadSlicesWrong) GetUploadType() UploadType
- func (*RspUploadSlicesWrong) ProtoMessage()
- func (x *RspUploadSlicesWrong) ProtoReflect() protoreflect.Message
- func (x *RspUploadSlicesWrong) Reset()
- func (x *RspUploadSlicesWrong) String() string
- type RspWithdrawnDepositSP
- func (*RspWithdrawnDepositSP) Descriptor() ([]byte, []int)deprecated
- func (x *RspWithdrawnDepositSP) GetResult() *Result
- func (*RspWithdrawnDepositSP) ProtoMessage()
- func (x *RspWithdrawnDepositSP) ProtoReflect() protoreflect.Message
- func (x *RspWithdrawnDepositSP) Reset()
- func (x *RspWithdrawnDepositSP) String() string
- type SPBaseInfo
- func (*SPBaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SPBaseInfo) GetNetworkAddress() string
- func (x *SPBaseInfo) GetP2PAddress() string
- func (x *SPBaseInfo) GetP2PPubKey() string
- func (*SPBaseInfo) ProtoMessage()
- func (x *SPBaseInfo) ProtoReflect() protoreflect.Message
- func (x *SPBaseInfo) Reset()
- func (x *SPBaseInfo) String() string
- type ShareLinkInfo
- func (*ShareLinkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ShareLinkInfo) GetCreationTime() int64
- func (x *ShareLinkInfo) GetExpTime() int64
- func (x *ShareLinkInfo) GetFileHash() string
- func (x *ShareLinkInfo) GetFileSize() uint64
- func (x *ShareLinkInfo) GetIsDirectory() bool
- func (x *ShareLinkInfo) GetIsPrivate() bool
- func (x *ShareLinkInfo) GetName() string
- func (x *ShareLinkInfo) GetOwnerWalletAddress() string
- func (x *ShareLinkInfo) GetShareId() string
- func (x *ShareLinkInfo) GetShareLink() string
- func (x *ShareLinkInfo) GetShareLinkPassword() string
- func (*ShareLinkInfo) ProtoMessage()
- func (x *ShareLinkInfo) ProtoReflect() protoreflect.Message
- func (x *ShareLinkInfo) Reset()
- func (x *ShareLinkInfo) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetAddress() string
- func (x *Signature) GetPubkey() []byte
- func (x *Signature) GetSignature() []byte
- func (x *Signature) GetType() SignatureType
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SignatureType
- func (SignatureType) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureType) Enum() *SignatureType
- func (SignatureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureType) Number() protoreflect.EnumNumber
- func (x SignatureType) String() string
- func (SignatureType) Type() protoreflect.EnumType
- type SliceHashAddr
- func (*SliceHashAddr) Descriptor() ([]byte, []int)deprecated
- func (x *SliceHashAddr) GetPpInfo() *PPBaseInfo
- func (x *SliceHashAddr) GetSliceHash() string
- func (x *SliceHashAddr) GetSliceNumber() uint64
- func (x *SliceHashAddr) GetSliceOffset() *SliceOffset
- func (x *SliceHashAddr) GetSliceSize() uint64
- func (*SliceHashAddr) ProtoMessage()
- func (x *SliceHashAddr) ProtoReflect() protoreflect.Message
- func (x *SliceHashAddr) Reset()
- func (x *SliceHashAddr) String() string
- type SliceOffset
- func (*SliceOffset) Descriptor() ([]byte, []int)deprecated
- func (x *SliceOffset) GetSliceOffsetEnd() uint64
- func (x *SliceOffset) GetSliceOffsetStart() uint64
- func (*SliceOffset) ProtoMessage()
- func (x *SliceOffset) ProtoReflect() protoreflect.Message
- func (x *SliceOffset) Reset()
- func (x *SliceOffset) String() string
- type SliceOffsetInfo
- func (*SliceOffsetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SliceOffsetInfo) GetEncryptedSliceOffset() *SliceOffset
- func (x *SliceOffsetInfo) GetSliceHash() string
- func (x *SliceOffsetInfo) GetSliceOffset() *SliceOffset
- func (*SliceOffsetInfo) ProtoMessage()
- func (x *SliceOffsetInfo) ProtoReflect() protoreflect.Message
- func (x *SliceOffsetInfo) Reset()
- func (x *SliceOffsetInfo) String() string
- type SliceStorageInfo
- func (*SliceStorageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SliceStorageInfo) GetSliceHash() string
- func (x *SliceStorageInfo) GetSliceSize() uint64
- func (*SliceStorageInfo) ProtoMessage()
- func (x *SliceStorageInfo) ProtoReflect() protoreflect.Message
- func (x *SliceStorageInfo) Reset()
- func (x *SliceStorageInfo) String() string
- type SpMaintenanceType
- func (SpMaintenanceType) Descriptor() protoreflect.EnumDescriptor
- func (x SpMaintenanceType) Enum() *SpMaintenanceType
- func (SpMaintenanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpMaintenanceType) Number() protoreflect.EnumNumber
- func (x SpMaintenanceType) String() string
- func (SpMaintenanceType) Type() protoreflect.EnumType
- type UploadSpeedOfProgress
- func (*UploadSpeedOfProgress) Descriptor() ([]byte, []int)deprecated
- func (x *UploadSpeedOfProgress) GetFileHash() string
- func (x *UploadSpeedOfProgress) GetHandleTime() int64
- func (x *UploadSpeedOfProgress) GetSliceOffStart() uint64
- func (x *UploadSpeedOfProgress) GetSliceSize() uint64
- func (*UploadSpeedOfProgress) ProtoMessage()
- func (x *UploadSpeedOfProgress) ProtoReflect() protoreflect.Message
- func (x *UploadSpeedOfProgress) Reset()
- func (x *UploadSpeedOfProgress) String() string
- type UploadType
- type Uploaded
- func (*Uploaded) Descriptor() ([]byte, []int)deprecated
- func (x *Uploaded) GetFileHash() string
- func (x *Uploaded) GetReporterAddress() string
- func (x *Uploaded) GetTxHash() string
- func (x *Uploaded) GetUploaderAddress() string
- func (*Uploaded) ProtoMessage()
- func (x *Uploaded) ProtoReflect() protoreflect.Message
- func (x *Uploaded) Reset()
- func (x *Uploaded) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ResultState_name = map[int32]string{ 0: "RES_SUCCESS", 1: "RES_FAIL", } ResultState_value = map[string]int32{ "RES_SUCCESS": 0, "RES_FAIL": 1, } )
Enum value maps for ResultState.
var ( DownloadWrongType_name = map[int32]string{ 0: "LOSESLICE", 1: "OVERTIME", } DownloadWrongType_value = map[string]int32{ "LOSESLICE": 0, "OVERTIME": 1, } )
Enum value maps for DownloadWrongType.
var ( UploadType_name = map[int32]string{ 0: "NEW_UPLOAD", 1: "BACKUP", } UploadType_value = map[string]int32{ "NEW_UPLOAD": 0, "BACKUP": 1, } )
Enum value maps for UploadType.
var ( FileSortType_name = map[int32]string{ 0: "DEF", 1: "TIME", 2: "SIZE", 3: "NAME", } FileSortType_value = map[string]int32{ "DEF": 0, "TIME": 1, "SIZE": 2, "NAME": 3, } )
Enum value maps for FileSortType.
var ( MsgType_name = map[int32]string{ 0: "DEFAULT", } MsgType_value = map[string]int32{ "DEFAULT": 0, } )
Enum value maps for MsgType.
var ( PPState_name = map[int32]string{ 0: "OFFLINE", 1: "ONLINE", 2: "SUSPEND", 3: "MAINTENANCE", } PPState_value = map[string]int32{ "OFFLINE": 0, "ONLINE": 1, "SUSPEND": 2, "MAINTENANCE": 3, } )
Enum value maps for PPState.
var ( SpMaintenanceType_name = map[int32]string{ 0: "CONSENSUS", 1: "OTHER", } SpMaintenanceType_value = map[string]int32{ "CONSENSUS": 0, "OTHER": 1, } )
Enum value maps for SpMaintenanceType.
var ( SignatureType_name = map[int32]string{ 0: "WALLET", 1: "P2P", } SignatureType_value = map[string]int32{ "WALLET": 0, "P2P": 1, } )
Enum value maps for SignatureType.
var ( FileUploadState_name = map[int32]string{ 0: "UNKNOWN", 1: "UPLOADING", 2: "FAILED", 3: "FINISHED", 4: "CONFIRMING", } FileUploadState_value = map[string]int32{ "UNKNOWN": 0, "UPLOADING": 1, "FAILED": 2, "FINISHED": 3, "CONFIRMING": 4, } )
Enum value maps for FileUploadState.
var File_relay_proto protoreflect.FileDescriptor
var File_sds_comm_proto protoreflect.FileDescriptor
var File_sds_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BandwidthStat ¶
type BandwidthStat struct { Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*BandwidthStat) Descriptor
deprecated
func (*BandwidthStat) Descriptor() ([]byte, []int)
Deprecated: Use BandwidthStat.ProtoReflect.Descriptor instead.
func (*BandwidthStat) GetTotal ¶
func (x *BandwidthStat) GetTotal() int64
func (*BandwidthStat) GetUsed ¶
func (x *BandwidthStat) GetUsed() int64
func (*BandwidthStat) ProtoMessage ¶
func (*BandwidthStat) ProtoMessage()
func (*BandwidthStat) ProtoReflect ¶
func (x *BandwidthStat) ProtoReflect() protoreflect.Message
func (*BandwidthStat) Reset ¶
func (x *BandwidthStat) Reset()
func (*BandwidthStat) String ¶
func (x *BandwidthStat) String() string
type BlockCheckInfo ¶
type BlockCheckInfo struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BlockCheckInfo) Descriptor
deprecated
func (*BlockCheckInfo) Descriptor() ([]byte, []int)
Deprecated: Use BlockCheckInfo.ProtoReflect.Descriptor instead.
func (*BlockCheckInfo) GetBlockHash ¶
func (x *BlockCheckInfo) GetBlockHash() string
func (*BlockCheckInfo) GetBlockHeight ¶
func (x *BlockCheckInfo) GetBlockHeight() int64
func (*BlockCheckInfo) GetId ¶
func (x *BlockCheckInfo) GetId() string
func (*BlockCheckInfo) ProtoMessage ¶
func (*BlockCheckInfo) ProtoMessage()
func (*BlockCheckInfo) ProtoReflect ¶
func (x *BlockCheckInfo) ProtoReflect() protoreflect.Message
func (*BlockCheckInfo) Reset ¶
func (x *BlockCheckInfo) Reset()
func (*BlockCheckInfo) String ¶
func (x *BlockCheckInfo) String() string
type CpuStat ¶
type CpuStat struct { TotalUsedPercent float64 `protobuf:"fixed64,1,opt,name=total_used_percent,json=totalUsedPercent,proto3" json:"total_used_percent,omitempty"` NumCores int64 `protobuf:"varint,2,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"` // contains filtered or unexported fields }
func (*CpuStat) Descriptor
deprecated
func (*CpuStat) GetNumCores ¶
func (*CpuStat) GetTotalUsedPercent ¶
func (*CpuStat) ProtoMessage ¶
func (*CpuStat) ProtoMessage()
func (*CpuStat) ProtoReflect ¶
func (x *CpuStat) ProtoReflect() protoreflect.Message
type DiskStat ¶
type DiskStat struct { RootUsed int64 `protobuf:"varint,1,opt,name=root_used,json=rootUsed,proto3" json:"root_used,omitempty"` RootTotal int64 `protobuf:"varint,2,opt,name=root_total,json=rootTotal,proto3" json:"root_total,omitempty"` // contains filtered or unexported fields }
func (*DiskStat) Descriptor
deprecated
func (*DiskStat) GetRootTotal ¶
func (*DiskStat) GetRootUsed ¶
func (*DiskStat) ProtoMessage ¶
func (*DiskStat) ProtoMessage()
func (*DiskStat) ProtoReflect ¶
func (x *DiskStat) ProtoReflect() protoreflect.Message
type DownloadSliceInfo ¶
type DownloadSliceInfo struct { SliceStorageInfo *SliceStorageInfo `protobuf:"bytes,1,opt,name=slice_storage_info,json=sliceStorageInfo,proto3" json:"slice_storage_info,omitempty"` SliceNumber uint64 `protobuf:"varint,2,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` StoragePpInfo *PPBaseInfo `protobuf:"bytes,3,opt,name=storage_pp_info,json=storagePpInfo,proto3" json:"storage_pp_info,omitempty"` BackupsPpInfo *PPBaseInfo `protobuf:"bytes,4,opt,name=backups_pp_info,json=backupsPpInfo,proto3" json:"backups_pp_info,omitempty"` VisitResult bool `protobuf:"varint,5,opt,name=visit_result,json=visitResult,proto3" json:"visit_result,omitempty"` TaskId string `protobuf:"bytes,6,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SliceOffset *SliceOffset `protobuf:"bytes,7,opt,name=slice_offset,json=sliceOffset,proto3" json:"slice_offset,omitempty"` // contains filtered or unexported fields }
func (*DownloadSliceInfo) Descriptor
deprecated
func (*DownloadSliceInfo) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSliceInfo.ProtoReflect.Descriptor instead.
func (*DownloadSliceInfo) GetBackupsPpInfo ¶
func (x *DownloadSliceInfo) GetBackupsPpInfo() *PPBaseInfo
func (*DownloadSliceInfo) GetSliceNumber ¶
func (x *DownloadSliceInfo) GetSliceNumber() uint64
func (*DownloadSliceInfo) GetSliceOffset ¶
func (x *DownloadSliceInfo) GetSliceOffset() *SliceOffset
func (*DownloadSliceInfo) GetSliceStorageInfo ¶
func (x *DownloadSliceInfo) GetSliceStorageInfo() *SliceStorageInfo
func (*DownloadSliceInfo) GetStoragePpInfo ¶
func (x *DownloadSliceInfo) GetStoragePpInfo() *PPBaseInfo
func (*DownloadSliceInfo) GetTaskId ¶
func (x *DownloadSliceInfo) GetTaskId() string
func (*DownloadSliceInfo) GetVisitResult ¶
func (x *DownloadSliceInfo) GetVisitResult() bool
func (*DownloadSliceInfo) ProtoMessage ¶
func (*DownloadSliceInfo) ProtoMessage()
func (*DownloadSliceInfo) ProtoReflect ¶
func (x *DownloadSliceInfo) ProtoReflect() protoreflect.Message
func (*DownloadSliceInfo) Reset ¶
func (x *DownloadSliceInfo) Reset()
func (*DownloadSliceInfo) String ¶
func (x *DownloadSliceInfo) String() string
type DownloadWrongType ¶
type DownloadWrongType int32
const ( DownloadWrongType_LOSESLICE DownloadWrongType = 0 DownloadWrongType_OVERTIME DownloadWrongType = 1 )
func (DownloadWrongType) Descriptor ¶
func (DownloadWrongType) Descriptor() protoreflect.EnumDescriptor
func (DownloadWrongType) Enum ¶
func (x DownloadWrongType) Enum() *DownloadWrongType
func (DownloadWrongType) EnumDescriptor
deprecated
func (DownloadWrongType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DownloadWrongType.Descriptor instead.
func (DownloadWrongType) Number ¶
func (x DownloadWrongType) Number() protoreflect.EnumNumber
func (DownloadWrongType) String ¶
func (x DownloadWrongType) String() string
func (DownloadWrongType) Type ¶
func (DownloadWrongType) Type() protoreflect.EnumType
type EncryptedSlice ¶ added in v0.5.0
type EncryptedSlice struct { HdkeyNonce uint32 `protobuf:"varint,1,opt,name=hdkey_nonce,json=hdkeyNonce,proto3" json:"hdkey_nonce,omitempty"` AesNonce uint64 `protobuf:"varint,2,opt,name=aes_nonce,json=aesNonce,proto3" json:"aes_nonce,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` RawSize uint64 `protobuf:"varint,4,opt,name=raw_size,json=rawSize,proto3" json:"raw_size,omitempty"` // contains filtered or unexported fields }
func (*EncryptedSlice) Descriptor
deprecated
added in
v0.5.0
func (*EncryptedSlice) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedSlice.ProtoReflect.Descriptor instead.
func (*EncryptedSlice) GetAesNonce ¶ added in v0.5.0
func (x *EncryptedSlice) GetAesNonce() uint64
func (*EncryptedSlice) GetData ¶ added in v0.5.0
func (x *EncryptedSlice) GetData() []byte
func (*EncryptedSlice) GetHdkeyNonce ¶ added in v0.5.0
func (x *EncryptedSlice) GetHdkeyNonce() uint32
func (*EncryptedSlice) GetRawSize ¶ added in v0.5.0
func (x *EncryptedSlice) GetRawSize() uint64
func (*EncryptedSlice) ProtoMessage ¶ added in v0.5.0
func (*EncryptedSlice) ProtoMessage()
func (*EncryptedSlice) ProtoReflect ¶ added in v0.5.0
func (x *EncryptedSlice) ProtoReflect() protoreflect.Message
func (*EncryptedSlice) Reset ¶ added in v0.5.0
func (x *EncryptedSlice) Reset()
func (*EncryptedSlice) String ¶ added in v0.5.0
func (x *EncryptedSlice) String() string
type FileIndexes ¶
type FileIndexes struct { FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // sdm://account/fileHash P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,3,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` SavePath string `protobuf:"bytes,4,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` SaveAs string `protobuf:"bytes,5,opt,name=save_as,json=saveAs,proto3" json:"save_as,omitempty"` // contains filtered or unexported fields }
func (*FileIndexes) Descriptor
deprecated
func (*FileIndexes) Descriptor() ([]byte, []int)
Deprecated: Use FileIndexes.ProtoReflect.Descriptor instead.
func (*FileIndexes) GetFilePath ¶
func (x *FileIndexes) GetFilePath() string
func (*FileIndexes) GetP2PAddress ¶
func (x *FileIndexes) GetP2PAddress() string
func (*FileIndexes) GetSaveAs ¶ added in v0.8.0
func (x *FileIndexes) GetSaveAs() string
func (*FileIndexes) GetSavePath ¶
func (x *FileIndexes) GetSavePath() string
func (*FileIndexes) GetWalletAddress ¶
func (x *FileIndexes) GetWalletAddress() string
func (*FileIndexes) ProtoMessage ¶
func (*FileIndexes) ProtoMessage()
func (*FileIndexes) ProtoReflect ¶
func (x *FileIndexes) ProtoReflect() protoreflect.Message
func (*FileIndexes) Reset ¶
func (x *FileIndexes) Reset()
func (*FileIndexes) String ¶
func (x *FileIndexes) String() string
type FileInfo ¶
type FileInfo struct { FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` CreateTime uint64 `protobuf:"varint,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` IsDirectory bool `protobuf:"varint,5,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"` StoragePath string `protobuf:"bytes,6,opt,name=storage_path,json=storagePath,proto3" json:"storage_path,omitempty"` IsPrivate bool `protobuf:"varint,7,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` OwnerWalletAddress string `protobuf:"bytes,8,opt,name=owner_wallet_address,json=ownerWalletAddress,proto3" json:"owner_wallet_address,omitempty"` SortId uint64 `protobuf:"varint,10,opt,name=sort_id,json=sortId,proto3" json:"sort_id,omitempty"` Duration uint64 `protobuf:"varint,11,opt,name=duration,proto3" json:"duration,omitempty"` EncryptionTag string `protobuf:"bytes,12,opt,name=encryption_tag,json=encryptionTag,proto3" json:"encryption_tag,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetCreateTime ¶
func (*FileInfo) GetDuration ¶
func (*FileInfo) GetEncryptionTag ¶ added in v0.5.0
func (*FileInfo) GetFileHash ¶
func (*FileInfo) GetFileName ¶
func (*FileInfo) GetFileSize ¶
func (*FileInfo) GetIsDirectory ¶
func (*FileInfo) GetIsPrivate ¶
func (*FileInfo) GetOwnerWalletAddress ¶
func (*FileInfo) GetShareLink ¶
func (*FileInfo) GetStoragePath ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FileSortType ¶
type FileSortType int32
const ( FileSortType_DEF FileSortType = 0 // default FileSortType_TIME FileSortType = 1 // time FileSortType_SIZE FileSortType = 2 // file size FileSortType_NAME FileSortType = 3 // name alphabet )
func (FileSortType) Descriptor ¶
func (FileSortType) Descriptor() protoreflect.EnumDescriptor
func (FileSortType) Enum ¶
func (x FileSortType) Enum() *FileSortType
func (FileSortType) EnumDescriptor
deprecated
func (FileSortType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileSortType.Descriptor instead.
func (FileSortType) Number ¶
func (x FileSortType) Number() protoreflect.EnumNumber
func (FileSortType) String ¶
func (x FileSortType) String() string
func (FileSortType) Type ¶
func (FileSortType) Type() protoreflect.EnumType
type FileUploadState ¶ added in v0.10.0
type FileUploadState int32
const ( FileUploadState_UNKNOWN FileUploadState = 0 FileUploadState_UPLOADING FileUploadState = 1 FileUploadState_FAILED FileUploadState = 2 FileUploadState_FINISHED FileUploadState = 3 FileUploadState_CONFIRMING FileUploadState = 4 )
func (FileUploadState) Descriptor ¶ added in v0.10.0
func (FileUploadState) Descriptor() protoreflect.EnumDescriptor
func (FileUploadState) Enum ¶ added in v0.10.0
func (x FileUploadState) Enum() *FileUploadState
func (FileUploadState) EnumDescriptor
deprecated
added in
v0.10.0
func (FileUploadState) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileUploadState.Descriptor instead.
func (FileUploadState) Number ¶ added in v0.10.0
func (x FileUploadState) Number() protoreflect.EnumNumber
func (FileUploadState) String ¶ added in v0.10.0
func (x FileUploadState) String() string
func (FileUploadState) Type ¶ added in v0.10.0
func (FileUploadState) Type() protoreflect.EnumType
type MemoryStat ¶
type MemoryStat struct { MemUsed int64 `protobuf:"varint,1,opt,name=mem_used,json=memUsed,proto3" json:"mem_used,omitempty"` MemTotal int64 `protobuf:"varint,2,opt,name=mem_total,json=memTotal,proto3" json:"mem_total,omitempty"` SwapMemUsed int64 `protobuf:"varint,3,opt,name=swap_mem_used,json=swapMemUsed,proto3" json:"swap_mem_used,omitempty"` SwapMemTotal int64 `protobuf:"varint,4,opt,name=swap_mem_total,json=swapMemTotal,proto3" json:"swap_mem_total,omitempty"` // contains filtered or unexported fields }
func (*MemoryStat) Descriptor
deprecated
func (*MemoryStat) Descriptor() ([]byte, []int)
Deprecated: Use MemoryStat.ProtoReflect.Descriptor instead.
func (*MemoryStat) GetMemTotal ¶
func (x *MemoryStat) GetMemTotal() int64
func (*MemoryStat) GetMemUsed ¶
func (x *MemoryStat) GetMemUsed() int64
func (*MemoryStat) GetSwapMemTotal ¶
func (x *MemoryStat) GetSwapMemTotal() int64
func (*MemoryStat) GetSwapMemUsed ¶
func (x *MemoryStat) GetSwapMemUsed() int64
func (*MemoryStat) ProtoMessage ¶
func (*MemoryStat) ProtoMessage()
func (*MemoryStat) ProtoReflect ¶
func (x *MemoryStat) ProtoReflect() protoreflect.Message
func (*MemoryStat) Reset ¶
func (x *MemoryStat) Reset()
func (*MemoryStat) String ¶
func (x *MemoryStat) String() string
type MsgType ¶
type MsgType int32
const (
MsgType_DEFAULT MsgType = 0
)
func (MsgType) Descriptor ¶
func (MsgType) Descriptor() protoreflect.EnumDescriptor
func (MsgType) EnumDescriptor
deprecated
func (MsgType) Number ¶
func (x MsgType) Number() protoreflect.EnumNumber
func (MsgType) Type ¶
func (MsgType) Type() protoreflect.EnumType
type NoticeDeactivatedPP ¶ added in v0.10.0
type NoticeDeactivatedPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NoticeDeactivatedPP) Descriptor
deprecated
added in
v0.10.0
func (*NoticeDeactivatedPP) Descriptor() ([]byte, []int)
Deprecated: Use NoticeDeactivatedPP.ProtoReflect.Descriptor instead.
func (*NoticeDeactivatedPP) GetResult ¶ added in v0.10.0
func (x *NoticeDeactivatedPP) GetResult() *Result
func (*NoticeDeactivatedPP) ProtoMessage ¶ added in v0.10.0
func (*NoticeDeactivatedPP) ProtoMessage()
func (*NoticeDeactivatedPP) ProtoReflect ¶ added in v0.10.0
func (x *NoticeDeactivatedPP) ProtoReflect() protoreflect.Message
func (*NoticeDeactivatedPP) Reset ¶ added in v0.10.0
func (x *NoticeDeactivatedPP) Reset()
func (*NoticeDeactivatedPP) String ¶ added in v0.10.0
func (x *NoticeDeactivatedPP) String() string
type NoticeFileSliceBackup ¶ added in v0.10.0
type NoticeFileSliceBackup struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` SliceStorageInfo *SliceStorageInfo `protobuf:"bytes,3,opt,name=slice_storage_info,json=sliceStorageInfo,proto3" json:"slice_storage_info,omitempty"` SliceNumber uint64 `protobuf:"varint,4,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` PpInfo *PPBaseInfo `protobuf:"bytes,5,opt,name=pp_info,json=ppInfo,proto3" json:"pp_info,omitempty"` // p2p which stores the file slice SpP2PAddress string `protobuf:"bytes,6,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` DeleteOrigin bool `protobuf:"varint,7,opt,name=delete_origin,json=deleteOrigin,proto3" json:"delete_origin,omitempty"` NodeSign []byte `protobuf:"bytes,8,opt,name=node_sign,json=nodeSign,proto3" json:"node_sign,omitempty"` Pubkey []byte `protobuf:"bytes,9,opt,name=pubkey,proto3" json:"pubkey,omitempty"` ToP2PAddress string `protobuf:"bytes,10,opt,name=to_p2p_address,json=toP2pAddress,proto3" json:"to_p2p_address,omitempty"` TimeStamp int64 `protobuf:"varint,11,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` // contains filtered or unexported fields }
the message that is sent to the pp which will pull the slice from another pp which stores the file slice
func (*NoticeFileSliceBackup) Descriptor
deprecated
added in
v0.10.0
func (*NoticeFileSliceBackup) Descriptor() ([]byte, []int)
Deprecated: Use NoticeFileSliceBackup.ProtoReflect.Descriptor instead.
func (*NoticeFileSliceBackup) GetDeleteOrigin ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetDeleteOrigin() bool
func (*NoticeFileSliceBackup) GetFileHash ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetFileHash() string
func (*NoticeFileSliceBackup) GetNodeSign ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetNodeSign() []byte
func (*NoticeFileSliceBackup) GetPpInfo ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetPpInfo() *PPBaseInfo
func (*NoticeFileSliceBackup) GetPubkey ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetPubkey() []byte
func (*NoticeFileSliceBackup) GetSliceNumber ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetSliceNumber() uint64
func (*NoticeFileSliceBackup) GetSliceStorageInfo ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetSliceStorageInfo() *SliceStorageInfo
func (*NoticeFileSliceBackup) GetSpP2PAddress ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetSpP2PAddress() string
func (*NoticeFileSliceBackup) GetTaskId ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetTaskId() string
func (*NoticeFileSliceBackup) GetTimeStamp ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetTimeStamp() int64
func (*NoticeFileSliceBackup) GetToP2PAddress ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) GetToP2PAddress() string
func (*NoticeFileSliceBackup) ProtoMessage ¶ added in v0.10.0
func (*NoticeFileSliceBackup) ProtoMessage()
func (*NoticeFileSliceBackup) ProtoReflect ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) ProtoReflect() protoreflect.Message
func (*NoticeFileSliceBackup) Reset ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) Reset()
func (*NoticeFileSliceBackup) String ¶ added in v0.10.0
func (x *NoticeFileSliceBackup) String() string
type NoticeSpUnderMaintenance ¶ added in v0.10.0
type NoticeSpUnderMaintenance struct { SpP2PAddress string `protobuf:"bytes,1,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` MaintenanceType int32 `protobuf:"varint,2,opt,name=maintenance_type,json=maintenanceType,proto3" json:"maintenance_type,omitempty"` // contains filtered or unexported fields }
func (*NoticeSpUnderMaintenance) Descriptor
deprecated
added in
v0.10.0
func (*NoticeSpUnderMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use NoticeSpUnderMaintenance.ProtoReflect.Descriptor instead.
func (*NoticeSpUnderMaintenance) GetMaintenanceType ¶ added in v0.10.0
func (x *NoticeSpUnderMaintenance) GetMaintenanceType() int32
func (*NoticeSpUnderMaintenance) GetSpP2PAddress ¶ added in v0.10.0
func (x *NoticeSpUnderMaintenance) GetSpP2PAddress() string
func (*NoticeSpUnderMaintenance) ProtoMessage ¶ added in v0.10.0
func (*NoticeSpUnderMaintenance) ProtoMessage()
func (*NoticeSpUnderMaintenance) ProtoReflect ¶ added in v0.10.0
func (x *NoticeSpUnderMaintenance) ProtoReflect() protoreflect.Message
func (*NoticeSpUnderMaintenance) Reset ¶ added in v0.10.0
func (x *NoticeSpUnderMaintenance) Reset()
func (*NoticeSpUnderMaintenance) String ¶ added in v0.10.0
func (x *NoticeSpUnderMaintenance) String() string
type NoticeUnbondingPP ¶ added in v0.10.0
type NoticeUnbondingPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NoticeUnbondingPP) Descriptor
deprecated
added in
v0.10.0
func (*NoticeUnbondingPP) Descriptor() ([]byte, []int)
Deprecated: Use NoticeUnbondingPP.ProtoReflect.Descriptor instead.
func (*NoticeUnbondingPP) GetResult ¶ added in v0.10.0
func (x *NoticeUnbondingPP) GetResult() *Result
func (*NoticeUnbondingPP) ProtoMessage ¶ added in v0.10.0
func (*NoticeUnbondingPP) ProtoMessage()
func (*NoticeUnbondingPP) ProtoReflect ¶ added in v0.10.0
func (x *NoticeUnbondingPP) ProtoReflect() protoreflect.Message
func (*NoticeUnbondingPP) Reset ¶ added in v0.10.0
func (x *NoticeUnbondingPP) Reset()
func (*NoticeUnbondingPP) String ¶ added in v0.10.0
func (x *NoticeUnbondingPP) String() string
type NoticeUpdatedDepositPP ¶ added in v0.10.0
type NoticeUpdatedDepositPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` DepositBalance string `protobuf:"bytes,2,opt,name=deposit_balance,json=depositBalance,proto3" json:"deposit_balance,omitempty"` NodeTier string `protobuf:"bytes,3,opt,name=node_tier,json=nodeTier,proto3" json:"node_tier,omitempty"` WeightScore string `protobuf:"bytes,4,opt,name=weight_score,json=weightScore,proto3" json:"weight_score,omitempty"` // contains filtered or unexported fields }
func (*NoticeUpdatedDepositPP) Descriptor
deprecated
added in
v0.10.0
func (*NoticeUpdatedDepositPP) Descriptor() ([]byte, []int)
Deprecated: Use NoticeUpdatedDepositPP.ProtoReflect.Descriptor instead.
func (*NoticeUpdatedDepositPP) GetDepositBalance ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) GetDepositBalance() string
func (*NoticeUpdatedDepositPP) GetNodeTier ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) GetNodeTier() string
func (*NoticeUpdatedDepositPP) GetResult ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) GetResult() *Result
func (*NoticeUpdatedDepositPP) GetWeightScore ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) GetWeightScore() string
func (*NoticeUpdatedDepositPP) ProtoMessage ¶ added in v0.10.0
func (*NoticeUpdatedDepositPP) ProtoMessage()
func (*NoticeUpdatedDepositPP) ProtoReflect ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) ProtoReflect() protoreflect.Message
func (*NoticeUpdatedDepositPP) Reset ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) Reset()
func (*NoticeUpdatedDepositPP) String ¶ added in v0.10.0
func (x *NoticeUpdatedDepositPP) String() string
type PPBaseInfo ¶
type PPBaseInfo struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` RestAddress string `protobuf:"bytes,4,opt,name=rest_address,json=restAddress,proto3" json:"rest_address,omitempty"` // contains filtered or unexported fields }
func (*PPBaseInfo) Descriptor
deprecated
func (*PPBaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use PPBaseInfo.ProtoReflect.Descriptor instead.
func (*PPBaseInfo) GetNetworkAddress ¶
func (x *PPBaseInfo) GetNetworkAddress() string
func (*PPBaseInfo) GetP2PAddress ¶
func (x *PPBaseInfo) GetP2PAddress() string
func (*PPBaseInfo) GetRestAddress ¶
func (x *PPBaseInfo) GetRestAddress() string
func (*PPBaseInfo) GetWalletAddress ¶
func (x *PPBaseInfo) GetWalletAddress() string
func (*PPBaseInfo) ProtoMessage ¶
func (*PPBaseInfo) ProtoMessage()
func (*PPBaseInfo) ProtoReflect ¶
func (x *PPBaseInfo) ProtoReflect() protoreflect.Message
func (*PPBaseInfo) Reset ¶
func (x *PPBaseInfo) Reset()
func (*PPBaseInfo) String ¶
func (x *PPBaseInfo) String() string
type PPState ¶ added in v0.7.0
type PPState int32
func (PPState) Descriptor ¶ added in v0.7.0
func (PPState) Descriptor() protoreflect.EnumDescriptor
func (PPState) EnumDescriptor
deprecated
added in
v0.7.0
func (PPState) Number ¶ added in v0.7.0
func (x PPState) Number() protoreflect.EnumNumber
func (PPState) Type ¶ added in v0.7.0
func (PPState) Type() protoreflect.EnumType
type RelayMessage ¶
type RelayMessage struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RelayMessage) Descriptor
deprecated
func (*RelayMessage) Descriptor() ([]byte, []int)
Deprecated: Use RelayMessage.ProtoReflect.Descriptor instead.
func (*RelayMessage) GetData ¶
func (x *RelayMessage) GetData() []byte
func (*RelayMessage) GetType ¶
func (x *RelayMessage) GetType() string
func (*RelayMessage) ProtoMessage ¶
func (*RelayMessage) ProtoMessage()
func (*RelayMessage) ProtoReflect ¶
func (x *RelayMessage) ProtoReflect() protoreflect.Message
func (*RelayMessage) Reset ¶
func (x *RelayMessage) Reset()
func (*RelayMessage) String ¶
func (x *RelayMessage) String() string
type ReportUploadSliceResult ¶
type ReportUploadSliceResult struct { Slice *SliceHashAddr `protobuf:"bytes,1,opt,name=slice,proto3" json:"slice,omitempty"` // FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // UploadSuccess bool `protobuf:"varint,3,opt,name=upload_success,json=uploadSuccess,proto3" json:"upload_success,omitempty"` IsPP bool `protobuf:"varint,4,opt,name=isPP,proto3" json:"isPP,omitempty"` // TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` P2PAddress string `protobuf:"bytes,6,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,7,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` SpP2PAddress string `protobuf:"bytes,8,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` CostTime int64 `protobuf:"varint,9,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` OpponentP2PAddress string `protobuf:"bytes,10,opt,name=opponent_p2p_address,json=opponentP2pAddress,proto3" json:"opponent_p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReportUploadSliceResult) Descriptor
deprecated
func (*ReportUploadSliceResult) Descriptor() ([]byte, []int)
Deprecated: Use ReportUploadSliceResult.ProtoReflect.Descriptor instead.
func (*ReportUploadSliceResult) GetCostTime ¶ added in v0.9.0
func (x *ReportUploadSliceResult) GetCostTime() int64
func (*ReportUploadSliceResult) GetFileHash ¶
func (x *ReportUploadSliceResult) GetFileHash() string
func (*ReportUploadSliceResult) GetIsPP ¶
func (x *ReportUploadSliceResult) GetIsPP() bool
func (*ReportUploadSliceResult) GetOpponentP2PAddress ¶ added in v0.9.0
func (x *ReportUploadSliceResult) GetOpponentP2PAddress() string
func (*ReportUploadSliceResult) GetP2PAddress ¶
func (x *ReportUploadSliceResult) GetP2PAddress() string
func (*ReportUploadSliceResult) GetSlice ¶ added in v0.10.0
func (x *ReportUploadSliceResult) GetSlice() *SliceHashAddr
func (*ReportUploadSliceResult) GetSpP2PAddress ¶ added in v0.5.0
func (x *ReportUploadSliceResult) GetSpP2PAddress() string
func (*ReportUploadSliceResult) GetTaskId ¶
func (x *ReportUploadSliceResult) GetTaskId() string
func (*ReportUploadSliceResult) GetUploadSuccess ¶
func (x *ReportUploadSliceResult) GetUploadSuccess() bool
func (*ReportUploadSliceResult) GetWalletAddress ¶
func (x *ReportUploadSliceResult) GetWalletAddress() string
func (*ReportUploadSliceResult) ProtoMessage ¶
func (*ReportUploadSliceResult) ProtoMessage()
func (*ReportUploadSliceResult) ProtoReflect ¶
func (x *ReportUploadSliceResult) ProtoReflect() protoreflect.Message
func (*ReportUploadSliceResult) Reset ¶
func (x *ReportUploadSliceResult) Reset()
func (*ReportUploadSliceResult) String ¶
func (x *ReportUploadSliceResult) String() string
type ReqActivatePP ¶
type ReqActivatePP struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` PpInfo *PPBaseInfo `protobuf:"bytes,2,opt,name=pp_info,json=ppInfo,proto3" json:"pp_info,omitempty"` AlreadyActive bool `protobuf:"varint,3,opt,name=already_active,json=alreadyActive,proto3" json:"already_active,omitempty"` InitialDeposit string `protobuf:"bytes,4,opt,name=initial_deposit,json=initialDeposit,proto3" json:"initial_deposit,omitempty"` // contains filtered or unexported fields }
func (*ReqActivatePP) Descriptor
deprecated
func (*ReqActivatePP) Descriptor() ([]byte, []int)
Deprecated: Use ReqActivatePP.ProtoReflect.Descriptor instead.
func (*ReqActivatePP) GetAlreadyActive ¶ added in v0.5.0
func (x *ReqActivatePP) GetAlreadyActive() bool
func (*ReqActivatePP) GetInitialDeposit ¶ added in v0.10.0
func (x *ReqActivatePP) GetInitialDeposit() string
func (*ReqActivatePP) GetPpInfo ¶ added in v0.5.0
func (x *ReqActivatePP) GetPpInfo() *PPBaseInfo
func (*ReqActivatePP) GetTx ¶
func (x *ReqActivatePP) GetTx() []byte
func (*ReqActivatePP) ProtoMessage ¶
func (*ReqActivatePP) ProtoMessage()
func (*ReqActivatePP) ProtoReflect ¶
func (x *ReqActivatePP) ProtoReflect() protoreflect.Message
func (*ReqActivatePP) Reset ¶
func (x *ReqActivatePP) Reset()
func (*ReqActivatePP) String ¶
func (x *ReqActivatePP) String() string
type ReqActivatedPP ¶
type ReqActivatedPP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` P2PPubkey string `protobuf:"bytes,2,opt,name=p2p_pubkey,json=p2pPubkey,proto3" json:"p2p_pubkey,omitempty"` OzoneLimitChanges string `protobuf:"bytes,3,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` // positive TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` InitialDeposit string `protobuf:"bytes,5,opt,name=initial_deposit,json=initialDeposit,proto3" json:"initial_deposit,omitempty"` // contains filtered or unexported fields }
func (*ReqActivatedPP) Descriptor
deprecated
func (*ReqActivatedPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqActivatedPP.ProtoReflect.Descriptor instead.
func (*ReqActivatedPP) GetInitialDeposit ¶ added in v0.10.0
func (x *ReqActivatedPP) GetInitialDeposit() string
func (*ReqActivatedPP) GetOzoneLimitChanges ¶ added in v0.5.0
func (x *ReqActivatedPP) GetOzoneLimitChanges() string
func (*ReqActivatedPP) GetP2PAddress ¶
func (x *ReqActivatedPP) GetP2PAddress() string
func (*ReqActivatedPP) GetP2PPubkey ¶
func (x *ReqActivatedPP) GetP2PPubkey() string
func (*ReqActivatedPP) GetTxHash ¶ added in v0.5.0
func (x *ReqActivatedPP) GetTxHash() string
func (*ReqActivatedPP) ProtoMessage ¶
func (*ReqActivatedPP) ProtoMessage()
func (*ReqActivatedPP) ProtoReflect ¶
func (x *ReqActivatedPP) ProtoReflect() protoreflect.Message
func (*ReqActivatedPP) Reset ¶
func (x *ReqActivatedPP) Reset()
func (*ReqActivatedPP) String ¶
func (x *ReqActivatedPP) String() string
type ReqActivatedSP ¶
type ReqActivatedSP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` OzoneLimitChanges string `protobuf:"bytes,2,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` // positive TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*ReqActivatedSP) Descriptor
deprecated
func (*ReqActivatedSP) Descriptor() ([]byte, []int)
Deprecated: Use ReqActivatedSP.ProtoReflect.Descriptor instead.
func (*ReqActivatedSP) GetOzoneLimitChanges ¶ added in v0.5.0
func (x *ReqActivatedSP) GetOzoneLimitChanges() string
func (*ReqActivatedSP) GetP2PAddress ¶
func (x *ReqActivatedSP) GetP2PAddress() string
func (*ReqActivatedSP) GetTxHash ¶ added in v0.5.0
func (x *ReqActivatedSP) GetTxHash() string
func (*ReqActivatedSP) ProtoMessage ¶
func (*ReqActivatedSP) ProtoMessage()
func (*ReqActivatedSP) ProtoReflect ¶
func (x *ReqActivatedSP) ProtoReflect() protoreflect.Message
func (*ReqActivatedSP) Reset ¶
func (x *ReqActivatedSP) Reset()
func (*ReqActivatedSP) String ¶
func (x *ReqActivatedSP) String() string
type ReqBackupFileSlice ¶ added in v0.10.0
type ReqBackupFileSlice struct { RspBackupFile *RspBackupStatus `protobuf:"bytes,1,opt,name=rsp_backup_file,json=rspBackupFile,proto3" json:"rsp_backup_file,omitempty"` SliceNumber uint64 `protobuf:"varint,2,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` SliceHash string `protobuf:"bytes,3,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` PieceOffset *SliceOffset `protobuf:"bytes,5,opt,name=piece_offset,json=pieceOffset,proto3" json:"piece_offset,omitempty"` P2PAddress string `protobuf:"bytes,6,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,7,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
func (*ReqBackupFileSlice) Descriptor
deprecated
added in
v0.10.0
func (*ReqBackupFileSlice) Descriptor() ([]byte, []int)
Deprecated: Use ReqBackupFileSlice.ProtoReflect.Descriptor instead.
func (*ReqBackupFileSlice) GetData ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetData() []byte
func (*ReqBackupFileSlice) GetP2PAddress ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetP2PAddress() string
func (*ReqBackupFileSlice) GetPieceOffset ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetPieceOffset() *SliceOffset
func (*ReqBackupFileSlice) GetRspBackupFile ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetRspBackupFile() *RspBackupStatus
func (*ReqBackupFileSlice) GetSliceHash ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetSliceHash() string
func (*ReqBackupFileSlice) GetSliceNumber ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetSliceNumber() uint64
func (*ReqBackupFileSlice) GetWalletAddress ¶ added in v0.10.0
func (x *ReqBackupFileSlice) GetWalletAddress() string
func (*ReqBackupFileSlice) ProtoMessage ¶ added in v0.10.0
func (*ReqBackupFileSlice) ProtoMessage()
func (*ReqBackupFileSlice) ProtoReflect ¶ added in v0.10.0
func (x *ReqBackupFileSlice) ProtoReflect() protoreflect.Message
func (*ReqBackupFileSlice) Reset ¶ added in v0.10.0
func (x *ReqBackupFileSlice) Reset()
func (*ReqBackupFileSlice) String ¶ added in v0.10.0
func (x *ReqBackupFileSlice) String() string
type ReqBackupStatus ¶ added in v0.8.0
type ReqBackupStatus struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Address *PPBaseInfo `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ReqBackupStatus) Descriptor
deprecated
added in
v0.8.0
func (*ReqBackupStatus) Descriptor() ([]byte, []int)
Deprecated: Use ReqBackupStatus.ProtoReflect.Descriptor instead.
func (*ReqBackupStatus) GetAddress ¶ added in v0.9.0
func (x *ReqBackupStatus) GetAddress() *PPBaseInfo
func (*ReqBackupStatus) GetFileHash ¶ added in v0.8.0
func (x *ReqBackupStatus) GetFileHash() string
func (*ReqBackupStatus) GetTaskId ¶ added in v0.8.0
func (x *ReqBackupStatus) GetTaskId() string
func (*ReqBackupStatus) ProtoMessage ¶ added in v0.8.0
func (*ReqBackupStatus) ProtoMessage()
func (*ReqBackupStatus) ProtoReflect ¶ added in v0.8.0
func (x *ReqBackupStatus) ProtoReflect() protoreflect.Message
func (*ReqBackupStatus) Reset ¶ added in v0.8.0
func (x *ReqBackupStatus) Reset()
func (*ReqBackupStatus) String ¶ added in v0.8.0
func (x *ReqBackupStatus) String() string
type ReqBalance ¶
type ReqBalance struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReqBalance) Descriptor
deprecated
func (*ReqBalance) Descriptor() ([]byte, []int)
Deprecated: Use ReqBalance.ProtoReflect.Descriptor instead.
func (*ReqBalance) GetId ¶
func (x *ReqBalance) GetId() string
func (*ReqBalance) GetWalletAddress ¶
func (x *ReqBalance) GetWalletAddress() string
func (*ReqBalance) ProtoMessage ¶
func (*ReqBalance) ProtoMessage()
func (*ReqBalance) ProtoReflect ¶
func (x *ReqBalance) ProtoReflect() protoreflect.Message
func (*ReqBalance) Reset ¶
func (x *ReqBalance) Reset()
func (*ReqBalance) String ¶
func (x *ReqBalance) String() string
type ReqBlockCheck ¶
type ReqBlockCheck struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReqBlockCheck) Descriptor
deprecated
func (*ReqBlockCheck) Descriptor() ([]byte, []int)
Deprecated: Use ReqBlockCheck.ProtoReflect.Descriptor instead.
func (*ReqBlockCheck) GetBlockHeight ¶
func (x *ReqBlockCheck) GetBlockHeight() int64
func (*ReqBlockCheck) GetId ¶
func (x *ReqBlockCheck) GetId() string
func (*ReqBlockCheck) ProtoMessage ¶
func (*ReqBlockCheck) ProtoMessage()
func (*ReqBlockCheck) ProtoReflect ¶
func (x *ReqBlockCheck) ProtoReflect() protoreflect.Message
func (*ReqBlockCheck) Reset ¶
func (x *ReqBlockCheck) Reset()
func (*ReqBlockCheck) String ¶
func (x *ReqBlockCheck) String() string
type ReqBlockInfo ¶
type ReqBlockInfo struct { BlockHash string `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReqBlockInfo) Descriptor
deprecated
func (*ReqBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqBlockInfo.ProtoReflect.Descriptor instead.
func (*ReqBlockInfo) GetBlockHash ¶
func (x *ReqBlockInfo) GetBlockHash() string
func (*ReqBlockInfo) GetId ¶
func (x *ReqBlockInfo) GetId() string
func (*ReqBlockInfo) ProtoMessage ¶
func (*ReqBlockInfo) ProtoMessage()
func (*ReqBlockInfo) ProtoReflect ¶
func (x *ReqBlockInfo) ProtoReflect() protoreflect.Message
func (*ReqBlockInfo) Reset ¶
func (x *ReqBlockInfo) Reset()
func (*ReqBlockInfo) String ¶
func (x *ReqBlockInfo) String() string
type ReqClearDownloadTask ¶
type ReqClearDownloadTask struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` P2PAddress string `protobuf:"bytes,3,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqClearDownloadTask) Descriptor
deprecated
func (*ReqClearDownloadTask) Descriptor() ([]byte, []int)
Deprecated: Use ReqClearDownloadTask.ProtoReflect.Descriptor instead.
func (*ReqClearDownloadTask) GetFileHash ¶
func (x *ReqClearDownloadTask) GetFileHash() string
func (*ReqClearDownloadTask) GetP2PAddress ¶
func (x *ReqClearDownloadTask) GetP2PAddress() string
func (*ReqClearDownloadTask) GetWalletAddress ¶
func (x *ReqClearDownloadTask) GetWalletAddress() string
func (*ReqClearDownloadTask) ProtoMessage ¶
func (*ReqClearDownloadTask) ProtoMessage()
func (*ReqClearDownloadTask) ProtoReflect ¶
func (x *ReqClearDownloadTask) ProtoReflect() protoreflect.Message
func (*ReqClearDownloadTask) Reset ¶
func (x *ReqClearDownloadTask) Reset()
func (*ReqClearDownloadTask) String ¶
func (x *ReqClearDownloadTask) String() string
type ReqClearExpiredShareLinks ¶ added in v0.10.0
type ReqClearExpiredShareLinks struct { // contains filtered or unexported fields }
func (*ReqClearExpiredShareLinks) Descriptor
deprecated
added in
v0.10.0
func (*ReqClearExpiredShareLinks) Descriptor() ([]byte, []int)
Deprecated: Use ReqClearExpiredShareLinks.ProtoReflect.Descriptor instead.
func (*ReqClearExpiredShareLinks) GetP2PAddress ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) GetP2PAddress() string
func (*ReqClearExpiredShareLinks) GetReqTime ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) GetReqTime() int64
func (*ReqClearExpiredShareLinks) GetSignature ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) GetSignature() *Signature
func (*ReqClearExpiredShareLinks) ProtoMessage ¶ added in v0.10.0
func (*ReqClearExpiredShareLinks) ProtoMessage()
func (*ReqClearExpiredShareLinks) ProtoReflect ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) ProtoReflect() protoreflect.Message
func (*ReqClearExpiredShareLinks) Reset ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) Reset()
func (*ReqClearExpiredShareLinks) String ¶ added in v0.10.0
func (x *ReqClearExpiredShareLinks) String() string
type ReqDeactivatePP ¶
type ReqDeactivatePP struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqDeactivatePP) Descriptor
deprecated
func (*ReqDeactivatePP) Descriptor() ([]byte, []int)
Deprecated: Use ReqDeactivatePP.ProtoReflect.Descriptor instead.
func (*ReqDeactivatePP) GetP2PAddress ¶
func (x *ReqDeactivatePP) GetP2PAddress() string
func (*ReqDeactivatePP) GetTx ¶
func (x *ReqDeactivatePP) GetTx() []byte
func (*ReqDeactivatePP) ProtoMessage ¶
func (*ReqDeactivatePP) ProtoMessage()
func (*ReqDeactivatePP) ProtoReflect ¶
func (x *ReqDeactivatePP) ProtoReflect() protoreflect.Message
func (*ReqDeactivatePP) Reset ¶
func (x *ReqDeactivatePP) Reset()
func (*ReqDeactivatePP) String ¶
func (x *ReqDeactivatePP) String() string
type ReqDeactivatedPP ¶
type ReqDeactivatedPP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*ReqDeactivatedPP) Descriptor
deprecated
func (*ReqDeactivatedPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqDeactivatedPP.ProtoReflect.Descriptor instead.
func (*ReqDeactivatedPP) GetP2PAddress ¶
func (x *ReqDeactivatedPP) GetP2PAddress() string
func (*ReqDeactivatedPP) GetTxHash ¶ added in v0.5.0
func (x *ReqDeactivatedPP) GetTxHash() string
func (*ReqDeactivatedPP) ProtoMessage ¶
func (*ReqDeactivatedPP) ProtoMessage()
func (*ReqDeactivatedPP) ProtoReflect ¶
func (x *ReqDeactivatedPP) ProtoReflect() protoreflect.Message
func (*ReqDeactivatedPP) Reset ¶
func (x *ReqDeactivatedPP) Reset()
func (*ReqDeactivatedPP) String ¶
func (x *ReqDeactivatedPP) String() string
type ReqDeactivatedSP ¶ added in v0.5.0
type ReqDeactivatedSP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqDeactivatedSP) Descriptor
deprecated
added in
v0.5.0
func (*ReqDeactivatedSP) Descriptor() ([]byte, []int)
Deprecated: Use ReqDeactivatedSP.ProtoReflect.Descriptor instead.
func (*ReqDeactivatedSP) GetP2PAddress ¶ added in v0.5.0
func (x *ReqDeactivatedSP) GetP2PAddress() string
func (*ReqDeactivatedSP) ProtoMessage ¶ added in v0.5.0
func (*ReqDeactivatedSP) ProtoMessage()
func (*ReqDeactivatedSP) ProtoReflect ¶ added in v0.5.0
func (x *ReqDeactivatedSP) ProtoReflect() protoreflect.Message
func (*ReqDeactivatedSP) Reset ¶ added in v0.5.0
func (x *ReqDeactivatedSP) Reset()
func (*ReqDeactivatedSP) String ¶ added in v0.5.0
func (x *ReqDeactivatedSP) String() string
type ReqDeleteFile ¶
type ReqDeleteFile struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` ReqTime int64 `protobuf:"varint,4,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqDeleteFile) Descriptor
deprecated
func (*ReqDeleteFile) Descriptor() ([]byte, []int)
Deprecated: Use ReqDeleteFile.ProtoReflect.Descriptor instead.
func (*ReqDeleteFile) GetFileHash ¶
func (x *ReqDeleteFile) GetFileHash() string
func (*ReqDeleteFile) GetP2PAddress ¶
func (x *ReqDeleteFile) GetP2PAddress() string
func (*ReqDeleteFile) GetReqTime ¶ added in v0.10.0
func (x *ReqDeleteFile) GetReqTime() int64
func (*ReqDeleteFile) GetSignature ¶ added in v0.10.0
func (x *ReqDeleteFile) GetSignature() *Signature
func (*ReqDeleteFile) ProtoMessage ¶
func (*ReqDeleteFile) ProtoMessage()
func (*ReqDeleteFile) ProtoReflect ¶
func (x *ReqDeleteFile) ProtoReflect() protoreflect.Message
func (*ReqDeleteFile) Reset ¶
func (x *ReqDeleteFile) Reset()
func (*ReqDeleteFile) String ¶
func (x *ReqDeleteFile) String() string
type ReqDeleteShare ¶
type ReqDeleteShare struct { // contains filtered or unexported fields }
func (*ReqDeleteShare) Descriptor
deprecated
func (*ReqDeleteShare) Descriptor() ([]byte, []int)
Deprecated: Use ReqDeleteShare.ProtoReflect.Descriptor instead.
func (*ReqDeleteShare) GetP2PAddress ¶
func (x *ReqDeleteShare) GetP2PAddress() string
func (*ReqDeleteShare) GetReqTime ¶ added in v0.10.0
func (x *ReqDeleteShare) GetReqTime() int64
func (*ReqDeleteShare) GetShareId ¶
func (x *ReqDeleteShare) GetShareId() string
func (*ReqDeleteShare) GetSignature ¶ added in v0.10.0
func (x *ReqDeleteShare) GetSignature() *Signature
func (*ReqDeleteShare) ProtoMessage ¶
func (*ReqDeleteShare) ProtoMessage()
func (*ReqDeleteShare) ProtoReflect ¶
func (x *ReqDeleteShare) ProtoReflect() protoreflect.Message
func (*ReqDeleteShare) Reset ¶
func (x *ReqDeleteShare) Reset()
func (*ReqDeleteShare) String ¶
func (x *ReqDeleteShare) String() string
type ReqDownloadFileWrong ¶ added in v0.7.0
type ReqDownloadFileWrong struct { FileIndexes *FileIndexes `protobuf:"bytes,1,opt,name=file_indexes,json=fileIndexes,proto3" json:"file_indexes,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` FailedSlices []string `protobuf:"bytes,3,rep,name=failed_slices,json=failedSlices,proto3" json:"failed_slices,omitempty"` FailedPpNodes []*PPBaseInfo `protobuf:"bytes,4,rep,name=failed_pp_nodes,json=failedPpNodes,proto3" json:"failed_pp_nodes,omitempty"` TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*ReqDownloadFileWrong) Descriptor
deprecated
added in
v0.7.0
func (*ReqDownloadFileWrong) Descriptor() ([]byte, []int)
Deprecated: Use ReqDownloadFileWrong.ProtoReflect.Descriptor instead.
func (*ReqDownloadFileWrong) GetFailedPpNodes ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) GetFailedPpNodes() []*PPBaseInfo
func (*ReqDownloadFileWrong) GetFailedSlices ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) GetFailedSlices() []string
func (*ReqDownloadFileWrong) GetFileHash ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) GetFileHash() string
func (*ReqDownloadFileWrong) GetFileIndexes ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) GetFileIndexes() *FileIndexes
func (*ReqDownloadFileWrong) GetTaskId ¶ added in v0.10.0
func (x *ReqDownloadFileWrong) GetTaskId() string
func (*ReqDownloadFileWrong) ProtoMessage ¶ added in v0.7.0
func (*ReqDownloadFileWrong) ProtoMessage()
func (*ReqDownloadFileWrong) ProtoReflect ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) ProtoReflect() protoreflect.Message
func (*ReqDownloadFileWrong) Reset ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) Reset()
func (*ReqDownloadFileWrong) String ¶ added in v0.7.0
func (x *ReqDownloadFileWrong) String() string
type ReqDownloadSlice ¶
type ReqDownloadSlice struct { RspFileStorageInfo *RspFileStorageInfo `protobuf:"bytes,1,opt,name=rsp_file_storage_info,json=rspFileStorageInfo,proto3" json:"rsp_file_storage_info,omitempty"` SliceNumber uint64 `protobuf:"varint,2,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` P2PAddress string `protobuf:"bytes,3,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqDownloadSlice) Descriptor
deprecated
func (*ReqDownloadSlice) Descriptor() ([]byte, []int)
Deprecated: Use ReqDownloadSlice.ProtoReflect.Descriptor instead.
func (*ReqDownloadSlice) GetP2PAddress ¶
func (x *ReqDownloadSlice) GetP2PAddress() string
func (*ReqDownloadSlice) GetRspFileStorageInfo ¶ added in v0.10.0
func (x *ReqDownloadSlice) GetRspFileStorageInfo() *RspFileStorageInfo
func (*ReqDownloadSlice) GetSliceNumber ¶ added in v0.6.0
func (x *ReqDownloadSlice) GetSliceNumber() uint64
func (*ReqDownloadSlice) ProtoMessage ¶
func (*ReqDownloadSlice) ProtoMessage()
func (*ReqDownloadSlice) ProtoReflect ¶
func (x *ReqDownloadSlice) ProtoReflect() protoreflect.Message
func (*ReqDownloadSlice) Reset ¶
func (x *ReqDownloadSlice) Reset()
func (*ReqDownloadSlice) String ¶
func (x *ReqDownloadSlice) String() string
type ReqDownloadSlicePause ¶
type ReqDownloadSlicePause struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // contains filtered or unexported fields }
func (*ReqDownloadSlicePause) Descriptor
deprecated
func (*ReqDownloadSlicePause) Descriptor() ([]byte, []int)
Deprecated: Use ReqDownloadSlicePause.ProtoReflect.Descriptor instead.
func (*ReqDownloadSlicePause) GetFileHash ¶
func (x *ReqDownloadSlicePause) GetFileHash() string
func (*ReqDownloadSlicePause) GetP2PAddress ¶
func (x *ReqDownloadSlicePause) GetP2PAddress() string
func (*ReqDownloadSlicePause) GetWalletAddress ¶
func (x *ReqDownloadSlicePause) GetWalletAddress() string
func (*ReqDownloadSlicePause) ProtoMessage ¶
func (*ReqDownloadSlicePause) ProtoMessage()
func (*ReqDownloadSlicePause) ProtoReflect ¶
func (x *ReqDownloadSlicePause) ProtoReflect() protoreflect.Message
func (*ReqDownloadSlicePause) Reset ¶
func (x *ReqDownloadSlicePause) Reset()
func (*ReqDownloadSlicePause) String ¶
func (x *ReqDownloadSlicePause) String() string
type ReqDownloadTaskInfo ¶
type ReqDownloadTaskInfo struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReqDownloadTaskInfo) Descriptor
deprecated
func (*ReqDownloadTaskInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqDownloadTaskInfo.ProtoReflect.Descriptor instead.
func (*ReqDownloadTaskInfo) GetId ¶
func (x *ReqDownloadTaskInfo) GetId() string
func (*ReqDownloadTaskInfo) GetTaskId ¶
func (x *ReqDownloadTaskInfo) GetTaskId() string
func (*ReqDownloadTaskInfo) ProtoMessage ¶
func (*ReqDownloadTaskInfo) ProtoMessage()
func (*ReqDownloadTaskInfo) ProtoReflect ¶
func (x *ReqDownloadTaskInfo) ProtoReflect() protoreflect.Message
func (*ReqDownloadTaskInfo) Reset ¶
func (x *ReqDownloadTaskInfo) Reset()
func (*ReqDownloadTaskInfo) String ¶
func (x *ReqDownloadTaskInfo) String() string
type ReqFileReplicaInfo ¶ added in v0.10.0
type ReqFileReplicaInfo struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` ReplicaIncreaseNum uint32 `protobuf:"varint,4,opt,name=replica_increase_num,json=replicaIncreaseNum,proto3" json:"replica_increase_num,omitempty"` ReqTime int64 `protobuf:"varint,5,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqFileReplicaInfo) Descriptor
deprecated
added in
v0.10.0
func (*ReqFileReplicaInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqFileReplicaInfo.ProtoReflect.Descriptor instead.
func (*ReqFileReplicaInfo) GetFilePath ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) GetFilePath() string
func (*ReqFileReplicaInfo) GetP2PAddress ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) GetP2PAddress() string
func (*ReqFileReplicaInfo) GetReplicaIncreaseNum ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) GetReplicaIncreaseNum() uint32
func (*ReqFileReplicaInfo) GetReqTime ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) GetReqTime() int64
func (*ReqFileReplicaInfo) GetSignature ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) GetSignature() *Signature
func (*ReqFileReplicaInfo) ProtoMessage ¶ added in v0.10.0
func (*ReqFileReplicaInfo) ProtoMessage()
func (*ReqFileReplicaInfo) ProtoReflect ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) ProtoReflect() protoreflect.Message
func (*ReqFileReplicaInfo) Reset ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) Reset()
func (*ReqFileReplicaInfo) String ¶ added in v0.10.0
func (x *ReqFileReplicaInfo) String() string
type ReqFileStatus ¶ added in v0.10.0
type ReqFileStatus struct { FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ReqTime int64 `protobuf:"varint,3,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*ReqFileStatus) Descriptor
deprecated
added in
v0.10.0
func (*ReqFileStatus) Descriptor() ([]byte, []int)
Deprecated: Use ReqFileStatus.ProtoReflect.Descriptor instead.
func (*ReqFileStatus) GetFileHash ¶ added in v0.10.0
func (x *ReqFileStatus) GetFileHash() string
func (*ReqFileStatus) GetReqTime ¶ added in v0.10.0
func (x *ReqFileStatus) GetReqTime() int64
func (*ReqFileStatus) GetSignature ¶ added in v0.10.0
func (x *ReqFileStatus) GetSignature() *Signature
func (*ReqFileStatus) GetTaskId ¶ added in v0.10.1
func (x *ReqFileStatus) GetTaskId() string
func (*ReqFileStatus) ProtoMessage ¶ added in v0.10.0
func (*ReqFileStatus) ProtoMessage()
func (*ReqFileStatus) ProtoReflect ¶ added in v0.10.0
func (x *ReqFileStatus) ProtoReflect() protoreflect.Message
func (*ReqFileStatus) Reset ¶ added in v0.10.0
func (x *ReqFileStatus) Reset()
func (*ReqFileStatus) String ¶ added in v0.10.0
func (x *ReqFileStatus) String() string
type ReqFileStorageInfo ¶
type ReqFileStorageInfo struct { FileIndexes *FileIndexes `protobuf:"bytes,1,opt,name=file_indexes,json=fileIndexes,proto3" json:"file_indexes,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ReqTime int64 `protobuf:"varint,4,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqFileStorageInfo) Descriptor
deprecated
func (*ReqFileStorageInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqFileStorageInfo.ProtoReflect.Descriptor instead.
func (*ReqFileStorageInfo) GetFileIndexes ¶
func (x *ReqFileStorageInfo) GetFileIndexes() *FileIndexes
func (*ReqFileStorageInfo) GetReqTime ¶ added in v0.10.0
func (x *ReqFileStorageInfo) GetReqTime() int64
func (*ReqFileStorageInfo) GetShareRequest ¶
func (x *ReqFileStorageInfo) GetShareRequest() *ReqGetShareFile
func (*ReqFileStorageInfo) GetSignature ¶ added in v0.10.0
func (x *ReqFileStorageInfo) GetSignature() *Signature
func (*ReqFileStorageInfo) ProtoMessage ¶
func (*ReqFileStorageInfo) ProtoMessage()
func (*ReqFileStorageInfo) ProtoReflect ¶
func (x *ReqFileStorageInfo) ProtoReflect() protoreflect.Message
func (*ReqFileStorageInfo) Reset ¶
func (x *ReqFileStorageInfo) Reset()
func (*ReqFileStorageInfo) String ¶
func (x *ReqFileStorageInfo) String() string
type ReqFindMyFileList ¶
type ReqFindMyFileList struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // return all if file name is empty PageId uint64 `protobuf:"varint,4,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` FileType FileSortType `protobuf:"varint,5,opt,name=file_type,json=fileType,proto3,enum=protos.FileSortType" json:"file_type,omitempty"` IsUp bool `protobuf:"varint,6,opt,name=is_up,json=isUp,proto3" json:"is_up,omitempty"` Keyword string `protobuf:"bytes,7,opt,name=keyword,proto3" json:"keyword,omitempty"` ReqTime int64 `protobuf:"varint,8,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqFindMyFileList) Descriptor
deprecated
func (*ReqFindMyFileList) Descriptor() ([]byte, []int)
Deprecated: Use ReqFindMyFileList.ProtoReflect.Descriptor instead.
func (*ReqFindMyFileList) GetFileName ¶
func (x *ReqFindMyFileList) GetFileName() string
func (*ReqFindMyFileList) GetFileType ¶
func (x *ReqFindMyFileList) GetFileType() FileSortType
func (*ReqFindMyFileList) GetIsUp ¶
func (x *ReqFindMyFileList) GetIsUp() bool
func (*ReqFindMyFileList) GetKeyword ¶
func (x *ReqFindMyFileList) GetKeyword() string
func (*ReqFindMyFileList) GetP2PAddress ¶
func (x *ReqFindMyFileList) GetP2PAddress() string
func (*ReqFindMyFileList) GetPageId ¶ added in v0.9.0
func (x *ReqFindMyFileList) GetPageId() uint64
func (*ReqFindMyFileList) GetReqTime ¶ added in v0.10.0
func (x *ReqFindMyFileList) GetReqTime() int64
func (*ReqFindMyFileList) GetSignature ¶ added in v0.10.0
func (x *ReqFindMyFileList) GetSignature() *Signature
func (*ReqFindMyFileList) ProtoMessage ¶
func (*ReqFindMyFileList) ProtoMessage()
func (*ReqFindMyFileList) ProtoReflect ¶
func (x *ReqFindMyFileList) ProtoReflect() protoreflect.Message
func (*ReqFindMyFileList) Reset ¶
func (x *ReqFindMyFileList) Reset()
func (*ReqFindMyFileList) String ¶
func (x *ReqFindMyFileList) String() string
type ReqGetHDInfo ¶
type ReqGetHDInfo struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
sp - pp get storage info
func (*ReqGetHDInfo) Descriptor
deprecated
func (*ReqGetHDInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetHDInfo.ProtoReflect.Descriptor instead.
func (*ReqGetHDInfo) GetP2PAddress ¶
func (x *ReqGetHDInfo) GetP2PAddress() string
func (*ReqGetHDInfo) GetWalletAddress ¶
func (x *ReqGetHDInfo) GetWalletAddress() string
func (*ReqGetHDInfo) ProtoMessage ¶
func (*ReqGetHDInfo) ProtoMessage()
func (*ReqGetHDInfo) ProtoReflect ¶
func (x *ReqGetHDInfo) ProtoReflect() protoreflect.Message
func (*ReqGetHDInfo) Reset ¶
func (x *ReqGetHDInfo) Reset()
func (*ReqGetHDInfo) String ¶
func (x *ReqGetHDInfo) String() string
type ReqGetPPDowngradeInfo ¶ added in v0.9.0
type ReqGetPPDowngradeInfo struct { MyAddress *PPBaseInfo `protobuf:"bytes,1,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` // contains filtered or unexported fields }
func (*ReqGetPPDowngradeInfo) Descriptor
deprecated
added in
v0.9.0
func (*ReqGetPPDowngradeInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetPPDowngradeInfo.ProtoReflect.Descriptor instead.
func (*ReqGetPPDowngradeInfo) GetMyAddress ¶ added in v0.9.0
func (x *ReqGetPPDowngradeInfo) GetMyAddress() *PPBaseInfo
func (*ReqGetPPDowngradeInfo) ProtoMessage ¶ added in v0.9.0
func (*ReqGetPPDowngradeInfo) ProtoMessage()
func (*ReqGetPPDowngradeInfo) ProtoReflect ¶ added in v0.9.0
func (x *ReqGetPPDowngradeInfo) ProtoReflect() protoreflect.Message
func (*ReqGetPPDowngradeInfo) Reset ¶ added in v0.9.0
func (x *ReqGetPPDowngradeInfo) Reset()
func (*ReqGetPPDowngradeInfo) String ¶ added in v0.9.0
func (x *ReqGetPPDowngradeInfo) String() string
type ReqGetPPList ¶
type ReqGetPPList struct { MyAddress *PPBaseInfo `protobuf:"bytes,1,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` // contains filtered or unexported fields }
func (*ReqGetPPList) Descriptor
deprecated
func (*ReqGetPPList) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetPPList.ProtoReflect.Descriptor instead.
func (*ReqGetPPList) GetMyAddress ¶
func (x *ReqGetPPList) GetMyAddress() *PPBaseInfo
func (*ReqGetPPList) ProtoMessage ¶
func (*ReqGetPPList) ProtoMessage()
func (*ReqGetPPList) ProtoReflect ¶
func (x *ReqGetPPList) ProtoReflect() protoreflect.Message
func (*ReqGetPPList) Reset ¶
func (x *ReqGetPPList) Reset()
func (*ReqGetPPList) String ¶
func (x *ReqGetPPList) String() string
type ReqGetPPStatus ¶ added in v0.5.1
type ReqGetPPStatus struct { MyAddress *PPBaseInfo `protobuf:"bytes,1,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` InitPpList bool `protobuf:"varint,2,opt,name=init_pp_list,json=initPpList,proto3" json:"init_pp_list,omitempty"` // contains filtered or unexported fields }
func (*ReqGetPPStatus) Descriptor
deprecated
added in
v0.5.1
func (*ReqGetPPStatus) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetPPStatus.ProtoReflect.Descriptor instead.
func (*ReqGetPPStatus) GetInitPpList ¶ added in v0.7.0
func (x *ReqGetPPStatus) GetInitPpList() bool
func (*ReqGetPPStatus) GetMyAddress ¶ added in v0.5.1
func (x *ReqGetPPStatus) GetMyAddress() *PPBaseInfo
func (*ReqGetPPStatus) ProtoMessage ¶ added in v0.5.1
func (*ReqGetPPStatus) ProtoMessage()
func (*ReqGetPPStatus) ProtoReflect ¶ added in v0.5.1
func (x *ReqGetPPStatus) ProtoReflect() protoreflect.Message
func (*ReqGetPPStatus) Reset ¶ added in v0.5.1
func (x *ReqGetPPStatus) Reset()
func (*ReqGetPPStatus) String ¶ added in v0.5.1
func (x *ReqGetPPStatus) String() string
type ReqGetSPList ¶
type ReqGetSPList struct { MyAddress *PPBaseInfo `protobuf:"bytes,1,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ReqTime int64 `protobuf:"varint,4,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqGetSPList) Descriptor
deprecated
func (*ReqGetSPList) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetSPList.ProtoReflect.Descriptor instead.
func (*ReqGetSPList) GetMyAddress ¶
func (x *ReqGetSPList) GetMyAddress() *PPBaseInfo
func (*ReqGetSPList) GetReqTime ¶ added in v0.10.0
func (x *ReqGetSPList) GetReqTime() int64
func (*ReqGetSPList) GetSignature ¶ added in v0.10.0
func (x *ReqGetSPList) GetSignature() *Signature
func (*ReqGetSPList) ProtoMessage ¶
func (*ReqGetSPList) ProtoMessage()
func (*ReqGetSPList) ProtoReflect ¶
func (x *ReqGetSPList) ProtoReflect() protoreflect.Message
func (*ReqGetSPList) Reset ¶
func (x *ReqGetSPList) Reset()
func (*ReqGetSPList) String ¶
func (x *ReqGetSPList) String() string
type ReqGetShareFile ¶
type ReqGetShareFile struct { // contains filtered or unexported fields }
func (*ReqGetShareFile) Descriptor
deprecated
func (*ReqGetShareFile) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetShareFile.ProtoReflect.Descriptor instead.
func (*ReqGetShareFile) GetKeyword ¶
func (x *ReqGetShareFile) GetKeyword() string
func (*ReqGetShareFile) GetP2PAddress ¶
func (x *ReqGetShareFile) GetP2PAddress() string
func (*ReqGetShareFile) GetReqTime ¶ added in v0.10.0
func (x *ReqGetShareFile) GetReqTime() int64
func (*ReqGetShareFile) GetSaveAs ¶ added in v0.8.0
func (x *ReqGetShareFile) GetSaveAs() string
func (*ReqGetShareFile) GetSharePassword ¶
func (x *ReqGetShareFile) GetSharePassword() string
func (*ReqGetShareFile) GetSignature ¶ added in v0.10.0
func (x *ReqGetShareFile) GetSignature() *Signature
func (*ReqGetShareFile) ProtoMessage ¶
func (*ReqGetShareFile) ProtoMessage()
func (*ReqGetShareFile) ProtoReflect ¶
func (x *ReqGetShareFile) ProtoReflect() protoreflect.Message
func (*ReqGetShareFile) Reset ¶
func (x *ReqGetShareFile) Reset()
func (*ReqGetShareFile) String ¶
func (x *ReqGetShareFile) String() string
type ReqGetWalletOz ¶ added in v0.6.0
type ReqGetWalletOz struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` UploadRequest *ReqUploadFile `protobuf:"bytes,2,opt,name=upload_request,json=uploadRequest,proto3" json:"upload_request,omitempty"` DownloadRequest *ReqFileStorageInfo `protobuf:"bytes,3,opt,name=download_request,json=downloadRequest,proto3" json:"download_request,omitempty"` // contains filtered or unexported fields }
func (*ReqGetWalletOz) Descriptor
deprecated
added in
v0.6.0
func (*ReqGetWalletOz) Descriptor() ([]byte, []int)
Deprecated: Use ReqGetWalletOz.ProtoReflect.Descriptor instead.
func (*ReqGetWalletOz) GetDownloadRequest ¶ added in v0.10.0
func (x *ReqGetWalletOz) GetDownloadRequest() *ReqFileStorageInfo
func (*ReqGetWalletOz) GetUploadRequest ¶ added in v0.10.0
func (x *ReqGetWalletOz) GetUploadRequest() *ReqUploadFile
func (*ReqGetWalletOz) GetWalletAddress ¶ added in v0.6.0
func (x *ReqGetWalletOz) GetWalletAddress() string
func (*ReqGetWalletOz) ProtoMessage ¶ added in v0.6.0
func (*ReqGetWalletOz) ProtoMessage()
func (*ReqGetWalletOz) ProtoReflect ¶ added in v0.6.0
func (x *ReqGetWalletOz) ProtoReflect() protoreflect.Message
func (*ReqGetWalletOz) Reset ¶ added in v0.6.0
func (x *ReqGetWalletOz) Reset()
func (*ReqGetWalletOz) String ¶ added in v0.6.0
func (x *ReqGetWalletOz) String() string
type ReqMessageForward ¶ added in v0.11.0
type ReqMessageForward struct { DestP2P string `protobuf:"bytes,1,opt,name=dest_p2p,json=destP2p,proto3" json:"dest_p2p,omitempty"` SourceP2P string `protobuf:"bytes,2,opt,name=source_p2p,json=sourceP2p,proto3" json:"source_p2p,omitempty"` CmdType uint32 `protobuf:"varint,3,opt,name=cmd_type,json=cmdType,proto3" json:"cmd_type,omitempty"` // Types that are assignable to Msg: // // *ReqMessageForward_ReqUploadSlicesWrong // *ReqMessageForward_ReqTransferDownloadWrong // *ReqMessageForward_ReqUploadSliceResult // *ReqMessageForward_ReqReportDownloadResult // *ReqMessageForward_ReqReportBackupSliceResult Msg isReqMessageForward_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ReqMessageForward) Descriptor
deprecated
added in
v0.11.0
func (*ReqMessageForward) Descriptor() ([]byte, []int)
Deprecated: Use ReqMessageForward.ProtoReflect.Descriptor instead.
func (*ReqMessageForward) GetCmdType ¶ added in v0.11.0
func (x *ReqMessageForward) GetCmdType() uint32
func (*ReqMessageForward) GetDestP2P ¶ added in v0.11.0
func (x *ReqMessageForward) GetDestP2P() string
func (*ReqMessageForward) GetMsg ¶ added in v0.11.0
func (m *ReqMessageForward) GetMsg() isReqMessageForward_Msg
func (*ReqMessageForward) GetReqReportBackupSliceResult ¶ added in v0.11.0
func (x *ReqMessageForward) GetReqReportBackupSliceResult() *ReqReportBackupSliceResult
func (*ReqMessageForward) GetReqReportDownloadResult ¶ added in v0.11.0
func (x *ReqMessageForward) GetReqReportDownloadResult() *ReqReportDownloadResult
func (*ReqMessageForward) GetReqTransferDownloadWrong ¶ added in v0.11.0
func (x *ReqMessageForward) GetReqTransferDownloadWrong() *ReqTransferDownloadWrong
func (*ReqMessageForward) GetReqUploadSliceResult ¶ added in v0.11.0
func (x *ReqMessageForward) GetReqUploadSliceResult() *ReportUploadSliceResult
func (*ReqMessageForward) GetReqUploadSlicesWrong ¶ added in v0.11.0
func (x *ReqMessageForward) GetReqUploadSlicesWrong() *ReqUploadSlicesWrong
func (*ReqMessageForward) GetSourceP2P ¶ added in v0.11.0
func (x *ReqMessageForward) GetSourceP2P() string
func (*ReqMessageForward) ProtoMessage ¶ added in v0.11.0
func (*ReqMessageForward) ProtoMessage()
func (*ReqMessageForward) ProtoReflect ¶ added in v0.11.0
func (x *ReqMessageForward) ProtoReflect() protoreflect.Message
func (*ReqMessageForward) Reset ¶ added in v0.11.0
func (x *ReqMessageForward) Reset()
func (*ReqMessageForward) String ¶ added in v0.11.0
func (x *ReqMessageForward) String() string
type ReqMessageForward_ReqReportBackupSliceResult ¶ added in v0.11.0
type ReqMessageForward_ReqReportBackupSliceResult struct {
ReqReportBackupSliceResult *ReqReportBackupSliceResult `protobuf:"bytes,8,opt,name=req_report_backup_slice_result,json=reqReportBackupSliceResult,proto3,oneof"`
}
type ReqMessageForward_ReqReportDownloadResult ¶ added in v0.11.0
type ReqMessageForward_ReqReportDownloadResult struct {
ReqReportDownloadResult *ReqReportDownloadResult `protobuf:"bytes,7,opt,name=req_report_download_result,json=reqReportDownloadResult,proto3,oneof"`
}
type ReqMessageForward_ReqTransferDownloadWrong ¶ added in v0.11.0
type ReqMessageForward_ReqTransferDownloadWrong struct {
ReqTransferDownloadWrong *ReqTransferDownloadWrong `protobuf:"bytes,5,opt,name=req_transfer_download_wrong,json=reqTransferDownloadWrong,proto3,oneof"`
}
type ReqMessageForward_ReqUploadSliceResult ¶ added in v0.11.0
type ReqMessageForward_ReqUploadSliceResult struct {
ReqUploadSliceResult *ReportUploadSliceResult `protobuf:"bytes,6,opt,name=req_upload_slice_result,json=reqUploadSliceResult,proto3,oneof"`
}
type ReqMessageForward_ReqUploadSlicesWrong ¶ added in v0.11.0
type ReqMessageForward_ReqUploadSlicesWrong struct {
ReqUploadSlicesWrong *ReqUploadSlicesWrong `protobuf:"bytes,4,opt,name=req_upload_slices_wrong,json=reqUploadSlicesWrong,proto3,oneof"`
}
type ReqMining ¶
type ReqMining struct { Address *PPBaseInfo `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ReqMining) Descriptor
deprecated
func (*ReqMining) GetAddress ¶
func (x *ReqMining) GetAddress() *PPBaseInfo
func (*ReqMining) GetVersion ¶ added in v0.11.7
func (*ReqMining) ProtoMessage ¶
func (*ReqMining) ProtoMessage()
func (*ReqMining) ProtoReflect ¶
func (x *ReqMining) ProtoReflect() protoreflect.Message
type ReqPpLatencyCheck ¶ added in v0.10.0
type ReqPpLatencyCheck struct { P2PAddressPp string `protobuf:"bytes,2,opt,name=p2p_address_pp,json=p2pAddressPp,proto3" json:"p2p_address_pp,omitempty"` NetworkAddressSp string `protobuf:"bytes,3,opt,name=network_address_sp,json=networkAddressSp,proto3" json:"network_address_sp,omitempty"` SpIndex string `protobuf:"bytes,4,opt,name=sp_index,json=spIndex,proto3" json:"sp_index,omitempty"` // contains filtered or unexported fields }
func (*ReqPpLatencyCheck) Descriptor
deprecated
added in
v0.10.0
func (*ReqPpLatencyCheck) Descriptor() ([]byte, []int)
Deprecated: Use ReqPpLatencyCheck.ProtoReflect.Descriptor instead.
func (*ReqPpLatencyCheck) GetNetworkAddressSp ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) GetNetworkAddressSp() string
func (*ReqPpLatencyCheck) GetP2PAddressPp ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) GetP2PAddressPp() string
func (*ReqPpLatencyCheck) GetSpIndex ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) GetSpIndex() string
func (*ReqPpLatencyCheck) ProtoMessage ¶ added in v0.10.0
func (*ReqPpLatencyCheck) ProtoMessage()
func (*ReqPpLatencyCheck) ProtoReflect ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) ProtoReflect() protoreflect.Message
func (*ReqPpLatencyCheck) Reset ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) Reset()
func (*ReqPpLatencyCheck) String ¶ added in v0.10.0
func (x *ReqPpLatencyCheck) String() string
type ReqPrepaid ¶
type ReqPrepaid struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` PurchasedUoz string `protobuf:"bytes,2,opt,name=purchased_uoz,json=purchasedUoz,proto3" json:"purchased_uoz,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*ReqPrepaid) Descriptor
deprecated
func (*ReqPrepaid) Descriptor() ([]byte, []int)
Deprecated: Use ReqPrepaid.ProtoReflect.Descriptor instead.
func (*ReqPrepaid) GetPurchasedUoz ¶
func (x *ReqPrepaid) GetPurchasedUoz() string
func (*ReqPrepaid) GetTxHash ¶ added in v0.5.0
func (x *ReqPrepaid) GetTxHash() string
func (*ReqPrepaid) GetWalletAddress ¶
func (x *ReqPrepaid) GetWalletAddress() string
func (*ReqPrepaid) ProtoMessage ¶
func (*ReqPrepaid) ProtoMessage()
func (*ReqPrepaid) ProtoReflect ¶
func (x *ReqPrepaid) ProtoReflect() protoreflect.Message
func (*ReqPrepaid) Reset ¶
func (x *ReqPrepaid) Reset()
func (*ReqPrepaid) String ¶
func (x *ReqPrepaid) String() string
type ReqPrepay ¶
type ReqPrepay struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` ReqTime int64 `protobuf:"varint,4,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqPrepay) Descriptor
deprecated
func (*ReqPrepay) GetP2PAddress ¶
func (*ReqPrepay) GetReqTime ¶ added in v0.10.0
func (*ReqPrepay) GetSignature ¶ added in v0.10.0
func (*ReqPrepay) ProtoMessage ¶
func (*ReqPrepay) ProtoMessage()
func (*ReqPrepay) ProtoReflect ¶
func (x *ReqPrepay) ProtoReflect() protoreflect.Message
type ReqRegister ¶
type ReqRegister struct { Address *PPBaseInfo `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` MyAddress *PPBaseInfo `protobuf:"bytes,3,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` //middleman pp address Signature *Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` ReqTime int64 `protobuf:"varint,5,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqRegister) Descriptor
deprecated
func (*ReqRegister) Descriptor() ([]byte, []int)
Deprecated: Use ReqRegister.ProtoReflect.Descriptor instead.
func (*ReqRegister) GetAddress ¶
func (x *ReqRegister) GetAddress() *PPBaseInfo
func (*ReqRegister) GetMyAddress ¶
func (x *ReqRegister) GetMyAddress() *PPBaseInfo
func (*ReqRegister) GetPublicKey ¶
func (x *ReqRegister) GetPublicKey() []byte
func (*ReqRegister) GetReqTime ¶ added in v0.10.0
func (x *ReqRegister) GetReqTime() int64
func (*ReqRegister) GetSignature ¶ added in v0.10.0
func (x *ReqRegister) GetSignature() *Signature
func (*ReqRegister) ProtoMessage ¶
func (*ReqRegister) ProtoMessage()
func (*ReqRegister) ProtoReflect ¶
func (x *ReqRegister) ProtoReflect() protoreflect.Message
func (*ReqRegister) Reset ¶
func (x *ReqRegister) Reset()
func (*ReqRegister) String ¶
func (x *ReqRegister) String() string
type ReqRegisterNewPP ¶
type ReqRegisterNewPP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` DiskSize uint64 `protobuf:"varint,3,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` FreeDisk uint64 `protobuf:"varint,4,opt,name=free_disk,json=freeDisk,proto3" json:"free_disk,omitempty"` MemorySize uint64 `protobuf:"varint,5,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"` OsAndVer string `protobuf:"bytes,6,opt,name=os_and_ver,json=osAndVer,proto3" json:"os_and_ver,omitempty"` CpuInfo string `protobuf:"bytes,7,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"` MacAddress string `protobuf:"bytes,8,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` PubKey []byte `protobuf:"bytes,10,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` NetworkAddress string `protobuf:"bytes,11,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` ReqTime int64 `protobuf:"varint,12,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqRegisterNewPP) Descriptor
deprecated
func (*ReqRegisterNewPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqRegisterNewPP.ProtoReflect.Descriptor instead.
func (*ReqRegisterNewPP) GetCpuInfo ¶
func (x *ReqRegisterNewPP) GetCpuInfo() string
func (*ReqRegisterNewPP) GetDiskSize ¶
func (x *ReqRegisterNewPP) GetDiskSize() uint64
func (*ReqRegisterNewPP) GetFreeDisk ¶ added in v0.5.0
func (x *ReqRegisterNewPP) GetFreeDisk() uint64
func (*ReqRegisterNewPP) GetMacAddress ¶
func (x *ReqRegisterNewPP) GetMacAddress() string
func (*ReqRegisterNewPP) GetMemorySize ¶
func (x *ReqRegisterNewPP) GetMemorySize() uint64
func (*ReqRegisterNewPP) GetNetworkAddress ¶ added in v0.7.0
func (x *ReqRegisterNewPP) GetNetworkAddress() string
func (*ReqRegisterNewPP) GetOsAndVer ¶
func (x *ReqRegisterNewPP) GetOsAndVer() string
func (*ReqRegisterNewPP) GetP2PAddress ¶
func (x *ReqRegisterNewPP) GetP2PAddress() string
func (*ReqRegisterNewPP) GetPubKey ¶
func (x *ReqRegisterNewPP) GetPubKey() []byte
func (*ReqRegisterNewPP) GetReqTime ¶ added in v0.10.0
func (x *ReqRegisterNewPP) GetReqTime() int64
func (*ReqRegisterNewPP) GetSignature ¶ added in v0.10.0
func (x *ReqRegisterNewPP) GetSignature() *Signature
func (*ReqRegisterNewPP) GetVersion ¶
func (x *ReqRegisterNewPP) GetVersion() uint32
func (*ReqRegisterNewPP) ProtoMessage ¶
func (*ReqRegisterNewPP) ProtoMessage()
func (*ReqRegisterNewPP) ProtoReflect ¶
func (x *ReqRegisterNewPP) ProtoReflect() protoreflect.Message
func (*ReqRegisterNewPP) Reset ¶
func (x *ReqRegisterNewPP) Reset()
func (*ReqRegisterNewPP) String ¶
func (x *ReqRegisterNewPP) String() string
type ReqReportBackupSliceResult ¶ added in v0.5.0
type ReqReportBackupSliceResult struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` SliceHash string `protobuf:"bytes,3,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` BackupSuccess bool `protobuf:"varint,4,opt,name=backup_success,json=backupSuccess,proto3" json:"backup_success,omitempty"` IsReceiver bool `protobuf:"varint,5,opt,name=is_receiver,json=isReceiver,proto3" json:"is_receiver,omitempty"` OriginDeleted bool `protobuf:"varint,6,opt,name=origin_deleted,json=originDeleted,proto3" json:"origin_deleted,omitempty"` SliceNumber uint64 `protobuf:"varint,7,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` SliceSize uint64 `protobuf:"varint,8,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` PpInfo *PPBaseInfo `protobuf:"bytes,9,opt,name=pp_info,json=ppInfo,proto3" json:"pp_info,omitempty"` SpP2PAddress string `protobuf:"bytes,10,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` CostTime int64 `protobuf:"varint,11,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` PpP2PAddress string `protobuf:"bytes,12,opt,name=pp_p2p_address,json=ppP2pAddress,proto3" json:"pp_p2p_address,omitempty"` OpponentP2PAddress string `protobuf:"bytes,13,opt,name=opponent_p2p_address,json=opponentP2pAddress,proto3" json:"opponent_p2p_address,omitempty"` P2PAddress string `protobuf:"bytes,14,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
the message that is sent back to sp from both the slice sender pp and the slice receiver pp
func (*ReqReportBackupSliceResult) Descriptor
deprecated
added in
v0.5.0
func (*ReqReportBackupSliceResult) Descriptor() ([]byte, []int)
Deprecated: Use ReqReportBackupSliceResult.ProtoReflect.Descriptor instead.
func (*ReqReportBackupSliceResult) GetBackupSuccess ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetBackupSuccess() bool
func (*ReqReportBackupSliceResult) GetCostTime ¶ added in v0.10.0
func (x *ReqReportBackupSliceResult) GetCostTime() int64
func (*ReqReportBackupSliceResult) GetFileHash ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetFileHash() string
func (*ReqReportBackupSliceResult) GetIsReceiver ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetIsReceiver() bool
func (*ReqReportBackupSliceResult) GetOpponentP2PAddress ¶ added in v0.10.0
func (x *ReqReportBackupSliceResult) GetOpponentP2PAddress() string
func (*ReqReportBackupSliceResult) GetOriginDeleted ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetOriginDeleted() bool
func (*ReqReportBackupSliceResult) GetP2PAddress ¶ added in v0.10.0
func (x *ReqReportBackupSliceResult) GetP2PAddress() string
func (*ReqReportBackupSliceResult) GetPpInfo ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetPpInfo() *PPBaseInfo
func (*ReqReportBackupSliceResult) GetPpP2PAddress ¶ added in v0.10.0
func (x *ReqReportBackupSliceResult) GetPpP2PAddress() string
func (*ReqReportBackupSliceResult) GetSliceHash ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetSliceHash() string
func (*ReqReportBackupSliceResult) GetSliceNumber ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetSliceNumber() uint64
func (*ReqReportBackupSliceResult) GetSliceSize ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetSliceSize() uint64
func (*ReqReportBackupSliceResult) GetSpP2PAddress ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetSpP2PAddress() string
func (*ReqReportBackupSliceResult) GetTaskId ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) GetTaskId() string
func (*ReqReportBackupSliceResult) ProtoMessage ¶ added in v0.5.0
func (*ReqReportBackupSliceResult) ProtoMessage()
func (*ReqReportBackupSliceResult) ProtoReflect ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) ProtoReflect() protoreflect.Message
func (*ReqReportBackupSliceResult) Reset ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) Reset()
func (*ReqReportBackupSliceResult) String ¶ added in v0.5.0
func (x *ReqReportBackupSliceResult) String() string
type ReqReportDownloadResult ¶
type ReqReportDownloadResult struct { IsPP bool `protobuf:"varint,1,opt,name=isPP,proto3" json:"isPP,omitempty"` SliceInfo *DownloadSliceInfo `protobuf:"bytes,2,opt,name=slice_info,json=sliceInfo,proto3" json:"slice_info,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` DownloaderP2PAddress string `protobuf:"bytes,4,opt,name=downloader_p2p_address,json=downloaderP2pAddress,proto3" json:"downloader_p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,5,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` PpP2PAddress string `protobuf:"bytes,6,opt,name=pp_p2p_address,json=ppP2pAddress,proto3" json:"pp_p2p_address,omitempty"` // PP's P2P key address PpWalletAddress string `protobuf:"bytes,7,opt,name=pp_wallet_address,json=ppWalletAddress,proto3" json:"pp_wallet_address,omitempty"` // PP's wallet address TaskId string `protobuf:"bytes,8,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SpP2PAddress string `protobuf:"bytes,9,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` OpponentP2PAddress string `protobuf:"bytes,10,opt,name=opponent_p2p_address,json=opponentP2pAddress,proto3" json:"opponent_p2p_address,omitempty"` CostTime int64 `protobuf:"varint,11,opt,name=cost_time,json=costTime,proto3" json:"cost_time,omitempty"` // contains filtered or unexported fields }
func (*ReqReportDownloadResult) Descriptor
deprecated
func (*ReqReportDownloadResult) Descriptor() ([]byte, []int)
Deprecated: Use ReqReportDownloadResult.ProtoReflect.Descriptor instead.
func (*ReqReportDownloadResult) GetCostTime ¶ added in v0.9.0
func (x *ReqReportDownloadResult) GetCostTime() int64
func (*ReqReportDownloadResult) GetDownloaderP2PAddress ¶
func (x *ReqReportDownloadResult) GetDownloaderP2PAddress() string
func (*ReqReportDownloadResult) GetFileHash ¶
func (x *ReqReportDownloadResult) GetFileHash() string
func (*ReqReportDownloadResult) GetIsPP ¶
func (x *ReqReportDownloadResult) GetIsPP() bool
func (*ReqReportDownloadResult) GetOpponentP2PAddress ¶ added in v0.9.0
func (x *ReqReportDownloadResult) GetOpponentP2PAddress() string
func (*ReqReportDownloadResult) GetPpP2PAddress ¶ added in v0.9.0
func (x *ReqReportDownloadResult) GetPpP2PAddress() string
func (*ReqReportDownloadResult) GetPpWalletAddress ¶ added in v0.9.0
func (x *ReqReportDownloadResult) GetPpWalletAddress() string
func (*ReqReportDownloadResult) GetSliceInfo ¶
func (x *ReqReportDownloadResult) GetSliceInfo() *DownloadSliceInfo
func (*ReqReportDownloadResult) GetSpP2PAddress ¶ added in v0.5.0
func (x *ReqReportDownloadResult) GetSpP2PAddress() string
func (*ReqReportDownloadResult) GetTaskId ¶
func (x *ReqReportDownloadResult) GetTaskId() string
func (*ReqReportDownloadResult) GetWalletAddress ¶ added in v0.9.0
func (x *ReqReportDownloadResult) GetWalletAddress() string
func (*ReqReportDownloadResult) ProtoMessage ¶
func (*ReqReportDownloadResult) ProtoMessage()
func (*ReqReportDownloadResult) ProtoReflect ¶
func (x *ReqReportDownloadResult) ProtoReflect() protoreflect.Message
func (*ReqReportDownloadResult) Reset ¶
func (x *ReqReportDownloadResult) Reset()
func (*ReqReportDownloadResult) String ¶
func (x *ReqReportDownloadResult) String() string
type ReqReportNodeStatus ¶
type ReqReportNodeStatus struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` Cpu *CpuStat `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory *MemoryStat `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` Disk *DiskStat `protobuf:"bytes,4,opt,name=disk,proto3" json:"disk,omitempty"` Bandwidth *BandwidthStat `protobuf:"bytes,5,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"` // contains filtered or unexported fields }
func (*ReqReportNodeStatus) Descriptor
deprecated
func (*ReqReportNodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use ReqReportNodeStatus.ProtoReflect.Descriptor instead.
func (*ReqReportNodeStatus) GetBandwidth ¶
func (x *ReqReportNodeStatus) GetBandwidth() *BandwidthStat
func (*ReqReportNodeStatus) GetCpu ¶
func (x *ReqReportNodeStatus) GetCpu() *CpuStat
func (*ReqReportNodeStatus) GetDisk ¶
func (x *ReqReportNodeStatus) GetDisk() *DiskStat
func (*ReqReportNodeStatus) GetMemory ¶
func (x *ReqReportNodeStatus) GetMemory() *MemoryStat
func (*ReqReportNodeStatus) GetP2PAddress ¶
func (x *ReqReportNodeStatus) GetP2PAddress() string
func (*ReqReportNodeStatus) ProtoMessage ¶
func (*ReqReportNodeStatus) ProtoMessage()
func (*ReqReportNodeStatus) ProtoReflect ¶
func (x *ReqReportNodeStatus) ProtoReflect() protoreflect.Message
func (*ReqReportNodeStatus) Reset ¶
func (x *ReqReportNodeStatus) Reset()
func (*ReqReportNodeStatus) String ¶
func (x *ReqReportNodeStatus) String() string
type ReqReportTaskBP ¶
type ReqReportTaskBP struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Reporter *PPBaseInfo `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter,omitempty"` Traffic uint64 `protobuf:"varint,3,opt,name=traffic,proto3" json:"traffic,omitempty"` // contains filtered or unexported fields }
func (*ReqReportTaskBP) Descriptor
deprecated
func (*ReqReportTaskBP) Descriptor() ([]byte, []int)
Deprecated: Use ReqReportTaskBP.ProtoReflect.Descriptor instead.
func (*ReqReportTaskBP) GetReporter ¶
func (x *ReqReportTaskBP) GetReporter() *PPBaseInfo
func (*ReqReportTaskBP) GetTaskId ¶
func (x *ReqReportTaskBP) GetTaskId() string
func (*ReqReportTaskBP) GetTraffic ¶
func (x *ReqReportTaskBP) GetTraffic() uint64
func (*ReqReportTaskBP) ProtoMessage ¶
func (*ReqReportTaskBP) ProtoMessage()
func (*ReqReportTaskBP) ProtoReflect ¶
func (x *ReqReportTaskBP) ProtoReflect() protoreflect.Message
func (*ReqReportTaskBP) Reset ¶
func (x *ReqReportTaskBP) Reset()
func (*ReqReportTaskBP) String ¶
func (x *ReqReportTaskBP) String() string
type ReqShareFile ¶
type ReqShareFile struct { // contains filtered or unexported fields }
func (*ReqShareFile) Descriptor
deprecated
func (*ReqShareFile) Descriptor() ([]byte, []int)
Deprecated: Use ReqShareFile.ProtoReflect.Descriptor instead.
func (*ReqShareFile) GetFileHash ¶
func (x *ReqShareFile) GetFileHash() string
func (*ReqShareFile) GetIsPrivate ¶
func (x *ReqShareFile) GetIsPrivate() bool
func (*ReqShareFile) GetP2PAddress ¶
func (x *ReqShareFile) GetP2PAddress() string
func (*ReqShareFile) GetPathHash ¶
func (x *ReqShareFile) GetPathHash() string
func (*ReqShareFile) GetReqTime ¶ added in v0.10.0
func (x *ReqShareFile) GetReqTime() int64
func (*ReqShareFile) GetShareTime ¶
func (x *ReqShareFile) GetShareTime() int64
func (*ReqShareFile) GetSignature ¶ added in v0.10.0
func (x *ReqShareFile) GetSignature() *Signature
func (*ReqShareFile) ProtoMessage ¶
func (*ReqShareFile) ProtoMessage()
func (*ReqShareFile) ProtoReflect ¶
func (x *ReqShareFile) ProtoReflect() protoreflect.Message
func (*ReqShareFile) Reset ¶
func (x *ReqShareFile) Reset()
func (*ReqShareFile) String ¶
func (x *ReqShareFile) String() string
type ReqShareLink ¶
type ReqShareLink struct { // contains filtered or unexported fields }
func (*ReqShareLink) Descriptor
deprecated
func (*ReqShareLink) Descriptor() ([]byte, []int)
Deprecated: Use ReqShareLink.ProtoReflect.Descriptor instead.
func (*ReqShareLink) GetP2PAddress ¶
func (x *ReqShareLink) GetP2PAddress() string
func (*ReqShareLink) GetPageId ¶ added in v0.9.0
func (x *ReqShareLink) GetPageId() uint64
func (*ReqShareLink) GetReqTime ¶ added in v0.10.0
func (x *ReqShareLink) GetReqTime() int64
func (*ReqShareLink) GetSignature ¶ added in v0.10.0
func (x *ReqShareLink) GetSignature() *Signature
func (*ReqShareLink) ProtoMessage ¶
func (*ReqShareLink) ProtoMessage()
func (*ReqShareLink) ProtoReflect ¶
func (x *ReqShareLink) ProtoReflect() protoreflect.Message
func (*ReqShareLink) Reset ¶
func (x *ReqShareLink) Reset()
func (*ReqShareLink) String ¶
func (x *ReqShareLink) String() string
type ReqSpLatencyCheck ¶ added in v0.10.0
type ReqSpLatencyCheck struct { P2PAddressPp string `protobuf:"bytes,2,opt,name=p2p_address_pp,json=p2pAddressPp,proto3" json:"p2p_address_pp,omitempty"` NetworkAddressSp string `protobuf:"bytes,3,opt,name=network_address_sp,json=networkAddressSp,proto3" json:"network_address_sp,omitempty"` SpIndex string `protobuf:"bytes,4,opt,name=sp_index,json=spIndex,proto3" json:"sp_index,omitempty"` // contains filtered or unexported fields }
func (*ReqSpLatencyCheck) Descriptor
deprecated
added in
v0.10.0
func (*ReqSpLatencyCheck) Descriptor() ([]byte, []int)
Deprecated: Use ReqSpLatencyCheck.ProtoReflect.Descriptor instead.
func (*ReqSpLatencyCheck) GetNetworkAddressSp ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) GetNetworkAddressSp() string
func (*ReqSpLatencyCheck) GetP2PAddressPp ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) GetP2PAddressPp() string
func (*ReqSpLatencyCheck) GetSpIndex ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) GetSpIndex() string
func (*ReqSpLatencyCheck) ProtoMessage ¶ added in v0.10.0
func (*ReqSpLatencyCheck) ProtoMessage()
func (*ReqSpLatencyCheck) ProtoReflect ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) ProtoReflect() protoreflect.Message
func (*ReqSpLatencyCheck) Reset ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) Reset()
func (*ReqSpLatencyCheck) String ¶ added in v0.10.0
func (x *ReqSpLatencyCheck) String() string
type ReqStartMaintenance ¶ added in v0.9.0
type ReqStartMaintenance struct { Address *PPBaseInfo `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Duration uint64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*ReqStartMaintenance) Descriptor
deprecated
added in
v0.9.0
func (*ReqStartMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use ReqStartMaintenance.ProtoReflect.Descriptor instead.
func (*ReqStartMaintenance) GetAddress ¶ added in v0.9.0
func (x *ReqStartMaintenance) GetAddress() *PPBaseInfo
func (*ReqStartMaintenance) GetDuration ¶ added in v0.9.0
func (x *ReqStartMaintenance) GetDuration() uint64
func (*ReqStartMaintenance) ProtoMessage ¶ added in v0.9.0
func (*ReqStartMaintenance) ProtoMessage()
func (*ReqStartMaintenance) ProtoReflect ¶ added in v0.9.0
func (x *ReqStartMaintenance) ProtoReflect() protoreflect.Message
func (*ReqStartMaintenance) Reset ¶ added in v0.9.0
func (x *ReqStartMaintenance) Reset()
func (*ReqStartMaintenance) String ¶ added in v0.9.0
func (x *ReqStartMaintenance) String() string
type ReqStateChangePP ¶ added in v0.10.0
type ReqStateChangePP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqStateChangePP) Descriptor
deprecated
added in
v0.10.0
func (*ReqStateChangePP) Descriptor() ([]byte, []int)
Deprecated: Use ReqStateChangePP.ProtoReflect.Descriptor instead.
func (*ReqStateChangePP) GetP2PAddress ¶ added in v0.10.0
func (x *ReqStateChangePP) GetP2PAddress() string
func (*ReqStateChangePP) ProtoMessage ¶ added in v0.10.0
func (*ReqStateChangePP) ProtoMessage()
func (*ReqStateChangePP) ProtoReflect ¶ added in v0.10.0
func (x *ReqStateChangePP) ProtoReflect() protoreflect.Message
func (*ReqStateChangePP) Reset ¶ added in v0.10.0
func (x *ReqStateChangePP) Reset()
func (*ReqStateChangePP) String ¶ added in v0.10.0
func (x *ReqStateChangePP) String() string
type ReqStopMaintenance ¶ added in v0.9.0
type ReqStopMaintenance struct { Address *PPBaseInfo `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ReqStopMaintenance) Descriptor
deprecated
added in
v0.9.0
func (*ReqStopMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use ReqStopMaintenance.ProtoReflect.Descriptor instead.
func (*ReqStopMaintenance) GetAddress ¶ added in v0.9.0
func (x *ReqStopMaintenance) GetAddress() *PPBaseInfo
func (*ReqStopMaintenance) ProtoMessage ¶ added in v0.9.0
func (*ReqStopMaintenance) ProtoMessage()
func (*ReqStopMaintenance) ProtoReflect ¶ added in v0.9.0
func (x *ReqStopMaintenance) ProtoReflect() protoreflect.Message
func (*ReqStopMaintenance) Reset ¶ added in v0.9.0
func (x *ReqStopMaintenance) Reset()
func (*ReqStopMaintenance) String ¶ added in v0.9.0
func (x *ReqStopMaintenance) String() string
type ReqTransaction ¶
type ReqTransaction struct { TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReqTransaction) Descriptor
deprecated
func (*ReqTransaction) Descriptor() ([]byte, []int)
Deprecated: Use ReqTransaction.ProtoReflect.Descriptor instead.
func (*ReqTransaction) GetCode ¶
func (x *ReqTransaction) GetCode() int64
func (*ReqTransaction) GetId ¶
func (x *ReqTransaction) GetId() string
func (*ReqTransaction) GetTransactionHash ¶
func (x *ReqTransaction) GetTransactionHash() string
func (*ReqTransaction) ProtoMessage ¶
func (*ReqTransaction) ProtoMessage()
func (*ReqTransaction) ProtoReflect ¶
func (x *ReqTransaction) ProtoReflect() protoreflect.Message
func (*ReqTransaction) Reset ¶
func (x *ReqTransaction) Reset()
func (*ReqTransaction) String ¶
func (x *ReqTransaction) String() string
type ReqTransferDownload ¶
type ReqTransferDownload struct { NoticeFileSliceBackup *NoticeFileSliceBackup `` /* 128-byte string literal not displayed */ NewPp *PPBaseInfo `protobuf:"bytes,2,opt,name=new_pp,json=newPp,proto3" json:"new_pp,omitempty"` P2PAddress string `protobuf:"bytes,3,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqTransferDownload) Descriptor
deprecated
func (*ReqTransferDownload) Descriptor() ([]byte, []int)
Deprecated: Use ReqTransferDownload.ProtoReflect.Descriptor instead.
func (*ReqTransferDownload) GetNewPp ¶ added in v0.5.0
func (x *ReqTransferDownload) GetNewPp() *PPBaseInfo
func (*ReqTransferDownload) GetNoticeFileSliceBackup ¶ added in v0.10.0
func (x *ReqTransferDownload) GetNoticeFileSliceBackup() *NoticeFileSliceBackup
func (*ReqTransferDownload) GetP2PAddress ¶ added in v0.10.0
func (x *ReqTransferDownload) GetP2PAddress() string
func (*ReqTransferDownload) ProtoMessage ¶
func (*ReqTransferDownload) ProtoMessage()
func (*ReqTransferDownload) ProtoReflect ¶
func (x *ReqTransferDownload) ProtoReflect() protoreflect.Message
func (*ReqTransferDownload) Reset ¶
func (x *ReqTransferDownload) Reset()
func (*ReqTransferDownload) String ¶
func (x *ReqTransferDownload) String() string
type ReqTransferDownloadWrong ¶ added in v0.9.0
type ReqTransferDownloadWrong struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` NewPp *PPBaseInfo `protobuf:"bytes,2,opt,name=new_pp,json=newPp,proto3" json:"new_pp,omitempty"` OriginalPp *PPBaseInfo `protobuf:"bytes,3,opt,name=original_pp,json=originalPp,proto3" json:"original_pp,omitempty"` SliceStorageInfo *SliceStorageInfo `protobuf:"bytes,4,opt,name=slice_storage_info,json=sliceStorageInfo,proto3" json:"slice_storage_info,omitempty"` FileHash string `protobuf:"bytes,5,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` SpP2PAddress string `protobuf:"bytes,6,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqTransferDownloadWrong) Descriptor
deprecated
added in
v0.9.0
func (*ReqTransferDownloadWrong) Descriptor() ([]byte, []int)
Deprecated: Use ReqTransferDownloadWrong.ProtoReflect.Descriptor instead.
func (*ReqTransferDownloadWrong) GetFileHash ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetFileHash() string
func (*ReqTransferDownloadWrong) GetNewPp ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetNewPp() *PPBaseInfo
func (*ReqTransferDownloadWrong) GetOriginalPp ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetOriginalPp() *PPBaseInfo
func (*ReqTransferDownloadWrong) GetSliceStorageInfo ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetSliceStorageInfo() *SliceStorageInfo
func (*ReqTransferDownloadWrong) GetSpP2PAddress ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetSpP2PAddress() string
func (*ReqTransferDownloadWrong) GetTaskId ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) GetTaskId() string
func (*ReqTransferDownloadWrong) ProtoMessage ¶ added in v0.9.0
func (*ReqTransferDownloadWrong) ProtoMessage()
func (*ReqTransferDownloadWrong) ProtoReflect ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) ProtoReflect() protoreflect.Message
func (*ReqTransferDownloadWrong) Reset ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) Reset()
func (*ReqTransferDownloadWrong) String ¶ added in v0.9.0
func (x *ReqTransferDownloadWrong) String() string
type ReqUnbondingPP ¶ added in v0.5.0
type ReqUnbondingPP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` OzoneLimitChanges string `protobuf:"bytes,2,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` // negative UnbondingMatureTime string `protobuf:"bytes,3,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` DepositToRemove string `protobuf:"bytes,5,opt,name=deposit_to_remove,json=depositToRemove,proto3" json:"deposit_to_remove,omitempty"` // contains filtered or unexported fields }
func (*ReqUnbondingPP) Descriptor
deprecated
added in
v0.5.0
func (*ReqUnbondingPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqUnbondingPP.ProtoReflect.Descriptor instead.
func (*ReqUnbondingPP) GetDepositToRemove ¶ added in v0.10.0
func (x *ReqUnbondingPP) GetDepositToRemove() string
func (*ReqUnbondingPP) GetOzoneLimitChanges ¶ added in v0.5.0
func (x *ReqUnbondingPP) GetOzoneLimitChanges() string
func (*ReqUnbondingPP) GetP2PAddress ¶ added in v0.5.0
func (x *ReqUnbondingPP) GetP2PAddress() string
func (*ReqUnbondingPP) GetTxHash ¶ added in v0.5.0
func (x *ReqUnbondingPP) GetTxHash() string
func (*ReqUnbondingPP) GetUnbondingMatureTime ¶ added in v0.5.0
func (x *ReqUnbondingPP) GetUnbondingMatureTime() string
func (*ReqUnbondingPP) ProtoMessage ¶ added in v0.5.0
func (*ReqUnbondingPP) ProtoMessage()
func (*ReqUnbondingPP) ProtoReflect ¶ added in v0.5.0
func (x *ReqUnbondingPP) ProtoReflect() protoreflect.Message
func (*ReqUnbondingPP) Reset ¶ added in v0.5.0
func (x *ReqUnbondingPP) Reset()
func (*ReqUnbondingPP) String ¶ added in v0.5.0
func (x *ReqUnbondingPP) String() string
type ReqUnbondingSP ¶ added in v0.5.0
type ReqUnbondingSP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` OzoneLimitChanges string `protobuf:"bytes,2,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` // negative UnbondingMatureTime string `protobuf:"bytes,3,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` DepositToRemove string `protobuf:"bytes,5,opt,name=deposit_to_remove,json=depositToRemove,proto3" json:"deposit_to_remove,omitempty"` // contains filtered or unexported fields }
func (*ReqUnbondingSP) Descriptor
deprecated
added in
v0.5.0
func (*ReqUnbondingSP) Descriptor() ([]byte, []int)
Deprecated: Use ReqUnbondingSP.ProtoReflect.Descriptor instead.
func (*ReqUnbondingSP) GetDepositToRemove ¶ added in v0.10.0
func (x *ReqUnbondingSP) GetDepositToRemove() string
func (*ReqUnbondingSP) GetOzoneLimitChanges ¶ added in v0.5.0
func (x *ReqUnbondingSP) GetOzoneLimitChanges() string
func (*ReqUnbondingSP) GetP2PAddress ¶ added in v0.5.0
func (x *ReqUnbondingSP) GetP2PAddress() string
func (*ReqUnbondingSP) GetTxHash ¶ added in v0.10.0
func (x *ReqUnbondingSP) GetTxHash() string
func (*ReqUnbondingSP) GetUnbondingMatureTime ¶ added in v0.5.0
func (x *ReqUnbondingSP) GetUnbondingMatureTime() string
func (*ReqUnbondingSP) ProtoMessage ¶ added in v0.5.0
func (*ReqUnbondingSP) ProtoMessage()
func (*ReqUnbondingSP) ProtoReflect ¶ added in v0.5.0
func (x *ReqUnbondingSP) ProtoReflect() protoreflect.Message
func (*ReqUnbondingSP) Reset ¶ added in v0.5.0
func (x *ReqUnbondingSP) Reset()
func (*ReqUnbondingSP) String ¶ added in v0.5.0
func (x *ReqUnbondingSP) String() string
type ReqUpdateDepositPP ¶ added in v0.10.0
type ReqUpdateDepositPP struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*ReqUpdateDepositPP) Descriptor
deprecated
added in
v0.10.0
func (*ReqUpdateDepositPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqUpdateDepositPP.ProtoReflect.Descriptor instead.
func (*ReqUpdateDepositPP) GetP2PAddress ¶ added in v0.10.0
func (x *ReqUpdateDepositPP) GetP2PAddress() string
func (*ReqUpdateDepositPP) GetTx ¶ added in v0.10.0
func (x *ReqUpdateDepositPP) GetTx() []byte
func (*ReqUpdateDepositPP) ProtoMessage ¶ added in v0.10.0
func (*ReqUpdateDepositPP) ProtoMessage()
func (*ReqUpdateDepositPP) ProtoReflect ¶ added in v0.10.0
func (x *ReqUpdateDepositPP) ProtoReflect() protoreflect.Message
func (*ReqUpdateDepositPP) Reset ¶ added in v0.10.0
func (x *ReqUpdateDepositPP) Reset()
func (*ReqUpdateDepositPP) String ¶ added in v0.10.0
func (x *ReqUpdateDepositPP) String() string
type ReqUpdatedDepositPP ¶ added in v0.10.0
type ReqUpdatedDepositPP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` OzoneLimitChanges string `protobuf:"bytes,2,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` DepositDelta string `protobuf:"bytes,4,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta,omitempty"` CurrentDeposit string `protobuf:"bytes,5,opt,name=current_deposit,json=currentDeposit,proto3" json:"current_deposit,omitempty"` AvailableTokenBefore string `protobuf:"bytes,6,opt,name=available_token_before,json=availableTokenBefore,proto3" json:"available_token_before,omitempty"` AvailableTokenAfter string `protobuf:"bytes,7,opt,name=available_token_after,json=availableTokenAfter,proto3" json:"available_token_after,omitempty"` // contains filtered or unexported fields }
func (*ReqUpdatedDepositPP) Descriptor
deprecated
added in
v0.10.0
func (*ReqUpdatedDepositPP) Descriptor() ([]byte, []int)
Deprecated: Use ReqUpdatedDepositPP.ProtoReflect.Descriptor instead.
func (*ReqUpdatedDepositPP) GetAvailableTokenAfter ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetAvailableTokenAfter() string
func (*ReqUpdatedDepositPP) GetAvailableTokenBefore ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetAvailableTokenBefore() string
func (*ReqUpdatedDepositPP) GetCurrentDeposit ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetCurrentDeposit() string
func (*ReqUpdatedDepositPP) GetDepositDelta ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetDepositDelta() string
func (*ReqUpdatedDepositPP) GetOzoneLimitChanges ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetOzoneLimitChanges() string
func (*ReqUpdatedDepositPP) GetP2PAddress ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetP2PAddress() string
func (*ReqUpdatedDepositPP) GetTxHash ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) GetTxHash() string
func (*ReqUpdatedDepositPP) ProtoMessage ¶ added in v0.10.0
func (*ReqUpdatedDepositPP) ProtoMessage()
func (*ReqUpdatedDepositPP) ProtoReflect ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) ProtoReflect() protoreflect.Message
func (*ReqUpdatedDepositPP) Reset ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) Reset()
func (*ReqUpdatedDepositPP) String ¶ added in v0.10.0
func (x *ReqUpdatedDepositPP) String() string
type ReqUpdatedDepositSP ¶ added in v0.10.0
type ReqUpdatedDepositSP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` OzoneLimitChanges string `protobuf:"bytes,2,opt,name=ozone_limit_changes,json=ozoneLimitChanges,proto3" json:"ozone_limit_changes,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` DepositDelta string `protobuf:"bytes,4,opt,name=deposit_delta,json=depositDelta,proto3" json:"deposit_delta,omitempty"` CurrentDeposit string `protobuf:"bytes,5,opt,name=current_deposit,json=currentDeposit,proto3" json:"current_deposit,omitempty"` AvailableTokenBefore string `protobuf:"bytes,6,opt,name=available_token_before,json=availableTokenBefore,proto3" json:"available_token_before,omitempty"` AvailableTokenAfter string `protobuf:"bytes,7,opt,name=available_token_after,json=availableTokenAfter,proto3" json:"available_token_after,omitempty"` // contains filtered or unexported fields }
func (*ReqUpdatedDepositSP) Descriptor
deprecated
added in
v0.10.0
func (*ReqUpdatedDepositSP) Descriptor() ([]byte, []int)
Deprecated: Use ReqUpdatedDepositSP.ProtoReflect.Descriptor instead.
func (*ReqUpdatedDepositSP) GetAvailableTokenAfter ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetAvailableTokenAfter() string
func (*ReqUpdatedDepositSP) GetAvailableTokenBefore ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetAvailableTokenBefore() string
func (*ReqUpdatedDepositSP) GetCurrentDeposit ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetCurrentDeposit() string
func (*ReqUpdatedDepositSP) GetDepositDelta ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetDepositDelta() string
func (*ReqUpdatedDepositSP) GetOzoneLimitChanges ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetOzoneLimitChanges() string
func (*ReqUpdatedDepositSP) GetP2PAddress ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetP2PAddress() string
func (*ReqUpdatedDepositSP) GetTxHash ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) GetTxHash() string
func (*ReqUpdatedDepositSP) ProtoMessage ¶ added in v0.10.0
func (*ReqUpdatedDepositSP) ProtoMessage()
func (*ReqUpdatedDepositSP) ProtoReflect ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) ProtoReflect() protoreflect.Message
func (*ReqUpdatedDepositSP) Reset ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) Reset()
func (*ReqUpdatedDepositSP) String ¶ added in v0.10.0
func (x *ReqUpdatedDepositSP) String() string
type ReqUploadFile ¶
type ReqUploadFile struct { FileInfo *FileInfo `protobuf:"bytes,1,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"` Slices []*SliceHashAddr `protobuf:"bytes,2,rep,name=slices,proto3" json:"slices,omitempty"` MyAddress *PPBaseInfo `protobuf:"bytes,3,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` Signature *Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` DesiredTier uint32 `protobuf:"varint,5,opt,name=desired_tier,json=desiredTier,proto3" json:"desired_tier,omitempty"` AllowHigherTier bool `protobuf:"varint,6,opt,name=allow_higher_tier,json=allowHigherTier,proto3" json:"allow_higher_tier,omitempty"` ReqTime int64 `protobuf:"varint,7,opt,name=req_time,json=reqTime,proto3" json:"req_time,omitempty"` // contains filtered or unexported fields }
func (*ReqUploadFile) Descriptor
deprecated
func (*ReqUploadFile) Descriptor() ([]byte, []int)
Deprecated: Use ReqUploadFile.ProtoReflect.Descriptor instead.
func (*ReqUploadFile) GetAllowHigherTier ¶ added in v0.10.0
func (x *ReqUploadFile) GetAllowHigherTier() bool
func (*ReqUploadFile) GetDesiredTier ¶ added in v0.10.0
func (x *ReqUploadFile) GetDesiredTier() uint32
func (*ReqUploadFile) GetFileInfo ¶
func (x *ReqUploadFile) GetFileInfo() *FileInfo
func (*ReqUploadFile) GetMyAddress ¶
func (x *ReqUploadFile) GetMyAddress() *PPBaseInfo
func (*ReqUploadFile) GetReqTime ¶ added in v0.10.0
func (x *ReqUploadFile) GetReqTime() int64
func (*ReqUploadFile) GetSignature ¶ added in v0.10.0
func (x *ReqUploadFile) GetSignature() *Signature
func (*ReqUploadFile) GetSlices ¶ added in v0.10.0
func (x *ReqUploadFile) GetSlices() []*SliceHashAddr
func (*ReqUploadFile) ProtoMessage ¶
func (*ReqUploadFile) ProtoMessage()
func (*ReqUploadFile) ProtoReflect ¶
func (x *ReqUploadFile) ProtoReflect() protoreflect.Message
func (*ReqUploadFile) Reset ¶
func (x *ReqUploadFile) Reset()
func (*ReqUploadFile) String ¶
func (x *ReqUploadFile) String() string
type ReqUploadFileSlice ¶
type ReqUploadFileSlice struct { RspUploadFile *RspUploadFile `protobuf:"bytes,1,opt,name=rsp_upload_file,json=rspUploadFile,proto3" json:"rsp_upload_file,omitempty"` SliceNumber uint64 `protobuf:"varint,2,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` SliceHash string `protobuf:"bytes,3,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` PieceOffset *SliceOffset `protobuf:"bytes,5,opt,name=piece_offset,json=pieceOffset,proto3" json:"piece_offset,omitempty"` P2PAddress string `protobuf:"bytes,6,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,7,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
func (*ReqUploadFileSlice) Descriptor
deprecated
func (*ReqUploadFileSlice) Descriptor() ([]byte, []int)
Deprecated: Use ReqUploadFileSlice.ProtoReflect.Descriptor instead.
func (*ReqUploadFileSlice) GetData ¶
func (x *ReqUploadFileSlice) GetData() []byte
func (*ReqUploadFileSlice) GetP2PAddress ¶
func (x *ReqUploadFileSlice) GetP2PAddress() string
func (*ReqUploadFileSlice) GetPieceOffset ¶ added in v0.10.0
func (x *ReqUploadFileSlice) GetPieceOffset() *SliceOffset
func (*ReqUploadFileSlice) GetRspUploadFile ¶ added in v0.10.0
func (x *ReqUploadFileSlice) GetRspUploadFile() *RspUploadFile
func (*ReqUploadFileSlice) GetSliceHash ¶ added in v0.10.0
func (x *ReqUploadFileSlice) GetSliceHash() string
func (*ReqUploadFileSlice) GetSliceNumber ¶ added in v0.10.0
func (x *ReqUploadFileSlice) GetSliceNumber() uint64
func (*ReqUploadFileSlice) GetWalletAddress ¶
func (x *ReqUploadFileSlice) GetWalletAddress() string
func (*ReqUploadFileSlice) ProtoMessage ¶
func (*ReqUploadFileSlice) ProtoMessage()
func (*ReqUploadFileSlice) ProtoReflect ¶
func (x *ReqUploadFileSlice) ProtoReflect() protoreflect.Message
func (*ReqUploadFileSlice) Reset ¶
func (x *ReqUploadFileSlice) Reset()
func (*ReqUploadFileSlice) String ¶
func (x *ReqUploadFileSlice) String() string
type ReqUploadSlicesWrong ¶ added in v0.9.0
type ReqUploadSlicesWrong struct { FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` UploadType UploadType `protobuf:"varint,3,opt,name=upload_type,json=uploadType,proto3,enum=protos.UploadType" json:"upload_type,omitempty"` MyAddress *PPBaseInfo `protobuf:"bytes,4,opt,name=my_address,json=myAddress,proto3" json:"my_address,omitempty"` SpP2PAddress string `protobuf:"bytes,5,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` ExcludedDestinations []*PPBaseInfo `protobuf:"bytes,6,rep,name=excluded_destinations,json=excludedDestinations,proto3" json:"excluded_destinations,omitempty"` Slices []*SliceHashAddr `protobuf:"bytes,7,rep,name=slices,proto3" json:"slices,omitempty"` FailedSlices []bool `protobuf:"varint,8,rep,packed,name=failed_slices,json=failedSlices,proto3" json:"failed_slices,omitempty"` // contains filtered or unexported fields }
func (*ReqUploadSlicesWrong) Descriptor
deprecated
added in
v0.9.0
func (*ReqUploadSlicesWrong) Descriptor() ([]byte, []int)
Deprecated: Use ReqUploadSlicesWrong.ProtoReflect.Descriptor instead.
func (*ReqUploadSlicesWrong) GetExcludedDestinations ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetExcludedDestinations() []*PPBaseInfo
func (*ReqUploadSlicesWrong) GetFailedSlices ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetFailedSlices() []bool
func (*ReqUploadSlicesWrong) GetFileHash ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetFileHash() string
func (*ReqUploadSlicesWrong) GetMyAddress ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetMyAddress() *PPBaseInfo
func (*ReqUploadSlicesWrong) GetSlices ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetSlices() []*SliceHashAddr
func (*ReqUploadSlicesWrong) GetSpP2PAddress ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetSpP2PAddress() string
func (*ReqUploadSlicesWrong) GetTaskId ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetTaskId() string
func (*ReqUploadSlicesWrong) GetUploadType ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) GetUploadType() UploadType
func (*ReqUploadSlicesWrong) ProtoMessage ¶ added in v0.9.0
func (*ReqUploadSlicesWrong) ProtoMessage()
func (*ReqUploadSlicesWrong) ProtoReflect ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) ProtoReflect() protoreflect.Message
func (*ReqUploadSlicesWrong) Reset ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) Reset()
func (*ReqUploadSlicesWrong) String ¶ added in v0.9.0
func (x *ReqUploadSlicesWrong) String() string
type ReqWithdrawnDepositSP ¶ added in v0.10.0
type ReqWithdrawnDepositSP struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` UnbondingMatureTime string `protobuf:"bytes,2,opt,name=unbonding_mature_time,json=unbondingMatureTime,proto3" json:"unbonding_mature_time,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*ReqWithdrawnDepositSP) Descriptor
deprecated
added in
v0.10.0
func (*ReqWithdrawnDepositSP) Descriptor() ([]byte, []int)
Deprecated: Use ReqWithdrawnDepositSP.ProtoReflect.Descriptor instead.
func (*ReqWithdrawnDepositSP) GetP2PAddress ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) GetP2PAddress() string
func (*ReqWithdrawnDepositSP) GetTxHash ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) GetTxHash() string
func (*ReqWithdrawnDepositSP) GetUnbondingMatureTime ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) GetUnbondingMatureTime() string
func (*ReqWithdrawnDepositSP) ProtoMessage ¶ added in v0.10.0
func (*ReqWithdrawnDepositSP) ProtoMessage()
func (*ReqWithdrawnDepositSP) ProtoReflect ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) ProtoReflect() protoreflect.Message
func (*ReqWithdrawnDepositSP) Reset ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) Reset()
func (*ReqWithdrawnDepositSP) String ¶ added in v0.10.0
func (x *ReqWithdrawnDepositSP) String() string
type Result ¶
type Result struct { State ResultState `protobuf:"varint,1,opt,name=state,proto3,enum=protos.ResultState" json:"state,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetState ¶
func (x *Result) GetState() ResultState
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type ResultState ¶
type ResultState int32
const ( ResultState_RES_SUCCESS ResultState = 0 ResultState_RES_FAIL ResultState = 1 )
func (ResultState) Descriptor ¶
func (ResultState) Descriptor() protoreflect.EnumDescriptor
func (ResultState) Enum ¶
func (x ResultState) Enum() *ResultState
func (ResultState) EnumDescriptor
deprecated
func (ResultState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResultState.Descriptor instead.
func (ResultState) Number ¶
func (x ResultState) Number() protoreflect.EnumNumber
func (ResultState) String ¶
func (x ResultState) String() string
func (ResultState) Type ¶
func (ResultState) Type() protoreflect.EnumType
type RspActivatePP ¶
type RspActivatePP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` ActivationState uint32 `protobuf:"varint,2,opt,name=activation_state,json=activationState,proto3" json:"activation_state,omitempty"` Tx []byte `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RspActivatePP) Descriptor
deprecated
func (*RspActivatePP) Descriptor() ([]byte, []int)
Deprecated: Use RspActivatePP.ProtoReflect.Descriptor instead.
func (*RspActivatePP) GetActivationState ¶
func (x *RspActivatePP) GetActivationState() uint32
func (*RspActivatePP) GetResult ¶
func (x *RspActivatePP) GetResult() *Result
func (*RspActivatePP) GetTx ¶
func (x *RspActivatePP) GetTx() []byte
func (*RspActivatePP) ProtoMessage ¶
func (*RspActivatePP) ProtoMessage()
func (*RspActivatePP) ProtoReflect ¶
func (x *RspActivatePP) ProtoReflect() protoreflect.Message
func (*RspActivatePP) Reset ¶
func (x *RspActivatePP) Reset()
func (*RspActivatePP) String ¶
func (x *RspActivatePP) String() string
type RspActivatedPP ¶
type RspActivatedPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspActivatedPP) Descriptor
deprecated
func (*RspActivatedPP) Descriptor() ([]byte, []int)
Deprecated: Use RspActivatedPP.ProtoReflect.Descriptor instead.
func (*RspActivatedPP) GetResult ¶
func (x *RspActivatedPP) GetResult() *Result
func (*RspActivatedPP) ProtoMessage ¶
func (*RspActivatedPP) ProtoMessage()
func (*RspActivatedPP) ProtoReflect ¶
func (x *RspActivatedPP) ProtoReflect() protoreflect.Message
func (*RspActivatedPP) Reset ¶
func (x *RspActivatedPP) Reset()
func (*RspActivatedPP) String ¶
func (x *RspActivatedPP) String() string
type RspBackupFileSlice ¶ added in v0.10.0
type RspBackupFileSlice struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Slice *SliceHashAddr `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` SliceHash string `protobuf:"bytes,4,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` P2PAddress string `protobuf:"bytes,5,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,6,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` SliceSize uint64 `protobuf:"varint,7,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` TaskId string `protobuf:"bytes,8,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SpP2PAddress string `protobuf:"bytes,9,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` // contains filtered or unexported fields }
func (*RspBackupFileSlice) Descriptor
deprecated
added in
v0.10.0
func (*RspBackupFileSlice) Descriptor() ([]byte, []int)
Deprecated: Use RspBackupFileSlice.ProtoReflect.Descriptor instead.
func (*RspBackupFileSlice) GetFileHash ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetFileHash() string
func (*RspBackupFileSlice) GetP2PAddress ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetP2PAddress() string
func (*RspBackupFileSlice) GetResult ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetResult() *Result
func (*RspBackupFileSlice) GetSlice ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetSlice() *SliceHashAddr
func (*RspBackupFileSlice) GetSliceHash ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetSliceHash() string
func (*RspBackupFileSlice) GetSliceSize ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetSliceSize() uint64
func (*RspBackupFileSlice) GetSpP2PAddress ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetSpP2PAddress() string
func (*RspBackupFileSlice) GetTaskId ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetTaskId() string
func (*RspBackupFileSlice) GetWalletAddress ¶ added in v0.10.0
func (x *RspBackupFileSlice) GetWalletAddress() string
func (*RspBackupFileSlice) ProtoMessage ¶ added in v0.10.0
func (*RspBackupFileSlice) ProtoMessage()
func (*RspBackupFileSlice) ProtoReflect ¶ added in v0.10.0
func (x *RspBackupFileSlice) ProtoReflect() protoreflect.Message
func (*RspBackupFileSlice) Reset ¶ added in v0.10.0
func (x *RspBackupFileSlice) Reset()
func (*RspBackupFileSlice) String ¶ added in v0.10.0
func (x *RspBackupFileSlice) String() string
type RspBackupStatus ¶ added in v0.8.0
type RspBackupStatus struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Replicas uint32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"` DeleteOriginTmp bool `protobuf:"varint,5,opt,name=delete_origin_tmp,json=deleteOriginTmp,proto3" json:"delete_origin_tmp,omitempty"` SpP2PAddress string `protobuf:"bytes,6,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` Slices []*SliceHashAddr `protobuf:"bytes,7,rep,name=slices,proto3" json:"slices,omitempty"` NodeSign []byte `protobuf:"bytes,8,opt,name=node_sign,json=nodeSign,proto3" json:"node_sign,omitempty"` TimeStamp int64 `protobuf:"varint,9,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` // contains filtered or unexported fields }
func (*RspBackupStatus) Descriptor
deprecated
added in
v0.8.0
func (*RspBackupStatus) Descriptor() ([]byte, []int)
Deprecated: Use RspBackupStatus.ProtoReflect.Descriptor instead.
func (*RspBackupStatus) GetDeleteOriginTmp ¶ added in v0.8.0
func (x *RspBackupStatus) GetDeleteOriginTmp() bool
func (*RspBackupStatus) GetFileHash ¶ added in v0.8.0
func (x *RspBackupStatus) GetFileHash() string
func (*RspBackupStatus) GetNodeSign ¶ added in v0.10.0
func (x *RspBackupStatus) GetNodeSign() []byte
func (*RspBackupStatus) GetReplicas ¶ added in v0.8.0
func (x *RspBackupStatus) GetReplicas() uint32
func (*RspBackupStatus) GetResult ¶ added in v0.8.0
func (x *RspBackupStatus) GetResult() *Result
func (*RspBackupStatus) GetSlices ¶ added in v0.10.0
func (x *RspBackupStatus) GetSlices() []*SliceHashAddr
func (*RspBackupStatus) GetSpP2PAddress ¶ added in v0.8.0
func (x *RspBackupStatus) GetSpP2PAddress() string
func (*RspBackupStatus) GetTaskId ¶ added in v0.8.0
func (x *RspBackupStatus) GetTaskId() string
func (*RspBackupStatus) GetTimeStamp ¶ added in v0.10.0
func (x *RspBackupStatus) GetTimeStamp() int64
func (*RspBackupStatus) ProtoMessage ¶ added in v0.8.0
func (*RspBackupStatus) ProtoMessage()
func (*RspBackupStatus) ProtoReflect ¶ added in v0.8.0
func (x *RspBackupStatus) ProtoReflect() protoreflect.Message
func (*RspBackupStatus) Reset ¶ added in v0.8.0
func (x *RspBackupStatus) Reset()
func (*RspBackupStatus) String ¶ added in v0.8.0
func (x *RspBackupStatus) String() string
type RspBadVersion ¶ added in v0.7.0
type RspBadVersion struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` MinimumVersion int32 `protobuf:"varint,2,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"` Command uint32 `protobuf:"varint,3,opt,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
func (*RspBadVersion) Descriptor
deprecated
added in
v0.7.0
func (*RspBadVersion) Descriptor() ([]byte, []int)
Deprecated: Use RspBadVersion.ProtoReflect.Descriptor instead.
func (*RspBadVersion) GetCommand ¶ added in v0.7.0
func (x *RspBadVersion) GetCommand() uint32
func (*RspBadVersion) GetMinimumVersion ¶ added in v0.7.0
func (x *RspBadVersion) GetMinimumVersion() int32
func (*RspBadVersion) GetVersion ¶ added in v0.7.0
func (x *RspBadVersion) GetVersion() int32
func (*RspBadVersion) ProtoMessage ¶ added in v0.7.0
func (*RspBadVersion) ProtoMessage()
func (*RspBadVersion) ProtoReflect ¶ added in v0.7.0
func (x *RspBadVersion) ProtoReflect() protoreflect.Message
func (*RspBadVersion) Reset ¶ added in v0.7.0
func (x *RspBadVersion) Reset()
func (*RspBadVersion) String ¶ added in v0.7.0
func (x *RspBadVersion) String() string
type RspBalance ¶
type RspBalance struct { Balance float32 `protobuf:"fixed32,1,opt,name=balance,proto3" json:"balance,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RspBalance) Descriptor
deprecated
func (*RspBalance) Descriptor() ([]byte, []int)
Deprecated: Use RspBalance.ProtoReflect.Descriptor instead.
func (*RspBalance) GetBalance ¶
func (x *RspBalance) GetBalance() float32
func (*RspBalance) GetCode ¶
func (x *RspBalance) GetCode() int64
func (*RspBalance) GetId ¶
func (x *RspBalance) GetId() string
func (*RspBalance) ProtoMessage ¶
func (*RspBalance) ProtoMessage()
func (*RspBalance) ProtoReflect ¶
func (x *RspBalance) ProtoReflect() protoreflect.Message
func (*RspBalance) Reset ¶
func (x *RspBalance) Reset()
func (*RspBalance) String ¶
func (x *RspBalance) String() string
type RspBlockCheck ¶
type RspBlockCheck struct { BlockList []*BlockCheckInfo `protobuf:"bytes,1,rep,name=block_list,json=blockList,proto3" json:"block_list,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RspBlockCheck) Descriptor
deprecated
func (*RspBlockCheck) Descriptor() ([]byte, []int)
Deprecated: Use RspBlockCheck.ProtoReflect.Descriptor instead.
func (*RspBlockCheck) GetBlockList ¶
func (x *RspBlockCheck) GetBlockList() []*BlockCheckInfo
func (*RspBlockCheck) GetCode ¶
func (x *RspBlockCheck) GetCode() int64
func (*RspBlockCheck) GetId ¶
func (x *RspBlockCheck) GetId() string
func (*RspBlockCheck) ProtoMessage ¶
func (*RspBlockCheck) ProtoMessage()
func (*RspBlockCheck) ProtoReflect ¶
func (x *RspBlockCheck) ProtoReflect() protoreflect.Message
func (*RspBlockCheck) Reset ¶
func (x *RspBlockCheck) Reset()
func (*RspBlockCheck) String ¶
func (x *RspBlockCheck) String() string
type RspBlockInfo ¶
type RspBlockInfo struct { BlockInfo []byte `protobuf:"bytes,1,opt,name=block_info,json=blockInfo,proto3" json:"block_info,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RspBlockInfo) Descriptor
deprecated
func (*RspBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspBlockInfo.ProtoReflect.Descriptor instead.
func (*RspBlockInfo) GetBlockInfo ¶
func (x *RspBlockInfo) GetBlockInfo() []byte
func (*RspBlockInfo) GetCode ¶
func (x *RspBlockInfo) GetCode() int64
func (*RspBlockInfo) GetId ¶
func (x *RspBlockInfo) GetId() string
func (*RspBlockInfo) ProtoMessage ¶
func (*RspBlockInfo) ProtoMessage()
func (*RspBlockInfo) ProtoReflect ¶
func (x *RspBlockInfo) ProtoReflect() protoreflect.Message
func (*RspBlockInfo) Reset ¶
func (x *RspBlockInfo) Reset()
func (*RspBlockInfo) String ¶
func (x *RspBlockInfo) String() string
type RspClearExpiredShareLinks ¶ added in v0.10.0
type RspClearExpiredShareLinks struct { // contains filtered or unexported fields }
func (*RspClearExpiredShareLinks) Descriptor
deprecated
added in
v0.10.0
func (*RspClearExpiredShareLinks) Descriptor() ([]byte, []int)
Deprecated: Use RspClearExpiredShareLinks.ProtoReflect.Descriptor instead.
func (*RspClearExpiredShareLinks) GetCleared ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) GetCleared() uint32
func (*RspClearExpiredShareLinks) GetNewTotal ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) GetNewTotal() uint32
func (*RspClearExpiredShareLinks) GetResult ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) GetResult() *Result
func (*RspClearExpiredShareLinks) GetWalletAddress ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) GetWalletAddress() string
func (*RspClearExpiredShareLinks) ProtoMessage ¶ added in v0.10.0
func (*RspClearExpiredShareLinks) ProtoMessage()
func (*RspClearExpiredShareLinks) ProtoReflect ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) ProtoReflect() protoreflect.Message
func (*RspClearExpiredShareLinks) Reset ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) Reset()
func (*RspClearExpiredShareLinks) String ¶ added in v0.10.0
func (x *RspClearExpiredShareLinks) String() string
type RspDeactivatePP ¶
type RspDeactivatePP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` ActivationState uint32 `protobuf:"varint,2,opt,name=activation_state,json=activationState,proto3" json:"activation_state,omitempty"` Tx []byte `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RspDeactivatePP) Descriptor
deprecated
func (*RspDeactivatePP) Descriptor() ([]byte, []int)
Deprecated: Use RspDeactivatePP.ProtoReflect.Descriptor instead.
func (*RspDeactivatePP) GetActivationState ¶
func (x *RspDeactivatePP) GetActivationState() uint32
func (*RspDeactivatePP) GetResult ¶
func (x *RspDeactivatePP) GetResult() *Result
func (*RspDeactivatePP) GetTx ¶
func (x *RspDeactivatePP) GetTx() []byte
func (*RspDeactivatePP) ProtoMessage ¶
func (*RspDeactivatePP) ProtoMessage()
func (*RspDeactivatePP) ProtoReflect ¶
func (x *RspDeactivatePP) ProtoReflect() protoreflect.Message
func (*RspDeactivatePP) Reset ¶
func (x *RspDeactivatePP) Reset()
func (*RspDeactivatePP) String ¶
func (x *RspDeactivatePP) String() string
type RspDeactivatedSP ¶ added in v0.5.0
type RspDeactivatedSP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspDeactivatedSP) Descriptor
deprecated
added in
v0.5.0
func (*RspDeactivatedSP) Descriptor() ([]byte, []int)
Deprecated: Use RspDeactivatedSP.ProtoReflect.Descriptor instead.
func (*RspDeactivatedSP) GetResult ¶ added in v0.5.0
func (x *RspDeactivatedSP) GetResult() *Result
func (*RspDeactivatedSP) ProtoMessage ¶ added in v0.5.0
func (*RspDeactivatedSP) ProtoMessage()
func (*RspDeactivatedSP) ProtoReflect ¶ added in v0.5.0
func (x *RspDeactivatedSP) ProtoReflect() protoreflect.Message
func (*RspDeactivatedSP) Reset ¶ added in v0.5.0
func (x *RspDeactivatedSP) Reset()
func (*RspDeactivatedSP) String ¶ added in v0.5.0
func (x *RspDeactivatedSP) String() string
type RspDeleteFile ¶
type RspDeleteFile struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Result *Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspDeleteFile) Descriptor
deprecated
func (*RspDeleteFile) Descriptor() ([]byte, []int)
Deprecated: Use RspDeleteFile.ProtoReflect.Descriptor instead.
func (*RspDeleteFile) GetFileHash ¶
func (x *RspDeleteFile) GetFileHash() string
func (*RspDeleteFile) GetP2PAddress ¶
func (x *RspDeleteFile) GetP2PAddress() string
func (*RspDeleteFile) GetResult ¶
func (x *RspDeleteFile) GetResult() *Result
func (*RspDeleteFile) GetWalletAddress ¶
func (x *RspDeleteFile) GetWalletAddress() string
func (*RspDeleteFile) ProtoMessage ¶
func (*RspDeleteFile) ProtoMessage()
func (*RspDeleteFile) ProtoReflect ¶
func (x *RspDeleteFile) ProtoReflect() protoreflect.Message
func (*RspDeleteFile) Reset ¶
func (x *RspDeleteFile) Reset()
func (*RspDeleteFile) String ¶
func (x *RspDeleteFile) String() string
type RspDeleteShare ¶
type RspDeleteShare struct { // contains filtered or unexported fields }
func (*RspDeleteShare) Descriptor
deprecated
func (*RspDeleteShare) Descriptor() ([]byte, []int)
Deprecated: Use RspDeleteShare.ProtoReflect.Descriptor instead.
func (*RspDeleteShare) GetP2PAddress ¶
func (x *RspDeleteShare) GetP2PAddress() string
func (*RspDeleteShare) GetResult ¶
func (x *RspDeleteShare) GetResult() *Result
func (*RspDeleteShare) GetShareId ¶
func (x *RspDeleteShare) GetShareId() string
func (*RspDeleteShare) GetWalletAddress ¶
func (x *RspDeleteShare) GetWalletAddress() string
func (*RspDeleteShare) ProtoMessage ¶
func (*RspDeleteShare) ProtoMessage()
func (*RspDeleteShare) ProtoReflect ¶
func (x *RspDeleteShare) ProtoReflect() protoreflect.Message
func (*RspDeleteShare) Reset ¶
func (x *RspDeleteShare) Reset()
func (*RspDeleteShare) String ¶
func (x *RspDeleteShare) String() string
type RspDownloadSlice ¶
type RspDownloadSlice struct { SliceInfo *SliceOffsetInfo `protobuf:"bytes,1,opt,name=slice_info,json=sliceInfo,proto3" json:"slice_info,omitempty"` FileCrc uint32 `protobuf:"varint,2,opt,name=file_crc,json=fileCrc,proto3" json:"file_crc,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` P2PAddress string `protobuf:"bytes,5,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,6,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` TaskId string `protobuf:"bytes,7,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SliceSize uint64 `protobuf:"varint,8,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` // is the encrypted slice size if the file is encrypted RawSliceSize uint64 `protobuf:"varint,9,opt,name=raw_slice_size,json=rawSliceSize,proto3" json:"raw_slice_size,omitempty"` NeedReport bool `protobuf:"varint,10,opt,name=needReport,proto3" json:"needReport,omitempty"` // used for passagePP whether the last slice SavePath string `protobuf:"bytes,11,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` Result *Result `protobuf:"bytes,12,opt,name=result,proto3" json:"result,omitempty"` IsEncrypted bool `protobuf:"varint,13,opt,name=is_encrypted,json=isEncrypted,proto3" json:"is_encrypted,omitempty"` SpP2PAddress string `protobuf:"bytes,14,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` IsVideoCaching bool `protobuf:"varint,15,opt,name=is_video_caching,json=isVideoCaching,proto3" json:"is_video_caching,omitempty"` StorageP2PAddress string `protobuf:"bytes,16,opt,name=storage_p2p_address,json=storageP2pAddress,proto3" json:"storage_p2p_address,omitempty"` SliceNumber uint64 `protobuf:"varint,17,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` // contains filtered or unexported fields }
func (*RspDownloadSlice) Descriptor
deprecated
func (*RspDownloadSlice) Descriptor() ([]byte, []int)
Deprecated: Use RspDownloadSlice.ProtoReflect.Descriptor instead.
func (*RspDownloadSlice) GetData ¶
func (x *RspDownloadSlice) GetData() []byte
func (*RspDownloadSlice) GetFileCrc ¶
func (x *RspDownloadSlice) GetFileCrc() uint32
func (*RspDownloadSlice) GetFileHash ¶
func (x *RspDownloadSlice) GetFileHash() string
func (*RspDownloadSlice) GetIsEncrypted ¶ added in v0.5.0
func (x *RspDownloadSlice) GetIsEncrypted() bool
func (*RspDownloadSlice) GetIsVideoCaching ¶ added in v0.6.0
func (x *RspDownloadSlice) GetIsVideoCaching() bool
func (*RspDownloadSlice) GetNeedReport ¶
func (x *RspDownloadSlice) GetNeedReport() bool
func (*RspDownloadSlice) GetP2PAddress ¶
func (x *RspDownloadSlice) GetP2PAddress() string
func (*RspDownloadSlice) GetRawSliceSize ¶ added in v0.5.0
func (x *RspDownloadSlice) GetRawSliceSize() uint64
func (*RspDownloadSlice) GetResult ¶
func (x *RspDownloadSlice) GetResult() *Result
func (*RspDownloadSlice) GetSavePath ¶
func (x *RspDownloadSlice) GetSavePath() string
func (*RspDownloadSlice) GetSliceInfo ¶
func (x *RspDownloadSlice) GetSliceInfo() *SliceOffsetInfo
func (*RspDownloadSlice) GetSliceNumber ¶ added in v0.9.0
func (x *RspDownloadSlice) GetSliceNumber() uint64
func (*RspDownloadSlice) GetSliceSize ¶
func (x *RspDownloadSlice) GetSliceSize() uint64
func (*RspDownloadSlice) GetSpP2PAddress ¶ added in v0.5.0
func (x *RspDownloadSlice) GetSpP2PAddress() string
func (*RspDownloadSlice) GetStorageP2PAddress ¶ added in v0.9.0
func (x *RspDownloadSlice) GetStorageP2PAddress() string
func (*RspDownloadSlice) GetTaskId ¶
func (x *RspDownloadSlice) GetTaskId() string
func (*RspDownloadSlice) GetWalletAddress ¶
func (x *RspDownloadSlice) GetWalletAddress() string
func (*RspDownloadSlice) ProtoMessage ¶
func (*RspDownloadSlice) ProtoMessage()
func (*RspDownloadSlice) ProtoReflect ¶
func (x *RspDownloadSlice) ProtoReflect() protoreflect.Message
func (*RspDownloadSlice) Reset ¶
func (x *RspDownloadSlice) Reset()
func (*RspDownloadSlice) String ¶
func (x *RspDownloadSlice) String() string
type RspDownloadSlicePause ¶
type RspDownloadSlicePause struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Result *Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspDownloadSlicePause) Descriptor
deprecated
func (*RspDownloadSlicePause) Descriptor() ([]byte, []int)
Deprecated: Use RspDownloadSlicePause.ProtoReflect.Descriptor instead.
func (*RspDownloadSlicePause) GetFileHash ¶
func (x *RspDownloadSlicePause) GetFileHash() string
func (*RspDownloadSlicePause) GetP2PAddress ¶
func (x *RspDownloadSlicePause) GetP2PAddress() string
func (*RspDownloadSlicePause) GetResult ¶
func (x *RspDownloadSlicePause) GetResult() *Result
func (*RspDownloadSlicePause) GetWalletAddress ¶
func (x *RspDownloadSlicePause) GetWalletAddress() string
func (*RspDownloadSlicePause) ProtoMessage ¶
func (*RspDownloadSlicePause) ProtoMessage()
func (*RspDownloadSlicePause) ProtoReflect ¶
func (x *RspDownloadSlicePause) ProtoReflect() protoreflect.Message
func (*RspDownloadSlicePause) Reset ¶
func (x *RspDownloadSlicePause) Reset()
func (*RspDownloadSlicePause) String ¶
func (x *RspDownloadSlicePause) String() string
type RspDownloadTaskInfo ¶
type RspDownloadTaskInfo struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SliceSize uint64 `protobuf:"varint,2,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` SliceHash string `protobuf:"bytes,3,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` SliceNumber uint64 `protobuf:"varint,4,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` StorageP2PAddress string `protobuf:"bytes,5,opt,name=storage_p2p_address,json=storageP2pAddress,proto3" json:"storage_p2p_address,omitempty"` P2PAddressList []string `protobuf:"bytes,6,rep,name=p2p_address_list,json=p2pAddressList,proto3" json:"p2p_address_list,omitempty"` Time uint64 `protobuf:"varint,7,opt,name=time,proto3" json:"time,omitempty"` Result *Result `protobuf:"bytes,8,opt,name=result,proto3" json:"result,omitempty"` Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RspDownloadTaskInfo) Descriptor
deprecated
func (*RspDownloadTaskInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspDownloadTaskInfo.ProtoReflect.Descriptor instead.
func (*RspDownloadTaskInfo) GetId ¶
func (x *RspDownloadTaskInfo) GetId() string
func (*RspDownloadTaskInfo) GetP2PAddressList ¶
func (x *RspDownloadTaskInfo) GetP2PAddressList() []string
func (*RspDownloadTaskInfo) GetResult ¶
func (x *RspDownloadTaskInfo) GetResult() *Result
func (*RspDownloadTaskInfo) GetSliceHash ¶
func (x *RspDownloadTaskInfo) GetSliceHash() string
func (*RspDownloadTaskInfo) GetSliceNumber ¶
func (x *RspDownloadTaskInfo) GetSliceNumber() uint64
func (*RspDownloadTaskInfo) GetSliceSize ¶
func (x *RspDownloadTaskInfo) GetSliceSize() uint64
func (*RspDownloadTaskInfo) GetStorageP2PAddress ¶
func (x *RspDownloadTaskInfo) GetStorageP2PAddress() string
func (*RspDownloadTaskInfo) GetTaskId ¶
func (x *RspDownloadTaskInfo) GetTaskId() string
func (*RspDownloadTaskInfo) GetTime ¶
func (x *RspDownloadTaskInfo) GetTime() uint64
func (*RspDownloadTaskInfo) ProtoMessage ¶
func (*RspDownloadTaskInfo) ProtoMessage()
func (*RspDownloadTaskInfo) ProtoReflect ¶
func (x *RspDownloadTaskInfo) ProtoReflect() protoreflect.Message
func (*RspDownloadTaskInfo) Reset ¶
func (x *RspDownloadTaskInfo) Reset()
func (*RspDownloadTaskInfo) String ¶
func (x *RspDownloadTaskInfo) String() string
type RspFileReplicaInfo ¶ added in v0.10.0
type RspFileReplicaInfo struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SpP2PAddress string `protobuf:"bytes,2,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` Replicas uint32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"` ExpectedReplicas uint32 `protobuf:"varint,5,opt,name=expected_replicas,json=expectedReplicas,proto3" json:"expected_replicas,omitempty"` // contains filtered or unexported fields }
func (*RspFileReplicaInfo) Descriptor
deprecated
added in
v0.10.0
func (*RspFileReplicaInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspFileReplicaInfo.ProtoReflect.Descriptor instead.
func (*RspFileReplicaInfo) GetExpectedReplicas ¶ added in v0.10.0
func (x *RspFileReplicaInfo) GetExpectedReplicas() uint32
func (*RspFileReplicaInfo) GetFileHash ¶ added in v0.10.0
func (x *RspFileReplicaInfo) GetFileHash() string
func (*RspFileReplicaInfo) GetReplicas ¶ added in v0.10.0
func (x *RspFileReplicaInfo) GetReplicas() uint32
func (*RspFileReplicaInfo) GetResult ¶ added in v0.10.0
func (x *RspFileReplicaInfo) GetResult() *Result
func (*RspFileReplicaInfo) GetSpP2PAddress ¶ added in v0.10.0
func (x *RspFileReplicaInfo) GetSpP2PAddress() string
func (*RspFileReplicaInfo) ProtoMessage ¶ added in v0.10.0
func (*RspFileReplicaInfo) ProtoMessage()
func (*RspFileReplicaInfo) ProtoReflect ¶ added in v0.10.0
func (x *RspFileReplicaInfo) ProtoReflect() protoreflect.Message
func (*RspFileReplicaInfo) Reset ¶ added in v0.10.0
func (x *RspFileReplicaInfo) Reset()
func (*RspFileReplicaInfo) String ¶ added in v0.10.0
func (x *RspFileReplicaInfo) String() string
type RspFileStatus ¶ added in v0.10.0
type RspFileStatus struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` State FileUploadState `protobuf:"varint,3,opt,name=state,proto3,enum=protos.FileUploadState" json:"state,omitempty"` UserHasFile bool `protobuf:"varint,4,opt,name=user_has_file,json=userHasFile,proto3" json:"user_has_file,omitempty"` Replicas uint32 `protobuf:"varint,5,opt,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
func (*RspFileStatus) Descriptor
deprecated
added in
v0.10.0
func (*RspFileStatus) Descriptor() ([]byte, []int)
Deprecated: Use RspFileStatus.ProtoReflect.Descriptor instead.
func (*RspFileStatus) GetFileHash ¶ added in v0.10.0
func (x *RspFileStatus) GetFileHash() string
func (*RspFileStatus) GetReplicas ¶ added in v0.10.0
func (x *RspFileStatus) GetReplicas() uint32
func (*RspFileStatus) GetResult ¶ added in v0.10.0
func (x *RspFileStatus) GetResult() *Result
func (*RspFileStatus) GetState ¶ added in v0.10.0
func (x *RspFileStatus) GetState() FileUploadState
func (*RspFileStatus) GetUserHasFile ¶ added in v0.10.0
func (x *RspFileStatus) GetUserHasFile() bool
func (*RspFileStatus) ProtoMessage ¶ added in v0.10.0
func (*RspFileStatus) ProtoMessage()
func (*RspFileStatus) ProtoReflect ¶ added in v0.10.0
func (x *RspFileStatus) ProtoReflect() protoreflect.Message
func (*RspFileStatus) Reset ¶ added in v0.10.0
func (x *RspFileStatus) Reset()
func (*RspFileStatus) String ¶ added in v0.10.0
func (x *RspFileStatus) String() string
type RspFileStorageInfo ¶
type RspFileStorageInfo struct { VisitCer string `protobuf:"bytes,1,opt,name=visit_cer,json=visitCer,proto3" json:"visit_cer,omitempty"` P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,3,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` SliceInfo []*DownloadSliceInfo `protobuf:"bytes,4,rep,name=slice_info,json=sliceInfo,proto3" json:"slice_info,omitempty"` FileHash string `protobuf:"bytes,5,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` FileName string `protobuf:"bytes,6,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Result *Result `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` ReqId string `protobuf:"bytes,8,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` SavePath string `protobuf:"bytes,9,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` FileSize uint64 `protobuf:"varint,10,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` RestAddress string `protobuf:"bytes,11,opt,name=rest_address,json=restAddress,proto3" json:"rest_address,omitempty"` NodeSign []byte `protobuf:"bytes,12,opt,name=node_sign,json=nodeSign,proto3" json:"node_sign,omitempty"` //sp signature SpP2PAddress string `protobuf:"bytes,13,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` EncryptionTag string `protobuf:"bytes,14,opt,name=encryption_tag,json=encryptionTag,proto3" json:"encryption_tag,omitempty"` TaskId string `protobuf:"bytes,15,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` TimeStamp int64 `protobuf:"varint,16,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` // contains filtered or unexported fields }
func (*RspFileStorageInfo) Descriptor
deprecated
func (*RspFileStorageInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspFileStorageInfo.ProtoReflect.Descriptor instead.
func (*RspFileStorageInfo) GetEncryptionTag ¶ added in v0.5.0
func (x *RspFileStorageInfo) GetEncryptionTag() string
func (*RspFileStorageInfo) GetFileHash ¶
func (x *RspFileStorageInfo) GetFileHash() string
func (*RspFileStorageInfo) GetFileName ¶
func (x *RspFileStorageInfo) GetFileName() string
func (*RspFileStorageInfo) GetFileSize ¶
func (x *RspFileStorageInfo) GetFileSize() uint64
func (*RspFileStorageInfo) GetNodeSign ¶ added in v0.9.0
func (x *RspFileStorageInfo) GetNodeSign() []byte
func (*RspFileStorageInfo) GetP2PAddress ¶
func (x *RspFileStorageInfo) GetP2PAddress() string
func (*RspFileStorageInfo) GetReqId ¶
func (x *RspFileStorageInfo) GetReqId() string
func (*RspFileStorageInfo) GetRestAddress ¶
func (x *RspFileStorageInfo) GetRestAddress() string
func (*RspFileStorageInfo) GetResult ¶
func (x *RspFileStorageInfo) GetResult() *Result
func (*RspFileStorageInfo) GetSavePath ¶
func (x *RspFileStorageInfo) GetSavePath() string
func (*RspFileStorageInfo) GetSliceInfo ¶
func (x *RspFileStorageInfo) GetSliceInfo() []*DownloadSliceInfo
func (*RspFileStorageInfo) GetSpP2PAddress ¶
func (x *RspFileStorageInfo) GetSpP2PAddress() string
func (*RspFileStorageInfo) GetTaskId ¶ added in v0.10.0
func (x *RspFileStorageInfo) GetTaskId() string
func (*RspFileStorageInfo) GetTimeStamp ¶ added in v0.10.0
func (x *RspFileStorageInfo) GetTimeStamp() int64
func (*RspFileStorageInfo) GetVisitCer ¶
func (x *RspFileStorageInfo) GetVisitCer() string
func (*RspFileStorageInfo) GetWalletAddress ¶
func (x *RspFileStorageInfo) GetWalletAddress() string
func (*RspFileStorageInfo) ProtoMessage ¶
func (*RspFileStorageInfo) ProtoMessage()
func (*RspFileStorageInfo) ProtoReflect ¶
func (x *RspFileStorageInfo) ProtoReflect() protoreflect.Message
func (*RspFileStorageInfo) Reset ¶
func (x *RspFileStorageInfo) Reset()
func (*RspFileStorageInfo) String ¶
func (x *RspFileStorageInfo) String() string
type RspFindMyFileList ¶
type RspFindMyFileList struct { FileInfo []*FileInfo `protobuf:"bytes,1,rep,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"` P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,3,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` TotalFileNumber uint64 `protobuf:"varint,4,opt,name=total_file_number,json=totalFileNumber,proto3" json:"total_file_number,omitempty"` PageId uint64 `protobuf:"varint,5,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` Result *Result `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspFindMyFileList) Descriptor
deprecated
func (*RspFindMyFileList) Descriptor() ([]byte, []int)
Deprecated: Use RspFindMyFileList.ProtoReflect.Descriptor instead.
func (*RspFindMyFileList) GetFileInfo ¶
func (x *RspFindMyFileList) GetFileInfo() []*FileInfo
func (*RspFindMyFileList) GetP2PAddress ¶
func (x *RspFindMyFileList) GetP2PAddress() string
func (*RspFindMyFileList) GetPageId ¶ added in v0.9.0
func (x *RspFindMyFileList) GetPageId() uint64
func (*RspFindMyFileList) GetResult ¶
func (x *RspFindMyFileList) GetResult() *Result
func (*RspFindMyFileList) GetTotalFileNumber ¶ added in v0.9.0
func (x *RspFindMyFileList) GetTotalFileNumber() uint64
func (*RspFindMyFileList) GetWalletAddress ¶
func (x *RspFindMyFileList) GetWalletAddress() string
func (*RspFindMyFileList) ProtoMessage ¶
func (*RspFindMyFileList) ProtoMessage()
func (*RspFindMyFileList) ProtoReflect ¶
func (x *RspFindMyFileList) ProtoReflect() protoreflect.Message
func (*RspFindMyFileList) Reset ¶
func (x *RspFindMyFileList) Reset()
func (*RspFindMyFileList) String ¶
func (x *RspFindMyFileList) String() string
type RspGetHDInfo ¶
type RspGetHDInfo struct { DiskSize int64 `protobuf:"varint,1,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` DiskFree int64 `protobuf:"varint,2,opt,name=disk_free,json=diskFree,proto3" json:"disk_free,omitempty"` P2PAddress string `protobuf:"bytes,3,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` WalletAddress string `protobuf:"bytes,4,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
func (*RspGetHDInfo) Descriptor
deprecated
func (*RspGetHDInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspGetHDInfo.ProtoReflect.Descriptor instead.
func (*RspGetHDInfo) GetDiskFree ¶
func (x *RspGetHDInfo) GetDiskFree() int64
func (*RspGetHDInfo) GetDiskSize ¶
func (x *RspGetHDInfo) GetDiskSize() int64
func (*RspGetHDInfo) GetP2PAddress ¶
func (x *RspGetHDInfo) GetP2PAddress() string
func (*RspGetHDInfo) GetWalletAddress ¶
func (x *RspGetHDInfo) GetWalletAddress() string
func (*RspGetHDInfo) ProtoMessage ¶
func (*RspGetHDInfo) ProtoMessage()
func (*RspGetHDInfo) ProtoReflect ¶
func (x *RspGetHDInfo) ProtoReflect() protoreflect.Message
func (*RspGetHDInfo) Reset ¶
func (x *RspGetHDInfo) Reset()
func (*RspGetHDInfo) String ¶
func (x *RspGetHDInfo) String() string
type RspGetPPDowngradeInfo ¶ added in v0.9.0
type RspGetPPDowngradeInfo struct { DowngradeHeightDeltaToNow int64 `` /* 143-byte string literal not displayed */ ScoreDecreased uint32 `protobuf:"varint,2,opt,name=score_decreased,json=scoreDecreased,proto3" json:"score_decreased,omitempty"` SpP2PAddress string `protobuf:"bytes,3,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` Result *Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspGetPPDowngradeInfo) Descriptor
deprecated
added in
v0.9.0
func (*RspGetPPDowngradeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RspGetPPDowngradeInfo.ProtoReflect.Descriptor instead.
func (*RspGetPPDowngradeInfo) GetDowngradeHeightDeltaToNow ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) GetDowngradeHeightDeltaToNow() int64
func (*RspGetPPDowngradeInfo) GetResult ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) GetResult() *Result
func (*RspGetPPDowngradeInfo) GetScoreDecreased ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) GetScoreDecreased() uint32
func (*RspGetPPDowngradeInfo) GetSpP2PAddress ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) GetSpP2PAddress() string
func (*RspGetPPDowngradeInfo) ProtoMessage ¶ added in v0.9.0
func (*RspGetPPDowngradeInfo) ProtoMessage()
func (*RspGetPPDowngradeInfo) ProtoReflect ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) ProtoReflect() protoreflect.Message
func (*RspGetPPDowngradeInfo) Reset ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) Reset()
func (*RspGetPPDowngradeInfo) String ¶ added in v0.9.0
func (x *RspGetPPDowngradeInfo) String() string
type RspGetPPList ¶
type RspGetPPList struct { PpList []*PPBaseInfo `protobuf:"bytes,1,rep,name=pp_list,json=ppList,proto3" json:"pp_list,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspGetPPList) Descriptor
deprecated
func (*RspGetPPList) Descriptor() ([]byte, []int)
Deprecated: Use RspGetPPList.ProtoReflect.Descriptor instead.
func (*RspGetPPList) GetPpList ¶
func (x *RspGetPPList) GetPpList() []*PPBaseInfo
func (*RspGetPPList) GetResult ¶
func (x *RspGetPPList) GetResult() *Result
func (*RspGetPPList) ProtoMessage ¶
func (*RspGetPPList) ProtoMessage()
func (*RspGetPPList) ProtoReflect ¶
func (x *RspGetPPList) ProtoReflect() protoreflect.Message
func (*RspGetPPList) Reset ¶
func (x *RspGetPPList) Reset()
func (*RspGetPPList) String ¶
func (x *RspGetPPList) String() string
type RspGetPPStatus ¶ added in v0.5.1
type RspGetPPStatus struct { IsActive uint32 `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` OngoingTier uint32 `protobuf:"varint,2,opt,name=ongoing_tier,json=ongoingTier,proto3" json:"ongoing_tier,omitempty"` InitTier uint32 `protobuf:"varint,3,opt,name=init_tier,json=initTier,proto3" json:"init_tier,omitempty"` WeightScore uint32 `protobuf:"varint,4,opt,name=weight_score,json=weightScore,proto3" json:"weight_score,omitempty"` State int32 `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"` InitPpList bool `protobuf:"varint,6,opt,name=init_pp_list,json=initPpList,proto3" json:"init_pp_list,omitempty"` Result *Result `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspGetPPStatus) Descriptor
deprecated
added in
v0.5.1
func (*RspGetPPStatus) Descriptor() ([]byte, []int)
Deprecated: Use RspGetPPStatus.ProtoReflect.Descriptor instead.
func (*RspGetPPStatus) GetInitPpList ¶ added in v0.7.0
func (x *RspGetPPStatus) GetInitPpList() bool
func (*RspGetPPStatus) GetInitTier ¶ added in v0.7.0
func (x *RspGetPPStatus) GetInitTier() uint32
func (*RspGetPPStatus) GetIsActive ¶ added in v0.7.0
func (x *RspGetPPStatus) GetIsActive() uint32
func (*RspGetPPStatus) GetOngoingTier ¶ added in v0.7.0
func (x *RspGetPPStatus) GetOngoingTier() uint32
func (*RspGetPPStatus) GetResult ¶ added in v0.5.1
func (x *RspGetPPStatus) GetResult() *Result
func (*RspGetPPStatus) GetState ¶ added in v0.7.0
func (x *RspGetPPStatus) GetState() int32
func (*RspGetPPStatus) GetWeightScore ¶ added in v0.7.0
func (x *RspGetPPStatus) GetWeightScore() uint32
func (*RspGetPPStatus) ProtoMessage ¶ added in v0.5.1
func (*RspGetPPStatus) ProtoMessage()
func (*RspGetPPStatus) ProtoReflect ¶ added in v0.5.1
func (x *RspGetPPStatus) ProtoReflect() protoreflect.Message
func (*RspGetPPStatus) Reset ¶ added in v0.5.1
func (x *RspGetPPStatus) Reset()
func (*RspGetPPStatus) String ¶ added in v0.5.1
func (x *RspGetPPStatus) String() string
type RspGetSPList ¶
type RspGetSPList struct { SpList []*SPBaseInfo `protobuf:"bytes,1,rep,name=sp_list,json=spList,proto3" json:"sp_list,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspGetSPList) Descriptor
deprecated
func (*RspGetSPList) Descriptor() ([]byte, []int)
Deprecated: Use RspGetSPList.ProtoReflect.Descriptor instead.
func (*RspGetSPList) GetResult ¶
func (x *RspGetSPList) GetResult() *Result
func (*RspGetSPList) GetSpList ¶
func (x *RspGetSPList) GetSpList() []*SPBaseInfo
func (*RspGetSPList) ProtoMessage ¶
func (*RspGetSPList) ProtoMessage()
func (*RspGetSPList) ProtoReflect ¶
func (x *RspGetSPList) ProtoReflect() protoreflect.Message
func (*RspGetSPList) Reset ¶
func (x *RspGetSPList) Reset()
func (*RspGetSPList) String ¶
func (x *RspGetSPList) String() string
type RspGetShareFile ¶
type RspGetShareFile struct { // contains filtered or unexported fields }
func (*RspGetShareFile) Descriptor
deprecated
func (*RspGetShareFile) Descriptor() ([]byte, []int)
Deprecated: Use RspGetShareFile.ProtoReflect.Descriptor instead.
func (*RspGetShareFile) GetFileInfo ¶
func (x *RspGetShareFile) GetFileInfo() []*FileInfo
func (*RspGetShareFile) GetIsPrivate ¶
func (x *RspGetShareFile) GetIsPrivate() bool
func (*RspGetShareFile) GetResult ¶
func (x *RspGetShareFile) GetResult() *Result
func (*RspGetShareFile) GetSequenceNumber ¶ added in v0.10.0
func (x *RspGetShareFile) GetSequenceNumber() string
func (*RspGetShareFile) GetShareRequest ¶
func (x *RspGetShareFile) GetShareRequest() *ReqGetShareFile
func (*RspGetShareFile) ProtoMessage ¶
func (*RspGetShareFile) ProtoMessage()
func (*RspGetShareFile) ProtoReflect ¶
func (x *RspGetShareFile) ProtoReflect() protoreflect.Message
func (*RspGetShareFile) Reset ¶
func (x *RspGetShareFile) Reset()
func (*RspGetShareFile) String ¶
func (x *RspGetShareFile) String() string
type RspGetWalletOz ¶ added in v0.6.0
type RspGetWalletOz struct { WalletOz string `protobuf:"bytes,1,opt,name=wallet_oz,json=walletOz,proto3" json:"wallet_oz,omitempty"` SequenceNumber string `protobuf:"bytes,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` WalletAddress string `protobuf:"bytes,3,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Result *Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspGetWalletOz) Descriptor
deprecated
added in
v0.6.0
func (*RspGetWalletOz) Descriptor() ([]byte, []int)
Deprecated: Use RspGetWalletOz.ProtoReflect.Descriptor instead.
func (*RspGetWalletOz) GetResult ¶ added in v0.6.0
func (x *RspGetWalletOz) GetResult() *Result
func (*RspGetWalletOz) GetSequenceNumber ¶ added in v0.10.0
func (x *RspGetWalletOz) GetSequenceNumber() string
func (*RspGetWalletOz) GetWalletAddress ¶ added in v0.6.0
func (x *RspGetWalletOz) GetWalletAddress() string
func (*RspGetWalletOz) GetWalletOz ¶ added in v0.6.0
func (x *RspGetWalletOz) GetWalletOz() string
func (*RspGetWalletOz) ProtoMessage ¶ added in v0.6.0
func (*RspGetWalletOz) ProtoMessage()
func (*RspGetWalletOz) ProtoReflect ¶ added in v0.6.0
func (x *RspGetWalletOz) ProtoReflect() protoreflect.Message
func (*RspGetWalletOz) Reset ¶ added in v0.6.0
func (x *RspGetWalletOz) Reset()
func (*RspGetWalletOz) String ¶ added in v0.6.0
func (x *RspGetWalletOz) String() string
type RspMessageForward ¶ added in v0.11.0
type RspMessageForward struct { DestP2P string `protobuf:"bytes,1,opt,name=dest_p2p,json=destP2p,proto3" json:"dest_p2p,omitempty"` SourceP2P string `protobuf:"bytes,2,opt,name=source_p2p,json=sourceP2p,proto3" json:"source_p2p,omitempty"` CmdType uint32 `protobuf:"varint,3,opt,name=cmd_type,json=cmdType,proto3" json:"cmd_type,omitempty"` // Types that are assignable to Msg: // // *RspMessageForward_RspUploadSlicesWrong // *RspMessageForward_RspUploadSliceResult // *RspMessageForward_RspReportDownloadResult // *RspMessageForward_RspReportBackupSliceResult Msg isRspMessageForward_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*RspMessageForward) Descriptor
deprecated
added in
v0.11.0
func (*RspMessageForward) Descriptor() ([]byte, []int)
Deprecated: Use RspMessageForward.ProtoReflect.Descriptor instead.
func (*RspMessageForward) GetCmdType ¶ added in v0.11.0
func (x *RspMessageForward) GetCmdType() uint32
func (*RspMessageForward) GetDestP2P ¶ added in v0.11.0
func (x *RspMessageForward) GetDestP2P() string
func (*RspMessageForward) GetMsg ¶ added in v0.11.0
func (m *RspMessageForward) GetMsg() isRspMessageForward_Msg
func (*RspMessageForward) GetRspReportBackupSliceResult ¶ added in v0.11.0
func (x *RspMessageForward) GetRspReportBackupSliceResult() *RspReportBackupSliceResult
func (*RspMessageForward) GetRspReportDownloadResult ¶ added in v0.11.0
func (x *RspMessageForward) GetRspReportDownloadResult() *RspReportDownloadResult
func (*RspMessageForward) GetRspUploadSliceResult ¶ added in v0.11.0
func (x *RspMessageForward) GetRspUploadSliceResult() *RspReportUploadSliceResult
func (*RspMessageForward) GetRspUploadSlicesWrong ¶ added in v0.11.0
func (x *RspMessageForward) GetRspUploadSlicesWrong() *RspUploadSlicesWrong
func (*RspMessageForward) GetSourceP2P ¶ added in v0.11.0
func (x *RspMessageForward) GetSourceP2P() string
func (*RspMessageForward) ProtoMessage ¶ added in v0.11.0
func (*RspMessageForward) ProtoMessage()
func (*RspMessageForward) ProtoReflect ¶ added in v0.11.0
func (x *RspMessageForward) ProtoReflect() protoreflect.Message
func (*RspMessageForward) Reset ¶ added in v0.11.0
func (x *RspMessageForward) Reset()
func (*RspMessageForward) String ¶ added in v0.11.0
func (x *RspMessageForward) String() string
type RspMessageForward_RspReportBackupSliceResult ¶ added in v0.11.0
type RspMessageForward_RspReportBackupSliceResult struct {
RspReportBackupSliceResult *RspReportBackupSliceResult `protobuf:"bytes,7,opt,name=rsp_report_backup_slice_result,json=rspReportBackupSliceResult,proto3,oneof"`
}
type RspMessageForward_RspReportDownloadResult ¶ added in v0.11.0
type RspMessageForward_RspReportDownloadResult struct {
RspReportDownloadResult *RspReportDownloadResult `protobuf:"bytes,6,opt,name=rsp_report_download_result,json=rspReportDownloadResult,proto3,oneof"`
}
type RspMessageForward_RspUploadSliceResult ¶ added in v0.11.0
type RspMessageForward_RspUploadSliceResult struct {
RspUploadSliceResult *RspReportUploadSliceResult `protobuf:"bytes,5,opt,name=rsp_upload_slice_result,json=rspUploadSliceResult,proto3,oneof"`
}
type RspMessageForward_RspUploadSlicesWrong ¶ added in v0.11.0
type RspMessageForward_RspUploadSlicesWrong struct {
RspUploadSlicesWrong *RspUploadSlicesWrong `protobuf:"bytes,4,opt,name=rsp_upload_slices_wrong,json=rspUploadSlicesWrong,proto3,oneof"`
}
type RspMining ¶
type RspMining struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspMining) Descriptor
deprecated
func (*RspMining) ProtoMessage ¶
func (*RspMining) ProtoMessage()
func (*RspMining) ProtoReflect ¶
func (x *RspMining) ProtoReflect() protoreflect.Message
type RspPpLatencyCheck ¶ added in v0.10.0
type RspPpLatencyCheck struct { P2PAddressPp string `protobuf:"bytes,2,opt,name=p2p_address_pp,json=p2pAddressPp,proto3" json:"p2p_address_pp,omitempty"` NetworkAddressSp string `protobuf:"bytes,3,opt,name=network_address_sp,json=networkAddressSp,proto3" json:"network_address_sp,omitempty"` SpIndex string `protobuf:"bytes,4,opt,name=sp_index,json=spIndex,proto3" json:"sp_index,omitempty"` // contains filtered or unexported fields }
func (*RspPpLatencyCheck) Descriptor
deprecated
added in
v0.10.0
func (*RspPpLatencyCheck) Descriptor() ([]byte, []int)
Deprecated: Use RspPpLatencyCheck.ProtoReflect.Descriptor instead.
func (*RspPpLatencyCheck) GetNetworkAddressSp ¶ added in v0.10.0
func (x *RspPpLatencyCheck) GetNetworkAddressSp() string
func (*RspPpLatencyCheck) GetP2PAddressPp ¶ added in v0.10.0
func (x *RspPpLatencyCheck) GetP2PAddressPp() string
func (*RspPpLatencyCheck) GetSpIndex ¶ added in v0.10.0
func (x *RspPpLatencyCheck) GetSpIndex() string
func (*RspPpLatencyCheck) ProtoMessage ¶ added in v0.10.0
func (*RspPpLatencyCheck) ProtoMessage()
func (*RspPpLatencyCheck) ProtoReflect ¶ added in v0.10.0
func (x *RspPpLatencyCheck) ProtoReflect() protoreflect.Message
func (*RspPpLatencyCheck) Reset ¶ added in v0.10.0
func (x *RspPpLatencyCheck) Reset()
func (*RspPpLatencyCheck) String ¶ added in v0.10.0
func (x *RspPpLatencyCheck) String() string
type RspPrepay ¶
type RspPrepay struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Tx []byte `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RspPrepay) Descriptor
deprecated
func (*RspPrepay) ProtoMessage ¶
func (*RspPrepay) ProtoMessage()
func (*RspPrepay) ProtoReflect ¶
func (x *RspPrepay) ProtoReflect() protoreflect.Message
type RspRegister ¶
type RspRegister struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // if register success or not P2PAddress string `protobuf:"bytes,2,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` IsPP bool `protobuf:"varint,3,opt,name=isPP,proto3" json:"isPP,omitempty"` IsSuspended bool `protobuf:"varint,4,opt,name=is_suspended,json=isSuspended,proto3" json:"is_suspended,omitempty"` // contains filtered or unexported fields }
func (*RspRegister) Descriptor
deprecated
func (*RspRegister) Descriptor() ([]byte, []int)
Deprecated: Use RspRegister.ProtoReflect.Descriptor instead.
func (*RspRegister) GetIsPP ¶
func (x *RspRegister) GetIsPP() bool
func (*RspRegister) GetIsSuspended ¶ added in v0.9.0
func (x *RspRegister) GetIsSuspended() bool
func (*RspRegister) GetP2PAddress ¶
func (x *RspRegister) GetP2PAddress() string
func (*RspRegister) GetResult ¶
func (x *RspRegister) GetResult() *Result
func (*RspRegister) ProtoMessage ¶
func (*RspRegister) ProtoMessage()
func (*RspRegister) ProtoReflect ¶
func (x *RspRegister) ProtoReflect() protoreflect.Message
func (*RspRegister) Reset ¶
func (x *RspRegister) Reset()
func (*RspRegister) String ¶
func (x *RspRegister) String() string
type RspRegisterNewPP ¶
type RspRegisterNewPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` AlreadyPp bool `protobuf:"varint,2,opt,name=already_pp,json=alreadyPp,proto3" json:"already_pp,omitempty"` // contains filtered or unexported fields }
func (*RspRegisterNewPP) Descriptor
deprecated
func (*RspRegisterNewPP) Descriptor() ([]byte, []int)
Deprecated: Use RspRegisterNewPP.ProtoReflect.Descriptor instead.
func (*RspRegisterNewPP) GetAlreadyPp ¶ added in v0.5.0
func (x *RspRegisterNewPP) GetAlreadyPp() bool
func (*RspRegisterNewPP) GetResult ¶
func (x *RspRegisterNewPP) GetResult() *Result
func (*RspRegisterNewPP) ProtoMessage ¶
func (*RspRegisterNewPP) ProtoMessage()
func (*RspRegisterNewPP) ProtoReflect ¶
func (x *RspRegisterNewPP) ProtoReflect() protoreflect.Message
func (*RspRegisterNewPP) Reset ¶
func (x *RspRegisterNewPP) Reset()
func (*RspRegisterNewPP) String ¶
func (x *RspRegisterNewPP) String() string
type RspReportBackupSliceResult ¶ added in v0.5.0
type RspReportBackupSliceResult struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` SliceHash string `protobuf:"bytes,3,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` // contains filtered or unexported fields }
func (*RspReportBackupSliceResult) Descriptor
deprecated
added in
v0.5.0
func (*RspReportBackupSliceResult) Descriptor() ([]byte, []int)
Deprecated: Use RspReportBackupSliceResult.ProtoReflect.Descriptor instead.
func (*RspReportBackupSliceResult) GetResult ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) GetResult() *Result
func (*RspReportBackupSliceResult) GetSliceHash ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) GetSliceHash() string
func (*RspReportBackupSliceResult) GetTaskId ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) GetTaskId() string
func (*RspReportBackupSliceResult) ProtoMessage ¶ added in v0.5.0
func (*RspReportBackupSliceResult) ProtoMessage()
func (*RspReportBackupSliceResult) ProtoReflect ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) ProtoReflect() protoreflect.Message
func (*RspReportBackupSliceResult) Reset ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) Reset()
func (*RspReportBackupSliceResult) String ¶ added in v0.5.0
func (x *RspReportBackupSliceResult) String() string
type RspReportDownloadResult ¶
type RspReportDownloadResult struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SliceInfo *DownloadSliceInfo `protobuf:"bytes,2,opt,name=slice_info,json=sliceInfo,proto3" json:"slice_info,omitempty"` // contains filtered or unexported fields }
func (*RspReportDownloadResult) Descriptor
deprecated
func (*RspReportDownloadResult) Descriptor() ([]byte, []int)
Deprecated: Use RspReportDownloadResult.ProtoReflect.Descriptor instead.
func (*RspReportDownloadResult) GetResult ¶
func (x *RspReportDownloadResult) GetResult() *Result
func (*RspReportDownloadResult) GetSliceInfo ¶
func (x *RspReportDownloadResult) GetSliceInfo() *DownloadSliceInfo
func (*RspReportDownloadResult) ProtoMessage ¶
func (*RspReportDownloadResult) ProtoMessage()
func (*RspReportDownloadResult) ProtoReflect ¶
func (x *RspReportDownloadResult) ProtoReflect() protoreflect.Message
func (*RspReportDownloadResult) Reset ¶
func (x *RspReportDownloadResult) Reset()
func (*RspReportDownloadResult) String ¶
func (x *RspReportDownloadResult) String() string
type RspReportNodeStatus ¶ added in v0.7.0
type RspReportNodeStatus struct { Ppstate int32 `protobuf:"varint,1,opt,name=ppstate,proto3" json:"ppstate,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspReportNodeStatus) Descriptor
deprecated
added in
v0.7.0
func (*RspReportNodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use RspReportNodeStatus.ProtoReflect.Descriptor instead.
func (*RspReportNodeStatus) GetPpstate ¶ added in v0.7.0
func (x *RspReportNodeStatus) GetPpstate() int32
func (*RspReportNodeStatus) GetResult ¶ added in v0.7.0
func (x *RspReportNodeStatus) GetResult() *Result
func (*RspReportNodeStatus) ProtoMessage ¶ added in v0.7.0
func (*RspReportNodeStatus) ProtoMessage()
func (*RspReportNodeStatus) ProtoReflect ¶ added in v0.7.0
func (x *RspReportNodeStatus) ProtoReflect() protoreflect.Message
func (*RspReportNodeStatus) Reset ¶ added in v0.7.0
func (x *RspReportNodeStatus) Reset()
func (*RspReportNodeStatus) String ¶ added in v0.7.0
func (x *RspReportNodeStatus) String() string
type RspReportUploadSliceResult ¶
type RspReportUploadSliceResult struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Slice *SliceHashAddr `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"` // contains filtered or unexported fields }
func (*RspReportUploadSliceResult) Descriptor
deprecated
func (*RspReportUploadSliceResult) Descriptor() ([]byte, []int)
Deprecated: Use RspReportUploadSliceResult.ProtoReflect.Descriptor instead.
func (*RspReportUploadSliceResult) GetResult ¶
func (x *RspReportUploadSliceResult) GetResult() *Result
func (*RspReportUploadSliceResult) GetSlice ¶ added in v0.10.0
func (x *RspReportUploadSliceResult) GetSlice() *SliceHashAddr
func (*RspReportUploadSliceResult) ProtoMessage ¶
func (*RspReportUploadSliceResult) ProtoMessage()
func (*RspReportUploadSliceResult) ProtoReflect ¶
func (x *RspReportUploadSliceResult) ProtoReflect() protoreflect.Message
func (*RspReportUploadSliceResult) Reset ¶
func (x *RspReportUploadSliceResult) Reset()
func (*RspReportUploadSliceResult) String ¶
func (x *RspReportUploadSliceResult) String() string
type RspShareFile ¶
type RspShareFile struct { // contains filtered or unexported fields }
func (*RspShareFile) Descriptor
deprecated
func (*RspShareFile) Descriptor() ([]byte, []int)
Deprecated: Use RspShareFile.ProtoReflect.Descriptor instead.
func (*RspShareFile) GetP2PAddress ¶
func (x *RspShareFile) GetP2PAddress() string
func (*RspShareFile) GetResult ¶
func (x *RspShareFile) GetResult() *Result
func (*RspShareFile) GetShareId ¶
func (x *RspShareFile) GetShareId() string
func (*RspShareFile) GetShareLink ¶
func (x *RspShareFile) GetShareLink() string
func (*RspShareFile) GetSharePassword ¶
func (x *RspShareFile) GetSharePassword() string
func (*RspShareFile) GetWalletAddress ¶
func (x *RspShareFile) GetWalletAddress() string
func (*RspShareFile) ProtoMessage ¶
func (*RspShareFile) ProtoMessage()
func (*RspShareFile) ProtoReflect ¶
func (x *RspShareFile) ProtoReflect() protoreflect.Message
func (*RspShareFile) Reset ¶
func (x *RspShareFile) Reset()
func (*RspShareFile) String ¶
func (x *RspShareFile) String() string
type RspShareLink ¶
type RspShareLink struct { // contains filtered or unexported fields }
func (*RspShareLink) Descriptor
deprecated
func (*RspShareLink) Descriptor() ([]byte, []int)
Deprecated: Use RspShareLink.ProtoReflect.Descriptor instead.
func (*RspShareLink) GetP2PAddress ¶
func (x *RspShareLink) GetP2PAddress() string
func (*RspShareLink) GetPageId ¶ added in v0.9.0
func (x *RspShareLink) GetPageId() uint64
func (*RspShareLink) GetResult ¶
func (x *RspShareLink) GetResult() *Result
func (*RspShareLink) GetShareInfo ¶
func (x *RspShareLink) GetShareInfo() []*ShareLinkInfo
func (*RspShareLink) GetTotalFileNumber ¶ added in v0.9.0
func (x *RspShareLink) GetTotalFileNumber() uint64
func (*RspShareLink) GetWalletAddress ¶
func (x *RspShareLink) GetWalletAddress() string
func (*RspShareLink) ProtoMessage ¶
func (*RspShareLink) ProtoMessage()
func (*RspShareLink) ProtoReflect ¶
func (x *RspShareLink) ProtoReflect() protoreflect.Message
func (*RspShareLink) Reset ¶
func (x *RspShareLink) Reset()
func (*RspShareLink) String ¶
func (x *RspShareLink) String() string
type RspSpLatencyCheck ¶ added in v0.10.0
type RspSpLatencyCheck struct { P2PAddressPp string `protobuf:"bytes,2,opt,name=p2p_address_pp,json=p2pAddressPp,proto3" json:"p2p_address_pp,omitempty"` NetworkAddressSp string `protobuf:"bytes,3,opt,name=network_address_sp,json=networkAddressSp,proto3" json:"network_address_sp,omitempty"` SpIndex string `protobuf:"bytes,4,opt,name=sp_index,json=spIndex,proto3" json:"sp_index,omitempty"` // contains filtered or unexported fields }
func (*RspSpLatencyCheck) Descriptor
deprecated
added in
v0.10.0
func (*RspSpLatencyCheck) Descriptor() ([]byte, []int)
Deprecated: Use RspSpLatencyCheck.ProtoReflect.Descriptor instead.
func (*RspSpLatencyCheck) GetNetworkAddressSp ¶ added in v0.10.0
func (x *RspSpLatencyCheck) GetNetworkAddressSp() string
func (*RspSpLatencyCheck) GetP2PAddressPp ¶ added in v0.10.0
func (x *RspSpLatencyCheck) GetP2PAddressPp() string
func (*RspSpLatencyCheck) GetSpIndex ¶ added in v0.10.0
func (x *RspSpLatencyCheck) GetSpIndex() string
func (*RspSpLatencyCheck) ProtoMessage ¶ added in v0.10.0
func (*RspSpLatencyCheck) ProtoMessage()
func (*RspSpLatencyCheck) ProtoReflect ¶ added in v0.10.0
func (x *RspSpLatencyCheck) ProtoReflect() protoreflect.Message
func (*RspSpLatencyCheck) Reset ¶ added in v0.10.0
func (x *RspSpLatencyCheck) Reset()
func (*RspSpLatencyCheck) String ¶ added in v0.10.0
func (x *RspSpLatencyCheck) String() string
type RspStartMaintenance ¶ added in v0.9.0
type RspStartMaintenance struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspStartMaintenance) Descriptor
deprecated
added in
v0.9.0
func (*RspStartMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use RspStartMaintenance.ProtoReflect.Descriptor instead.
func (*RspStartMaintenance) GetResult ¶ added in v0.9.0
func (x *RspStartMaintenance) GetResult() *Result
func (*RspStartMaintenance) ProtoMessage ¶ added in v0.9.0
func (*RspStartMaintenance) ProtoMessage()
func (*RspStartMaintenance) ProtoReflect ¶ added in v0.9.0
func (x *RspStartMaintenance) ProtoReflect() protoreflect.Message
func (*RspStartMaintenance) Reset ¶ added in v0.9.0
func (x *RspStartMaintenance) Reset()
func (*RspStartMaintenance) String ¶ added in v0.9.0
func (x *RspStartMaintenance) String() string
type RspStateChangePP ¶ added in v0.10.0
type RspStateChangePP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` UpdateState uint32 `protobuf:"varint,2,opt,name=update_state,json=updateState,proto3" json:"update_state,omitempty"` // contains filtered or unexported fields }
func (*RspStateChangePP) Descriptor
deprecated
added in
v0.10.0
func (*RspStateChangePP) Descriptor() ([]byte, []int)
Deprecated: Use RspStateChangePP.ProtoReflect.Descriptor instead.
func (*RspStateChangePP) GetResult ¶ added in v0.10.0
func (x *RspStateChangePP) GetResult() *Result
func (*RspStateChangePP) GetUpdateState ¶ added in v0.10.0
func (x *RspStateChangePP) GetUpdateState() uint32
func (*RspStateChangePP) ProtoMessage ¶ added in v0.10.0
func (*RspStateChangePP) ProtoMessage()
func (*RspStateChangePP) ProtoReflect ¶ added in v0.10.0
func (x *RspStateChangePP) ProtoReflect() protoreflect.Message
func (*RspStateChangePP) Reset ¶ added in v0.10.0
func (x *RspStateChangePP) Reset()
func (*RspStateChangePP) String ¶ added in v0.10.0
func (x *RspStateChangePP) String() string
type RspStopMaintenance ¶ added in v0.9.0
type RspStopMaintenance struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspStopMaintenance) Descriptor
deprecated
added in
v0.9.0
func (*RspStopMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use RspStopMaintenance.ProtoReflect.Descriptor instead.
func (*RspStopMaintenance) GetResult ¶ added in v0.9.0
func (x *RspStopMaintenance) GetResult() *Result
func (*RspStopMaintenance) ProtoMessage ¶ added in v0.9.0
func (*RspStopMaintenance) ProtoMessage()
func (*RspStopMaintenance) ProtoReflect ¶ added in v0.9.0
func (x *RspStopMaintenance) ProtoReflect() protoreflect.Message
func (*RspStopMaintenance) Reset ¶ added in v0.9.0
func (x *RspStopMaintenance) Reset()
func (*RspStopMaintenance) String ¶ added in v0.9.0
func (x *RspStopMaintenance) String() string
type RspTransaction ¶
type RspTransaction struct { Rest string `protobuf:"bytes,1,opt,name=rest,proto3" json:"rest,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RspTransaction) Descriptor
deprecated
func (*RspTransaction) Descriptor() ([]byte, []int)
Deprecated: Use RspTransaction.ProtoReflect.Descriptor instead.
func (*RspTransaction) GetCode ¶
func (x *RspTransaction) GetCode() int64
func (*RspTransaction) GetId ¶
func (x *RspTransaction) GetId() string
func (*RspTransaction) GetRest ¶
func (x *RspTransaction) GetRest() string
func (*RspTransaction) ProtoMessage ¶
func (*RspTransaction) ProtoMessage()
func (*RspTransaction) ProtoReflect ¶
func (x *RspTransaction) ProtoReflect() protoreflect.Message
func (*RspTransaction) Reset ¶
func (x *RspTransaction) Reset()
func (*RspTransaction) String ¶
func (x *RspTransaction) String() string
type RspTransferDownload ¶
type RspTransferDownload struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` SliceSize uint64 `protobuf:"varint,4,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` Result *Result `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"` SpP2PAddress string `protobuf:"bytes,6,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` SliceHash string `protobuf:"bytes,7,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` P2PAddress string `protobuf:"bytes,8,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // contains filtered or unexported fields }
func (*RspTransferDownload) Descriptor
deprecated
func (*RspTransferDownload) Descriptor() ([]byte, []int)
Deprecated: Use RspTransferDownload.ProtoReflect.Descriptor instead.
func (*RspTransferDownload) GetData ¶
func (x *RspTransferDownload) GetData() []byte
func (*RspTransferDownload) GetOffset ¶
func (x *RspTransferDownload) GetOffset() uint64
func (*RspTransferDownload) GetP2PAddress ¶ added in v0.10.0
func (x *RspTransferDownload) GetP2PAddress() string
func (*RspTransferDownload) GetResult ¶
func (x *RspTransferDownload) GetResult() *Result
func (*RspTransferDownload) GetSliceHash ¶ added in v0.5.0
func (x *RspTransferDownload) GetSliceHash() string
func (*RspTransferDownload) GetSliceSize ¶
func (x *RspTransferDownload) GetSliceSize() uint64
func (*RspTransferDownload) GetSpP2PAddress ¶ added in v0.5.0
func (x *RspTransferDownload) GetSpP2PAddress() string
func (*RspTransferDownload) GetTaskId ¶ added in v0.5.0
func (x *RspTransferDownload) GetTaskId() string
func (*RspTransferDownload) ProtoMessage ¶
func (*RspTransferDownload) ProtoMessage()
func (*RspTransferDownload) ProtoReflect ¶
func (x *RspTransferDownload) ProtoReflect() protoreflect.Message
func (*RspTransferDownload) Reset ¶
func (x *RspTransferDownload) Reset()
func (*RspTransferDownload) String ¶
func (x *RspTransferDownload) String() string
type RspTransferDownloadResult ¶
type RspTransferDownloadResult struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` SpP2PAddress string `protobuf:"bytes,3,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` SliceHash string `protobuf:"bytes,4,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` // contains filtered or unexported fields }
func (*RspTransferDownloadResult) Descriptor
deprecated
func (*RspTransferDownloadResult) Descriptor() ([]byte, []int)
Deprecated: Use RspTransferDownloadResult.ProtoReflect.Descriptor instead.
func (*RspTransferDownloadResult) GetResult ¶
func (x *RspTransferDownloadResult) GetResult() *Result
func (*RspTransferDownloadResult) GetSliceHash ¶ added in v0.5.0
func (x *RspTransferDownloadResult) GetSliceHash() string
func (*RspTransferDownloadResult) GetSpP2PAddress ¶ added in v0.5.0
func (x *RspTransferDownloadResult) GetSpP2PAddress() string
func (*RspTransferDownloadResult) GetTaskId ¶ added in v0.5.0
func (x *RspTransferDownloadResult) GetTaskId() string
func (*RspTransferDownloadResult) ProtoMessage ¶
func (*RspTransferDownloadResult) ProtoMessage()
func (*RspTransferDownloadResult) ProtoReflect ¶
func (x *RspTransferDownloadResult) ProtoReflect() protoreflect.Message
func (*RspTransferDownloadResult) Reset ¶
func (x *RspTransferDownloadResult) Reset()
func (*RspTransferDownloadResult) String ¶
func (x *RspTransferDownloadResult) String() string
type RspUnbondingSP ¶ added in v0.5.0
type RspUnbondingSP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspUnbondingSP) Descriptor
deprecated
added in
v0.5.0
func (*RspUnbondingSP) Descriptor() ([]byte, []int)
Deprecated: Use RspUnbondingSP.ProtoReflect.Descriptor instead.
func (*RspUnbondingSP) GetResult ¶ added in v0.5.0
func (x *RspUnbondingSP) GetResult() *Result
func (*RspUnbondingSP) ProtoMessage ¶ added in v0.5.0
func (*RspUnbondingSP) ProtoMessage()
func (*RspUnbondingSP) ProtoReflect ¶ added in v0.5.0
func (x *RspUnbondingSP) ProtoReflect() protoreflect.Message
func (*RspUnbondingSP) Reset ¶ added in v0.5.0
func (x *RspUnbondingSP) Reset()
func (*RspUnbondingSP) String ¶ added in v0.5.0
func (x *RspUnbondingSP) String() string
type RspUpdateDepositPP ¶ added in v0.10.0
type RspUpdateDepositPP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` UpdateState uint32 `protobuf:"varint,2,opt,name=update_state,json=updateState,proto3" json:"update_state,omitempty"` Tx []byte `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RspUpdateDepositPP) Descriptor
deprecated
added in
v0.10.0
func (*RspUpdateDepositPP) Descriptor() ([]byte, []int)
Deprecated: Use RspUpdateDepositPP.ProtoReflect.Descriptor instead.
func (*RspUpdateDepositPP) GetResult ¶ added in v0.10.0
func (x *RspUpdateDepositPP) GetResult() *Result
func (*RspUpdateDepositPP) GetTx ¶ added in v0.10.0
func (x *RspUpdateDepositPP) GetTx() []byte
func (*RspUpdateDepositPP) GetUpdateState ¶ added in v0.10.0
func (x *RspUpdateDepositPP) GetUpdateState() uint32
func (*RspUpdateDepositPP) ProtoMessage ¶ added in v0.10.0
func (*RspUpdateDepositPP) ProtoMessage()
func (*RspUpdateDepositPP) ProtoReflect ¶ added in v0.10.0
func (x *RspUpdateDepositPP) ProtoReflect() protoreflect.Message
func (*RspUpdateDepositPP) Reset ¶ added in v0.10.0
func (x *RspUpdateDepositPP) Reset()
func (*RspUpdateDepositPP) String ¶ added in v0.10.0
func (x *RspUpdateDepositPP) String() string
type RspUploadFile ¶
type RspUploadFile struct { StorageCer string `protobuf:"bytes,1,opt,name=storage_cer,json=storageCer,proto3" json:"storage_cer,omitempty"` // storage certificate Slices []*SliceHashAddr `protobuf:"bytes,2,rep,name=slices,proto3" json:"slices,omitempty"` // slice number and pp address list FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` TotalSlice int64 `protobuf:"varint,5,opt,name=total_slice,json=totalSlice,proto3" json:"total_slice,omitempty"` Result *Result `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` // accept upload or not OwnerWalletAddress string `protobuf:"bytes,7,opt,name=owner_wallet_address,json=ownerWalletAddress,proto3" json:"owner_wallet_address,omitempty"` IsEncrypted bool `protobuf:"varint,8,opt,name=is_encrypted,json=isEncrypted,proto3" json:"is_encrypted,omitempty"` SpP2PAddress string `protobuf:"bytes,9,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` NodeSign []byte `protobuf:"bytes,10,opt,name=node_sign,json=nodeSign,proto3" json:"node_sign,omitempty"` TimeStamp int64 `protobuf:"varint,11,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` // contains filtered or unexported fields }
func (*RspUploadFile) Descriptor
deprecated
func (*RspUploadFile) Descriptor() ([]byte, []int)
Deprecated: Use RspUploadFile.ProtoReflect.Descriptor instead.
func (*RspUploadFile) GetFileHash ¶
func (x *RspUploadFile) GetFileHash() string
func (*RspUploadFile) GetIsEncrypted ¶ added in v0.5.0
func (x *RspUploadFile) GetIsEncrypted() bool
func (*RspUploadFile) GetNodeSign ¶ added in v0.9.0
func (x *RspUploadFile) GetNodeSign() []byte
func (*RspUploadFile) GetOwnerWalletAddress ¶
func (x *RspUploadFile) GetOwnerWalletAddress() string
func (*RspUploadFile) GetResult ¶
func (x *RspUploadFile) GetResult() *Result
func (*RspUploadFile) GetSlices ¶ added in v0.10.0
func (x *RspUploadFile) GetSlices() []*SliceHashAddr
func (*RspUploadFile) GetSpP2PAddress ¶ added in v0.5.0
func (x *RspUploadFile) GetSpP2PAddress() string
func (*RspUploadFile) GetStorageCer ¶
func (x *RspUploadFile) GetStorageCer() string
func (*RspUploadFile) GetTaskId ¶
func (x *RspUploadFile) GetTaskId() string
func (*RspUploadFile) GetTimeStamp ¶ added in v0.10.0
func (x *RspUploadFile) GetTimeStamp() int64
func (*RspUploadFile) GetTotalSlice ¶
func (x *RspUploadFile) GetTotalSlice() int64
func (*RspUploadFile) ProtoMessage ¶
func (*RspUploadFile) ProtoMessage()
func (*RspUploadFile) ProtoReflect ¶
func (x *RspUploadFile) ProtoReflect() protoreflect.Message
func (*RspUploadFile) Reset ¶
func (x *RspUploadFile) Reset()
func (*RspUploadFile) String ¶
func (x *RspUploadFile) String() string
type RspUploadFileSlice ¶
type RspUploadFileSlice struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Slice *SliceHashAddr `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` SliceHash string `protobuf:"bytes,4,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` P2PAddress string `protobuf:"bytes,5,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` // src p2p_address WalletAddress string `protobuf:"bytes,6,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` TaskId string `protobuf:"bytes,7,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` SpP2PAddress string `protobuf:"bytes,8,opt,name=sp_p2p_address,json=spP2pAddress,proto3" json:"sp_p2p_address,omitempty"` // contains filtered or unexported fields }
func (*RspUploadFileSlice) Descriptor
deprecated
func (*RspUploadFileSlice) Descriptor() ([]byte, []int)
Deprecated: Use RspUploadFileSlice.ProtoReflect.Descriptor instead.
func (*RspUploadFileSlice) GetFileHash ¶
func (x *RspUploadFileSlice) GetFileHash() string
func (*RspUploadFileSlice) GetP2PAddress ¶
func (x *RspUploadFileSlice) GetP2PAddress() string
func (*RspUploadFileSlice) GetResult ¶
func (x *RspUploadFileSlice) GetResult() *Result
func (*RspUploadFileSlice) GetSlice ¶ added in v0.10.0
func (x *RspUploadFileSlice) GetSlice() *SliceHashAddr
func (*RspUploadFileSlice) GetSliceHash ¶
func (x *RspUploadFileSlice) GetSliceHash() string
func (*RspUploadFileSlice) GetSpP2PAddress ¶ added in v0.5.0
func (x *RspUploadFileSlice) GetSpP2PAddress() string
func (*RspUploadFileSlice) GetTaskId ¶
func (x *RspUploadFileSlice) GetTaskId() string
func (*RspUploadFileSlice) GetWalletAddress ¶
func (x *RspUploadFileSlice) GetWalletAddress() string
func (*RspUploadFileSlice) ProtoMessage ¶
func (*RspUploadFileSlice) ProtoMessage()
func (*RspUploadFileSlice) ProtoReflect ¶
func (x *RspUploadFileSlice) ProtoReflect() protoreflect.Message
func (*RspUploadFileSlice) Reset ¶
func (x *RspUploadFileSlice) Reset()
func (*RspUploadFileSlice) String ¶
func (x *RspUploadFileSlice) String() string
type RspUploadSlicesWrong ¶ added in v0.9.0
type RspUploadSlicesWrong struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // obsolete, keep it for backward compatibility UploadType UploadType `protobuf:"varint,3,opt,name=upload_type,json=uploadType,proto3,enum=protos.UploadType" json:"upload_type,omitempty"` // obsolete, keep it for backward compatibility TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // obsolete, keep it for backward compatibility Slices []*SliceHashAddr `protobuf:"bytes,5,rep,name=slices,proto3" json:"slices,omitempty"` // obsolete, keep it for backward compatibility RspUploadFile *RspUploadFile `protobuf:"bytes,6,opt,name=rsp_upload_file,json=rspUploadFile,proto3" json:"rsp_upload_file,omitempty"` // contains filtered or unexported fields }
func (*RspUploadSlicesWrong) Descriptor
deprecated
added in
v0.9.0
func (*RspUploadSlicesWrong) Descriptor() ([]byte, []int)
Deprecated: Use RspUploadSlicesWrong.ProtoReflect.Descriptor instead.
func (*RspUploadSlicesWrong) GetFileHash ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) GetFileHash() string
func (*RspUploadSlicesWrong) GetResult ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) GetResult() *Result
func (*RspUploadSlicesWrong) GetRspUploadFile ¶ added in v0.11.9
func (x *RspUploadSlicesWrong) GetRspUploadFile() *RspUploadFile
func (*RspUploadSlicesWrong) GetSlices ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) GetSlices() []*SliceHashAddr
func (*RspUploadSlicesWrong) GetTaskId ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) GetTaskId() string
func (*RspUploadSlicesWrong) GetUploadType ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) GetUploadType() UploadType
func (*RspUploadSlicesWrong) ProtoMessage ¶ added in v0.9.0
func (*RspUploadSlicesWrong) ProtoMessage()
func (*RspUploadSlicesWrong) ProtoReflect ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) ProtoReflect() protoreflect.Message
func (*RspUploadSlicesWrong) Reset ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) Reset()
func (*RspUploadSlicesWrong) String ¶ added in v0.9.0
func (x *RspUploadSlicesWrong) String() string
type RspWithdrawnDepositSP ¶ added in v0.10.0
type RspWithdrawnDepositSP struct { Result *Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RspWithdrawnDepositSP) Descriptor
deprecated
added in
v0.10.0
func (*RspWithdrawnDepositSP) Descriptor() ([]byte, []int)
Deprecated: Use RspWithdrawnDepositSP.ProtoReflect.Descriptor instead.
func (*RspWithdrawnDepositSP) GetResult ¶ added in v0.10.0
func (x *RspWithdrawnDepositSP) GetResult() *Result
func (*RspWithdrawnDepositSP) ProtoMessage ¶ added in v0.10.0
func (*RspWithdrawnDepositSP) ProtoMessage()
func (*RspWithdrawnDepositSP) ProtoReflect ¶ added in v0.10.0
func (x *RspWithdrawnDepositSP) ProtoReflect() protoreflect.Message
func (*RspWithdrawnDepositSP) Reset ¶ added in v0.10.0
func (x *RspWithdrawnDepositSP) Reset()
func (*RspWithdrawnDepositSP) String ¶ added in v0.10.0
func (x *RspWithdrawnDepositSP) String() string
type SPBaseInfo ¶
type SPBaseInfo struct { P2PAddress string `protobuf:"bytes,1,opt,name=p2p_address,json=p2pAddress,proto3" json:"p2p_address,omitempty"` P2PPubKey string `protobuf:"bytes,2,opt,name=p2p_pub_key,json=p2pPubKey,proto3" json:"p2p_pub_key,omitempty"` NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` // contains filtered or unexported fields }
func (*SPBaseInfo) Descriptor
deprecated
func (*SPBaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use SPBaseInfo.ProtoReflect.Descriptor instead.
func (*SPBaseInfo) GetNetworkAddress ¶
func (x *SPBaseInfo) GetNetworkAddress() string
func (*SPBaseInfo) GetP2PAddress ¶
func (x *SPBaseInfo) GetP2PAddress() string
func (*SPBaseInfo) GetP2PPubKey ¶
func (x *SPBaseInfo) GetP2PPubKey() string
func (*SPBaseInfo) ProtoMessage ¶
func (*SPBaseInfo) ProtoMessage()
func (*SPBaseInfo) ProtoReflect ¶
func (x *SPBaseInfo) ProtoReflect() protoreflect.Message
func (*SPBaseInfo) Reset ¶
func (x *SPBaseInfo) Reset()
func (*SPBaseInfo) String ¶
func (x *SPBaseInfo) String() string
type ShareLinkInfo ¶
type ShareLinkInfo struct { // contains filtered or unexported fields }
func (*ShareLinkInfo) Descriptor
deprecated
func (*ShareLinkInfo) Descriptor() ([]byte, []int)
Deprecated: Use ShareLinkInfo.ProtoReflect.Descriptor instead.
func (*ShareLinkInfo) GetCreationTime ¶ added in v0.10.0
func (x *ShareLinkInfo) GetCreationTime() int64
func (*ShareLinkInfo) GetExpTime ¶ added in v0.10.0
func (x *ShareLinkInfo) GetExpTime() int64
func (*ShareLinkInfo) GetFileHash ¶
func (x *ShareLinkInfo) GetFileHash() string
func (*ShareLinkInfo) GetFileSize ¶
func (x *ShareLinkInfo) GetFileSize() uint64
func (*ShareLinkInfo) GetIsDirectory ¶
func (x *ShareLinkInfo) GetIsDirectory() bool
func (*ShareLinkInfo) GetIsPrivate ¶
func (x *ShareLinkInfo) GetIsPrivate() bool
func (*ShareLinkInfo) GetName ¶
func (x *ShareLinkInfo) GetName() string
func (*ShareLinkInfo) GetOwnerWalletAddress ¶
func (x *ShareLinkInfo) GetOwnerWalletAddress() string
func (*ShareLinkInfo) GetShareId ¶
func (x *ShareLinkInfo) GetShareId() string
func (*ShareLinkInfo) GetShareLink ¶
func (x *ShareLinkInfo) GetShareLink() string
func (*ShareLinkInfo) GetShareLinkPassword ¶
func (x *ShareLinkInfo) GetShareLinkPassword() string
func (*ShareLinkInfo) ProtoMessage ¶
func (*ShareLinkInfo) ProtoMessage()
func (*ShareLinkInfo) ProtoReflect ¶
func (x *ShareLinkInfo) ProtoReflect() protoreflect.Message
func (*ShareLinkInfo) Reset ¶
func (x *ShareLinkInfo) Reset()
func (*ShareLinkInfo) String ¶
func (x *ShareLinkInfo) String() string
type Signature ¶ added in v0.10.0
type Signature struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` Type SignatureType `protobuf:"varint,4,opt,name=type,proto3,enum=protos.SignatureType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
added in
v0.10.0
func (*Signature) GetAddress ¶ added in v0.10.0
func (*Signature) GetSignature ¶ added in v0.10.0
func (*Signature) GetType ¶ added in v0.10.0
func (x *Signature) GetType() SignatureType
func (*Signature) ProtoMessage ¶ added in v0.10.0
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶ added in v0.10.0
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureType ¶ added in v0.10.0
type SignatureType int32
const ( SignatureType_WALLET SignatureType = 0 SignatureType_P2P SignatureType = 1 )
func (SignatureType) Descriptor ¶ added in v0.10.0
func (SignatureType) Descriptor() protoreflect.EnumDescriptor
func (SignatureType) Enum ¶ added in v0.10.0
func (x SignatureType) Enum() *SignatureType
func (SignatureType) EnumDescriptor
deprecated
added in
v0.10.0
func (SignatureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureType.Descriptor instead.
func (SignatureType) Number ¶ added in v0.10.0
func (x SignatureType) Number() protoreflect.EnumNumber
func (SignatureType) String ¶ added in v0.10.0
func (x SignatureType) String() string
func (SignatureType) Type ¶ added in v0.10.0
func (SignatureType) Type() protoreflect.EnumType
type SliceHashAddr ¶ added in v0.8.0
type SliceHashAddr struct { SliceHash string `protobuf:"bytes,1,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` SliceNumber uint64 `protobuf:"varint,2,opt,name=slice_number,json=sliceNumber,proto3" json:"slice_number,omitempty"` SliceSize uint64 `protobuf:"varint,3,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` SliceOffset *SliceOffset `protobuf:"bytes,4,opt,name=slice_offset,json=sliceOffset,proto3" json:"slice_offset,omitempty"` PpInfo *PPBaseInfo `protobuf:"bytes,5,opt,name=pp_info,json=ppInfo,proto3" json:"pp_info,omitempty"` // contains filtered or unexported fields }
func (*SliceHashAddr) Descriptor
deprecated
added in
v0.8.0
func (*SliceHashAddr) Descriptor() ([]byte, []int)
Deprecated: Use SliceHashAddr.ProtoReflect.Descriptor instead.
func (*SliceHashAddr) GetPpInfo ¶ added in v0.8.0
func (x *SliceHashAddr) GetPpInfo() *PPBaseInfo
func (*SliceHashAddr) GetSliceHash ¶ added in v0.8.0
func (x *SliceHashAddr) GetSliceHash() string
func (*SliceHashAddr) GetSliceNumber ¶ added in v0.8.0
func (x *SliceHashAddr) GetSliceNumber() uint64
func (*SliceHashAddr) GetSliceOffset ¶ added in v0.8.0
func (x *SliceHashAddr) GetSliceOffset() *SliceOffset
func (*SliceHashAddr) GetSliceSize ¶ added in v0.8.0
func (x *SliceHashAddr) GetSliceSize() uint64
func (*SliceHashAddr) ProtoMessage ¶ added in v0.8.0
func (*SliceHashAddr) ProtoMessage()
func (*SliceHashAddr) ProtoReflect ¶ added in v0.8.0
func (x *SliceHashAddr) ProtoReflect() protoreflect.Message
func (*SliceHashAddr) Reset ¶ added in v0.8.0
func (x *SliceHashAddr) Reset()
func (*SliceHashAddr) String ¶ added in v0.8.0
func (x *SliceHashAddr) String() string
type SliceOffset ¶
type SliceOffset struct { SliceOffsetStart uint64 `protobuf:"varint,1,opt,name=slice_offset_start,json=sliceOffsetStart,proto3" json:"slice_offset_start,omitempty"` SliceOffsetEnd uint64 `protobuf:"varint,2,opt,name=slice_offset_end,json=sliceOffsetEnd,proto3" json:"slice_offset_end,omitempty"` // contains filtered or unexported fields }
func (*SliceOffset) Descriptor
deprecated
func (*SliceOffset) Descriptor() ([]byte, []int)
Deprecated: Use SliceOffset.ProtoReflect.Descriptor instead.
func (*SliceOffset) GetSliceOffsetEnd ¶
func (x *SliceOffset) GetSliceOffsetEnd() uint64
func (*SliceOffset) GetSliceOffsetStart ¶
func (x *SliceOffset) GetSliceOffsetStart() uint64
func (*SliceOffset) ProtoMessage ¶
func (*SliceOffset) ProtoMessage()
func (*SliceOffset) ProtoReflect ¶
func (x *SliceOffset) ProtoReflect() protoreflect.Message
func (*SliceOffset) Reset ¶
func (x *SliceOffset) Reset()
func (*SliceOffset) String ¶
func (x *SliceOffset) String() string
type SliceOffsetInfo ¶
type SliceOffsetInfo struct { SliceHash string `protobuf:"bytes,1,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` SliceOffset *SliceOffset `protobuf:"bytes,2,opt,name=slice_offset,json=sliceOffset,proto3" json:"slice_offset,omitempty"` EncryptedSliceOffset *SliceOffset `protobuf:"bytes,3,opt,name=encrypted_slice_offset,json=encryptedSliceOffset,proto3" json:"encrypted_slice_offset,omitempty"` // contains filtered or unexported fields }
func (*SliceOffsetInfo) Descriptor
deprecated
func (*SliceOffsetInfo) Descriptor() ([]byte, []int)
Deprecated: Use SliceOffsetInfo.ProtoReflect.Descriptor instead.
func (*SliceOffsetInfo) GetEncryptedSliceOffset ¶ added in v0.5.0
func (x *SliceOffsetInfo) GetEncryptedSliceOffset() *SliceOffset
func (*SliceOffsetInfo) GetSliceHash ¶
func (x *SliceOffsetInfo) GetSliceHash() string
func (*SliceOffsetInfo) GetSliceOffset ¶
func (x *SliceOffsetInfo) GetSliceOffset() *SliceOffset
func (*SliceOffsetInfo) ProtoMessage ¶
func (*SliceOffsetInfo) ProtoMessage()
func (*SliceOffsetInfo) ProtoReflect ¶
func (x *SliceOffsetInfo) ProtoReflect() protoreflect.Message
func (*SliceOffsetInfo) Reset ¶
func (x *SliceOffsetInfo) Reset()
func (*SliceOffsetInfo) String ¶
func (x *SliceOffsetInfo) String() string
type SliceStorageInfo ¶
type SliceStorageInfo struct { SliceSize uint64 `protobuf:"varint,1,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` SliceHash string `protobuf:"bytes,2,opt,name=slice_hash,json=sliceHash,proto3" json:"slice_hash,omitempty"` // contains filtered or unexported fields }
func (*SliceStorageInfo) Descriptor
deprecated
func (*SliceStorageInfo) Descriptor() ([]byte, []int)
Deprecated: Use SliceStorageInfo.ProtoReflect.Descriptor instead.
func (*SliceStorageInfo) GetSliceHash ¶
func (x *SliceStorageInfo) GetSliceHash() string
func (*SliceStorageInfo) GetSliceSize ¶
func (x *SliceStorageInfo) GetSliceSize() uint64
func (*SliceStorageInfo) ProtoMessage ¶
func (*SliceStorageInfo) ProtoMessage()
func (*SliceStorageInfo) ProtoReflect ¶
func (x *SliceStorageInfo) ProtoReflect() protoreflect.Message
func (*SliceStorageInfo) Reset ¶
func (x *SliceStorageInfo) Reset()
func (*SliceStorageInfo) String ¶
func (x *SliceStorageInfo) String() string
type SpMaintenanceType ¶ added in v0.9.0
type SpMaintenanceType int32
const ( SpMaintenanceType_CONSENSUS SpMaintenanceType = 0 SpMaintenanceType_OTHER SpMaintenanceType = 1 )
func (SpMaintenanceType) Descriptor ¶ added in v0.9.0
func (SpMaintenanceType) Descriptor() protoreflect.EnumDescriptor
func (SpMaintenanceType) Enum ¶ added in v0.9.0
func (x SpMaintenanceType) Enum() *SpMaintenanceType
func (SpMaintenanceType) EnumDescriptor
deprecated
added in
v0.9.0
func (SpMaintenanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpMaintenanceType.Descriptor instead.
func (SpMaintenanceType) Number ¶ added in v0.9.0
func (x SpMaintenanceType) Number() protoreflect.EnumNumber
func (SpMaintenanceType) String ¶ added in v0.9.0
func (x SpMaintenanceType) String() string
func (SpMaintenanceType) Type ¶ added in v0.9.0
func (SpMaintenanceType) Type() protoreflect.EnumType
type UploadSpeedOfProgress ¶
type UploadSpeedOfProgress struct { FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // SliceSize uint64 `protobuf:"varint,2,opt,name=slice_size,json=sliceSize,proto3" json:"slice_size,omitempty"` // SliceOffStart uint64 `protobuf:"varint,3,opt,name=slice_off_start,json=sliceOffStart,proto3" json:"slice_off_start,omitempty"` HandleTime int64 `protobuf:"varint,4,opt,name=handle_time,json=handleTime,proto3" json:"handle_time,omitempty"` // contains filtered or unexported fields }
func (*UploadSpeedOfProgress) Descriptor
deprecated
func (*UploadSpeedOfProgress) Descriptor() ([]byte, []int)
Deprecated: Use UploadSpeedOfProgress.ProtoReflect.Descriptor instead.
func (*UploadSpeedOfProgress) GetFileHash ¶
func (x *UploadSpeedOfProgress) GetFileHash() string
func (*UploadSpeedOfProgress) GetHandleTime ¶ added in v0.9.0
func (x *UploadSpeedOfProgress) GetHandleTime() int64
func (*UploadSpeedOfProgress) GetSliceOffStart ¶ added in v0.9.0
func (x *UploadSpeedOfProgress) GetSliceOffStart() uint64
func (*UploadSpeedOfProgress) GetSliceSize ¶
func (x *UploadSpeedOfProgress) GetSliceSize() uint64
func (*UploadSpeedOfProgress) ProtoMessage ¶
func (*UploadSpeedOfProgress) ProtoMessage()
func (*UploadSpeedOfProgress) ProtoReflect ¶
func (x *UploadSpeedOfProgress) ProtoReflect() protoreflect.Message
func (*UploadSpeedOfProgress) Reset ¶
func (x *UploadSpeedOfProgress) Reset()
func (*UploadSpeedOfProgress) String ¶
func (x *UploadSpeedOfProgress) String() string
type UploadType ¶ added in v0.9.0
type UploadType int32
const ( UploadType_NEW_UPLOAD UploadType = 0 UploadType_BACKUP UploadType = 1 )
func (UploadType) Descriptor ¶ added in v0.9.0
func (UploadType) Descriptor() protoreflect.EnumDescriptor
func (UploadType) Enum ¶ added in v0.9.0
func (x UploadType) Enum() *UploadType
func (UploadType) EnumDescriptor
deprecated
added in
v0.9.0
func (UploadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UploadType.Descriptor instead.
func (UploadType) Number ¶ added in v0.9.0
func (x UploadType) Number() protoreflect.EnumNumber
func (UploadType) String ¶ added in v0.9.0
func (x UploadType) String() string
func (UploadType) Type ¶ added in v0.9.0
func (UploadType) Type() protoreflect.EnumType
type Uploaded ¶
type Uploaded struct { ReporterAddress string `protobuf:"bytes,1,opt,name=reporter_address,json=reporterAddress,proto3" json:"reporter_address,omitempty"` UploaderAddress string `protobuf:"bytes,2,opt,name=uploader_address,json=uploaderAddress,proto3" json:"uploader_address,omitempty"` FileHash string `protobuf:"bytes,3,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*Uploaded) Descriptor
deprecated
func (*Uploaded) GetFileHash ¶
func (*Uploaded) GetReporterAddress ¶
func (*Uploaded) GetUploaderAddress ¶
func (*Uploaded) ProtoMessage ¶
func (*Uploaded) ProtoMessage()
func (*Uploaded) ProtoReflect ¶
func (x *Uploaded) ProtoReflect() protoreflect.Message