scheduler

package
v2.2.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 25 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_apis_scheduler_v2_scheduler_proto protoreflect.FileDescriptor
View Source
var Scheduler_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "scheduler.v2.Scheduler",
	HandlerType: (*SchedulerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StatPeer",
			Handler:    _Scheduler_StatPeer_Handler,
		},
		{
			MethodName: "DeletePeer",
			Handler:    _Scheduler_DeletePeer_Handler,
		},
		{
			MethodName: "StatTask",
			Handler:    _Scheduler_StatTask_Handler,
		},
		{
			MethodName: "DeleteTask",
			Handler:    _Scheduler_DeleteTask_Handler,
		},
		{
			MethodName: "AnnounceHost",
			Handler:    _Scheduler_AnnounceHost_Handler,
		},
		{
			MethodName: "ListHosts",
			Handler:    _Scheduler_ListHosts_Handler,
		},
		{
			MethodName: "DeleteHost",
			Handler:    _Scheduler_DeleteHost_Handler,
		},
		{
			MethodName: "StatCachePeer",
			Handler:    _Scheduler_StatCachePeer_Handler,
		},
		{
			MethodName: "DeleteCachePeer",
			Handler:    _Scheduler_DeleteCachePeer_Handler,
		},
		{
			MethodName: "StatCacheTask",
			Handler:    _Scheduler_StatCacheTask_Handler,
		},
		{
			MethodName: "DeleteCacheTask",
			Handler:    _Scheduler_DeleteCacheTask_Handler,
		},
		{
			MethodName: "StatPersistentPeer",
			Handler:    _Scheduler_StatPersistentPeer_Handler,
		},
		{
			MethodName: "DeletePersistentPeer",
			Handler:    _Scheduler_DeletePersistentPeer_Handler,
		},
		{
			MethodName: "UploadPersistentTaskStarted",
			Handler:    _Scheduler_UploadPersistentTaskStarted_Handler,
		},
		{
			MethodName: "UploadPersistentTaskFinished",
			Handler:    _Scheduler_UploadPersistentTaskFinished_Handler,
		},
		{
			MethodName: "UploadPersistentTaskFailed",
			Handler:    _Scheduler_UploadPersistentTaskFailed_Handler,
		},
		{
			MethodName: "StatPersistentTask",
			Handler:    _Scheduler_StatPersistentTask_Handler,
		},
		{
			MethodName: "DeletePersistentTask",
			Handler:    _Scheduler_DeletePersistentTask_Handler,
		},
		{
			MethodName: "StatPersistentCachePeer",
			Handler:    _Scheduler_StatPersistentCachePeer_Handler,
		},
		{
			MethodName: "DeletePersistentCachePeer",
			Handler:    _Scheduler_DeletePersistentCachePeer_Handler,
		},
		{
			MethodName: "UploadPersistentCacheTaskStarted",
			Handler:    _Scheduler_UploadPersistentCacheTaskStarted_Handler,
		},
		{
			MethodName: "UploadPersistentCacheTaskFinished",
			Handler:    _Scheduler_UploadPersistentCacheTaskFinished_Handler,
		},
		{
			MethodName: "UploadPersistentCacheTaskFailed",
			Handler:    _Scheduler_UploadPersistentCacheTaskFailed_Handler,
		},
		{
			MethodName: "StatPersistentCacheTask",
			Handler:    _Scheduler_StatPersistentCacheTask_Handler,
		},
		{
			MethodName: "DeletePersistentCacheTask",
			Handler:    _Scheduler_DeletePersistentCacheTask_Handler,
		},
		{
			MethodName: "PreheatImage",
			Handler:    _Scheduler_PreheatImage_Handler,
		},
		{
			MethodName: "StatImage",
			Handler:    _Scheduler_StatImage_Handler,
		},
		{
			MethodName: "PreheatFile",
			Handler:    _Scheduler_PreheatFile_Handler,
		},
		{
			MethodName: "StatFile",
			Handler:    _Scheduler_StatFile_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "AnnouncePeer",
			Handler:       _Scheduler_AnnouncePeer_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "AnnounceCachePeer",
			Handler:       _Scheduler_AnnounceCachePeer_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "AnnouncePersistentPeer",
			Handler:       _Scheduler_AnnouncePersistentPeer_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "AnnouncePersistentCachePeer",
			Handler:       _Scheduler_AnnouncePersistentCachePeer_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "pkg/apis/scheduler/v2/scheduler.proto",
}

Scheduler_ServiceDesc is the grpc.ServiceDesc for Scheduler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSchedulerServer

func RegisterSchedulerServer(s grpc.ServiceRegistrar, srv SchedulerServer)

Types

type AnnounceCachePeerRequest added in v2.0.121

type AnnounceCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// Types that are assignable to Request:
	//
	//	*AnnounceCachePeerRequest_RegisterCachePeerRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerStartedRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest
	//	*AnnounceCachePeerRequest_RescheduleCachePeerRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerFailedRequest
	//	*AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest
	//	*AnnounceCachePeerRequest_DownloadPieceFinishedRequest
	//	*AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest
	//	*AnnounceCachePeerRequest_DownloadPieceFailedRequest
	//	*AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest
	Request isAnnounceCachePeerRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

AnnounceCachePeerRequest represents request of AnnounceCachePeer.

func (*AnnounceCachePeerRequest) Descriptor deprecated added in v2.0.121

func (*AnnounceCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnnounceCachePeerRequest.ProtoReflect.Descriptor instead.

func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFailedRequest added in v2.1.50

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFailedRequest() *DownloadCachePeerBackToSourceFailedRequest

func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFinishedRequest added in v2.1.50

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFinishedRequest() *DownloadCachePeerBackToSourceFinishedRequest

func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceStartedRequest added in v2.1.50

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceStartedRequest() *DownloadCachePeerBackToSourceStartedRequest

func (*AnnounceCachePeerRequest) GetDownloadCachePeerFailedRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFailedRequest() *DownloadCachePeerFailedRequest

func (*AnnounceCachePeerRequest) GetDownloadCachePeerFinishedRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFinishedRequest() *DownloadCachePeerFinishedRequest

func (*AnnounceCachePeerRequest) GetDownloadCachePeerStartedRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetDownloadCachePeerStartedRequest() *DownloadCachePeerStartedRequest

func (*AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFailedRequest added in v2.1.50

func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest

func (*AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFinishedRequest added in v2.1.50

func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest

func (*AnnounceCachePeerRequest) GetDownloadPieceFailedRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest

func (*AnnounceCachePeerRequest) GetDownloadPieceFinishedRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest

func (*AnnounceCachePeerRequest) GetHostId added in v2.0.121

func (x *AnnounceCachePeerRequest) GetHostId() string

func (*AnnounceCachePeerRequest) GetPeerId added in v2.0.121

func (x *AnnounceCachePeerRequest) GetPeerId() string

func (*AnnounceCachePeerRequest) GetRegisterCachePeerRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetRegisterCachePeerRequest() *RegisterCachePeerRequest

func (*AnnounceCachePeerRequest) GetRequest added in v2.0.121

func (m *AnnounceCachePeerRequest) GetRequest() isAnnounceCachePeerRequest_Request

func (*AnnounceCachePeerRequest) GetRescheduleCachePeerRequest added in v2.0.121

func (x *AnnounceCachePeerRequest) GetRescheduleCachePeerRequest() *RescheduleCachePeerRequest

func (*AnnounceCachePeerRequest) GetTaskId added in v2.0.121

func (x *AnnounceCachePeerRequest) GetTaskId() string

func (*AnnounceCachePeerRequest) ProtoMessage added in v2.0.121

func (*AnnounceCachePeerRequest) ProtoMessage()

func (*AnnounceCachePeerRequest) ProtoReflect added in v2.0.121

func (x *AnnounceCachePeerRequest) ProtoReflect() protoreflect.Message

func (*AnnounceCachePeerRequest) Reset added in v2.0.121

func (x *AnnounceCachePeerRequest) Reset()

func (*AnnounceCachePeerRequest) String added in v2.0.121

func (x *AnnounceCachePeerRequest) String() string

func (*AnnounceCachePeerRequest) Validate added in v2.0.121

func (m *AnnounceCachePeerRequest) Validate() error

Validate checks the field values on AnnounceCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnounceCachePeerRequest) ValidateAll added in v2.0.121

func (m *AnnounceCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on AnnounceCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceCachePeerRequestMultiError, or nil if none found.

type AnnounceCachePeerRequestMultiError added in v2.0.121

type AnnounceCachePeerRequestMultiError []error

AnnounceCachePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnounceCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (AnnounceCachePeerRequestMultiError) AllErrors added in v2.0.121

func (m AnnounceCachePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnounceCachePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type AnnounceCachePeerRequestValidationError added in v2.0.121

type AnnounceCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

AnnounceCachePeerRequestValidationError is the validation error returned by AnnounceCachePeerRequest.Validate if the designated constraints aren't met.

func (AnnounceCachePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (AnnounceCachePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (AnnounceCachePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (AnnounceCachePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (AnnounceCachePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (AnnounceCachePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest added in v2.1.50

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest struct {
	DownloadCachePeerBackToSourceFailedRequest *DownloadCachePeerBackToSourceFailedRequest `` /* 139-byte string literal not displayed */
}

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest added in v2.1.50

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest struct {
	DownloadCachePeerBackToSourceFinishedRequest *DownloadCachePeerBackToSourceFinishedRequest `` /* 142-byte string literal not displayed */
}

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest added in v2.1.50

type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest struct {
	DownloadCachePeerBackToSourceStartedRequest *DownloadCachePeerBackToSourceStartedRequest `` /* 140-byte string literal not displayed */
}

type AnnounceCachePeerRequest_DownloadCachePeerFailedRequest added in v2.0.121

type AnnounceCachePeerRequest_DownloadCachePeerFailedRequest struct {
	DownloadCachePeerFailedRequest *DownloadCachePeerFailedRequest `protobuf:"bytes,10,opt,name=download_cache_peer_failed_request,json=downloadCachePeerFailedRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest added in v2.0.121

type AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest struct {
	DownloadCachePeerFinishedRequest *DownloadCachePeerFinishedRequest `protobuf:"bytes,8,opt,name=download_cache_peer_finished_request,json=downloadCachePeerFinishedRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_DownloadCachePeerStartedRequest added in v2.0.121

type AnnounceCachePeerRequest_DownloadCachePeerStartedRequest struct {
	DownloadCachePeerStartedRequest *DownloadCachePeerStartedRequest `protobuf:"bytes,5,opt,name=download_cache_peer_started_request,json=downloadCachePeerStartedRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest added in v2.1.50

type AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest struct {
	DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}

type AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest added in v2.1.50

type AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
	DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}

type AnnounceCachePeerRequest_DownloadPieceFailedRequest added in v2.0.121

type AnnounceCachePeerRequest_DownloadPieceFailedRequest struct {
	DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_DownloadPieceFinishedRequest added in v2.0.121

type AnnounceCachePeerRequest_DownloadPieceFinishedRequest struct {
	DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_RegisterCachePeerRequest added in v2.0.121

type AnnounceCachePeerRequest_RegisterCachePeerRequest struct {
	RegisterCachePeerRequest *RegisterCachePeerRequest `protobuf:"bytes,4,opt,name=register_cache_peer_request,json=registerCachePeerRequest,proto3,oneof"`
}

type AnnounceCachePeerRequest_RescheduleCachePeerRequest added in v2.0.121

type AnnounceCachePeerRequest_RescheduleCachePeerRequest struct {
	RescheduleCachePeerRequest *RescheduleCachePeerRequest `protobuf:"bytes,7,opt,name=reschedule_cache_peer_request,json=rescheduleCachePeerRequest,proto3,oneof"`
}

type AnnounceCachePeerResponse added in v2.0.121

type AnnounceCachePeerResponse struct {

	// Types that are assignable to Response:
	//
	//	*AnnounceCachePeerResponse_EmptyCacheTaskResponse
	//	*AnnounceCachePeerResponse_NormalCacheTaskResponse
	//	*AnnounceCachePeerResponse_NeedBackToSourceResponse
	Response isAnnounceCachePeerResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

AnnounceCachePeerResponse represents response of AnnounceCachePeer.

func (*AnnounceCachePeerResponse) Descriptor deprecated added in v2.0.121

func (*AnnounceCachePeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnnounceCachePeerResponse.ProtoReflect.Descriptor instead.

func (*AnnounceCachePeerResponse) GetEmptyCacheTaskResponse added in v2.0.139

func (x *AnnounceCachePeerResponse) GetEmptyCacheTaskResponse() *EmptyCacheTaskResponse

func (*AnnounceCachePeerResponse) GetNeedBackToSourceResponse added in v2.1.50

func (x *AnnounceCachePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse

func (*AnnounceCachePeerResponse) GetNormalCacheTaskResponse added in v2.0.139

func (x *AnnounceCachePeerResponse) GetNormalCacheTaskResponse() *NormalCacheTaskResponse

func (*AnnounceCachePeerResponse) GetResponse added in v2.0.121

func (m *AnnounceCachePeerResponse) GetResponse() isAnnounceCachePeerResponse_Response

func (*AnnounceCachePeerResponse) ProtoMessage added in v2.0.121

func (*AnnounceCachePeerResponse) ProtoMessage()

func (*AnnounceCachePeerResponse) ProtoReflect added in v2.0.121

func (*AnnounceCachePeerResponse) Reset added in v2.0.121

func (x *AnnounceCachePeerResponse) Reset()

func (*AnnounceCachePeerResponse) String added in v2.0.121

func (x *AnnounceCachePeerResponse) String() string

func (*AnnounceCachePeerResponse) Validate added in v2.0.121

func (m *AnnounceCachePeerResponse) Validate() error

Validate checks the field values on AnnounceCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnounceCachePeerResponse) ValidateAll added in v2.0.121

func (m *AnnounceCachePeerResponse) ValidateAll() error

ValidateAll checks the field values on AnnounceCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceCachePeerResponseMultiError, or nil if none found.

type AnnounceCachePeerResponseMultiError added in v2.0.121

type AnnounceCachePeerResponseMultiError []error

AnnounceCachePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnounceCachePeerResponse.ValidateAll() if the designated constraints aren't met.

func (AnnounceCachePeerResponseMultiError) AllErrors added in v2.0.121

AllErrors returns a list of validation violation errors.

func (AnnounceCachePeerResponseMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type AnnounceCachePeerResponseValidationError added in v2.0.121

type AnnounceCachePeerResponseValidationError struct {
	// contains filtered or unexported fields
}

AnnounceCachePeerResponseValidationError is the validation error returned by AnnounceCachePeerResponse.Validate if the designated constraints aren't met.

func (AnnounceCachePeerResponseValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (AnnounceCachePeerResponseValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (AnnounceCachePeerResponseValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (AnnounceCachePeerResponseValidationError) Field added in v2.0.121

Field function returns field value.

func (AnnounceCachePeerResponseValidationError) Key added in v2.0.121

Key function returns key value.

func (AnnounceCachePeerResponseValidationError) Reason added in v2.0.121

Reason function returns reason value.

type AnnounceCachePeerResponse_EmptyCacheTaskResponse added in v2.0.139

type AnnounceCachePeerResponse_EmptyCacheTaskResponse struct {
	EmptyCacheTaskResponse *EmptyCacheTaskResponse `protobuf:"bytes,1,opt,name=empty_cache_task_response,json=emptyCacheTaskResponse,proto3,oneof"`
}

type AnnounceCachePeerResponse_NeedBackToSourceResponse added in v2.1.50

type AnnounceCachePeerResponse_NeedBackToSourceResponse struct {
	NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}

type AnnounceCachePeerResponse_NormalCacheTaskResponse added in v2.0.139

type AnnounceCachePeerResponse_NormalCacheTaskResponse struct {
	NormalCacheTaskResponse *NormalCacheTaskResponse `protobuf:"bytes,2,opt,name=normal_cache_task_response,json=normalCacheTaskResponse,proto3,oneof"`
}

type AnnounceHostRequest

type AnnounceHostRequest struct {

	// Host info.
	Host *v2.Host `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The interval between dfdaemon announces to scheduler.
	Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

AnnounceHostRequest represents request of AnnounceHost.

func (*AnnounceHostRequest) Descriptor deprecated

func (*AnnounceHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnnounceHostRequest.ProtoReflect.Descriptor instead.

func (*AnnounceHostRequest) GetHost

func (x *AnnounceHostRequest) GetHost() *v2.Host

func (*AnnounceHostRequest) GetInterval added in v2.0.125

func (x *AnnounceHostRequest) GetInterval() *durationpb.Duration

func (*AnnounceHostRequest) ProtoMessage

func (*AnnounceHostRequest) ProtoMessage()

func (*AnnounceHostRequest) ProtoReflect

func (x *AnnounceHostRequest) ProtoReflect() protoreflect.Message

func (*AnnounceHostRequest) Reset

func (x *AnnounceHostRequest) Reset()

func (*AnnounceHostRequest) String

func (x *AnnounceHostRequest) String() string

func (*AnnounceHostRequest) Validate

func (m *AnnounceHostRequest) Validate() error

Validate checks the field values on AnnounceHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnounceHostRequest) ValidateAll

func (m *AnnounceHostRequest) ValidateAll() error

ValidateAll checks the field values on AnnounceHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceHostRequestMultiError, or nil if none found.

type AnnounceHostRequestMultiError

type AnnounceHostRequestMultiError []error

AnnounceHostRequestMultiError is an error wrapping multiple validation errors returned by AnnounceHostRequest.ValidateAll() if the designated constraints aren't met.

func (AnnounceHostRequestMultiError) AllErrors

func (m AnnounceHostRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnounceHostRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnnounceHostRequestValidationError

type AnnounceHostRequestValidationError struct {
	// contains filtered or unexported fields
}

AnnounceHostRequestValidationError is the validation error returned by AnnounceHostRequest.Validate if the designated constraints aren't met.

func (AnnounceHostRequestValidationError) Cause

Cause function returns cause value.

func (AnnounceHostRequestValidationError) Error

Error satisfies the builtin error interface

func (AnnounceHostRequestValidationError) ErrorName

ErrorName returns error name.

func (AnnounceHostRequestValidationError) Field

Field function returns field value.

func (AnnounceHostRequestValidationError) Key

Key function returns key value.

func (AnnounceHostRequestValidationError) Reason

Reason function returns reason value.

type AnnouncePeerRequest

type AnnouncePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// Types that are assignable to Request:
	//
	//	*AnnouncePeerRequest_RegisterPeerRequest
	//	*AnnouncePeerRequest_DownloadPeerStartedRequest
	//	*AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest
	//	*AnnouncePeerRequest_ReschedulePeerRequest
	//	*AnnouncePeerRequest_DownloadPeerFinishedRequest
	//	*AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest
	//	*AnnouncePeerRequest_DownloadPeerFailedRequest
	//	*AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest
	//	*AnnouncePeerRequest_DownloadPieceFinishedRequest
	//	*AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest
	//	*AnnouncePeerRequest_DownloadPieceFailedRequest
	//	*AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest
	Request isAnnouncePeerRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

AnnouncePeerRequest represents request of AnnouncePeer.

func (*AnnouncePeerRequest) Descriptor deprecated

func (*AnnouncePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePeerRequest.ProtoReflect.Descriptor instead.

func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceFailedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFailedRequest() *DownloadPeerBackToSourceFailedRequest

func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceFinishedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFinishedRequest() *DownloadPeerBackToSourceFinishedRequest

func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceStartedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceStartedRequest() *DownloadPeerBackToSourceStartedRequest

func (*AnnouncePeerRequest) GetDownloadPeerFailedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerFailedRequest() *DownloadPeerFailedRequest

func (*AnnouncePeerRequest) GetDownloadPeerFinishedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerFinishedRequest() *DownloadPeerFinishedRequest

func (*AnnouncePeerRequest) GetDownloadPeerStartedRequest

func (x *AnnouncePeerRequest) GetDownloadPeerStartedRequest() *DownloadPeerStartedRequest

func (*AnnouncePeerRequest) GetDownloadPieceBackToSourceFailedRequest

func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest

func (*AnnouncePeerRequest) GetDownloadPieceBackToSourceFinishedRequest

func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest

func (*AnnouncePeerRequest) GetDownloadPieceFailedRequest

func (x *AnnouncePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest

func (*AnnouncePeerRequest) GetDownloadPieceFinishedRequest

func (x *AnnouncePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest

func (*AnnouncePeerRequest) GetHostId

func (x *AnnouncePeerRequest) GetHostId() string

func (*AnnouncePeerRequest) GetPeerId

func (x *AnnouncePeerRequest) GetPeerId() string

func (*AnnouncePeerRequest) GetRegisterPeerRequest

func (x *AnnouncePeerRequest) GetRegisterPeerRequest() *RegisterPeerRequest

func (*AnnouncePeerRequest) GetRequest

func (m *AnnouncePeerRequest) GetRequest() isAnnouncePeerRequest_Request

func (*AnnouncePeerRequest) GetReschedulePeerRequest added in v2.0.121

func (x *AnnouncePeerRequest) GetReschedulePeerRequest() *ReschedulePeerRequest

func (*AnnouncePeerRequest) GetTaskId

func (x *AnnouncePeerRequest) GetTaskId() string

func (*AnnouncePeerRequest) ProtoMessage

func (*AnnouncePeerRequest) ProtoMessage()

func (*AnnouncePeerRequest) ProtoReflect

func (x *AnnouncePeerRequest) ProtoReflect() protoreflect.Message

func (*AnnouncePeerRequest) Reset

func (x *AnnouncePeerRequest) Reset()

func (*AnnouncePeerRequest) String

func (x *AnnouncePeerRequest) String() string

func (*AnnouncePeerRequest) Validate

func (m *AnnouncePeerRequest) Validate() error

Validate checks the field values on AnnouncePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePeerRequest) ValidateAll

func (m *AnnouncePeerRequest) ValidateAll() error

ValidateAll checks the field values on AnnouncePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePeerRequestMultiError, or nil if none found.

type AnnouncePeerRequestMultiError

type AnnouncePeerRequestMultiError []error

AnnouncePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePeerRequest.ValidateAll() if the designated constraints aren't met.

func (AnnouncePeerRequestMultiError) AllErrors

func (m AnnouncePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnouncePeerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnnouncePeerRequestValidationError

type AnnouncePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePeerRequestValidationError is the validation error returned by AnnouncePeerRequest.Validate if the designated constraints aren't met.

func (AnnouncePeerRequestValidationError) Cause

Cause function returns cause value.

func (AnnouncePeerRequestValidationError) Error

Error satisfies the builtin error interface

func (AnnouncePeerRequestValidationError) ErrorName

ErrorName returns error name.

func (AnnouncePeerRequestValidationError) Field

Field function returns field value.

func (AnnouncePeerRequestValidationError) Key

Key function returns key value.

func (AnnouncePeerRequestValidationError) Reason

Reason function returns reason value.

type AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest

type AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest struct {
	DownloadPeerBackToSourceFailedRequest *DownloadPeerBackToSourceFailedRequest `` /* 128-byte string literal not displayed */
}

type AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest

type AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest struct {
	DownloadPeerBackToSourceFinishedRequest *DownloadPeerBackToSourceFinishedRequest `` /* 131-byte string literal not displayed */
}

type AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest

type AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest struct {
	DownloadPeerBackToSourceStartedRequest *DownloadPeerBackToSourceStartedRequest `` /* 129-byte string literal not displayed */
}

type AnnouncePeerRequest_DownloadPeerFailedRequest

type AnnouncePeerRequest_DownloadPeerFailedRequest struct {
	DownloadPeerFailedRequest *DownloadPeerFailedRequest `protobuf:"bytes,10,opt,name=download_peer_failed_request,json=downloadPeerFailedRequest,proto3,oneof"`
}

type AnnouncePeerRequest_DownloadPeerFinishedRequest

type AnnouncePeerRequest_DownloadPeerFinishedRequest struct {
	DownloadPeerFinishedRequest *DownloadPeerFinishedRequest `protobuf:"bytes,8,opt,name=download_peer_finished_request,json=downloadPeerFinishedRequest,proto3,oneof"`
}

type AnnouncePeerRequest_DownloadPeerStartedRequest

type AnnouncePeerRequest_DownloadPeerStartedRequest struct {
	DownloadPeerStartedRequest *DownloadPeerStartedRequest `protobuf:"bytes,5,opt,name=download_peer_started_request,json=downloadPeerStartedRequest,proto3,oneof"`
}

type AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest

type AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest struct {
	DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}

type AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest

type AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
	DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}

type AnnouncePeerRequest_DownloadPieceFailedRequest

type AnnouncePeerRequest_DownloadPieceFailedRequest struct {
	DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}

type AnnouncePeerRequest_DownloadPieceFinishedRequest

type AnnouncePeerRequest_DownloadPieceFinishedRequest struct {
	DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}

type AnnouncePeerRequest_RegisterPeerRequest

type AnnouncePeerRequest_RegisterPeerRequest struct {
	RegisterPeerRequest *RegisterPeerRequest `protobuf:"bytes,4,opt,name=register_peer_request,json=registerPeerRequest,proto3,oneof"`
}

type AnnouncePeerRequest_ReschedulePeerRequest added in v2.0.121

type AnnouncePeerRequest_ReschedulePeerRequest struct {
	ReschedulePeerRequest *ReschedulePeerRequest `protobuf:"bytes,7,opt,name=reschedule_peer_request,json=reschedulePeerRequest,proto3,oneof"`
}

type AnnouncePeerResponse

type AnnouncePeerResponse struct {

	// Types that are assignable to Response:
	//
	//	*AnnouncePeerResponse_EmptyTaskResponse
	//	*AnnouncePeerResponse_NormalTaskResponse
	//	*AnnouncePeerResponse_NeedBackToSourceResponse
	Response isAnnouncePeerResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

AnnouncePeerResponse represents response of AnnouncePeer.

func (*AnnouncePeerResponse) Descriptor deprecated

func (*AnnouncePeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePeerResponse.ProtoReflect.Descriptor instead.

func (*AnnouncePeerResponse) GetEmptyTaskResponse

func (x *AnnouncePeerResponse) GetEmptyTaskResponse() *EmptyTaskResponse

func (*AnnouncePeerResponse) GetNeedBackToSourceResponse

func (x *AnnouncePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse

func (*AnnouncePeerResponse) GetNormalTaskResponse

func (x *AnnouncePeerResponse) GetNormalTaskResponse() *NormalTaskResponse

func (*AnnouncePeerResponse) GetResponse

func (m *AnnouncePeerResponse) GetResponse() isAnnouncePeerResponse_Response

func (*AnnouncePeerResponse) ProtoMessage

func (*AnnouncePeerResponse) ProtoMessage()

func (*AnnouncePeerResponse) ProtoReflect

func (x *AnnouncePeerResponse) ProtoReflect() protoreflect.Message

func (*AnnouncePeerResponse) Reset

func (x *AnnouncePeerResponse) Reset()

func (*AnnouncePeerResponse) String

func (x *AnnouncePeerResponse) String() string

func (*AnnouncePeerResponse) Validate

func (m *AnnouncePeerResponse) Validate() error

Validate checks the field values on AnnouncePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePeerResponse) ValidateAll

func (m *AnnouncePeerResponse) ValidateAll() error

ValidateAll checks the field values on AnnouncePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePeerResponseMultiError, or nil if none found.

type AnnouncePeerResponseMultiError

type AnnouncePeerResponseMultiError []error

AnnouncePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePeerResponse.ValidateAll() if the designated constraints aren't met.

func (AnnouncePeerResponseMultiError) AllErrors

func (m AnnouncePeerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AnnouncePeerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnnouncePeerResponseValidationError

type AnnouncePeerResponseValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePeerResponseValidationError is the validation error returned by AnnouncePeerResponse.Validate if the designated constraints aren't met.

func (AnnouncePeerResponseValidationError) Cause

Cause function returns cause value.

func (AnnouncePeerResponseValidationError) Error

Error satisfies the builtin error interface

func (AnnouncePeerResponseValidationError) ErrorName

ErrorName returns error name.

func (AnnouncePeerResponseValidationError) Field

Field function returns field value.

func (AnnouncePeerResponseValidationError) Key

Key function returns key value.

func (AnnouncePeerResponseValidationError) Reason

Reason function returns reason value.

type AnnouncePeerResponse_EmptyTaskResponse

type AnnouncePeerResponse_EmptyTaskResponse struct {
	EmptyTaskResponse *EmptyTaskResponse `protobuf:"bytes,1,opt,name=empty_task_response,json=emptyTaskResponse,proto3,oneof"`
}

type AnnouncePeerResponse_NeedBackToSourceResponse

type AnnouncePeerResponse_NeedBackToSourceResponse struct {
	NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}

type AnnouncePeerResponse_NormalTaskResponse

type AnnouncePeerResponse_NormalTaskResponse struct {
	NormalTaskResponse *NormalTaskResponse `protobuf:"bytes,2,opt,name=normal_task_response,json=normalTaskResponse,proto3,oneof"`
}

type AnnouncePersistentCachePeerRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// Types that are assignable to Request:
	//
	//	*AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest
	//	*AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest
	//	*AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest
	//	*AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest
	//	*AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest
	//	*AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest
	//	*AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest
	Request isAnnouncePersistentCachePeerRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

AnnouncePersistentCachePeerRequest represents request of AnnouncePersistentCachePeer.

func (*AnnouncePersistentCachePeerRequest) Descriptor deprecated added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePersistentCachePeerRequest.ProtoReflect.Descriptor instead.

func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFailedRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFailedRequest() *DownloadPersistentCachePeerFailedRequest

func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFinishedRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFinishedRequest() *DownloadPersistentCachePeerFinishedRequest

func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerStartedRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerStartedRequest() *DownloadPersistentCachePeerStartedRequest

func (*AnnouncePersistentCachePeerRequest) GetDownloadPieceFailedRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest

func (*AnnouncePersistentCachePeerRequest) GetDownloadPieceFinishedRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest

func (*AnnouncePersistentCachePeerRequest) GetHostId added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) GetPeerId added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) GetRegisterPersistentCachePeerRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetRegisterPersistentCachePeerRequest() *RegisterPersistentCachePeerRequest

func (*AnnouncePersistentCachePeerRequest) GetRequest added in v2.0.161

func (m *AnnouncePersistentCachePeerRequest) GetRequest() isAnnouncePersistentCachePeerRequest_Request

func (*AnnouncePersistentCachePeerRequest) GetReschedulePersistentCachePeerRequest added in v2.0.161

func (x *AnnouncePersistentCachePeerRequest) GetReschedulePersistentCachePeerRequest() *ReschedulePersistentCachePeerRequest

func (*AnnouncePersistentCachePeerRequest) GetTaskId added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) ProtoMessage added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) ProtoMessage()

func (*AnnouncePersistentCachePeerRequest) ProtoReflect added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) Reset added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) String added in v2.0.161

func (*AnnouncePersistentCachePeerRequest) Validate added in v2.0.161

Validate checks the field values on AnnouncePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePersistentCachePeerRequest) ValidateAll added in v2.0.161

func (m *AnnouncePersistentCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on AnnouncePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentCachePeerRequestMultiError, or nil if none found.

type AnnouncePersistentCachePeerRequestMultiError added in v2.0.161

type AnnouncePersistentCachePeerRequestMultiError []error

AnnouncePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (AnnouncePersistentCachePeerRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (AnnouncePersistentCachePeerRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type AnnouncePersistentCachePeerRequestValidationError added in v2.0.161

type AnnouncePersistentCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePersistentCachePeerRequestValidationError is the validation error returned by AnnouncePersistentCachePeerRequest.Validate if the designated constraints aren't met.

func (AnnouncePersistentCachePeerRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (AnnouncePersistentCachePeerRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (AnnouncePersistentCachePeerRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (AnnouncePersistentCachePeerRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (AnnouncePersistentCachePeerRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (AnnouncePersistentCachePeerRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest struct {
	DownloadPersistentCachePeerFailedRequest *DownloadPersistentCachePeerFailedRequest `` /* 132-byte string literal not displayed */
}

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest struct {
	DownloadPersistentCachePeerFinishedRequest *DownloadPersistentCachePeerFinishedRequest `` /* 136-byte string literal not displayed */
}

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest struct {
	DownloadPersistentCachePeerStartedRequest *DownloadPersistentCachePeerStartedRequest `` /* 134-byte string literal not displayed */
}

type AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest struct {
	DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,10,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}

type AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest struct {
	DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,9,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}

type AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest struct {
	RegisterPersistentCachePeerRequest *RegisterPersistentCachePeerRequest `protobuf:"bytes,4,opt,name=register_persistent_cache_peer_request,json=registerPersistentCachePeerRequest,proto3,oneof"`
}

type AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest added in v2.0.161

type AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest struct {
	ReschedulePersistentCachePeerRequest *ReschedulePersistentCachePeerRequest `protobuf:"bytes,6,opt,name=reschedule_persistent_cache_peer_request,json=reschedulePersistentCachePeerRequest,proto3,oneof"`
}

type AnnouncePersistentCachePeerResponse added in v2.0.161

type AnnouncePersistentCachePeerResponse struct {

	// Types that are assignable to Response:
	//
	//	*AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse
	//	*AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse
	Response isAnnouncePersistentCachePeerResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

AnnouncePersistentCachePeerResponse represents response of AnnouncePersistentCachePeer.

func (*AnnouncePersistentCachePeerResponse) Descriptor deprecated added in v2.0.161

func (*AnnouncePersistentCachePeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePersistentCachePeerResponse.ProtoReflect.Descriptor instead.

func (*AnnouncePersistentCachePeerResponse) GetEmptyPersistentCacheTaskResponse added in v2.0.161

func (x *AnnouncePersistentCachePeerResponse) GetEmptyPersistentCacheTaskResponse() *EmptyPersistentCacheTaskResponse

func (*AnnouncePersistentCachePeerResponse) GetNormalPersistentCacheTaskResponse added in v2.0.161

func (x *AnnouncePersistentCachePeerResponse) GetNormalPersistentCacheTaskResponse() *NormalPersistentCacheTaskResponse

func (*AnnouncePersistentCachePeerResponse) GetResponse added in v2.0.161

func (m *AnnouncePersistentCachePeerResponse) GetResponse() isAnnouncePersistentCachePeerResponse_Response

func (*AnnouncePersistentCachePeerResponse) ProtoMessage added in v2.0.161

func (*AnnouncePersistentCachePeerResponse) ProtoMessage()

func (*AnnouncePersistentCachePeerResponse) ProtoReflect added in v2.0.161

func (*AnnouncePersistentCachePeerResponse) Reset added in v2.0.161

func (*AnnouncePersistentCachePeerResponse) String added in v2.0.161

func (*AnnouncePersistentCachePeerResponse) Validate added in v2.0.161

Validate checks the field values on AnnouncePersistentCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePersistentCachePeerResponse) ValidateAll added in v2.0.161

func (m *AnnouncePersistentCachePeerResponse) ValidateAll() error

ValidateAll checks the field values on AnnouncePersistentCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentCachePeerResponseMultiError, or nil if none found.

type AnnouncePersistentCachePeerResponseMultiError added in v2.0.161

type AnnouncePersistentCachePeerResponseMultiError []error

AnnouncePersistentCachePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentCachePeerResponse.ValidateAll() if the designated constraints aren't met.

func (AnnouncePersistentCachePeerResponseMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (AnnouncePersistentCachePeerResponseMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type AnnouncePersistentCachePeerResponseValidationError added in v2.0.161

type AnnouncePersistentCachePeerResponseValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePersistentCachePeerResponseValidationError is the validation error returned by AnnouncePersistentCachePeerResponse.Validate if the designated constraints aren't met.

func (AnnouncePersistentCachePeerResponseValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (AnnouncePersistentCachePeerResponseValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (AnnouncePersistentCachePeerResponseValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (AnnouncePersistentCachePeerResponseValidationError) Field added in v2.0.161

Field function returns field value.

func (AnnouncePersistentCachePeerResponseValidationError) Key added in v2.0.161

Key function returns key value.

func (AnnouncePersistentCachePeerResponseValidationError) Reason added in v2.0.161

Reason function returns reason value.

type AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse added in v2.0.161

type AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse struct {
	EmptyPersistentCacheTaskResponse *EmptyPersistentCacheTaskResponse `protobuf:"bytes,1,opt,name=empty_persistent_cache_task_response,json=emptyPersistentCacheTaskResponse,proto3,oneof"`
}

type AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse added in v2.0.161

type AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse struct {
	NormalPersistentCacheTaskResponse *NormalPersistentCacheTaskResponse `protobuf:"bytes,2,opt,name=normal_persistent_cache_task_response,json=normalPersistentCacheTaskResponse,proto3,oneof"`
}

type AnnouncePersistentPeerRequest added in v2.1.86

type AnnouncePersistentPeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// Types that are assignable to Request:
	//
	//	*AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest
	//	*AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPieceFailedRequest
	//	*AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest
	Request isAnnouncePersistentPeerRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

AnnouncePersistentPeerRequest represents request of AnnouncePersistentPeer.

func (*AnnouncePersistentPeerRequest) Descriptor deprecated added in v2.1.86

func (*AnnouncePersistentPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePersistentPeerRequest.ProtoReflect.Descriptor instead.

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFailedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFailedRequest() *DownloadPersistentPeerBackToSourceFailedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFinishedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFinishedRequest() *DownloadPersistentPeerBackToSourceFinishedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceStartedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceStartedRequest() *DownloadPersistentPeerBackToSourceStartedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFailedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFailedRequest() *DownloadPersistentPeerFailedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFinishedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFinishedRequest() *DownloadPersistentPeerFinishedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerStartedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerStartedRequest() *DownloadPersistentPeerStartedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFailedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFinishedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPieceFailedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest

func (*AnnouncePersistentPeerRequest) GetDownloadPieceFinishedRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest

func (*AnnouncePersistentPeerRequest) GetHostId added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetHostId() string

func (*AnnouncePersistentPeerRequest) GetPeerId added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetPeerId() string

func (*AnnouncePersistentPeerRequest) GetRegisterPersistentPeerRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetRegisterPersistentPeerRequest() *RegisterPersistentPeerRequest

func (*AnnouncePersistentPeerRequest) GetRequest added in v2.1.86

func (m *AnnouncePersistentPeerRequest) GetRequest() isAnnouncePersistentPeerRequest_Request

func (*AnnouncePersistentPeerRequest) GetReschedulePersistentPeerRequest added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetReschedulePersistentPeerRequest() *ReschedulePersistentPeerRequest

func (*AnnouncePersistentPeerRequest) GetTaskId added in v2.1.86

func (x *AnnouncePersistentPeerRequest) GetTaskId() string

func (*AnnouncePersistentPeerRequest) ProtoMessage added in v2.1.86

func (*AnnouncePersistentPeerRequest) ProtoMessage()

func (*AnnouncePersistentPeerRequest) ProtoReflect added in v2.1.86

func (*AnnouncePersistentPeerRequest) Reset added in v2.1.86

func (x *AnnouncePersistentPeerRequest) Reset()

func (*AnnouncePersistentPeerRequest) String added in v2.1.86

func (*AnnouncePersistentPeerRequest) Validate added in v2.1.86

func (m *AnnouncePersistentPeerRequest) Validate() error

Validate checks the field values on AnnouncePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePersistentPeerRequest) ValidateAll added in v2.1.86

func (m *AnnouncePersistentPeerRequest) ValidateAll() error

ValidateAll checks the field values on AnnouncePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentPeerRequestMultiError, or nil if none found.

type AnnouncePersistentPeerRequestMultiError added in v2.1.86

type AnnouncePersistentPeerRequestMultiError []error

AnnouncePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.

func (AnnouncePersistentPeerRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (AnnouncePersistentPeerRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type AnnouncePersistentPeerRequestValidationError added in v2.1.86

type AnnouncePersistentPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePersistentPeerRequestValidationError is the validation error returned by AnnouncePersistentPeerRequest.Validate if the designated constraints aren't met.

func (AnnouncePersistentPeerRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (AnnouncePersistentPeerRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (AnnouncePersistentPeerRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (AnnouncePersistentPeerRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (AnnouncePersistentPeerRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (AnnouncePersistentPeerRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest struct {
	DownloadPersistentPeerBackToSourceFailedRequest *DownloadPersistentPeerBackToSourceFailedRequest `` /* 149-byte string literal not displayed */
}

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest struct {
	DownloadPersistentPeerBackToSourceFinishedRequest *DownloadPersistentPeerBackToSourceFinishedRequest `` /* 152-byte string literal not displayed */
}

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest struct {
	DownloadPersistentPeerBackToSourceStartedRequest *DownloadPersistentPeerBackToSourceStartedRequest `` /* 150-byte string literal not displayed */
}

type AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest struct {
	DownloadPersistentPeerFailedRequest *DownloadPersistentPeerFailedRequest `protobuf:"bytes,10,opt,name=download_persistent_peer_failed_request,json=downloadPersistentPeerFailedRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest struct {
	DownloadPersistentPeerFinishedRequest *DownloadPersistentPeerFinishedRequest `protobuf:"bytes,8,opt,name=download_persistent_peer_finished_request,json=downloadPersistentPeerFinishedRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest struct {
	DownloadPersistentPeerStartedRequest *DownloadPersistentPeerStartedRequest `protobuf:"bytes,5,opt,name=download_persistent_peer_started_request,json=downloadPersistentPeerStartedRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest struct {
	DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}

type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
	DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}

type AnnouncePersistentPeerRequest_DownloadPieceFailedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPieceFailedRequest struct {
	DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest added in v2.1.86

type AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest struct {
	DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest added in v2.1.86

type AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest struct {
	RegisterPersistentPeerRequest *RegisterPersistentPeerRequest `protobuf:"bytes,4,opt,name=register_persistent_peer_request,json=registerPersistentPeerRequest,proto3,oneof"`
}

type AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest added in v2.1.86

type AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest struct {
	ReschedulePersistentPeerRequest *ReschedulePersistentPeerRequest `protobuf:"bytes,7,opt,name=reschedule_persistent_peer_request,json=reschedulePersistentPeerRequest,proto3,oneof"`
}

type AnnouncePersistentPeerResponse added in v2.1.86

type AnnouncePersistentPeerResponse struct {

	// Types that are assignable to Response:
	//
	//	*AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse
	//	*AnnouncePersistentPeerResponse_NormalPersistentTaskResponse
	//	*AnnouncePersistentPeerResponse_NeedBackToSourceResponse
	Response isAnnouncePersistentPeerResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

AnnouncePersistentPeerResponse represents response of AnnouncePersistentPeer.

func (*AnnouncePersistentPeerResponse) Descriptor deprecated added in v2.1.86

func (*AnnouncePersistentPeerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnnouncePersistentPeerResponse.ProtoReflect.Descriptor instead.

func (*AnnouncePersistentPeerResponse) GetEmptyPersistentTaskResponse added in v2.1.86

func (x *AnnouncePersistentPeerResponse) GetEmptyPersistentTaskResponse() *EmptyPersistentTaskResponse

func (*AnnouncePersistentPeerResponse) GetNeedBackToSourceResponse added in v2.1.86

func (x *AnnouncePersistentPeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse

func (*AnnouncePersistentPeerResponse) GetNormalPersistentTaskResponse added in v2.1.86

func (x *AnnouncePersistentPeerResponse) GetNormalPersistentTaskResponse() *NormalPersistentTaskResponse

func (*AnnouncePersistentPeerResponse) GetResponse added in v2.1.86

func (m *AnnouncePersistentPeerResponse) GetResponse() isAnnouncePersistentPeerResponse_Response

func (*AnnouncePersistentPeerResponse) ProtoMessage added in v2.1.86

func (*AnnouncePersistentPeerResponse) ProtoMessage()

func (*AnnouncePersistentPeerResponse) ProtoReflect added in v2.1.86

func (*AnnouncePersistentPeerResponse) Reset added in v2.1.86

func (x *AnnouncePersistentPeerResponse) Reset()

func (*AnnouncePersistentPeerResponse) String added in v2.1.86

func (*AnnouncePersistentPeerResponse) Validate added in v2.1.86

func (m *AnnouncePersistentPeerResponse) Validate() error

Validate checks the field values on AnnouncePersistentPeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AnnouncePersistentPeerResponse) ValidateAll added in v2.1.86

func (m *AnnouncePersistentPeerResponse) ValidateAll() error

ValidateAll checks the field values on AnnouncePersistentPeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentPeerResponseMultiError, or nil if none found.

type AnnouncePersistentPeerResponseMultiError added in v2.1.86

type AnnouncePersistentPeerResponseMultiError []error

AnnouncePersistentPeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentPeerResponse.ValidateAll() if the designated constraints aren't met.

func (AnnouncePersistentPeerResponseMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (AnnouncePersistentPeerResponseMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type AnnouncePersistentPeerResponseValidationError added in v2.1.86

type AnnouncePersistentPeerResponseValidationError struct {
	// contains filtered or unexported fields
}

AnnouncePersistentPeerResponseValidationError is the validation error returned by AnnouncePersistentPeerResponse.Validate if the designated constraints aren't met.

func (AnnouncePersistentPeerResponseValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (AnnouncePersistentPeerResponseValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (AnnouncePersistentPeerResponseValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (AnnouncePersistentPeerResponseValidationError) Field added in v2.1.86

Field function returns field value.

func (AnnouncePersistentPeerResponseValidationError) Key added in v2.1.86

Key function returns key value.

func (AnnouncePersistentPeerResponseValidationError) Reason added in v2.1.86

Reason function returns reason value.

type AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse added in v2.1.86

type AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse struct {
	EmptyPersistentTaskResponse *EmptyPersistentTaskResponse `protobuf:"bytes,1,opt,name=empty_persistent_task_response,json=emptyPersistentTaskResponse,proto3,oneof"`
}

type AnnouncePersistentPeerResponse_NeedBackToSourceResponse added in v2.1.86

type AnnouncePersistentPeerResponse_NeedBackToSourceResponse struct {
	NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}

type AnnouncePersistentPeerResponse_NormalPersistentTaskResponse added in v2.1.86

type AnnouncePersistentPeerResponse_NormalPersistentTaskResponse struct {
	NormalPersistentTaskResponse *NormalPersistentTaskResponse `protobuf:"bytes,2,opt,name=normal_persistent_task_response,json=normalPersistentTaskResponse,proto3,oneof"`
}

type DeleteCachePeerRequest added in v2.0.121

type DeleteCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteCachePeerRequest represents request of DeleteCachePeer.

func (*DeleteCachePeerRequest) Descriptor deprecated added in v2.0.121

func (*DeleteCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCachePeerRequest.ProtoReflect.Descriptor instead.

func (*DeleteCachePeerRequest) GetHostId added in v2.0.121

func (x *DeleteCachePeerRequest) GetHostId() string

func (*DeleteCachePeerRequest) GetPeerId added in v2.0.121

func (x *DeleteCachePeerRequest) GetPeerId() string

func (*DeleteCachePeerRequest) GetTaskId added in v2.0.121

func (x *DeleteCachePeerRequest) GetTaskId() string

func (*DeleteCachePeerRequest) ProtoMessage added in v2.0.121

func (*DeleteCachePeerRequest) ProtoMessage()

func (*DeleteCachePeerRequest) ProtoReflect added in v2.0.121

func (x *DeleteCachePeerRequest) ProtoReflect() protoreflect.Message

func (*DeleteCachePeerRequest) Reset added in v2.0.121

func (x *DeleteCachePeerRequest) Reset()

func (*DeleteCachePeerRequest) String added in v2.0.121

func (x *DeleteCachePeerRequest) String() string

func (*DeleteCachePeerRequest) Validate added in v2.0.121

func (m *DeleteCachePeerRequest) Validate() error

Validate checks the field values on DeleteCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCachePeerRequest) ValidateAll added in v2.0.121

func (m *DeleteCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on DeleteCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCachePeerRequestMultiError, or nil if none found.

type DeleteCachePeerRequestMultiError added in v2.0.121

type DeleteCachePeerRequestMultiError []error

DeleteCachePeerRequestMultiError is an error wrapping multiple validation errors returned by DeleteCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteCachePeerRequestMultiError) AllErrors added in v2.0.121

func (m DeleteCachePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCachePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type DeleteCachePeerRequestValidationError added in v2.0.121

type DeleteCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteCachePeerRequestValidationError is the validation error returned by DeleteCachePeerRequest.Validate if the designated constraints aren't met.

func (DeleteCachePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (DeleteCachePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (DeleteCachePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (DeleteCachePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (DeleteCachePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (DeleteCachePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type DeleteCacheTaskRequest added in v2.0.121

type DeleteCacheTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteCacheTaskRequest represents request of DeleteCacheTask.

func (*DeleteCacheTaskRequest) Descriptor deprecated added in v2.0.121

func (*DeleteCacheTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCacheTaskRequest.ProtoReflect.Descriptor instead.

func (*DeleteCacheTaskRequest) GetHostId added in v2.0.121

func (x *DeleteCacheTaskRequest) GetHostId() string

func (*DeleteCacheTaskRequest) GetTaskId added in v2.0.121

func (x *DeleteCacheTaskRequest) GetTaskId() string

func (*DeleteCacheTaskRequest) ProtoMessage added in v2.0.121

func (*DeleteCacheTaskRequest) ProtoMessage()

func (*DeleteCacheTaskRequest) ProtoReflect added in v2.0.121

func (x *DeleteCacheTaskRequest) ProtoReflect() protoreflect.Message

func (*DeleteCacheTaskRequest) Reset added in v2.0.121

func (x *DeleteCacheTaskRequest) Reset()

func (*DeleteCacheTaskRequest) String added in v2.0.121

func (x *DeleteCacheTaskRequest) String() string

func (*DeleteCacheTaskRequest) Validate added in v2.0.121

func (m *DeleteCacheTaskRequest) Validate() error

Validate checks the field values on DeleteCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteCacheTaskRequest) ValidateAll added in v2.0.121

func (m *DeleteCacheTaskRequest) ValidateAll() error

ValidateAll checks the field values on DeleteCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCacheTaskRequestMultiError, or nil if none found.

type DeleteCacheTaskRequestMultiError added in v2.0.121

type DeleteCacheTaskRequestMultiError []error

DeleteCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteCacheTaskRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteCacheTaskRequestMultiError) AllErrors added in v2.0.121

func (m DeleteCacheTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCacheTaskRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type DeleteCacheTaskRequestValidationError added in v2.0.121

type DeleteCacheTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteCacheTaskRequestValidationError is the validation error returned by DeleteCacheTaskRequest.Validate if the designated constraints aren't met.

func (DeleteCacheTaskRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (DeleteCacheTaskRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (DeleteCacheTaskRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (DeleteCacheTaskRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (DeleteCacheTaskRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (DeleteCacheTaskRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type DeleteHostRequest added in v2.0.118

type DeleteHostRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteHostRequest represents request of DeleteHost.

func (*DeleteHostRequest) Descriptor deprecated added in v2.0.118

func (*DeleteHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteHostRequest.ProtoReflect.Descriptor instead.

func (*DeleteHostRequest) GetHostId added in v2.0.121

func (x *DeleteHostRequest) GetHostId() string

func (*DeleteHostRequest) ProtoMessage added in v2.0.118

func (*DeleteHostRequest) ProtoMessage()

func (*DeleteHostRequest) ProtoReflect added in v2.0.118

func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message

func (*DeleteHostRequest) Reset added in v2.0.118

func (x *DeleteHostRequest) Reset()

func (*DeleteHostRequest) String added in v2.0.118

func (x *DeleteHostRequest) String() string

func (*DeleteHostRequest) Validate added in v2.0.118

func (m *DeleteHostRequest) Validate() error

Validate checks the field values on DeleteHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteHostRequest) ValidateAll added in v2.0.118

func (m *DeleteHostRequest) ValidateAll() error

ValidateAll checks the field values on DeleteHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteHostRequestMultiError, or nil if none found.

type DeleteHostRequestMultiError added in v2.0.118

type DeleteHostRequestMultiError []error

DeleteHostRequestMultiError is an error wrapping multiple validation errors returned by DeleteHostRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteHostRequestMultiError) AllErrors added in v2.0.118

func (m DeleteHostRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteHostRequestMultiError) Error added in v2.0.118

Error returns a concatenation of all the error messages it wraps.

type DeleteHostRequestValidationError added in v2.0.118

type DeleteHostRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteHostRequestValidationError is the validation error returned by DeleteHostRequest.Validate if the designated constraints aren't met.

func (DeleteHostRequestValidationError) Cause added in v2.0.118

Cause function returns cause value.

func (DeleteHostRequestValidationError) Error added in v2.0.118

Error satisfies the builtin error interface

func (DeleteHostRequestValidationError) ErrorName added in v2.0.118

ErrorName returns error name.

func (DeleteHostRequestValidationError) Field added in v2.0.118

Field function returns field value.

func (DeleteHostRequestValidationError) Key added in v2.0.118

Key function returns key value.

func (DeleteHostRequestValidationError) Reason added in v2.0.118

Reason function returns reason value.

type DeletePeerRequest added in v2.0.118

type DeletePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

DeletePeerRequest represents request of DeletePeer.

func (*DeletePeerRequest) Descriptor deprecated added in v2.0.118

func (*DeletePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePeerRequest.ProtoReflect.Descriptor instead.

func (*DeletePeerRequest) GetHostId added in v2.0.118

func (x *DeletePeerRequest) GetHostId() string

func (*DeletePeerRequest) GetPeerId added in v2.0.118

func (x *DeletePeerRequest) GetPeerId() string

func (*DeletePeerRequest) GetTaskId added in v2.0.118

func (x *DeletePeerRequest) GetTaskId() string

func (*DeletePeerRequest) ProtoMessage added in v2.0.118

func (*DeletePeerRequest) ProtoMessage()

func (*DeletePeerRequest) ProtoReflect added in v2.0.118

func (x *DeletePeerRequest) ProtoReflect() protoreflect.Message

func (*DeletePeerRequest) Reset added in v2.0.118

func (x *DeletePeerRequest) Reset()

func (*DeletePeerRequest) String added in v2.0.118

func (x *DeletePeerRequest) String() string

func (*DeletePeerRequest) Validate added in v2.0.118

func (m *DeletePeerRequest) Validate() error

Validate checks the field values on DeletePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePeerRequest) ValidateAll added in v2.0.118

func (m *DeletePeerRequest) ValidateAll() error

ValidateAll checks the field values on DeletePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePeerRequestMultiError, or nil if none found.

type DeletePeerRequestMultiError added in v2.0.118

type DeletePeerRequestMultiError []error

DeletePeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePeerRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePeerRequestMultiError) AllErrors added in v2.0.118

func (m DeletePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePeerRequestMultiError) Error added in v2.0.118

Error returns a concatenation of all the error messages it wraps.

type DeletePeerRequestValidationError added in v2.0.118

type DeletePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePeerRequestValidationError is the validation error returned by DeletePeerRequest.Validate if the designated constraints aren't met.

func (DeletePeerRequestValidationError) Cause added in v2.0.118

Cause function returns cause value.

func (DeletePeerRequestValidationError) Error added in v2.0.118

Error satisfies the builtin error interface

func (DeletePeerRequestValidationError) ErrorName added in v2.0.118

ErrorName returns error name.

func (DeletePeerRequestValidationError) Field added in v2.0.118

Field function returns field value.

func (DeletePeerRequestValidationError) Key added in v2.0.118

Key function returns key value.

func (DeletePeerRequestValidationError) Reason added in v2.0.118

Reason function returns reason value.

type DeletePersistentCachePeerRequest added in v2.0.161

type DeletePersistentCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

DeletePersistentCachePeerRequest represents request of DeletePersistentCachePeer.

func (*DeletePersistentCachePeerRequest) Descriptor deprecated added in v2.0.161

func (*DeletePersistentCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePersistentCachePeerRequest.ProtoReflect.Descriptor instead.

func (*DeletePersistentCachePeerRequest) GetHostId added in v2.0.161

func (*DeletePersistentCachePeerRequest) GetPeerId added in v2.0.161

func (*DeletePersistentCachePeerRequest) GetTaskId added in v2.0.161

func (*DeletePersistentCachePeerRequest) ProtoMessage added in v2.0.161

func (*DeletePersistentCachePeerRequest) ProtoMessage()

func (*DeletePersistentCachePeerRequest) ProtoReflect added in v2.0.161

func (*DeletePersistentCachePeerRequest) Reset added in v2.0.161

func (*DeletePersistentCachePeerRequest) String added in v2.0.161

func (*DeletePersistentCachePeerRequest) Validate added in v2.0.161

Validate checks the field values on DeletePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePersistentCachePeerRequest) ValidateAll added in v2.0.161

func (m *DeletePersistentCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on DeletePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentCachePeerRequestMultiError, or nil if none found.

type DeletePersistentCachePeerRequestMultiError added in v2.0.161

type DeletePersistentCachePeerRequestMultiError []error

DeletePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePersistentCachePeerRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (DeletePersistentCachePeerRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type DeletePersistentCachePeerRequestValidationError added in v2.0.161

type DeletePersistentCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePersistentCachePeerRequestValidationError is the validation error returned by DeletePersistentCachePeerRequest.Validate if the designated constraints aren't met.

func (DeletePersistentCachePeerRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (DeletePersistentCachePeerRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (DeletePersistentCachePeerRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (DeletePersistentCachePeerRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (DeletePersistentCachePeerRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (DeletePersistentCachePeerRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type DeletePersistentCacheTaskRequest added in v2.0.161

type DeletePersistentCacheTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

DeletePersistentCacheTaskRequest represents request of DeletePersistentCacheTask.

func (*DeletePersistentCacheTaskRequest) Descriptor deprecated added in v2.0.161

func (*DeletePersistentCacheTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePersistentCacheTaskRequest.ProtoReflect.Descriptor instead.

func (*DeletePersistentCacheTaskRequest) GetHostId added in v2.0.161

func (*DeletePersistentCacheTaskRequest) GetTaskId added in v2.0.161

func (*DeletePersistentCacheTaskRequest) ProtoMessage added in v2.0.161

func (*DeletePersistentCacheTaskRequest) ProtoMessage()

func (*DeletePersistentCacheTaskRequest) ProtoReflect added in v2.0.161

func (*DeletePersistentCacheTaskRequest) Reset added in v2.0.161

func (*DeletePersistentCacheTaskRequest) String added in v2.0.161

func (*DeletePersistentCacheTaskRequest) Validate added in v2.0.161

Validate checks the field values on DeletePersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePersistentCacheTaskRequest) ValidateAll added in v2.0.161

func (m *DeletePersistentCacheTaskRequest) ValidateAll() error

ValidateAll checks the field values on DeletePersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentCacheTaskRequestMultiError, or nil if none found.

type DeletePersistentCacheTaskRequestMultiError added in v2.0.161

type DeletePersistentCacheTaskRequestMultiError []error

DeletePersistentCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentCacheTaskRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePersistentCacheTaskRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (DeletePersistentCacheTaskRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type DeletePersistentCacheTaskRequestValidationError added in v2.0.161

type DeletePersistentCacheTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePersistentCacheTaskRequestValidationError is the validation error returned by DeletePersistentCacheTaskRequest.Validate if the designated constraints aren't met.

func (DeletePersistentCacheTaskRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (DeletePersistentCacheTaskRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (DeletePersistentCacheTaskRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (DeletePersistentCacheTaskRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (DeletePersistentCacheTaskRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (DeletePersistentCacheTaskRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type DeletePersistentPeerRequest added in v2.1.86

type DeletePersistentPeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

DeletePersistentPeerRequest represents request of DeletePersistentPeer.

func (*DeletePersistentPeerRequest) Descriptor deprecated added in v2.1.86

func (*DeletePersistentPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePersistentPeerRequest.ProtoReflect.Descriptor instead.

func (*DeletePersistentPeerRequest) GetHostId added in v2.1.86

func (x *DeletePersistentPeerRequest) GetHostId() string

func (*DeletePersistentPeerRequest) GetPeerId added in v2.1.86

func (x *DeletePersistentPeerRequest) GetPeerId() string

func (*DeletePersistentPeerRequest) GetTaskId added in v2.1.86

func (x *DeletePersistentPeerRequest) GetTaskId() string

func (*DeletePersistentPeerRequest) ProtoMessage added in v2.1.86

func (*DeletePersistentPeerRequest) ProtoMessage()

func (*DeletePersistentPeerRequest) ProtoReflect added in v2.1.86

func (*DeletePersistentPeerRequest) Reset added in v2.1.86

func (x *DeletePersistentPeerRequest) Reset()

func (*DeletePersistentPeerRequest) String added in v2.1.86

func (x *DeletePersistentPeerRequest) String() string

func (*DeletePersistentPeerRequest) Validate added in v2.1.86

func (m *DeletePersistentPeerRequest) Validate() error

Validate checks the field values on DeletePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePersistentPeerRequest) ValidateAll added in v2.1.86

func (m *DeletePersistentPeerRequest) ValidateAll() error

ValidateAll checks the field values on DeletePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentPeerRequestMultiError, or nil if none found.

type DeletePersistentPeerRequestMultiError added in v2.1.86

type DeletePersistentPeerRequestMultiError []error

DeletePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePersistentPeerRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DeletePersistentPeerRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DeletePersistentPeerRequestValidationError added in v2.1.86

type DeletePersistentPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePersistentPeerRequestValidationError is the validation error returned by DeletePersistentPeerRequest.Validate if the designated constraints aren't met.

func (DeletePersistentPeerRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DeletePersistentPeerRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DeletePersistentPeerRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DeletePersistentPeerRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DeletePersistentPeerRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DeletePersistentPeerRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DeletePersistentTaskRequest added in v2.1.86

type DeletePersistentTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

DeletePersistentTaskRequest represents request of DeletePersistentTask.

func (*DeletePersistentTaskRequest) Descriptor deprecated added in v2.1.86

func (*DeletePersistentTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePersistentTaskRequest.ProtoReflect.Descriptor instead.

func (*DeletePersistentTaskRequest) GetHostId added in v2.1.86

func (x *DeletePersistentTaskRequest) GetHostId() string

func (*DeletePersistentTaskRequest) GetTaskId added in v2.1.86

func (x *DeletePersistentTaskRequest) GetTaskId() string

func (*DeletePersistentTaskRequest) ProtoMessage added in v2.1.86

func (*DeletePersistentTaskRequest) ProtoMessage()

func (*DeletePersistentTaskRequest) ProtoReflect added in v2.1.86

func (*DeletePersistentTaskRequest) Reset added in v2.1.86

func (x *DeletePersistentTaskRequest) Reset()

func (*DeletePersistentTaskRequest) String added in v2.1.86

func (x *DeletePersistentTaskRequest) String() string

func (*DeletePersistentTaskRequest) Validate added in v2.1.86

func (m *DeletePersistentTaskRequest) Validate() error

Validate checks the field values on DeletePersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePersistentTaskRequest) ValidateAll added in v2.1.86

func (m *DeletePersistentTaskRequest) ValidateAll() error

ValidateAll checks the field values on DeletePersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentTaskRequestMultiError, or nil if none found.

type DeletePersistentTaskRequestMultiError added in v2.1.86

type DeletePersistentTaskRequestMultiError []error

DeletePersistentTaskRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentTaskRequest.ValidateAll() if the designated constraints aren't met.

func (DeletePersistentTaskRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DeletePersistentTaskRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DeletePersistentTaskRequestValidationError added in v2.1.86

type DeletePersistentTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

DeletePersistentTaskRequestValidationError is the validation error returned by DeletePersistentTaskRequest.Validate if the designated constraints aren't met.

func (DeletePersistentTaskRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DeletePersistentTaskRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DeletePersistentTaskRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DeletePersistentTaskRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DeletePersistentTaskRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DeletePersistentTaskRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DeleteTaskRequest added in v2.0.118

type DeleteTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteTaskRequest represents request of DeleteTask.

func (*DeleteTaskRequest) Descriptor deprecated added in v2.0.118

func (*DeleteTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.

func (*DeleteTaskRequest) GetHostId added in v2.0.118

func (x *DeleteTaskRequest) GetHostId() string

func (*DeleteTaskRequest) GetTaskId added in v2.0.118

func (x *DeleteTaskRequest) GetTaskId() string

func (*DeleteTaskRequest) ProtoMessage added in v2.0.118

func (*DeleteTaskRequest) ProtoMessage()

func (*DeleteTaskRequest) ProtoReflect added in v2.0.118

func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message

func (*DeleteTaskRequest) Reset added in v2.0.118

func (x *DeleteTaskRequest) Reset()

func (*DeleteTaskRequest) String added in v2.0.118

func (x *DeleteTaskRequest) String() string

func (*DeleteTaskRequest) Validate added in v2.0.118

func (m *DeleteTaskRequest) Validate() error

Validate checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTaskRequest) ValidateAll added in v2.0.118

func (m *DeleteTaskRequest) ValidateAll() error

ValidateAll checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskRequestMultiError, or nil if none found.

type DeleteTaskRequestMultiError added in v2.0.118

type DeleteTaskRequestMultiError []error

DeleteTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteTaskRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteTaskRequestMultiError) AllErrors added in v2.0.118

func (m DeleteTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTaskRequestMultiError) Error added in v2.0.118

Error returns a concatenation of all the error messages it wraps.

type DeleteTaskRequestValidationError added in v2.0.118

type DeleteTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteTaskRequestValidationError is the validation error returned by DeleteTaskRequest.Validate if the designated constraints aren't met.

func (DeleteTaskRequestValidationError) Cause added in v2.0.118

Cause function returns cause value.

func (DeleteTaskRequestValidationError) Error added in v2.0.118

Error satisfies the builtin error interface

func (DeleteTaskRequestValidationError) ErrorName added in v2.0.118

ErrorName returns error name.

func (DeleteTaskRequestValidationError) Field added in v2.0.118

Field function returns field value.

func (DeleteTaskRequestValidationError) Key added in v2.0.118

Key function returns key value.

func (DeleteTaskRequestValidationError) Reason added in v2.0.118

Reason function returns reason value.

type DownloadCachePeerBackToSourceFailedRequest added in v2.1.50

type DownloadCachePeerBackToSourceFailedRequest struct {

	// The description of the download back-to-source failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceFailedRequest represents cache peer download back-to-source failed request of AnnounceCachePeerRequest.

func (*DownloadCachePeerBackToSourceFailedRequest) Descriptor deprecated added in v2.1.50

Deprecated: Use DownloadCachePeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerBackToSourceFailedRequest) GetDescription added in v2.1.50

func (*DownloadCachePeerBackToSourceFailedRequest) ProtoMessage added in v2.1.50

func (*DownloadCachePeerBackToSourceFailedRequest) ProtoReflect added in v2.1.50

func (*DownloadCachePeerBackToSourceFailedRequest) Reset added in v2.1.50

func (*DownloadCachePeerBackToSourceFailedRequest) String added in v2.1.50

func (*DownloadCachePeerBackToSourceFailedRequest) Validate added in v2.1.50

Validate checks the field values on DownloadCachePeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerBackToSourceFailedRequest) ValidateAll added in v2.1.50

ValidateAll checks the field values on DownloadCachePeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceFailedRequestMultiError, or nil if none found.

type DownloadCachePeerBackToSourceFailedRequestMultiError added in v2.1.50

type DownloadCachePeerBackToSourceFailedRequestMultiError []error

DownloadCachePeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceFailedRequestMultiError) AllErrors added in v2.1.50

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerBackToSourceFailedRequestMultiError) Error added in v2.1.50

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerBackToSourceFailedRequestValidationError added in v2.1.50

type DownloadCachePeerBackToSourceFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceFailedRequestValidationError) Cause added in v2.1.50

Cause function returns cause value.

func (DownloadCachePeerBackToSourceFailedRequestValidationError) Error added in v2.1.50

Error satisfies the builtin error interface

func (DownloadCachePeerBackToSourceFailedRequestValidationError) ErrorName added in v2.1.50

ErrorName returns error name.

func (DownloadCachePeerBackToSourceFailedRequestValidationError) Field added in v2.1.50

Field function returns field value.

func (DownloadCachePeerBackToSourceFailedRequestValidationError) Key added in v2.1.50

Key function returns key value.

func (DownloadCachePeerBackToSourceFailedRequestValidationError) Reason added in v2.1.50

Reason function returns reason value.

type DownloadCachePeerBackToSourceFinishedRequest added in v2.1.50

type DownloadCachePeerBackToSourceFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceFinishedRequest represents cache peer download back-to-source finished request of AnnounceCachePeerRequest.

func (*DownloadCachePeerBackToSourceFinishedRequest) Descriptor deprecated added in v2.1.50

Deprecated: Use DownloadCachePeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoMessage added in v2.1.50

func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoReflect added in v2.1.50

func (*DownloadCachePeerBackToSourceFinishedRequest) Reset added in v2.1.50

func (*DownloadCachePeerBackToSourceFinishedRequest) String added in v2.1.50

func (*DownloadCachePeerBackToSourceFinishedRequest) Validate added in v2.1.50

Validate checks the field values on DownloadCachePeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerBackToSourceFinishedRequest) ValidateAll added in v2.1.50

ValidateAll checks the field values on DownloadCachePeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceFinishedRequestMultiError, or nil if none found.

type DownloadCachePeerBackToSourceFinishedRequestMultiError added in v2.1.50

type DownloadCachePeerBackToSourceFinishedRequestMultiError []error

DownloadCachePeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceFinishedRequestMultiError) AllErrors added in v2.1.50

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerBackToSourceFinishedRequestMultiError) Error added in v2.1.50

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerBackToSourceFinishedRequestValidationError added in v2.1.50

type DownloadCachePeerBackToSourceFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Cause added in v2.1.50

Cause function returns cause value.

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Error added in v2.1.50

Error satisfies the builtin error interface

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) ErrorName added in v2.1.50

ErrorName returns error name.

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Field added in v2.1.50

Field function returns field value.

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Key added in v2.1.50

Key function returns key value.

func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Reason added in v2.1.50

Reason function returns reason value.

type DownloadCachePeerBackToSourceStartedRequest added in v2.1.50

type DownloadCachePeerBackToSourceStartedRequest struct {

	// The description of the back-to-source reason.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceStartedRequest represents cache peer download back-to-source started request of AnnounceCachePeerRequest.

func (*DownloadCachePeerBackToSourceStartedRequest) Descriptor deprecated added in v2.1.50

Deprecated: Use DownloadCachePeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerBackToSourceStartedRequest) GetDescription added in v2.1.50

func (*DownloadCachePeerBackToSourceStartedRequest) ProtoMessage added in v2.1.50

func (*DownloadCachePeerBackToSourceStartedRequest) ProtoReflect added in v2.1.50

func (*DownloadCachePeerBackToSourceStartedRequest) Reset added in v2.1.50

func (*DownloadCachePeerBackToSourceStartedRequest) String added in v2.1.50

func (*DownloadCachePeerBackToSourceStartedRequest) Validate added in v2.1.50

Validate checks the field values on DownloadCachePeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerBackToSourceStartedRequest) ValidateAll added in v2.1.50

ValidateAll checks the field values on DownloadCachePeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceStartedRequestMultiError, or nil if none found.

type DownloadCachePeerBackToSourceStartedRequestMultiError added in v2.1.50

type DownloadCachePeerBackToSourceStartedRequestMultiError []error

DownloadCachePeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceStartedRequestMultiError) AllErrors added in v2.1.50

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerBackToSourceStartedRequestMultiError) Error added in v2.1.50

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerBackToSourceStartedRequestValidationError added in v2.1.50

type DownloadCachePeerBackToSourceStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerBackToSourceStartedRequestValidationError) Cause added in v2.1.50

Cause function returns cause value.

func (DownloadCachePeerBackToSourceStartedRequestValidationError) Error added in v2.1.50

Error satisfies the builtin error interface

func (DownloadCachePeerBackToSourceStartedRequestValidationError) ErrorName added in v2.1.50

ErrorName returns error name.

func (DownloadCachePeerBackToSourceStartedRequestValidationError) Field added in v2.1.50

Field function returns field value.

func (DownloadCachePeerBackToSourceStartedRequestValidationError) Key added in v2.1.50

Key function returns key value.

func (DownloadCachePeerBackToSourceStartedRequestValidationError) Reason added in v2.1.50

Reason function returns reason value.

type DownloadCachePeerFailedRequest added in v2.0.121

type DownloadCachePeerFailedRequest struct {

	// The description of the download failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadCachePeerFailedRequest represents cache peer download failed request of AnnounceCachePeerRequest.

func (*DownloadCachePeerFailedRequest) Descriptor deprecated added in v2.0.121

func (*DownloadCachePeerFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadCachePeerFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerFailedRequest) GetDescription added in v2.0.121

func (x *DownloadCachePeerFailedRequest) GetDescription() string

func (*DownloadCachePeerFailedRequest) ProtoMessage added in v2.0.121

func (*DownloadCachePeerFailedRequest) ProtoMessage()

func (*DownloadCachePeerFailedRequest) ProtoReflect added in v2.0.121

func (*DownloadCachePeerFailedRequest) Reset added in v2.0.121

func (x *DownloadCachePeerFailedRequest) Reset()

func (*DownloadCachePeerFailedRequest) String added in v2.0.121

func (*DownloadCachePeerFailedRequest) Validate added in v2.0.121

func (m *DownloadCachePeerFailedRequest) Validate() error

Validate checks the field values on DownloadCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerFailedRequest) ValidateAll added in v2.0.121

func (m *DownloadCachePeerFailedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerFailedRequestMultiError, or nil if none found.

type DownloadCachePeerFailedRequestMultiError added in v2.0.121

type DownloadCachePeerFailedRequestMultiError []error

DownloadCachePeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerFailedRequestMultiError) AllErrors added in v2.0.121

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerFailedRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerFailedRequestValidationError added in v2.0.121

type DownloadCachePeerFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerFailedRequestValidationError is the validation error returned by DownloadCachePeerFailedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerFailedRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (DownloadCachePeerFailedRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (DownloadCachePeerFailedRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (DownloadCachePeerFailedRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (DownloadCachePeerFailedRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (DownloadCachePeerFailedRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type DownloadCachePeerFinishedRequest added in v2.0.121

type DownloadCachePeerFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadCachePeerFinishedRequest represents cache peer download finished request of AnnounceCachePeerRequest.

func (*DownloadCachePeerFinishedRequest) Descriptor deprecated added in v2.0.121

func (*DownloadCachePeerFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadCachePeerFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerFinishedRequest) ProtoMessage added in v2.0.121

func (*DownloadCachePeerFinishedRequest) ProtoMessage()

func (*DownloadCachePeerFinishedRequest) ProtoReflect added in v2.0.121

func (*DownloadCachePeerFinishedRequest) Reset added in v2.0.121

func (*DownloadCachePeerFinishedRequest) String added in v2.0.121

func (*DownloadCachePeerFinishedRequest) Validate added in v2.0.121

Validate checks the field values on DownloadCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerFinishedRequest) ValidateAll added in v2.0.121

func (m *DownloadCachePeerFinishedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerFinishedRequestMultiError, or nil if none found.

type DownloadCachePeerFinishedRequestMultiError added in v2.0.121

type DownloadCachePeerFinishedRequestMultiError []error

DownloadCachePeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerFinishedRequestMultiError) AllErrors added in v2.0.121

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerFinishedRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerFinishedRequestValidationError added in v2.0.121

type DownloadCachePeerFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerFinishedRequestValidationError is the validation error returned by DownloadCachePeerFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerFinishedRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (DownloadCachePeerFinishedRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (DownloadCachePeerFinishedRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (DownloadCachePeerFinishedRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (DownloadCachePeerFinishedRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (DownloadCachePeerFinishedRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type DownloadCachePeerStartedRequest added in v2.0.121

type DownloadCachePeerStartedRequest struct {
	// contains filtered or unexported fields
}

DownloadCachePeerStartedRequest represents cache peer download started request of AnnounceCachePeerRequest.

func (*DownloadCachePeerStartedRequest) Descriptor deprecated added in v2.0.121

func (*DownloadCachePeerStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadCachePeerStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadCachePeerStartedRequest) ProtoMessage added in v2.0.121

func (*DownloadCachePeerStartedRequest) ProtoMessage()

func (*DownloadCachePeerStartedRequest) ProtoReflect added in v2.0.121

func (*DownloadCachePeerStartedRequest) Reset added in v2.0.121

func (*DownloadCachePeerStartedRequest) String added in v2.0.121

func (*DownloadCachePeerStartedRequest) Validate added in v2.0.121

func (m *DownloadCachePeerStartedRequest) Validate() error

Validate checks the field values on DownloadCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadCachePeerStartedRequest) ValidateAll added in v2.0.121

func (m *DownloadCachePeerStartedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerStartedRequestMultiError, or nil if none found.

type DownloadCachePeerStartedRequestMultiError added in v2.0.121

type DownloadCachePeerStartedRequestMultiError []error

DownloadCachePeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadCachePeerStartedRequestMultiError) AllErrors added in v2.0.121

AllErrors returns a list of validation violation errors.

func (DownloadCachePeerStartedRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type DownloadCachePeerStartedRequestValidationError added in v2.0.121

type DownloadCachePeerStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadCachePeerStartedRequestValidationError is the validation error returned by DownloadCachePeerStartedRequest.Validate if the designated constraints aren't met.

func (DownloadCachePeerStartedRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (DownloadCachePeerStartedRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (DownloadCachePeerStartedRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (DownloadCachePeerStartedRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (DownloadCachePeerStartedRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (DownloadCachePeerStartedRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type DownloadPeerBackToSourceFailedRequest

type DownloadPeerBackToSourceFailedRequest struct {

	// The description of the download back-to-source failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceFailedRequest represents peer download back-to-source failed request of AnnouncePeerRequest.

func (*DownloadPeerBackToSourceFailedRequest) Descriptor deprecated

func (*DownloadPeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerBackToSourceFailedRequest) GetDescription

func (x *DownloadPeerBackToSourceFailedRequest) GetDescription() string

func (*DownloadPeerBackToSourceFailedRequest) ProtoMessage

func (*DownloadPeerBackToSourceFailedRequest) ProtoMessage()

func (*DownloadPeerBackToSourceFailedRequest) ProtoReflect

func (*DownloadPeerBackToSourceFailedRequest) Reset

func (*DownloadPeerBackToSourceFailedRequest) String

func (*DownloadPeerBackToSourceFailedRequest) Validate

Validate checks the field values on DownloadPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerBackToSourceFailedRequest) ValidateAll

ValidateAll checks the field values on DownloadPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceFailedRequestMultiError, or nil if none found.

type DownloadPeerBackToSourceFailedRequestMultiError

type DownloadPeerBackToSourceFailedRequestMultiError []error

DownloadPeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerBackToSourceFailedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerBackToSourceFailedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerBackToSourceFailedRequestValidationError

type DownloadPeerBackToSourceFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerBackToSourceFailedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerBackToSourceFailedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerBackToSourceFailedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerBackToSourceFailedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerBackToSourceFailedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerBackToSourceFailedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPeerBackToSourceFinishedRequest

type DownloadPeerBackToSourceFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceFinishedRequest represents peer download back-to-source finished request of AnnouncePeerRequest.

func (*DownloadPeerBackToSourceFinishedRequest) Descriptor deprecated

func (*DownloadPeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerBackToSourceFinishedRequest) ProtoMessage

func (*DownloadPeerBackToSourceFinishedRequest) ProtoReflect

func (*DownloadPeerBackToSourceFinishedRequest) Reset

func (*DownloadPeerBackToSourceFinishedRequest) String

func (*DownloadPeerBackToSourceFinishedRequest) Validate

Validate checks the field values on DownloadPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerBackToSourceFinishedRequest) ValidateAll

ValidateAll checks the field values on DownloadPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceFinishedRequestMultiError, or nil if none found.

type DownloadPeerBackToSourceFinishedRequestMultiError

type DownloadPeerBackToSourceFinishedRequestMultiError []error

DownloadPeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerBackToSourceFinishedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerBackToSourceFinishedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerBackToSourceFinishedRequestValidationError

type DownloadPeerBackToSourceFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerBackToSourceFinishedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerBackToSourceFinishedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerBackToSourceFinishedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerBackToSourceFinishedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerBackToSourceFinishedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerBackToSourceFinishedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPeerBackToSourceStartedRequest

type DownloadPeerBackToSourceStartedRequest struct {

	// The description of the back-to-source reason.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceStartedRequest represents peer download back-to-source started request of AnnouncePeerRequest.

func (*DownloadPeerBackToSourceStartedRequest) Descriptor deprecated

func (*DownloadPeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerBackToSourceStartedRequest) GetDescription

func (x *DownloadPeerBackToSourceStartedRequest) GetDescription() string

func (*DownloadPeerBackToSourceStartedRequest) ProtoMessage

func (*DownloadPeerBackToSourceStartedRequest) ProtoReflect

func (*DownloadPeerBackToSourceStartedRequest) Reset

func (*DownloadPeerBackToSourceStartedRequest) String

func (*DownloadPeerBackToSourceStartedRequest) Validate

Validate checks the field values on DownloadPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerBackToSourceStartedRequest) ValidateAll

ValidateAll checks the field values on DownloadPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceStartedRequestMultiError, or nil if none found.

type DownloadPeerBackToSourceStartedRequestMultiError

type DownloadPeerBackToSourceStartedRequestMultiError []error

DownloadPeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerBackToSourceStartedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerBackToSourceStartedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerBackToSourceStartedRequestValidationError

type DownloadPeerBackToSourceStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadPeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerBackToSourceStartedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerBackToSourceStartedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerBackToSourceStartedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerBackToSourceStartedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerBackToSourceStartedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerBackToSourceStartedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPeerFailedRequest

type DownloadPeerFailedRequest struct {

	// The description of the download failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPeerFailedRequest represents peer download failed request of AnnouncePeerRequest.

func (*DownloadPeerFailedRequest) Descriptor deprecated

func (*DownloadPeerFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerFailedRequest) GetDescription

func (x *DownloadPeerFailedRequest) GetDescription() string

func (*DownloadPeerFailedRequest) ProtoMessage

func (*DownloadPeerFailedRequest) ProtoMessage()

func (*DownloadPeerFailedRequest) ProtoReflect

func (*DownloadPeerFailedRequest) Reset

func (x *DownloadPeerFailedRequest) Reset()

func (*DownloadPeerFailedRequest) String

func (x *DownloadPeerFailedRequest) String() string

func (*DownloadPeerFailedRequest) Validate

func (m *DownloadPeerFailedRequest) Validate() error

Validate checks the field values on DownloadPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerFailedRequest) ValidateAll

func (m *DownloadPeerFailedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerFailedRequestMultiError, or nil if none found.

type DownloadPeerFailedRequestMultiError

type DownloadPeerFailedRequestMultiError []error

DownloadPeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerFailedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerFailedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerFailedRequestValidationError

type DownloadPeerFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerFailedRequestValidationError is the validation error returned by DownloadPeerFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerFailedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerFailedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerFailedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerFailedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerFailedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerFailedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPeerFinishedRequest

type DownloadPeerFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadPeerFinishedRequest represents peer download finished request of AnnouncePeerRequest.

func (*DownloadPeerFinishedRequest) Descriptor deprecated

func (*DownloadPeerFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerFinishedRequest) ProtoMessage

func (*DownloadPeerFinishedRequest) ProtoMessage()

func (*DownloadPeerFinishedRequest) ProtoReflect

func (*DownloadPeerFinishedRequest) Reset

func (x *DownloadPeerFinishedRequest) Reset()

func (*DownloadPeerFinishedRequest) String

func (x *DownloadPeerFinishedRequest) String() string

func (*DownloadPeerFinishedRequest) Validate

func (m *DownloadPeerFinishedRequest) Validate() error

Validate checks the field values on DownloadPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerFinishedRequest) ValidateAll

func (m *DownloadPeerFinishedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerFinishedRequestMultiError, or nil if none found.

type DownloadPeerFinishedRequestMultiError

type DownloadPeerFinishedRequestMultiError []error

DownloadPeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerFinishedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerFinishedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerFinishedRequestValidationError

type DownloadPeerFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerFinishedRequestValidationError is the validation error returned by DownloadPeerFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerFinishedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerFinishedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerFinishedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerFinishedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerFinishedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerFinishedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPeerStartedRequest

type DownloadPeerStartedRequest struct {
	// contains filtered or unexported fields
}

DownloadPeerStartedRequest represents peer download started request of AnnouncePeerRequest.

func (*DownloadPeerStartedRequest) Descriptor deprecated

func (*DownloadPeerStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPeerStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPeerStartedRequest) ProtoMessage

func (*DownloadPeerStartedRequest) ProtoMessage()

func (*DownloadPeerStartedRequest) ProtoReflect

func (*DownloadPeerStartedRequest) Reset

func (x *DownloadPeerStartedRequest) Reset()

func (*DownloadPeerStartedRequest) String

func (x *DownloadPeerStartedRequest) String() string

func (*DownloadPeerStartedRequest) Validate

func (m *DownloadPeerStartedRequest) Validate() error

Validate checks the field values on DownloadPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPeerStartedRequest) ValidateAll

func (m *DownloadPeerStartedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerStartedRequestMultiError, or nil if none found.

type DownloadPeerStartedRequestMultiError

type DownloadPeerStartedRequestMultiError []error

DownloadPeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPeerStartedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPeerStartedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPeerStartedRequestValidationError

type DownloadPeerStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPeerStartedRequestValidationError is the validation error returned by DownloadPeerStartedRequest.Validate if the designated constraints aren't met.

func (DownloadPeerStartedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPeerStartedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPeerStartedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPeerStartedRequestValidationError) Field

Field function returns field value.

func (DownloadPeerStartedRequestValidationError) Key

Key function returns key value.

func (DownloadPeerStartedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPersistentCachePeerFailedRequest added in v2.0.161

type DownloadPersistentCachePeerFailedRequest struct {

	// The description of the download failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerFailedRequest represents persistent cache peer download failed request of AnnouncePersistentCachePeerRequest.

func (*DownloadPersistentCachePeerFailedRequest) Descriptor deprecated added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPersistentCachePeerFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentCachePeerFailedRequest) GetDescription added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) ProtoMessage added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) ProtoReflect added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) Reset added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) String added in v2.0.161

func (*DownloadPersistentCachePeerFailedRequest) Validate added in v2.0.161

Validate checks the field values on DownloadPersistentCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentCachePeerFailedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on DownloadPersistentCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerFailedRequestMultiError, or nil if none found.

type DownloadPersistentCachePeerFailedRequestMultiError added in v2.0.161

type DownloadPersistentCachePeerFailedRequestMultiError []error

DownloadPersistentCachePeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentCachePeerFailedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (DownloadPersistentCachePeerFailedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentCachePeerFailedRequestValidationError added in v2.0.161

type DownloadPersistentCachePeerFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerFailedRequestValidationError is the validation error returned by DownloadPersistentCachePeerFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentCachePeerFailedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (DownloadPersistentCachePeerFailedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (DownloadPersistentCachePeerFailedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (DownloadPersistentCachePeerFailedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (DownloadPersistentCachePeerFailedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (DownloadPersistentCachePeerFailedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type DownloadPersistentCachePeerFinishedRequest added in v2.0.161

type DownloadPersistentCachePeerFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerFinishedRequest represents persistent cache peer download finished request of AnnouncePersistentCachePeerRequest.

func (*DownloadPersistentCachePeerFinishedRequest) Descriptor deprecated added in v2.0.161

Deprecated: Use DownloadPersistentCachePeerFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentCachePeerFinishedRequest) ProtoMessage added in v2.0.161

func (*DownloadPersistentCachePeerFinishedRequest) ProtoReflect added in v2.0.161

func (*DownloadPersistentCachePeerFinishedRequest) Reset added in v2.0.161

func (*DownloadPersistentCachePeerFinishedRequest) String added in v2.0.161

func (*DownloadPersistentCachePeerFinishedRequest) Validate added in v2.0.161

Validate checks the field values on DownloadPersistentCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentCachePeerFinishedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on DownloadPersistentCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerFinishedRequestMultiError, or nil if none found.

type DownloadPersistentCachePeerFinishedRequestMultiError added in v2.0.161

type DownloadPersistentCachePeerFinishedRequestMultiError []error

DownloadPersistentCachePeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentCachePeerFinishedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (DownloadPersistentCachePeerFinishedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentCachePeerFinishedRequestValidationError added in v2.0.161

type DownloadPersistentCachePeerFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerFinishedRequestValidationError is the validation error returned by DownloadPersistentCachePeerFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentCachePeerFinishedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (DownloadPersistentCachePeerFinishedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (DownloadPersistentCachePeerFinishedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (DownloadPersistentCachePeerFinishedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (DownloadPersistentCachePeerFinishedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (DownloadPersistentCachePeerFinishedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type DownloadPersistentCachePeerStartedRequest added in v2.0.161

type DownloadPersistentCachePeerStartedRequest struct {
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerStartedRequest represents persistent cache peer download started request of AnnouncePersistentCachePeerRequest.

func (*DownloadPersistentCachePeerStartedRequest) Descriptor deprecated added in v2.0.161

func (*DownloadPersistentCachePeerStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPersistentCachePeerStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentCachePeerStartedRequest) ProtoMessage added in v2.0.161

func (*DownloadPersistentCachePeerStartedRequest) ProtoReflect added in v2.0.161

func (*DownloadPersistentCachePeerStartedRequest) Reset added in v2.0.161

func (*DownloadPersistentCachePeerStartedRequest) String added in v2.0.161

func (*DownloadPersistentCachePeerStartedRequest) Validate added in v2.0.161

Validate checks the field values on DownloadPersistentCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentCachePeerStartedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on DownloadPersistentCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerStartedRequestMultiError, or nil if none found.

type DownloadPersistentCachePeerStartedRequestMultiError added in v2.0.161

type DownloadPersistentCachePeerStartedRequestMultiError []error

DownloadPersistentCachePeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentCachePeerStartedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (DownloadPersistentCachePeerStartedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentCachePeerStartedRequestValidationError added in v2.0.161

type DownloadPersistentCachePeerStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentCachePeerStartedRequestValidationError is the validation error returned by DownloadPersistentCachePeerStartedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentCachePeerStartedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (DownloadPersistentCachePeerStartedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (DownloadPersistentCachePeerStartedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (DownloadPersistentCachePeerStartedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (DownloadPersistentCachePeerStartedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (DownloadPersistentCachePeerStartedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type DownloadPersistentPeerBackToSourceFailedRequest added in v2.1.86

type DownloadPersistentPeerBackToSourceFailedRequest struct {

	// The description of the download back-to-source failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceFailedRequest represents cache peer download back-to-source failed request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerBackToSourceFailedRequest) Descriptor deprecated added in v2.1.86

Deprecated: Use DownloadPersistentPeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerBackToSourceFailedRequest) GetDescription added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFailedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFailedRequest) String added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFailedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerBackToSourceFailedRequest) ValidateAll added in v2.1.86

ValidateAll checks the field values on DownloadPersistentPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceFailedRequestMultiError, or nil if none found.

type DownloadPersistentPeerBackToSourceFailedRequestMultiError added in v2.1.86

type DownloadPersistentPeerBackToSourceFailedRequestMultiError []error

DownloadPersistentPeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceFailedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerBackToSourceFailedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerBackToSourceFailedRequestValidationError added in v2.1.86

type DownloadPersistentPeerBackToSourceFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPersistentPeerBackToSourceFinishedRequest added in v2.1.86

type DownloadPersistentPeerBackToSourceFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceFinishedRequest represents cache peer download back-to-source finished request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerBackToSourceFinishedRequest) Descriptor deprecated added in v2.1.86

Deprecated: Use DownloadPersistentPeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFinishedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFinishedRequest) String added in v2.1.86

func (*DownloadPersistentPeerBackToSourceFinishedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerBackToSourceFinishedRequest) ValidateAll added in v2.1.86

ValidateAll checks the field values on DownloadPersistentPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceFinishedRequestMultiError, or nil if none found.

type DownloadPersistentPeerBackToSourceFinishedRequestMultiError added in v2.1.86

type DownloadPersistentPeerBackToSourceFinishedRequestMultiError []error

DownloadPersistentPeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceFinishedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerBackToSourceFinishedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerBackToSourceFinishedRequestValidationError added in v2.1.86

type DownloadPersistentPeerBackToSourceFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPersistentPeerBackToSourceStartedRequest added in v2.1.86

type DownloadPersistentPeerBackToSourceStartedRequest struct {

	// The description of the back-to-source reason.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceStartedRequest represents cache peer download back-to-source started request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerBackToSourceStartedRequest) Descriptor deprecated added in v2.1.86

Deprecated: Use DownloadPersistentPeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerBackToSourceStartedRequest) GetDescription added in v2.1.86

func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerBackToSourceStartedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerBackToSourceStartedRequest) String added in v2.1.86

func (*DownloadPersistentPeerBackToSourceStartedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerBackToSourceStartedRequest) ValidateAll added in v2.1.86

ValidateAll checks the field values on DownloadPersistentPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceStartedRequestMultiError, or nil if none found.

type DownloadPersistentPeerBackToSourceStartedRequestMultiError added in v2.1.86

type DownloadPersistentPeerBackToSourceStartedRequestMultiError []error

DownloadPersistentPeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceStartedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerBackToSourceStartedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerBackToSourceStartedRequestValidationError added in v2.1.86

type DownloadPersistentPeerBackToSourceStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPersistentPeerFailedRequest added in v2.1.86

type DownloadPersistentPeerFailedRequest struct {

	// The description of the download failed.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

DownloadPersistentPeerFailedRequest represents persistent peer download failed request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerFailedRequest) Descriptor deprecated added in v2.1.86

func (*DownloadPersistentPeerFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPersistentPeerFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerFailedRequest) GetDescription added in v2.1.86

func (x *DownloadPersistentPeerFailedRequest) GetDescription() string

func (*DownloadPersistentPeerFailedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerFailedRequest) ProtoMessage()

func (*DownloadPersistentPeerFailedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerFailedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerFailedRequest) String added in v2.1.86

func (*DownloadPersistentPeerFailedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerFailedRequest) ValidateAll added in v2.1.86

func (m *DownloadPersistentPeerFailedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPersistentPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerFailedRequestMultiError, or nil if none found.

type DownloadPersistentPeerFailedRequestMultiError added in v2.1.86

type DownloadPersistentPeerFailedRequestMultiError []error

DownloadPersistentPeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerFailedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerFailedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerFailedRequestValidationError added in v2.1.86

type DownloadPersistentPeerFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerFailedRequestValidationError is the validation error returned by DownloadPersistentPeerFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerFailedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerFailedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerFailedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerFailedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerFailedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerFailedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPersistentPeerFinishedRequest added in v2.1.86

type DownloadPersistentPeerFinishedRequest struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerFinishedRequest represents persistent peer download finished request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerFinishedRequest) Descriptor deprecated added in v2.1.86

func (*DownloadPersistentPeerFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPersistentPeerFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerFinishedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerFinishedRequest) ProtoMessage()

func (*DownloadPersistentPeerFinishedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerFinishedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerFinishedRequest) String added in v2.1.86

func (*DownloadPersistentPeerFinishedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerFinishedRequest) ValidateAll added in v2.1.86

ValidateAll checks the field values on DownloadPersistentPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerFinishedRequestMultiError, or nil if none found.

type DownloadPersistentPeerFinishedRequestMultiError added in v2.1.86

type DownloadPersistentPeerFinishedRequestMultiError []error

DownloadPersistentPeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerFinishedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerFinishedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerFinishedRequestValidationError added in v2.1.86

type DownloadPersistentPeerFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerFinishedRequestValidationError is the validation error returned by DownloadPersistentPeerFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerFinishedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerFinishedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerFinishedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerFinishedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerFinishedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerFinishedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPersistentPeerStartedRequest added in v2.1.86

type DownloadPersistentPeerStartedRequest struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerStartedRequest represents persistent peer download started request of AnnouncePersistentPeerRequest.

func (*DownloadPersistentPeerStartedRequest) Descriptor deprecated added in v2.1.86

func (*DownloadPersistentPeerStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPersistentPeerStartedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPersistentPeerStartedRequest) ProtoMessage added in v2.1.86

func (*DownloadPersistentPeerStartedRequest) ProtoMessage()

func (*DownloadPersistentPeerStartedRequest) ProtoReflect added in v2.1.86

func (*DownloadPersistentPeerStartedRequest) Reset added in v2.1.86

func (*DownloadPersistentPeerStartedRequest) String added in v2.1.86

func (*DownloadPersistentPeerStartedRequest) Validate added in v2.1.86

Validate checks the field values on DownloadPersistentPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPersistentPeerStartedRequest) ValidateAll added in v2.1.86

ValidateAll checks the field values on DownloadPersistentPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerStartedRequestMultiError, or nil if none found.

type DownloadPersistentPeerStartedRequestMultiError added in v2.1.86

type DownloadPersistentPeerStartedRequestMultiError []error

DownloadPersistentPeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerStartedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPersistentPeerStartedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (DownloadPersistentPeerStartedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type DownloadPersistentPeerStartedRequestValidationError added in v2.1.86

type DownloadPersistentPeerStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPersistentPeerStartedRequestValidationError is the validation error returned by DownloadPersistentPeerStartedRequest.Validate if the designated constraints aren't met.

func (DownloadPersistentPeerStartedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (DownloadPersistentPeerStartedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (DownloadPersistentPeerStartedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (DownloadPersistentPeerStartedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (DownloadPersistentPeerStartedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (DownloadPersistentPeerStartedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type DownloadPieceBackToSourceFailedRequest

type DownloadPieceBackToSourceFailedRequest struct {

	// Piece number.
	PieceNumber *uint32 `protobuf:"varint,1,opt,name=piece_number,json=pieceNumber,proto3,oneof" json:"piece_number,omitempty"`
	// Types that are assignable to Response:
	//
	//	*DownloadPieceBackToSourceFailedRequest_Backend
	//	*DownloadPieceBackToSourceFailedRequest_Unknown
	Response isDownloadPieceBackToSourceFailedRequest_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

DownloadPieceBackToSourceFailedRequest downloads piece back-to-source failed request of AnnouncePeerRequest.

func (*DownloadPieceBackToSourceFailedRequest) Descriptor deprecated

func (*DownloadPieceBackToSourceFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPieceBackToSourceFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPieceBackToSourceFailedRequest) GetBackend added in v2.0.114

func (*DownloadPieceBackToSourceFailedRequest) GetPieceNumber added in v2.0.47

func (x *DownloadPieceBackToSourceFailedRequest) GetPieceNumber() uint32

func (*DownloadPieceBackToSourceFailedRequest) GetResponse

func (m *DownloadPieceBackToSourceFailedRequest) GetResponse() isDownloadPieceBackToSourceFailedRequest_Response

func (*DownloadPieceBackToSourceFailedRequest) GetUnknown added in v2.0.172

func (*DownloadPieceBackToSourceFailedRequest) ProtoMessage

func (*DownloadPieceBackToSourceFailedRequest) ProtoReflect

func (*DownloadPieceBackToSourceFailedRequest) Reset

func (*DownloadPieceBackToSourceFailedRequest) String

func (*DownloadPieceBackToSourceFailedRequest) Validate

Validate checks the field values on DownloadPieceBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPieceBackToSourceFailedRequest) ValidateAll

ValidateAll checks the field values on DownloadPieceBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceBackToSourceFailedRequestMultiError, or nil if none found.

type DownloadPieceBackToSourceFailedRequestMultiError

type DownloadPieceBackToSourceFailedRequestMultiError []error

DownloadPieceBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPieceBackToSourceFailedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPieceBackToSourceFailedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPieceBackToSourceFailedRequestValidationError

type DownloadPieceBackToSourceFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPieceBackToSourceFailedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPieceBackToSourceFailedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPieceBackToSourceFailedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPieceBackToSourceFailedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPieceBackToSourceFailedRequestValidationError) Field

Field function returns field value.

func (DownloadPieceBackToSourceFailedRequestValidationError) Key

Key function returns key value.

func (DownloadPieceBackToSourceFailedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPieceBackToSourceFailedRequest_Backend added in v2.0.114

type DownloadPieceBackToSourceFailedRequest_Backend struct {
	Backend *v21.Backend `protobuf:"bytes,2,opt,name=backend,proto3,oneof"`
}

type DownloadPieceBackToSourceFailedRequest_Unknown added in v2.0.172

type DownloadPieceBackToSourceFailedRequest_Unknown struct {
	Unknown *v21.Unknown `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
}

type DownloadPieceBackToSourceFinishedRequest

type DownloadPieceBackToSourceFinishedRequest struct {

	// Piece info.
	Piece *v2.Piece `protobuf:"bytes,1,opt,name=piece,proto3" json:"piece,omitempty"`
	// contains filtered or unexported fields
}

DownloadPieceBackToSourceFinishedRequest represents piece download back-to-source finished request of AnnouncePeerRequest.

func (*DownloadPieceBackToSourceFinishedRequest) Descriptor deprecated

func (*DownloadPieceBackToSourceFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPieceBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPieceBackToSourceFinishedRequest) GetPiece

func (*DownloadPieceBackToSourceFinishedRequest) ProtoMessage

func (*DownloadPieceBackToSourceFinishedRequest) ProtoReflect

func (*DownloadPieceBackToSourceFinishedRequest) Reset

func (*DownloadPieceBackToSourceFinishedRequest) String

func (*DownloadPieceBackToSourceFinishedRequest) Validate

Validate checks the field values on DownloadPieceBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPieceBackToSourceFinishedRequest) ValidateAll

ValidateAll checks the field values on DownloadPieceBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceBackToSourceFinishedRequestMultiError, or nil if none found.

type DownloadPieceBackToSourceFinishedRequestMultiError

type DownloadPieceBackToSourceFinishedRequestMultiError []error

DownloadPieceBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPieceBackToSourceFinishedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPieceBackToSourceFinishedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPieceBackToSourceFinishedRequestValidationError

type DownloadPieceBackToSourceFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPieceBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPieceBackToSourceFinishedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPieceBackToSourceFinishedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPieceBackToSourceFinishedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPieceBackToSourceFinishedRequestValidationError) Field

Field function returns field value.

func (DownloadPieceBackToSourceFinishedRequestValidationError) Key

Key function returns key value.

func (DownloadPieceBackToSourceFinishedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPieceFailedRequest

type DownloadPieceFailedRequest struct {

	// Piece number.
	PieceNumber *uint32 `protobuf:"varint,1,opt,name=piece_number,json=pieceNumber,proto3,oneof" json:"piece_number,omitempty"`
	// Parent id.
	ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// Temporary indicates whether the error is temporary.
	Temporary bool `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"`
	// contains filtered or unexported fields
}

DownloadPieceFailedRequest downloads piece failed request of AnnouncePeerRequest.

func (*DownloadPieceFailedRequest) Descriptor deprecated

func (*DownloadPieceFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPieceFailedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPieceFailedRequest) GetParentId added in v2.0.47

func (x *DownloadPieceFailedRequest) GetParentId() string

func (*DownloadPieceFailedRequest) GetPieceNumber added in v2.0.47

func (x *DownloadPieceFailedRequest) GetPieceNumber() uint32

func (*DownloadPieceFailedRequest) GetTemporary

func (x *DownloadPieceFailedRequest) GetTemporary() bool

func (*DownloadPieceFailedRequest) ProtoMessage

func (*DownloadPieceFailedRequest) ProtoMessage()

func (*DownloadPieceFailedRequest) ProtoReflect

func (*DownloadPieceFailedRequest) Reset

func (x *DownloadPieceFailedRequest) Reset()

func (*DownloadPieceFailedRequest) String

func (x *DownloadPieceFailedRequest) String() string

func (*DownloadPieceFailedRequest) Validate

func (m *DownloadPieceFailedRequest) Validate() error

Validate checks the field values on DownloadPieceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPieceFailedRequest) ValidateAll

func (m *DownloadPieceFailedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPieceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceFailedRequestMultiError, or nil if none found.

type DownloadPieceFailedRequestMultiError

type DownloadPieceFailedRequestMultiError []error

DownloadPieceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFailedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPieceFailedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPieceFailedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPieceFailedRequestValidationError

type DownloadPieceFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPieceFailedRequestValidationError is the validation error returned by DownloadPieceFailedRequest.Validate if the designated constraints aren't met.

func (DownloadPieceFailedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPieceFailedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPieceFailedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPieceFailedRequestValidationError) Field

Field function returns field value.

func (DownloadPieceFailedRequestValidationError) Key

Key function returns key value.

func (DownloadPieceFailedRequestValidationError) Reason

Reason function returns reason value.

type DownloadPieceFinishedRequest

type DownloadPieceFinishedRequest struct {

	// Piece info.
	Piece *v2.Piece `protobuf:"bytes,1,opt,name=piece,proto3" json:"piece,omitempty"`
	// contains filtered or unexported fields
}

DownloadPieceFinishedRequest represents piece download finished request of AnnouncePeerRequest.

func (*DownloadPieceFinishedRequest) Descriptor deprecated

func (*DownloadPieceFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPieceFinishedRequest.ProtoReflect.Descriptor instead.

func (*DownloadPieceFinishedRequest) GetPiece

func (x *DownloadPieceFinishedRequest) GetPiece() *v2.Piece

func (*DownloadPieceFinishedRequest) ProtoMessage

func (*DownloadPieceFinishedRequest) ProtoMessage()

func (*DownloadPieceFinishedRequest) ProtoReflect

func (*DownloadPieceFinishedRequest) Reset

func (x *DownloadPieceFinishedRequest) Reset()

func (*DownloadPieceFinishedRequest) String

func (*DownloadPieceFinishedRequest) Validate

func (m *DownloadPieceFinishedRequest) Validate() error

Validate checks the field values on DownloadPieceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownloadPieceFinishedRequest) ValidateAll

func (m *DownloadPieceFinishedRequest) ValidateAll() error

ValidateAll checks the field values on DownloadPieceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceFinishedRequestMultiError, or nil if none found.

type DownloadPieceFinishedRequestMultiError

type DownloadPieceFinishedRequestMultiError []error

DownloadPieceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (DownloadPieceFinishedRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownloadPieceFinishedRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownloadPieceFinishedRequestValidationError

type DownloadPieceFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

DownloadPieceFinishedRequestValidationError is the validation error returned by DownloadPieceFinishedRequest.Validate if the designated constraints aren't met.

func (DownloadPieceFinishedRequestValidationError) Cause

Cause function returns cause value.

func (DownloadPieceFinishedRequestValidationError) Error

Error satisfies the builtin error interface

func (DownloadPieceFinishedRequestValidationError) ErrorName

ErrorName returns error name.

func (DownloadPieceFinishedRequestValidationError) Field

Field function returns field value.

func (DownloadPieceFinishedRequestValidationError) Key

Key function returns key value.

func (DownloadPieceFinishedRequestValidationError) Reason

Reason function returns reason value.

type EmptyCacheTaskResponse added in v2.0.121

type EmptyCacheTaskResponse struct {
	// contains filtered or unexported fields
}

EmptyCacheTaskResponse represents empty cache task response of AnnounceCachePeerResponse.

func (*EmptyCacheTaskResponse) Descriptor deprecated added in v2.0.121

func (*EmptyCacheTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyCacheTaskResponse.ProtoReflect.Descriptor instead.

func (*EmptyCacheTaskResponse) ProtoMessage added in v2.0.121

func (*EmptyCacheTaskResponse) ProtoMessage()

func (*EmptyCacheTaskResponse) ProtoReflect added in v2.0.121

func (x *EmptyCacheTaskResponse) ProtoReflect() protoreflect.Message

func (*EmptyCacheTaskResponse) Reset added in v2.0.121

func (x *EmptyCacheTaskResponse) Reset()

func (*EmptyCacheTaskResponse) String added in v2.0.121

func (x *EmptyCacheTaskResponse) String() string

func (*EmptyCacheTaskResponse) Validate added in v2.0.121

func (m *EmptyCacheTaskResponse) Validate() error

Validate checks the field values on EmptyCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EmptyCacheTaskResponse) ValidateAll added in v2.0.121

func (m *EmptyCacheTaskResponse) ValidateAll() error

ValidateAll checks the field values on EmptyCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyCacheTaskResponseMultiError, or nil if none found.

type EmptyCacheTaskResponseMultiError added in v2.0.121

type EmptyCacheTaskResponseMultiError []error

EmptyCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyCacheTaskResponse.ValidateAll() if the designated constraints aren't met.

func (EmptyCacheTaskResponseMultiError) AllErrors added in v2.0.121

func (m EmptyCacheTaskResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EmptyCacheTaskResponseMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type EmptyCacheTaskResponseValidationError added in v2.0.121

type EmptyCacheTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

EmptyCacheTaskResponseValidationError is the validation error returned by EmptyCacheTaskResponse.Validate if the designated constraints aren't met.

func (EmptyCacheTaskResponseValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (EmptyCacheTaskResponseValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (EmptyCacheTaskResponseValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (EmptyCacheTaskResponseValidationError) Field added in v2.0.121

Field function returns field value.

func (EmptyCacheTaskResponseValidationError) Key added in v2.0.121

Key function returns key value.

func (EmptyCacheTaskResponseValidationError) Reason added in v2.0.121

Reason function returns reason value.

type EmptyPersistentCacheTaskResponse added in v2.0.161

type EmptyPersistentCacheTaskResponse struct {
	// contains filtered or unexported fields
}

EmptyPersistentCacheTaskResponse represents empty persistent cache task response of AnnouncePersistentCachePeerResponse.

func (*EmptyPersistentCacheTaskResponse) Descriptor deprecated added in v2.0.161

func (*EmptyPersistentCacheTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyPersistentCacheTaskResponse.ProtoReflect.Descriptor instead.

func (*EmptyPersistentCacheTaskResponse) ProtoMessage added in v2.0.161

func (*EmptyPersistentCacheTaskResponse) ProtoMessage()

func (*EmptyPersistentCacheTaskResponse) ProtoReflect added in v2.0.161

func (*EmptyPersistentCacheTaskResponse) Reset added in v2.0.161

func (*EmptyPersistentCacheTaskResponse) String added in v2.0.161

func (*EmptyPersistentCacheTaskResponse) Validate added in v2.0.161

Validate checks the field values on EmptyPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EmptyPersistentCacheTaskResponse) ValidateAll added in v2.0.161

func (m *EmptyPersistentCacheTaskResponse) ValidateAll() error

ValidateAll checks the field values on EmptyPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyPersistentCacheTaskResponseMultiError, or nil if none found.

type EmptyPersistentCacheTaskResponseMultiError added in v2.0.161

type EmptyPersistentCacheTaskResponseMultiError []error

EmptyPersistentCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyPersistentCacheTaskResponse.ValidateAll() if the designated constraints aren't met.

func (EmptyPersistentCacheTaskResponseMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (EmptyPersistentCacheTaskResponseMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type EmptyPersistentCacheTaskResponseValidationError added in v2.0.161

type EmptyPersistentCacheTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

EmptyPersistentCacheTaskResponseValidationError is the validation error returned by EmptyPersistentCacheTaskResponse.Validate if the designated constraints aren't met.

func (EmptyPersistentCacheTaskResponseValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (EmptyPersistentCacheTaskResponseValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (EmptyPersistentCacheTaskResponseValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (EmptyPersistentCacheTaskResponseValidationError) Field added in v2.0.161

Field function returns field value.

func (EmptyPersistentCacheTaskResponseValidationError) Key added in v2.0.161

Key function returns key value.

func (EmptyPersistentCacheTaskResponseValidationError) Reason added in v2.0.161

Reason function returns reason value.

type EmptyPersistentTaskResponse added in v2.1.86

type EmptyPersistentTaskResponse struct {
	// contains filtered or unexported fields
}

EmptyPersistentTaskResponse represents empty persistent task response of AnnouncePersistentPeerResponse.

func (*EmptyPersistentTaskResponse) Descriptor deprecated added in v2.1.86

func (*EmptyPersistentTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyPersistentTaskResponse.ProtoReflect.Descriptor instead.

func (*EmptyPersistentTaskResponse) ProtoMessage added in v2.1.86

func (*EmptyPersistentTaskResponse) ProtoMessage()

func (*EmptyPersistentTaskResponse) ProtoReflect added in v2.1.86

func (*EmptyPersistentTaskResponse) Reset added in v2.1.86

func (x *EmptyPersistentTaskResponse) Reset()

func (*EmptyPersistentTaskResponse) String added in v2.1.86

func (x *EmptyPersistentTaskResponse) String() string

func (*EmptyPersistentTaskResponse) Validate added in v2.1.86

func (m *EmptyPersistentTaskResponse) Validate() error

Validate checks the field values on EmptyPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EmptyPersistentTaskResponse) ValidateAll added in v2.1.86

func (m *EmptyPersistentTaskResponse) ValidateAll() error

ValidateAll checks the field values on EmptyPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyPersistentTaskResponseMultiError, or nil if none found.

type EmptyPersistentTaskResponseMultiError added in v2.1.86

type EmptyPersistentTaskResponseMultiError []error

EmptyPersistentTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyPersistentTaskResponse.ValidateAll() if the designated constraints aren't met.

func (EmptyPersistentTaskResponseMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (EmptyPersistentTaskResponseMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type EmptyPersistentTaskResponseValidationError added in v2.1.86

type EmptyPersistentTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

EmptyPersistentTaskResponseValidationError is the validation error returned by EmptyPersistentTaskResponse.Validate if the designated constraints aren't met.

func (EmptyPersistentTaskResponseValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (EmptyPersistentTaskResponseValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (EmptyPersistentTaskResponseValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (EmptyPersistentTaskResponseValidationError) Field added in v2.1.86

Field function returns field value.

func (EmptyPersistentTaskResponseValidationError) Key added in v2.1.86

Key function returns key value.

func (EmptyPersistentTaskResponseValidationError) Reason added in v2.1.86

Reason function returns reason value.

type EmptyTaskResponse

type EmptyTaskResponse struct {
	// contains filtered or unexported fields
}

EmptyTaskResponse represents empty task response of AnnouncePeerResponse.

func (*EmptyTaskResponse) Descriptor deprecated

func (*EmptyTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use EmptyTaskResponse.ProtoReflect.Descriptor instead.

func (*EmptyTaskResponse) ProtoMessage

func (*EmptyTaskResponse) ProtoMessage()

func (*EmptyTaskResponse) ProtoReflect

func (x *EmptyTaskResponse) ProtoReflect() protoreflect.Message

func (*EmptyTaskResponse) Reset

func (x *EmptyTaskResponse) Reset()

func (*EmptyTaskResponse) String

func (x *EmptyTaskResponse) String() string

func (*EmptyTaskResponse) Validate

func (m *EmptyTaskResponse) Validate() error

Validate checks the field values on EmptyTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EmptyTaskResponse) ValidateAll

func (m *EmptyTaskResponse) ValidateAll() error

ValidateAll checks the field values on EmptyTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyTaskResponseMultiError, or nil if none found.

type EmptyTaskResponseMultiError

type EmptyTaskResponseMultiError []error

EmptyTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyTaskResponse.ValidateAll() if the designated constraints aren't met.

func (EmptyTaskResponseMultiError) AllErrors

func (m EmptyTaskResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EmptyTaskResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EmptyTaskResponseValidationError

type EmptyTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

EmptyTaskResponseValidationError is the validation error returned by EmptyTaskResponse.Validate if the designated constraints aren't met.

func (EmptyTaskResponseValidationError) Cause

Cause function returns cause value.

func (EmptyTaskResponseValidationError) Error

Error satisfies the builtin error interface

func (EmptyTaskResponseValidationError) ErrorName

ErrorName returns error name.

func (EmptyTaskResponseValidationError) Field

Field function returns field value.

func (EmptyTaskResponseValidationError) Key

Key function returns key value.

func (EmptyTaskResponseValidationError) Reason

Reason function returns reason value.

type File added in v2.1.91

type File struct {

	// URL is the url of the file.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// IsFinished indicates whether the file has finished downloading on the peer.
	IsFinished *bool `protobuf:"varint,2,opt,name=is_finished,json=isFinished,proto3,oneof" json:"is_finished,omitempty"`
	// contains filtered or unexported fields
}

File represents the file information.

func (*File) Descriptor deprecated added in v2.1.91

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetIsFinished added in v2.1.91

func (x *File) GetIsFinished() bool

func (*File) GetUrl added in v2.1.91

func (x *File) GetUrl() string

func (*File) ProtoMessage added in v2.1.91

func (*File) ProtoMessage()

func (*File) ProtoReflect added in v2.1.91

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset added in v2.1.91

func (x *File) Reset()

func (*File) String added in v2.1.91

func (x *File) String() string

func (*File) Validate added in v2.1.91

func (m *File) Validate() error

Validate checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*File) ValidateAll added in v2.1.91

func (m *File) ValidateAll() error

ValidateAll checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMultiError, or nil if none found.

type FileMultiError added in v2.1.91

type FileMultiError []error

FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.

func (FileMultiError) AllErrors added in v2.1.91

func (m FileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMultiError) Error added in v2.1.91

func (m FileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileValidationError added in v2.1.91

type FileValidationError struct {
	// contains filtered or unexported fields
}

FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.

func (FileValidationError) Cause added in v2.1.91

func (e FileValidationError) Cause() error

Cause function returns cause value.

func (FileValidationError) Error added in v2.1.91

func (e FileValidationError) Error() string

Error satisfies the builtin error interface

func (FileValidationError) ErrorName added in v2.1.91

func (e FileValidationError) ErrorName() string

ErrorName returns error name.

func (FileValidationError) Field added in v2.1.91

func (e FileValidationError) Field() string

Field function returns field value.

func (FileValidationError) Key added in v2.1.91

func (e FileValidationError) Key() bool

Key function returns key value.

func (FileValidationError) Reason added in v2.1.91

func (e FileValidationError) Reason() string

Reason function returns reason value.

type Image added in v2.1.52

type Image struct {

	// Layers is the list of layers of the image.
	Layers []*Layer `protobuf:"bytes,1,rep,name=layers,proto3" json:"layers,omitempty"`
	// contains filtered or unexported fields
}

Image represents the image information.

func (*Image) Descriptor deprecated added in v2.1.52

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetLayers added in v2.1.52

func (x *Image) GetLayers() []*Layer

func (*Image) ProtoMessage added in v2.1.52

func (*Image) ProtoMessage()

func (*Image) ProtoReflect added in v2.1.52

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset added in v2.1.52

func (x *Image) Reset()

func (*Image) String added in v2.1.52

func (x *Image) String() string

func (*Image) Validate added in v2.1.52

func (m *Image) Validate() error

Validate checks the field values on Image with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Image) ValidateAll added in v2.1.52

func (m *Image) ValidateAll() error

ValidateAll checks the field values on Image with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImageMultiError, or nil if none found.

type ImageMultiError added in v2.1.52

type ImageMultiError []error

ImageMultiError is an error wrapping multiple validation errors returned by Image.ValidateAll() if the designated constraints aren't met.

func (ImageMultiError) AllErrors added in v2.1.52

func (m ImageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageMultiError) Error added in v2.1.52

func (m ImageMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ImageValidationError added in v2.1.52

type ImageValidationError struct {
	// contains filtered or unexported fields
}

ImageValidationError is the validation error returned by Image.Validate if the designated constraints aren't met.

func (ImageValidationError) Cause added in v2.1.52

func (e ImageValidationError) Cause() error

Cause function returns cause value.

func (ImageValidationError) Error added in v2.1.52

func (e ImageValidationError) Error() string

Error satisfies the builtin error interface

func (ImageValidationError) ErrorName added in v2.1.52

func (e ImageValidationError) ErrorName() string

ErrorName returns error name.

func (ImageValidationError) Field added in v2.1.52

func (e ImageValidationError) Field() string

Field function returns field value.

func (ImageValidationError) Key added in v2.1.52

func (e ImageValidationError) Key() bool

Key function returns key value.

func (ImageValidationError) Reason added in v2.1.52

func (e ImageValidationError) Reason() string

Reason function returns reason value.

type Layer added in v2.1.52

type Layer struct {

	// URL is the URL of the layer.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// IsFinished indicates whether the layer has finished downloading on the peer.
	IsFinished *bool `protobuf:"varint,2,opt,name=is_finished,json=isFinished,proto3,oneof" json:"is_finished,omitempty"`
	// contains filtered or unexported fields
}

Layer represents a layer of the image.

func (*Layer) Descriptor deprecated added in v2.1.52

func (*Layer) Descriptor() ([]byte, []int)

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetIsFinished added in v2.1.91

func (x *Layer) GetIsFinished() bool

func (*Layer) GetUrl added in v2.1.52

func (x *Layer) GetUrl() string

func (*Layer) ProtoMessage added in v2.1.52

func (*Layer) ProtoMessage()

func (*Layer) ProtoReflect added in v2.1.52

func (x *Layer) ProtoReflect() protoreflect.Message

func (*Layer) Reset added in v2.1.52

func (x *Layer) Reset()

func (*Layer) String added in v2.1.52

func (x *Layer) String() string

func (*Layer) Validate added in v2.1.52

func (m *Layer) Validate() error

Validate checks the field values on Layer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Layer) ValidateAll added in v2.1.52

func (m *Layer) ValidateAll() error

ValidateAll checks the field values on Layer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LayerMultiError, or nil if none found.

type LayerMultiError added in v2.1.52

type LayerMultiError []error

LayerMultiError is an error wrapping multiple validation errors returned by Layer.ValidateAll() if the designated constraints aren't met.

func (LayerMultiError) AllErrors added in v2.1.52

func (m LayerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LayerMultiError) Error added in v2.1.52

func (m LayerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LayerValidationError added in v2.1.52

type LayerValidationError struct {
	// contains filtered or unexported fields
}

LayerValidationError is the validation error returned by Layer.Validate if the designated constraints aren't met.

func (LayerValidationError) Cause added in v2.1.52

func (e LayerValidationError) Cause() error

Cause function returns cause value.

func (LayerValidationError) Error added in v2.1.52

func (e LayerValidationError) Error() string

Error satisfies the builtin error interface

func (LayerValidationError) ErrorName added in v2.1.52

func (e LayerValidationError) ErrorName() string

ErrorName returns error name.

func (LayerValidationError) Field added in v2.1.52

func (e LayerValidationError) Field() string

Field function returns field value.

func (LayerValidationError) Key added in v2.1.52

func (e LayerValidationError) Key() bool

Key function returns key value.

func (LayerValidationError) Reason added in v2.1.52

func (e LayerValidationError) Reason() string

Reason function returns reason value.

type ListHostsRequest added in v2.1.69

type ListHostsRequest struct {

	// Type to filter hosts.
	Type *uint32 `protobuf:"varint,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
	// contains filtered or unexported fields
}

ListHostsRequest represents request of ListHosts.

func (*ListHostsRequest) Descriptor deprecated added in v2.1.69

func (*ListHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHostsRequest.ProtoReflect.Descriptor instead.

func (*ListHostsRequest) GetType added in v2.1.69

func (x *ListHostsRequest) GetType() uint32

func (*ListHostsRequest) ProtoMessage added in v2.1.69

func (*ListHostsRequest) ProtoMessage()

func (*ListHostsRequest) ProtoReflect added in v2.1.69

func (x *ListHostsRequest) ProtoReflect() protoreflect.Message

func (*ListHostsRequest) Reset added in v2.1.69

func (x *ListHostsRequest) Reset()

func (*ListHostsRequest) String added in v2.1.69

func (x *ListHostsRequest) String() string

func (*ListHostsRequest) Validate added in v2.1.69

func (m *ListHostsRequest) Validate() error

Validate checks the field values on ListHostsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListHostsRequest) ValidateAll added in v2.1.69

func (m *ListHostsRequest) ValidateAll() error

ValidateAll checks the field values on ListHostsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHostsRequestMultiError, or nil if none found.

type ListHostsRequestMultiError added in v2.1.69

type ListHostsRequestMultiError []error

ListHostsRequestMultiError is an error wrapping multiple validation errors returned by ListHostsRequest.ValidateAll() if the designated constraints aren't met.

func (ListHostsRequestMultiError) AllErrors added in v2.1.69

func (m ListHostsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListHostsRequestMultiError) Error added in v2.1.69

Error returns a concatenation of all the error messages it wraps.

type ListHostsRequestValidationError added in v2.1.69

type ListHostsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListHostsRequestValidationError is the validation error returned by ListHostsRequest.Validate if the designated constraints aren't met.

func (ListHostsRequestValidationError) Cause added in v2.1.69

Cause function returns cause value.

func (ListHostsRequestValidationError) Error added in v2.1.69

Error satisfies the builtin error interface

func (ListHostsRequestValidationError) ErrorName added in v2.1.69

ErrorName returns error name.

func (ListHostsRequestValidationError) Field added in v2.1.69

Field function returns field value.

func (ListHostsRequestValidationError) Key added in v2.1.69

Key function returns key value.

func (ListHostsRequestValidationError) Reason added in v2.1.69

Reason function returns reason value.

type ListHostsResponse added in v2.0.158

type ListHostsResponse struct {

	// Hosts info.
	Hosts []*v2.Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// contains filtered or unexported fields
}

ListHostsResponse represents response of ListHosts.

func (*ListHostsResponse) Descriptor deprecated added in v2.0.158

func (*ListHostsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHostsResponse.ProtoReflect.Descriptor instead.

func (*ListHostsResponse) GetHosts added in v2.0.158

func (x *ListHostsResponse) GetHosts() []*v2.Host

func (*ListHostsResponse) ProtoMessage added in v2.0.158

func (*ListHostsResponse) ProtoMessage()

func (*ListHostsResponse) ProtoReflect added in v2.0.158

func (x *ListHostsResponse) ProtoReflect() protoreflect.Message

func (*ListHostsResponse) Reset added in v2.0.158

func (x *ListHostsResponse) Reset()

func (*ListHostsResponse) String added in v2.0.158

func (x *ListHostsResponse) String() string

func (*ListHostsResponse) Validate added in v2.0.158

func (m *ListHostsResponse) Validate() error

Validate checks the field values on ListHostsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListHostsResponse) ValidateAll added in v2.0.158

func (m *ListHostsResponse) ValidateAll() error

ValidateAll checks the field values on ListHostsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHostsResponseMultiError, or nil if none found.

type ListHostsResponseMultiError added in v2.0.158

type ListHostsResponseMultiError []error

ListHostsResponseMultiError is an error wrapping multiple validation errors returned by ListHostsResponse.ValidateAll() if the designated constraints aren't met.

func (ListHostsResponseMultiError) AllErrors added in v2.0.158

func (m ListHostsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListHostsResponseMultiError) Error added in v2.0.158

Error returns a concatenation of all the error messages it wraps.

type ListHostsResponseValidationError added in v2.0.158

type ListHostsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListHostsResponseValidationError is the validation error returned by ListHostsResponse.Validate if the designated constraints aren't met.

func (ListHostsResponseValidationError) Cause added in v2.0.158

Cause function returns cause value.

func (ListHostsResponseValidationError) Error added in v2.0.158

Error satisfies the builtin error interface

func (ListHostsResponseValidationError) ErrorName added in v2.0.158

ErrorName returns error name.

func (ListHostsResponseValidationError) Field added in v2.0.158

Field function returns field value.

func (ListHostsResponseValidationError) Key added in v2.0.158

Key function returns key value.

func (ListHostsResponseValidationError) Reason added in v2.0.158

Reason function returns reason value.

type NeedBackToSourceResponse

type NeedBackToSourceResponse struct {

	// The description of the back-to-source reason.
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

NeedBackToSourceResponse represents need back-to-source response of AnnouncePeerResponse.

func (*NeedBackToSourceResponse) Descriptor deprecated

func (*NeedBackToSourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use NeedBackToSourceResponse.ProtoReflect.Descriptor instead.

func (*NeedBackToSourceResponse) GetDescription

func (x *NeedBackToSourceResponse) GetDescription() string

func (*NeedBackToSourceResponse) ProtoMessage

func (*NeedBackToSourceResponse) ProtoMessage()

func (*NeedBackToSourceResponse) ProtoReflect

func (x *NeedBackToSourceResponse) ProtoReflect() protoreflect.Message

func (*NeedBackToSourceResponse) Reset

func (x *NeedBackToSourceResponse) Reset()

func (*NeedBackToSourceResponse) String

func (x *NeedBackToSourceResponse) String() string

func (*NeedBackToSourceResponse) Validate

func (m *NeedBackToSourceResponse) Validate() error

Validate checks the field values on NeedBackToSourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NeedBackToSourceResponse) ValidateAll

func (m *NeedBackToSourceResponse) ValidateAll() error

ValidateAll checks the field values on NeedBackToSourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NeedBackToSourceResponseMultiError, or nil if none found.

type NeedBackToSourceResponseMultiError

type NeedBackToSourceResponseMultiError []error

NeedBackToSourceResponseMultiError is an error wrapping multiple validation errors returned by NeedBackToSourceResponse.ValidateAll() if the designated constraints aren't met.

func (NeedBackToSourceResponseMultiError) AllErrors

func (m NeedBackToSourceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NeedBackToSourceResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NeedBackToSourceResponseValidationError

type NeedBackToSourceResponseValidationError struct {
	// contains filtered or unexported fields
}

NeedBackToSourceResponseValidationError is the validation error returned by NeedBackToSourceResponse.Validate if the designated constraints aren't met.

func (NeedBackToSourceResponseValidationError) Cause

Cause function returns cause value.

func (NeedBackToSourceResponseValidationError) Error

Error satisfies the builtin error interface

func (NeedBackToSourceResponseValidationError) ErrorName

ErrorName returns error name.

func (NeedBackToSourceResponseValidationError) Field

Field function returns field value.

func (NeedBackToSourceResponseValidationError) Key

Key function returns key value.

func (NeedBackToSourceResponseValidationError) Reason

Reason function returns reason value.

type NormalCacheTaskResponse added in v2.0.121

type NormalCacheTaskResponse struct {

	// Candidate parents.
	CandidateParents []*v2.CachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// contains filtered or unexported fields
}

NormalCacheTaskResponse represents normal cache task response of AnnounceCachePeerResponse.

func (*NormalCacheTaskResponse) Descriptor deprecated added in v2.0.121

func (*NormalCacheTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use NormalCacheTaskResponse.ProtoReflect.Descriptor instead.

func (*NormalCacheTaskResponse) GetCandidateParents added in v2.0.121

func (x *NormalCacheTaskResponse) GetCandidateParents() []*v2.CachePeer

func (*NormalCacheTaskResponse) ProtoMessage added in v2.0.121

func (*NormalCacheTaskResponse) ProtoMessage()

func (*NormalCacheTaskResponse) ProtoReflect added in v2.0.121

func (x *NormalCacheTaskResponse) ProtoReflect() protoreflect.Message

func (*NormalCacheTaskResponse) Reset added in v2.0.121

func (x *NormalCacheTaskResponse) Reset()

func (*NormalCacheTaskResponse) String added in v2.0.121

func (x *NormalCacheTaskResponse) String() string

func (*NormalCacheTaskResponse) Validate added in v2.0.121

func (m *NormalCacheTaskResponse) Validate() error

Validate checks the field values on NormalCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NormalCacheTaskResponse) ValidateAll added in v2.0.121

func (m *NormalCacheTaskResponse) ValidateAll() error

ValidateAll checks the field values on NormalCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalCacheTaskResponseMultiError, or nil if none found.

type NormalCacheTaskResponseMultiError added in v2.0.121

type NormalCacheTaskResponseMultiError []error

NormalCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalCacheTaskResponse.ValidateAll() if the designated constraints aren't met.

func (NormalCacheTaskResponseMultiError) AllErrors added in v2.0.121

func (m NormalCacheTaskResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NormalCacheTaskResponseMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type NormalCacheTaskResponseValidationError added in v2.0.121

type NormalCacheTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

NormalCacheTaskResponseValidationError is the validation error returned by NormalCacheTaskResponse.Validate if the designated constraints aren't met.

func (NormalCacheTaskResponseValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (NormalCacheTaskResponseValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (NormalCacheTaskResponseValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (NormalCacheTaskResponseValidationError) Field added in v2.0.121

Field function returns field value.

func (NormalCacheTaskResponseValidationError) Key added in v2.0.121

Key function returns key value.

func (NormalCacheTaskResponseValidationError) Reason added in v2.0.121

Reason function returns reason value.

type NormalPersistentCacheTaskResponse added in v2.0.161

type NormalPersistentCacheTaskResponse struct {

	// Candidate parents.
	CandidateParents []*v2.PersistentCachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// contains filtered or unexported fields
}

NormalPersistentCacheTaskResponse represents normal persistent cache task response of AnnouncePersistentCachePeerResponse.

func (*NormalPersistentCacheTaskResponse) Descriptor deprecated added in v2.0.161

func (*NormalPersistentCacheTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use NormalPersistentCacheTaskResponse.ProtoReflect.Descriptor instead.

func (*NormalPersistentCacheTaskResponse) GetCandidateParents added in v2.0.161

func (x *NormalPersistentCacheTaskResponse) GetCandidateParents() []*v2.PersistentCachePeer

func (*NormalPersistentCacheTaskResponse) ProtoMessage added in v2.0.161

func (*NormalPersistentCacheTaskResponse) ProtoMessage()

func (*NormalPersistentCacheTaskResponse) ProtoReflect added in v2.0.161

func (*NormalPersistentCacheTaskResponse) Reset added in v2.0.161

func (*NormalPersistentCacheTaskResponse) String added in v2.0.161

func (*NormalPersistentCacheTaskResponse) Validate added in v2.0.161

Validate checks the field values on NormalPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NormalPersistentCacheTaskResponse) ValidateAll added in v2.0.161

func (m *NormalPersistentCacheTaskResponse) ValidateAll() error

ValidateAll checks the field values on NormalPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalPersistentCacheTaskResponseMultiError, or nil if none found.

type NormalPersistentCacheTaskResponseMultiError added in v2.0.161

type NormalPersistentCacheTaskResponseMultiError []error

NormalPersistentCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalPersistentCacheTaskResponse.ValidateAll() if the designated constraints aren't met.

func (NormalPersistentCacheTaskResponseMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (NormalPersistentCacheTaskResponseMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type NormalPersistentCacheTaskResponseValidationError added in v2.0.161

type NormalPersistentCacheTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

NormalPersistentCacheTaskResponseValidationError is the validation error returned by NormalPersistentCacheTaskResponse.Validate if the designated constraints aren't met.

func (NormalPersistentCacheTaskResponseValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (NormalPersistentCacheTaskResponseValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (NormalPersistentCacheTaskResponseValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (NormalPersistentCacheTaskResponseValidationError) Field added in v2.0.161

Field function returns field value.

func (NormalPersistentCacheTaskResponseValidationError) Key added in v2.0.161

Key function returns key value.

func (NormalPersistentCacheTaskResponseValidationError) Reason added in v2.0.161

Reason function returns reason value.

type NormalPersistentTaskResponse added in v2.1.86

type NormalPersistentTaskResponse struct {

	// Candidate parents.
	CandidateParents []*v2.PersistentPeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// contains filtered or unexported fields
}

NormalPersistentTaskResponse represents normal persistent task response of AnnouncePersistentPeerResponse.

func (*NormalPersistentTaskResponse) Descriptor deprecated added in v2.1.86

func (*NormalPersistentTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use NormalPersistentTaskResponse.ProtoReflect.Descriptor instead.

func (*NormalPersistentTaskResponse) GetCandidateParents added in v2.1.86

func (x *NormalPersistentTaskResponse) GetCandidateParents() []*v2.PersistentPeer

func (*NormalPersistentTaskResponse) ProtoMessage added in v2.1.86

func (*NormalPersistentTaskResponse) ProtoMessage()

func (*NormalPersistentTaskResponse) ProtoReflect added in v2.1.86

func (*NormalPersistentTaskResponse) Reset added in v2.1.86

func (x *NormalPersistentTaskResponse) Reset()

func (*NormalPersistentTaskResponse) String added in v2.1.86

func (*NormalPersistentTaskResponse) Validate added in v2.1.86

func (m *NormalPersistentTaskResponse) Validate() error

Validate checks the field values on NormalPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NormalPersistentTaskResponse) ValidateAll added in v2.1.86

func (m *NormalPersistentTaskResponse) ValidateAll() error

ValidateAll checks the field values on NormalPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalPersistentTaskResponseMultiError, or nil if none found.

type NormalPersistentTaskResponseMultiError added in v2.1.86

type NormalPersistentTaskResponseMultiError []error

NormalPersistentTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalPersistentTaskResponse.ValidateAll() if the designated constraints aren't met.

func (NormalPersistentTaskResponseMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (NormalPersistentTaskResponseMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type NormalPersistentTaskResponseValidationError added in v2.1.86

type NormalPersistentTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

NormalPersistentTaskResponseValidationError is the validation error returned by NormalPersistentTaskResponse.Validate if the designated constraints aren't met.

func (NormalPersistentTaskResponseValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (NormalPersistentTaskResponseValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (NormalPersistentTaskResponseValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (NormalPersistentTaskResponseValidationError) Field added in v2.1.86

Field function returns field value.

func (NormalPersistentTaskResponseValidationError) Key added in v2.1.86

Key function returns key value.

func (NormalPersistentTaskResponseValidationError) Reason added in v2.1.86

Reason function returns reason value.

type NormalTaskResponse

type NormalTaskResponse struct {

	// Candidate parents.
	CandidateParents []*v2.Peer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// contains filtered or unexported fields
}

NormalTaskResponse represents normal task response of AnnouncePeerResponse.

func (*NormalTaskResponse) Descriptor deprecated

func (*NormalTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use NormalTaskResponse.ProtoReflect.Descriptor instead.

func (*NormalTaskResponse) GetCandidateParents

func (x *NormalTaskResponse) GetCandidateParents() []*v2.Peer

func (*NormalTaskResponse) ProtoMessage

func (*NormalTaskResponse) ProtoMessage()

func (*NormalTaskResponse) ProtoReflect

func (x *NormalTaskResponse) ProtoReflect() protoreflect.Message

func (*NormalTaskResponse) Reset

func (x *NormalTaskResponse) Reset()

func (*NormalTaskResponse) String

func (x *NormalTaskResponse) String() string

func (*NormalTaskResponse) Validate

func (m *NormalTaskResponse) Validate() error

Validate checks the field values on NormalTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NormalTaskResponse) ValidateAll

func (m *NormalTaskResponse) ValidateAll() error

ValidateAll checks the field values on NormalTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalTaskResponseMultiError, or nil if none found.

type NormalTaskResponseMultiError

type NormalTaskResponseMultiError []error

NormalTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalTaskResponse.ValidateAll() if the designated constraints aren't met.

func (NormalTaskResponseMultiError) AllErrors

func (m NormalTaskResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NormalTaskResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NormalTaskResponseValidationError

type NormalTaskResponseValidationError struct {
	// contains filtered or unexported fields
}

NormalTaskResponseValidationError is the validation error returned by NormalTaskResponse.Validate if the designated constraints aren't met.

func (NormalTaskResponseValidationError) Cause

Cause function returns cause value.

func (NormalTaskResponseValidationError) Error

Error satisfies the builtin error interface

func (NormalTaskResponseValidationError) ErrorName

ErrorName returns error name.

func (NormalTaskResponseValidationError) Field

Field function returns field value.

func (NormalTaskResponseValidationError) Key

Key function returns key value.

func (NormalTaskResponseValidationError) Reason

Reason function returns reason value.

type PeerFile added in v2.1.73

type PeerFile struct {

	// IP is the IP address of the peer.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Hostname is the hostname of the peer.
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// CachedFiles is the list of files that the peer has downloaded.
	CachedFiles []*File `protobuf:"bytes,3,rep,name=cached_files,json=cachedFiles,proto3" json:"cached_files,omitempty"`
	// contains filtered or unexported fields
}

PeerFile represents a peer in the get file job.

func (*PeerFile) Descriptor deprecated added in v2.1.73

func (*PeerFile) Descriptor() ([]byte, []int)

Deprecated: Use PeerFile.ProtoReflect.Descriptor instead.

func (*PeerFile) GetCachedFiles added in v2.1.91

func (x *PeerFile) GetCachedFiles() []*File

func (*PeerFile) GetHostname added in v2.1.73

func (x *PeerFile) GetHostname() string

func (*PeerFile) GetIp added in v2.1.73

func (x *PeerFile) GetIp() string

func (*PeerFile) ProtoMessage added in v2.1.73

func (*PeerFile) ProtoMessage()

func (*PeerFile) ProtoReflect added in v2.1.73

func (x *PeerFile) ProtoReflect() protoreflect.Message

func (*PeerFile) Reset added in v2.1.73

func (x *PeerFile) Reset()

func (*PeerFile) String added in v2.1.73

func (x *PeerFile) String() string

func (*PeerFile) Validate added in v2.1.73

func (m *PeerFile) Validate() error

Validate checks the field values on PeerFile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PeerFile) ValidateAll added in v2.1.73

func (m *PeerFile) ValidateAll() error

ValidateAll checks the field values on PeerFile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerFileMultiError, or nil if none found.

type PeerFileMultiError added in v2.1.73

type PeerFileMultiError []error

PeerFileMultiError is an error wrapping multiple validation errors returned by PeerFile.ValidateAll() if the designated constraints aren't met.

func (PeerFileMultiError) AllErrors added in v2.1.73

func (m PeerFileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerFileMultiError) Error added in v2.1.73

func (m PeerFileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PeerFileValidationError added in v2.1.73

type PeerFileValidationError struct {
	// contains filtered or unexported fields
}

PeerFileValidationError is the validation error returned by PeerFile.Validate if the designated constraints aren't met.

func (PeerFileValidationError) Cause added in v2.1.73

func (e PeerFileValidationError) Cause() error

Cause function returns cause value.

func (PeerFileValidationError) Error added in v2.1.73

func (e PeerFileValidationError) Error() string

Error satisfies the builtin error interface

func (PeerFileValidationError) ErrorName added in v2.1.73

func (e PeerFileValidationError) ErrorName() string

ErrorName returns error name.

func (PeerFileValidationError) Field added in v2.1.73

func (e PeerFileValidationError) Field() string

Field function returns field value.

func (PeerFileValidationError) Key added in v2.1.73

func (e PeerFileValidationError) Key() bool

Key function returns key value.

func (PeerFileValidationError) Reason added in v2.1.73

func (e PeerFileValidationError) Reason() string

Reason function returns reason value.

type PeerImage added in v2.1.52

type PeerImage struct {

	// IP is the IP address of the peer.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Hostname is the hostname of the peer.
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// CachedLayers is the list of layers that the peer has downloaded.
	CachedLayers []*Layer `protobuf:"bytes,3,rep,name=cached_layers,json=cachedLayers,proto3" json:"cached_layers,omitempty"`
	// contains filtered or unexported fields
}

PeerImage represents a peer in the get image job.

func (*PeerImage) Descriptor deprecated added in v2.1.52

func (*PeerImage) Descriptor() ([]byte, []int)

Deprecated: Use PeerImage.ProtoReflect.Descriptor instead.

func (*PeerImage) GetCachedLayers added in v2.1.52

func (x *PeerImage) GetCachedLayers() []*Layer

func (*PeerImage) GetHostname added in v2.1.52

func (x *PeerImage) GetHostname() string

func (*PeerImage) GetIp added in v2.1.52

func (x *PeerImage) GetIp() string

func (*PeerImage) ProtoMessage added in v2.1.52

func (*PeerImage) ProtoMessage()

func (*PeerImage) ProtoReflect added in v2.1.52

func (x *PeerImage) ProtoReflect() protoreflect.Message

func (*PeerImage) Reset added in v2.1.52

func (x *PeerImage) Reset()

func (*PeerImage) String added in v2.1.52

func (x *PeerImage) String() string

func (*PeerImage) Validate added in v2.1.52

func (m *PeerImage) Validate() error

Validate checks the field values on PeerImage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PeerImage) ValidateAll added in v2.1.52

func (m *PeerImage) ValidateAll() error

ValidateAll checks the field values on PeerImage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerImageMultiError, or nil if none found.

type PeerImageMultiError added in v2.1.52

type PeerImageMultiError []error

PeerImageMultiError is an error wrapping multiple validation errors returned by PeerImage.ValidateAll() if the designated constraints aren't met.

func (PeerImageMultiError) AllErrors added in v2.1.52

func (m PeerImageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PeerImageMultiError) Error added in v2.1.52

func (m PeerImageMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PeerImageValidationError added in v2.1.52

type PeerImageValidationError struct {
	// contains filtered or unexported fields
}

PeerImageValidationError is the validation error returned by PeerImage.Validate if the designated constraints aren't met.

func (PeerImageValidationError) Cause added in v2.1.52

func (e PeerImageValidationError) Cause() error

Cause function returns cause value.

func (PeerImageValidationError) Error added in v2.1.52

func (e PeerImageValidationError) Error() string

Error satisfies the builtin error interface

func (PeerImageValidationError) ErrorName added in v2.1.52

func (e PeerImageValidationError) ErrorName() string

ErrorName returns error name.

func (PeerImageValidationError) Field added in v2.1.52

func (e PeerImageValidationError) Field() string

Field function returns field value.

func (PeerImageValidationError) Key added in v2.1.52

Key function returns key value.

func (PeerImageValidationError) Reason added in v2.1.52

func (e PeerImageValidationError) Reason() string

Reason function returns reason value.

type PreheatFileRequest added in v2.1.73

type PreheatFileRequest struct {

	// URL is the file url for preheating.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Piece Length is the piece length(bytes) for downloading file. The value needs to
	// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
	// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
	// the piece length will be calculated according to the file size.
	PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
	// Tag is the tag for preheating.
	Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application is the application string for preheating.
	Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Filtered query params to generate the task id.
	// When filter is ["Signature", "Expires", "ns"], for example:
	// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
	// will generate the same task id.
	// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
	FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
	// Header is the http headers for authentication.
	Header map[string]string `` /* 153-byte string literal not displayed */
	// Scope is the scope for preheating, it can be one of the following values:
	// - single_seed_peer: preheat from a single seed peer.
	// - all_peers: preheat from all available peers.
	// - all_seed_peers: preheat from all seed peers.
	Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	// IPs is a list of specific peer IPs for preheating.
	// This field has the highest priority: if provided, both 'Count' and 'Percentage' will be ignored.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Ips []string `protobuf:"bytes,8,rep,name=ips,proto3" json:"ips,omitempty"`
	// Percentage is the percentage of available peers to preheat.
	// This field has the lowest priority and is only used if both 'IPs' and 'Count' are not provided.
	// It must be a value between 1 and 100 (inclusive) if provided.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Percentage *uint32 `protobuf:"varint,9,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
	// Count is the desired number of peers to preheat.
	// This field is used only when 'IPs' is not specified. It has priority over 'Percentage'.
	// It must be a value between 1 and 200 (inclusive) if provided.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Count *uint32 `protobuf:"varint,10,opt,name=count,proto3,oneof" json:"count,omitempty"`
	// ConcurrentTaskCount specifies the maximum number of tasks to preheat concurrently.
	// For example, if preheating 100 files with ConcurrentTaskCount set to 10, up to 10 files are processed simultaneously.
	// If ConcurrentPeerCount is 10 for 1000 peers, each file is preheated by 10 peers concurrently.
	// Default is 8, maximum is 100.
	ConcurrentTaskCount *int64 `` /* 128-byte string literal not displayed */
	// ConcurrentPeerCount specifies the maximum number of peers to preheat concurrently for a single task.
	// For example, if preheating a file with ConcurrentPeerCount set to 10, up to 10 peers process that file simultaneously.
	// Default is 500, maximum is 1000.
	ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
	// Timeout is the timeout for preheating, default is 30 minutes.
	Timeout *durationpb.Duration `protobuf:"bytes,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	// Preheat priority.
	Priority v2.Priority `protobuf:"varint,14,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
	// certificate_chain is the client certs with DER format for the backend client.
	CertificateChain [][]byte `protobuf:"bytes,15,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// insecure_skip_verify indicates whether to skip TLS verification.
	InsecureSkipVerify bool `protobuf:"varint,16,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
	// Object storage protocol information.
	ObjectStorage *v2.ObjectStorage `protobuf:"bytes,17,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
	// HDFS protocol information.
	Hdfs *v2.HDFS `protobuf:"bytes,18,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
	// output_path is the path to preheat the file or directory to destination.
	OutputPath *string `protobuf:"bytes,19,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
	// contains filtered or unexported fields
}

PreheatFileRequest represents request of PreheatFile.

func (*PreheatFileRequest) Descriptor deprecated added in v2.1.73

func (*PreheatFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use PreheatFileRequest.ProtoReflect.Descriptor instead.

func (*PreheatFileRequest) GetApplication added in v2.1.73

func (x *PreheatFileRequest) GetApplication() string

func (*PreheatFileRequest) GetCertificateChain added in v2.1.73

func (x *PreheatFileRequest) GetCertificateChain() [][]byte

func (*PreheatFileRequest) GetConcurrentPeerCount added in v2.1.73

func (x *PreheatFileRequest) GetConcurrentPeerCount() int64

func (*PreheatFileRequest) GetConcurrentTaskCount added in v2.1.73

func (x *PreheatFileRequest) GetConcurrentTaskCount() int64

func (*PreheatFileRequest) GetCount added in v2.1.73

func (x *PreheatFileRequest) GetCount() uint32

func (*PreheatFileRequest) GetFilteredQueryParams added in v2.1.73

func (x *PreheatFileRequest) GetFilteredQueryParams() []string

func (*PreheatFileRequest) GetHdfs added in v2.1.73

func (x *PreheatFileRequest) GetHdfs() *v2.HDFS

func (*PreheatFileRequest) GetHeader added in v2.1.73

func (x *PreheatFileRequest) GetHeader() map[string]string

func (*PreheatFileRequest) GetInsecureSkipVerify added in v2.1.73

func (x *PreheatFileRequest) GetInsecureSkipVerify() bool

func (*PreheatFileRequest) GetIps added in v2.1.73

func (x *PreheatFileRequest) GetIps() []string

func (*PreheatFileRequest) GetObjectStorage added in v2.1.73

func (x *PreheatFileRequest) GetObjectStorage() *v2.ObjectStorage

func (*PreheatFileRequest) GetOutputPath added in v2.1.84

func (x *PreheatFileRequest) GetOutputPath() string

func (*PreheatFileRequest) GetPercentage added in v2.1.73

func (x *PreheatFileRequest) GetPercentage() uint32

func (*PreheatFileRequest) GetPieceLength added in v2.1.73

func (x *PreheatFileRequest) GetPieceLength() uint64

func (*PreheatFileRequest) GetPriority added in v2.1.73

func (x *PreheatFileRequest) GetPriority() v2.Priority

func (*PreheatFileRequest) GetScope added in v2.1.73

func (x *PreheatFileRequest) GetScope() string

func (*PreheatFileRequest) GetTag added in v2.1.73

func (x *PreheatFileRequest) GetTag() string

func (*PreheatFileRequest) GetTimeout added in v2.1.73

func (x *PreheatFileRequest) GetTimeout() *durationpb.Duration

func (*PreheatFileRequest) GetUrl added in v2.1.73

func (x *PreheatFileRequest) GetUrl() string

func (*PreheatFileRequest) ProtoMessage added in v2.1.73

func (*PreheatFileRequest) ProtoMessage()

func (*PreheatFileRequest) ProtoReflect added in v2.1.73

func (x *PreheatFileRequest) ProtoReflect() protoreflect.Message

func (*PreheatFileRequest) Reset added in v2.1.73

func (x *PreheatFileRequest) Reset()

func (*PreheatFileRequest) String added in v2.1.73

func (x *PreheatFileRequest) String() string

func (*PreheatFileRequest) Validate added in v2.1.73

func (m *PreheatFileRequest) Validate() error

Validate checks the field values on PreheatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreheatFileRequest) ValidateAll added in v2.1.73

func (m *PreheatFileRequest) ValidateAll() error

ValidateAll checks the field values on PreheatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreheatFileRequestMultiError, or nil if none found.

type PreheatFileRequestMultiError added in v2.1.73

type PreheatFileRequestMultiError []error

PreheatFileRequestMultiError is an error wrapping multiple validation errors returned by PreheatFileRequest.ValidateAll() if the designated constraints aren't met.

func (PreheatFileRequestMultiError) AllErrors added in v2.1.73

func (m PreheatFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreheatFileRequestMultiError) Error added in v2.1.73

Error returns a concatenation of all the error messages it wraps.

type PreheatFileRequestValidationError added in v2.1.73

type PreheatFileRequestValidationError struct {
	// contains filtered or unexported fields
}

PreheatFileRequestValidationError is the validation error returned by PreheatFileRequest.Validate if the designated constraints aren't met.

func (PreheatFileRequestValidationError) Cause added in v2.1.73

Cause function returns cause value.

func (PreheatFileRequestValidationError) Error added in v2.1.73

Error satisfies the builtin error interface

func (PreheatFileRequestValidationError) ErrorName added in v2.1.73

ErrorName returns error name.

func (PreheatFileRequestValidationError) Field added in v2.1.73

Field function returns field value.

func (PreheatFileRequestValidationError) Key added in v2.1.73

Key function returns key value.

func (PreheatFileRequestValidationError) Reason added in v2.1.73

Reason function returns reason value.

type PreheatImageRequest added in v2.1.52

type PreheatImageRequest struct {

	// URL is the image manifest url for preheating.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Piece Length is the piece length(bytes) for downloading file. The value needs to
	// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
	// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
	// the piece length will be calculated according to the file size.
	PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
	// Tag is the tag for preheating.
	Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application is the application string for preheating.
	Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Filtered query params to generate the task id.
	// When filter is ["Signature", "Expires", "ns"], for example:
	// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
	// will generate the same task id.
	// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
	FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
	// Header is the http headers for authentication.
	Header map[string]string `` /* 153-byte string literal not displayed */
	// Username is the username for authentication.
	Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
	// Password is the password for authentication.
	Password *string `protobuf:"bytes,8,opt,name=password,proto3,oneof" json:"password,omitempty"`
	// Platform is the platform for preheating, such as linux/amd64, linux/arm64, etc.
	Platform *string `protobuf:"bytes,9,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
	// Scope is the scope for preheating, it can be one of the following values:
	// - single_seed_peer: preheat from a single seed peer.
	// - all_seed_peers: preheat from all seed peers.
	// - all_peers: preheat from all available peers.
	Scope string `protobuf:"bytes,10,opt,name=scope,proto3" json:"scope,omitempty"`
	// IPs is a list of specific peer IPs for preheating.
	// This field has the highest priority: if provided, both 'Count' and 'Percentage' will be ignored.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Ips []string `protobuf:"bytes,11,rep,name=ips,proto3" json:"ips,omitempty"`
	// Percentage is the percentage of available peers to preheat.
	// This field has the lowest priority and is only used if both 'IPs' and 'Count' are not provided.
	// It must be a value between 1 and 100 (inclusive) if provided.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Percentage *uint32 `protobuf:"varint,12,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
	// Count is the desired number of peers to preheat.
	// This field is used only when 'IPs' is not specified. It has priority over 'Percentage'.
	// It must be a value between 1 and 200 (inclusive) if provided.
	// Applies to 'all_peers' and 'all_seed_peers' scopes.
	Count *uint32 `protobuf:"varint,13,opt,name=count,proto3,oneof" json:"count,omitempty"`
	// ConcurrentTaskCount specifies the maximum number of tasks (e.g., image layers) to preheat concurrently.
	// For example, if preheating 100 layers with ConcurrentTaskCount set to 10, up to 10 layers are processed simultaneously.
	// If ConcurrentPeerCount is 10 for 1000 peers, each layer is preheated by 10 peers concurrently.
	// Default is 8, maximum is 100.
	ConcurrentTaskCount *int64 `` /* 128-byte string literal not displayed */
	// ConcurrentPeerCount specifies the maximum number of peers to preheat concurrently for a single task (e.g., an image layer).
	// For example, if preheating a layer with ConcurrentPeerCount set to 10, up to 10 peers process that layer simultaneously.
	// Default is 500, maximum is 1000.
	ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
	// Timeout is the timeout for preheating, default is 30 minutes.
	Timeout *durationpb.Duration `protobuf:"bytes,16,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	// Preheat priority.
	Priority v2.Priority `protobuf:"varint,17,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
	// certificate_chain is the client certs with DER format for the backend client.
	CertificateChain [][]byte `protobuf:"bytes,18,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// insecure_skip_verify indicates whether to skip TLS verification.
	InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
	// contains filtered or unexported fields
}

PreheatImageRequest represents request of PreheatImage.

func (*PreheatImageRequest) Descriptor deprecated added in v2.1.52

func (*PreheatImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PreheatImageRequest.ProtoReflect.Descriptor instead.

func (*PreheatImageRequest) GetApplication added in v2.1.52

func (x *PreheatImageRequest) GetApplication() string

func (*PreheatImageRequest) GetCertificateChain added in v2.1.53

func (x *PreheatImageRequest) GetCertificateChain() [][]byte

func (*PreheatImageRequest) GetConcurrentPeerCount added in v2.1.52

func (x *PreheatImageRequest) GetConcurrentPeerCount() int64

func (*PreheatImageRequest) GetConcurrentTaskCount added in v2.1.52

func (x *PreheatImageRequest) GetConcurrentTaskCount() int64

func (*PreheatImageRequest) GetCount added in v2.1.52

func (x *PreheatImageRequest) GetCount() uint32

func (*PreheatImageRequest) GetFilteredQueryParams added in v2.1.52

func (x *PreheatImageRequest) GetFilteredQueryParams() []string

func (*PreheatImageRequest) GetHeader added in v2.1.52

func (x *PreheatImageRequest) GetHeader() map[string]string

func (*PreheatImageRequest) GetInsecureSkipVerify added in v2.1.53

func (x *PreheatImageRequest) GetInsecureSkipVerify() bool

func (*PreheatImageRequest) GetIps added in v2.1.52

func (x *PreheatImageRequest) GetIps() []string

func (*PreheatImageRequest) GetPassword added in v2.1.52

func (x *PreheatImageRequest) GetPassword() string

func (*PreheatImageRequest) GetPercentage added in v2.1.52

func (x *PreheatImageRequest) GetPercentage() uint32

func (*PreheatImageRequest) GetPieceLength added in v2.1.52

func (x *PreheatImageRequest) GetPieceLength() uint64

func (*PreheatImageRequest) GetPlatform added in v2.1.52

func (x *PreheatImageRequest) GetPlatform() string

func (*PreheatImageRequest) GetPriority added in v2.1.53

func (x *PreheatImageRequest) GetPriority() v2.Priority

func (*PreheatImageRequest) GetScope added in v2.1.52

func (x *PreheatImageRequest) GetScope() string

func (*PreheatImageRequest) GetTag added in v2.1.52

func (x *PreheatImageRequest) GetTag() string

func (*PreheatImageRequest) GetTimeout added in v2.1.52

func (x *PreheatImageRequest) GetTimeout() *durationpb.Duration

func (*PreheatImageRequest) GetUrl added in v2.1.52

func (x *PreheatImageRequest) GetUrl() string

func (*PreheatImageRequest) GetUsername added in v2.1.52

func (x *PreheatImageRequest) GetUsername() string

func (*PreheatImageRequest) ProtoMessage added in v2.1.52

func (*PreheatImageRequest) ProtoMessage()

func (*PreheatImageRequest) ProtoReflect added in v2.1.52

func (x *PreheatImageRequest) ProtoReflect() protoreflect.Message

func (*PreheatImageRequest) Reset added in v2.1.52

func (x *PreheatImageRequest) Reset()

func (*PreheatImageRequest) String added in v2.1.52

func (x *PreheatImageRequest) String() string

func (*PreheatImageRequest) Validate added in v2.1.52

func (m *PreheatImageRequest) Validate() error

Validate checks the field values on PreheatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreheatImageRequest) ValidateAll added in v2.1.52

func (m *PreheatImageRequest) ValidateAll() error

ValidateAll checks the field values on PreheatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreheatImageRequestMultiError, or nil if none found.

type PreheatImageRequestMultiError added in v2.1.52

type PreheatImageRequestMultiError []error

PreheatImageRequestMultiError is an error wrapping multiple validation errors returned by PreheatImageRequest.ValidateAll() if the designated constraints aren't met.

func (PreheatImageRequestMultiError) AllErrors added in v2.1.52

func (m PreheatImageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreheatImageRequestMultiError) Error added in v2.1.52

Error returns a concatenation of all the error messages it wraps.

type PreheatImageRequestValidationError added in v2.1.52

type PreheatImageRequestValidationError struct {
	// contains filtered or unexported fields
}

PreheatImageRequestValidationError is the validation error returned by PreheatImageRequest.Validate if the designated constraints aren't met.

func (PreheatImageRequestValidationError) Cause added in v2.1.52

Cause function returns cause value.

func (PreheatImageRequestValidationError) Error added in v2.1.52

Error satisfies the builtin error interface

func (PreheatImageRequestValidationError) ErrorName added in v2.1.52

ErrorName returns error name.

func (PreheatImageRequestValidationError) Field added in v2.1.52

Field function returns field value.

func (PreheatImageRequestValidationError) Key added in v2.1.52

Key function returns key value.

func (PreheatImageRequestValidationError) Reason added in v2.1.52

Reason function returns reason value.

type RegisterCachePeerRequest added in v2.0.121

type RegisterCachePeerRequest struct {

	// Download url.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Digest of the task digest, for example blake3:xxx or sha256:yyy.
	Digest *string `protobuf:"bytes,2,opt,name=digest,proto3,oneof" json:"digest,omitempty"`
	// Range is url range of request. If protocol is http, range
	// will set in request header. If protocol is others, range
	// will set in range field.
	Range *v2.Range `protobuf:"bytes,3,opt,name=range,proto3,oneof" json:"range,omitempty"`
	// Task type.
	Type v2.TaskType `protobuf:"varint,4,opt,name=type,proto3,enum=common.v2.TaskType" json:"type,omitempty"`
	// URL tag identifies different task for same url.
	Tag *string `protobuf:"bytes,5,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application of task.
	Application *string `protobuf:"bytes,6,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Peer priority.
	Priority v2.Priority `protobuf:"varint,7,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
	// Filtered query params to generate the task id.
	// When filter is ["Signature", "Expires", "ns"], for example:
	// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
	// will generate the same task id.
	// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
	FilteredQueryParams []string `protobuf:"bytes,8,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
	// Task request headers.
	RequestHeader map[string]string `` /* 188-byte string literal not displayed */
	// Piece Length is the piece length(bytes) for downloading file. The value needs to
	// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
	// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
	// the piece length will be calculated according to the file size.
	PieceLength *uint64 `protobuf:"varint,10,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
	// File path to be downloaded. If output_path is set, the downloaded file will be saved to the specified path.
	// Dfdaemon will try to create hard link to the output path before starting the download. If hard link creation fails,
	// it will copy the file to the output path after the download is completed.
	// For more details refer to https://github.com/dragonflyoss/design/blob/main/systems-analysis/file-download-workflow-with-hard-link/README.md.
	OutputPath *string `protobuf:"bytes,11,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
	// Download timeout.
	Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	// Dfdaemon cannot download the task from the source if disable_back_to_source is true.
	DisableBackToSource bool `protobuf:"varint,13,opt,name=disable_back_to_source,json=disableBackToSource,proto3" json:"disable_back_to_source,omitempty"`
	// Scheduler needs to schedule the task downloads from the source if need_back_to_source is true.
	NeedBackToSource bool `protobuf:"varint,14,opt,name=need_back_to_source,json=needBackToSource,proto3" json:"need_back_to_source,omitempty"`
	// certificate_chain is the client certs with DER format for the backend client to download back-to-source.
	CertificateChain [][]byte `protobuf:"bytes,15,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// Prefetch pre-downloads all pieces of the task when the download task request is a range request.
	Prefetch bool `protobuf:"varint,16,opt,name=prefetch,proto3" json:"prefetch,omitempty"`
	// Object storage protocol information.
	ObjectStorage *v2.ObjectStorage `protobuf:"bytes,17,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
	// HDFS protocol information.
	Hdfs *v2.HDFS `protobuf:"bytes,18,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
	// is_prefetch is the flag to indicate whether the request is a prefetch request.
	IsPrefetch bool `protobuf:"varint,19,opt,name=is_prefetch,json=isPrefetch,proto3" json:"is_prefetch,omitempty"`
	// need_piece_content is the flag to indicate whether the response needs to return piece content.
	NeedPieceContent bool `protobuf:"varint,20,opt,name=need_piece_content,json=needPieceContent,proto3" json:"need_piece_content,omitempty"`
	// content_for_calculating_task_id is the content used to calculate the task id.
	// If content_for_calculating_task_id is set, use its value to calculate the task ID.
	// Otherwise, calculate the task ID based on url, piece_length, tag, application, and filtered_query_params.
	ContentForCalculatingTaskId *string `` /* 155-byte string literal not displayed */
	// remote_ip represents the IP address of the client initiating the download request.
	// For proxy requests, it is set to the IP address of the request source.
	// For dfget requests, it is set to the IP address of the dfget.
	RemoteIp *string `protobuf:"bytes,22,opt,name=remote_ip,json=remoteIp,proto3,oneof" json:"remote_ip,omitempty"`
	// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
	ConcurrentPieceCount *uint32 `` /* 131-byte string literal not displayed */
	// Actual piece length by calculating based on the piece_length field and content length.
	ActualPieceLength *uint64 `protobuf:"varint,24,opt,name=actual_piece_length,json=actualPieceLength,proto3,oneof" json:"actual_piece_length,omitempty"`
	// Actual content length by getting from the backend.
	ActualContentLength *uint64 `` /* 128-byte string literal not displayed */
	// Actual piece count by calculating.
	ActualPieceCount *uint64 `protobuf:"varint,26,opt,name=actual_piece_count,json=actualPieceCount,proto3,oneof" json:"actual_piece_count,omitempty"`
	// contains filtered or unexported fields
}

RegisterCachePeerRequest represents cache peer registered request of AnnounceCachePeerRequest.

func (*RegisterCachePeerRequest) Descriptor deprecated added in v2.0.121

func (*RegisterCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterCachePeerRequest.ProtoReflect.Descriptor instead.

func (*RegisterCachePeerRequest) GetActualContentLength added in v2.1.77

func (x *RegisterCachePeerRequest) GetActualContentLength() uint64

func (*RegisterCachePeerRequest) GetActualPieceCount added in v2.1.77

func (x *RegisterCachePeerRequest) GetActualPieceCount() uint64

func (*RegisterCachePeerRequest) GetActualPieceLength added in v2.1.77

func (x *RegisterCachePeerRequest) GetActualPieceLength() uint64

func (*RegisterCachePeerRequest) GetApplication added in v2.0.121

func (x *RegisterCachePeerRequest) GetApplication() string

func (*RegisterCachePeerRequest) GetCertificateChain added in v2.1.50

func (x *RegisterCachePeerRequest) GetCertificateChain() [][]byte

func (*RegisterCachePeerRequest) GetConcurrentPieceCount added in v2.1.64

func (x *RegisterCachePeerRequest) GetConcurrentPieceCount() uint32

func (*RegisterCachePeerRequest) GetContentForCalculatingTaskId added in v2.1.50

func (x *RegisterCachePeerRequest) GetContentForCalculatingTaskId() string

func (*RegisterCachePeerRequest) GetDigest added in v2.1.50

func (x *RegisterCachePeerRequest) GetDigest() string

func (*RegisterCachePeerRequest) GetDisableBackToSource added in v2.1.50

func (x *RegisterCachePeerRequest) GetDisableBackToSource() bool

func (*RegisterCachePeerRequest) GetFilteredQueryParams added in v2.1.50

func (x *RegisterCachePeerRequest) GetFilteredQueryParams() []string

func (*RegisterCachePeerRequest) GetHdfs added in v2.1.50

func (x *RegisterCachePeerRequest) GetHdfs() *v2.HDFS

func (*RegisterCachePeerRequest) GetIsPrefetch added in v2.1.50

func (x *RegisterCachePeerRequest) GetIsPrefetch() bool

func (*RegisterCachePeerRequest) GetNeedBackToSource added in v2.1.50

func (x *RegisterCachePeerRequest) GetNeedBackToSource() bool

func (*RegisterCachePeerRequest) GetNeedPieceContent added in v2.1.50

func (x *RegisterCachePeerRequest) GetNeedPieceContent() bool

func (*RegisterCachePeerRequest) GetObjectStorage added in v2.1.50

func (x *RegisterCachePeerRequest) GetObjectStorage() *v2.ObjectStorage

func (*RegisterCachePeerRequest) GetOutputPath added in v2.0.121

func (x *RegisterCachePeerRequest) GetOutputPath() string

func (*RegisterCachePeerRequest) GetPieceLength added in v2.0.121

func (x *RegisterCachePeerRequest) GetPieceLength() uint64

func (*RegisterCachePeerRequest) GetPrefetch added in v2.1.50

func (x *RegisterCachePeerRequest) GetPrefetch() bool

func (*RegisterCachePeerRequest) GetPriority added in v2.1.50

func (x *RegisterCachePeerRequest) GetPriority() v2.Priority

func (*RegisterCachePeerRequest) GetRange added in v2.1.50

func (x *RegisterCachePeerRequest) GetRange() *v2.Range

func (*RegisterCachePeerRequest) GetRemoteIp added in v2.1.50

func (x *RegisterCachePeerRequest) GetRemoteIp() string

func (*RegisterCachePeerRequest) GetRequestHeader added in v2.1.50

func (x *RegisterCachePeerRequest) GetRequestHeader() map[string]string

func (*RegisterCachePeerRequest) GetTag added in v2.0.121

func (x *RegisterCachePeerRequest) GetTag() string

func (*RegisterCachePeerRequest) GetTimeout added in v2.0.121

func (x *RegisterCachePeerRequest) GetTimeout() *durationpb.Duration

func (*RegisterCachePeerRequest) GetType added in v2.1.50

func (x *RegisterCachePeerRequest) GetType() v2.TaskType

func (*RegisterCachePeerRequest) GetUrl added in v2.1.50

func (x *RegisterCachePeerRequest) GetUrl() string

func (*RegisterCachePeerRequest) ProtoMessage added in v2.0.121

func (*RegisterCachePeerRequest) ProtoMessage()

func (*RegisterCachePeerRequest) ProtoReflect added in v2.0.121

func (x *RegisterCachePeerRequest) ProtoReflect() protoreflect.Message

func (*RegisterCachePeerRequest) Reset added in v2.0.121

func (x *RegisterCachePeerRequest) Reset()

func (*RegisterCachePeerRequest) String added in v2.0.121

func (x *RegisterCachePeerRequest) String() string

func (*RegisterCachePeerRequest) Validate added in v2.0.121

func (m *RegisterCachePeerRequest) Validate() error

Validate checks the field values on RegisterCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterCachePeerRequest) ValidateAll added in v2.0.121

func (m *RegisterCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on RegisterCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterCachePeerRequestMultiError, or nil if none found.

type RegisterCachePeerRequestMultiError added in v2.0.121

type RegisterCachePeerRequestMultiError []error

RegisterCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterCachePeerRequestMultiError) AllErrors added in v2.0.121

func (m RegisterCachePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterCachePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type RegisterCachePeerRequestValidationError added in v2.0.121

type RegisterCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterCachePeerRequestValidationError is the validation error returned by RegisterCachePeerRequest.Validate if the designated constraints aren't met.

func (RegisterCachePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (RegisterCachePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (RegisterCachePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (RegisterCachePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (RegisterCachePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (RegisterCachePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type RegisterPeerRequest

type RegisterPeerRequest struct {

	// Download information.
	Download *v2.Download `protobuf:"bytes,1,opt,name=download,proto3" json:"download,omitempty"`
	// contains filtered or unexported fields
}

RegisterPeerRequest represents peer registered request of AnnouncePeerRequest.

func (*RegisterPeerRequest) Descriptor deprecated

func (*RegisterPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterPeerRequest.ProtoReflect.Descriptor instead.

func (*RegisterPeerRequest) GetDownload

func (x *RegisterPeerRequest) GetDownload() *v2.Download

func (*RegisterPeerRequest) ProtoMessage

func (*RegisterPeerRequest) ProtoMessage()

func (*RegisterPeerRequest) ProtoReflect

func (x *RegisterPeerRequest) ProtoReflect() protoreflect.Message

func (*RegisterPeerRequest) Reset

func (x *RegisterPeerRequest) Reset()

func (*RegisterPeerRequest) String

func (x *RegisterPeerRequest) String() string

func (*RegisterPeerRequest) Validate

func (m *RegisterPeerRequest) Validate() error

Validate checks the field values on RegisterPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterPeerRequest) ValidateAll

func (m *RegisterPeerRequest) ValidateAll() error

ValidateAll checks the field values on RegisterPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPeerRequestMultiError, or nil if none found.

type RegisterPeerRequestMultiError

type RegisterPeerRequestMultiError []error

RegisterPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPeerRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterPeerRequestMultiError) AllErrors

func (m RegisterPeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterPeerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterPeerRequestValidationError

type RegisterPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterPeerRequestValidationError is the validation error returned by RegisterPeerRequest.Validate if the designated constraints aren't met.

func (RegisterPeerRequestValidationError) Cause

Cause function returns cause value.

func (RegisterPeerRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterPeerRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterPeerRequestValidationError) Field

Field function returns field value.

func (RegisterPeerRequestValidationError) Key

Key function returns key value.

func (RegisterPeerRequestValidationError) Reason

Reason function returns reason value.

type RegisterPersistentCachePeerRequest added in v2.0.161

type RegisterPersistentCachePeerRequest struct {

	// Persistent represents whether the persistent cache task is persistent.
	// If the persistent cache task is persistent, the persistent cache peer will
	// not be deleted when dfdaemon runs garbage collection.
	Persistent bool `protobuf:"varint,1,opt,name=persistent,proto3" json:"persistent,omitempty"`
	// Tag is used to distinguish different persistent cache tasks.
	Tag *string `protobuf:"bytes,2,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application of task.
	Application *string `protobuf:"bytes,3,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Task piece length, the value needs to be greater than or equal to 4194304(4MiB)
	PieceLength uint64 `protobuf:"varint,4,opt,name=piece_length,json=pieceLength,proto3" json:"piece_length,omitempty"`
	// File path to be exported.
	OutputPath *string `protobuf:"bytes,5,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
	// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
	ConcurrentPieceCount *uint32 `` /* 130-byte string literal not displayed */
	// Task piece count.
	PieceCount uint64 `protobuf:"varint,7,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
	// contains filtered or unexported fields
}

RegisterPersistentCachePeerRequest represents persistent cache peer registered request of AnnouncePersistentCachePeerRequest.

func (*RegisterPersistentCachePeerRequest) Descriptor deprecated added in v2.0.161

func (*RegisterPersistentCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterPersistentCachePeerRequest.ProtoReflect.Descriptor instead.

func (*RegisterPersistentCachePeerRequest) GetApplication added in v2.0.161

func (x *RegisterPersistentCachePeerRequest) GetApplication() string

func (*RegisterPersistentCachePeerRequest) GetConcurrentPieceCount added in v2.1.64

func (x *RegisterPersistentCachePeerRequest) GetConcurrentPieceCount() uint32

func (*RegisterPersistentCachePeerRequest) GetOutputPath added in v2.0.161

func (x *RegisterPersistentCachePeerRequest) GetOutputPath() string

func (*RegisterPersistentCachePeerRequest) GetPersistent added in v2.1.19

func (x *RegisterPersistentCachePeerRequest) GetPersistent() bool

func (*RegisterPersistentCachePeerRequest) GetPieceCount added in v2.1.74

func (x *RegisterPersistentCachePeerRequest) GetPieceCount() uint64

func (*RegisterPersistentCachePeerRequest) GetPieceLength added in v2.0.161

func (x *RegisterPersistentCachePeerRequest) GetPieceLength() uint64

func (*RegisterPersistentCachePeerRequest) GetTag added in v2.0.161

func (*RegisterPersistentCachePeerRequest) ProtoMessage added in v2.0.161

func (*RegisterPersistentCachePeerRequest) ProtoMessage()

func (*RegisterPersistentCachePeerRequest) ProtoReflect added in v2.0.161

func (*RegisterPersistentCachePeerRequest) Reset added in v2.0.161

func (*RegisterPersistentCachePeerRequest) String added in v2.0.161

func (*RegisterPersistentCachePeerRequest) Validate added in v2.0.161

Validate checks the field values on RegisterPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterPersistentCachePeerRequest) ValidateAll added in v2.0.161

func (m *RegisterPersistentCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on RegisterPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPersistentCachePeerRequestMultiError, or nil if none found.

type RegisterPersistentCachePeerRequestMultiError added in v2.0.161

type RegisterPersistentCachePeerRequestMultiError []error

RegisterPersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterPersistentCachePeerRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (RegisterPersistentCachePeerRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type RegisterPersistentCachePeerRequestValidationError added in v2.0.161

type RegisterPersistentCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterPersistentCachePeerRequestValidationError is the validation error returned by RegisterPersistentCachePeerRequest.Validate if the designated constraints aren't met.

func (RegisterPersistentCachePeerRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (RegisterPersistentCachePeerRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (RegisterPersistentCachePeerRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (RegisterPersistentCachePeerRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (RegisterPersistentCachePeerRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (RegisterPersistentCachePeerRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type RegisterPersistentPeerRequest added in v2.1.86

type RegisterPersistentPeerRequest struct {

	// This is the key of the object storage where the persistent task will be stored,
	// for example: `file.txt` or `dir/file.txt`. The combination of object_storage_key,
	// object_storage.endpoint and object_storage.region must be unique, because
	// the persistent task cannot be overwritten once it is uploaded.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Object storage protocol information.
	ObjectStorage *v2.ObjectStorage `protobuf:"bytes,2,opt,name=object_storage,json=objectStorage,proto3" json:"object_storage,omitempty"`
	// Persistent represents whether the persistent task is persistent.
	// If the persistent task is persistent, the persistent peer will
	// not be deleted when dfdaemon runs garbage collection.
	Persistent bool `protobuf:"varint,3,opt,name=persistent,proto3" json:"persistent,omitempty"`
	// File path to be exported.
	OutputPath *string `protobuf:"bytes,4,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
	// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
	ConcurrentPieceCount *uint32 `` /* 130-byte string literal not displayed */
	// Task piece count.
	PieceCount uint64 `protobuf:"varint,6,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
	// NeedBackToSource needs downloaded from source.
	NeedBackToSource bool `protobuf:"varint,7,opt,name=need_back_to_source,json=needBackToSource,proto3" json:"need_back_to_source,omitempty"`
	// contains filtered or unexported fields
}

RegisterPersistentPeerRequest represents persistent peer registered request of AnnouncePersistentPeerRequest.

func (*RegisterPersistentPeerRequest) Descriptor deprecated added in v2.1.86

func (*RegisterPersistentPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterPersistentPeerRequest.ProtoReflect.Descriptor instead.

func (*RegisterPersistentPeerRequest) GetConcurrentPieceCount added in v2.1.86

func (x *RegisterPersistentPeerRequest) GetConcurrentPieceCount() uint32

func (*RegisterPersistentPeerRequest) GetNeedBackToSource added in v2.2.8

func (x *RegisterPersistentPeerRequest) GetNeedBackToSource() bool

func (*RegisterPersistentPeerRequest) GetObjectStorage added in v2.1.86

func (x *RegisterPersistentPeerRequest) GetObjectStorage() *v2.ObjectStorage

func (*RegisterPersistentPeerRequest) GetOutputPath added in v2.1.86

func (x *RegisterPersistentPeerRequest) GetOutputPath() string

func (*RegisterPersistentPeerRequest) GetPersistent added in v2.1.86

func (x *RegisterPersistentPeerRequest) GetPersistent() bool

func (*RegisterPersistentPeerRequest) GetPieceCount added in v2.1.86

func (x *RegisterPersistentPeerRequest) GetPieceCount() uint64

func (*RegisterPersistentPeerRequest) GetUrl added in v2.2.1

func (*RegisterPersistentPeerRequest) ProtoMessage added in v2.1.86

func (*RegisterPersistentPeerRequest) ProtoMessage()

func (*RegisterPersistentPeerRequest) ProtoReflect added in v2.1.86

func (*RegisterPersistentPeerRequest) Reset added in v2.1.86

func (x *RegisterPersistentPeerRequest) Reset()

func (*RegisterPersistentPeerRequest) String added in v2.1.86

func (*RegisterPersistentPeerRequest) Validate added in v2.1.86

func (m *RegisterPersistentPeerRequest) Validate() error

Validate checks the field values on RegisterPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterPersistentPeerRequest) ValidateAll added in v2.1.86

func (m *RegisterPersistentPeerRequest) ValidateAll() error

ValidateAll checks the field values on RegisterPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPersistentPeerRequestMultiError, or nil if none found.

type RegisterPersistentPeerRequestMultiError added in v2.1.86

type RegisterPersistentPeerRequestMultiError []error

RegisterPersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPersistentPeerRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterPersistentPeerRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (RegisterPersistentPeerRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type RegisterPersistentPeerRequestValidationError added in v2.1.86

type RegisterPersistentPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterPersistentPeerRequestValidationError is the validation error returned by RegisterPersistentPeerRequest.Validate if the designated constraints aren't met.

func (RegisterPersistentPeerRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (RegisterPersistentPeerRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (RegisterPersistentPeerRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (RegisterPersistentPeerRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (RegisterPersistentPeerRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (RegisterPersistentPeerRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type RescheduleCachePeerRequest added in v2.0.121

type RescheduleCachePeerRequest struct {

	// Candidate parent ids.
	CandidateParents []*v2.CachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// The description of the reschedule reason.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

RescheduleCachePeerRequest represents reschedule request of AnnounceCachePeerRequest.

func (*RescheduleCachePeerRequest) Descriptor deprecated added in v2.0.121

func (*RescheduleCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RescheduleCachePeerRequest.ProtoReflect.Descriptor instead.

func (*RescheduleCachePeerRequest) GetCandidateParents added in v2.0.121

func (x *RescheduleCachePeerRequest) GetCandidateParents() []*v2.CachePeer

func (*RescheduleCachePeerRequest) GetDescription added in v2.0.121

func (x *RescheduleCachePeerRequest) GetDescription() string

func (*RescheduleCachePeerRequest) ProtoMessage added in v2.0.121

func (*RescheduleCachePeerRequest) ProtoMessage()

func (*RescheduleCachePeerRequest) ProtoReflect added in v2.0.121

func (*RescheduleCachePeerRequest) Reset added in v2.0.121

func (x *RescheduleCachePeerRequest) Reset()

func (*RescheduleCachePeerRequest) String added in v2.0.121

func (x *RescheduleCachePeerRequest) String() string

func (*RescheduleCachePeerRequest) Validate added in v2.0.121

func (m *RescheduleCachePeerRequest) Validate() error

Validate checks the field values on RescheduleCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RescheduleCachePeerRequest) ValidateAll added in v2.0.121

func (m *RescheduleCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on RescheduleCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RescheduleCachePeerRequestMultiError, or nil if none found.

type RescheduleCachePeerRequestMultiError added in v2.0.121

type RescheduleCachePeerRequestMultiError []error

RescheduleCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RescheduleCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (RescheduleCachePeerRequestMultiError) AllErrors added in v2.0.121

AllErrors returns a list of validation violation errors.

func (RescheduleCachePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type RescheduleCachePeerRequestValidationError added in v2.0.121

type RescheduleCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

RescheduleCachePeerRequestValidationError is the validation error returned by RescheduleCachePeerRequest.Validate if the designated constraints aren't met.

func (RescheduleCachePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (RescheduleCachePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (RescheduleCachePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (RescheduleCachePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (RescheduleCachePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (RescheduleCachePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type ReschedulePeerRequest added in v2.0.121

type ReschedulePeerRequest struct {

	// Candidate parent ids.
	CandidateParents []*v2.Peer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// The description of the reschedule reason.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ReschedulePeerRequest represents reschedule request of AnnouncePeerRequest.

func (*ReschedulePeerRequest) Descriptor deprecated added in v2.0.121

func (*ReschedulePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReschedulePeerRequest.ProtoReflect.Descriptor instead.

func (*ReschedulePeerRequest) GetCandidateParents added in v2.0.121

func (x *ReschedulePeerRequest) GetCandidateParents() []*v2.Peer

func (*ReschedulePeerRequest) GetDescription added in v2.0.121

func (x *ReschedulePeerRequest) GetDescription() string

func (*ReschedulePeerRequest) ProtoMessage added in v2.0.121

func (*ReschedulePeerRequest) ProtoMessage()

func (*ReschedulePeerRequest) ProtoReflect added in v2.0.121

func (x *ReschedulePeerRequest) ProtoReflect() protoreflect.Message

func (*ReschedulePeerRequest) Reset added in v2.0.121

func (x *ReschedulePeerRequest) Reset()

func (*ReschedulePeerRequest) String added in v2.0.121

func (x *ReschedulePeerRequest) String() string

func (*ReschedulePeerRequest) Validate added in v2.0.121

func (m *ReschedulePeerRequest) Validate() error

Validate checks the field values on ReschedulePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReschedulePeerRequest) ValidateAll added in v2.0.121

func (m *ReschedulePeerRequest) ValidateAll() error

ValidateAll checks the field values on ReschedulePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePeerRequestMultiError, or nil if none found.

type ReschedulePeerRequestMultiError added in v2.0.121

type ReschedulePeerRequestMultiError []error

ReschedulePeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePeerRequest.ValidateAll() if the designated constraints aren't met.

func (ReschedulePeerRequestMultiError) AllErrors added in v2.0.121

func (m ReschedulePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReschedulePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type ReschedulePeerRequestValidationError added in v2.0.121

type ReschedulePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

ReschedulePeerRequestValidationError is the validation error returned by ReschedulePeerRequest.Validate if the designated constraints aren't met.

func (ReschedulePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (ReschedulePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (ReschedulePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (ReschedulePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (ReschedulePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (ReschedulePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type ReschedulePersistentCachePeerRequest added in v2.0.161

type ReschedulePersistentCachePeerRequest struct {

	// Candidate parent ids.
	CandidateParents []*v2.PersistentCachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// The description of the reschedule reason.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ReschedulePersistentCachePeerRequest represents reschedule request of AnnouncePersistentCachePeerRequest.

func (*ReschedulePersistentCachePeerRequest) Descriptor deprecated added in v2.0.161

func (*ReschedulePersistentCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReschedulePersistentCachePeerRequest.ProtoReflect.Descriptor instead.

func (*ReschedulePersistentCachePeerRequest) GetCandidateParents added in v2.0.161

func (x *ReschedulePersistentCachePeerRequest) GetCandidateParents() []*v2.PersistentCachePeer

func (*ReschedulePersistentCachePeerRequest) GetDescription added in v2.0.161

func (x *ReschedulePersistentCachePeerRequest) GetDescription() string

func (*ReschedulePersistentCachePeerRequest) ProtoMessage added in v2.0.161

func (*ReschedulePersistentCachePeerRequest) ProtoMessage()

func (*ReschedulePersistentCachePeerRequest) ProtoReflect added in v2.0.161

func (*ReschedulePersistentCachePeerRequest) Reset added in v2.0.161

func (*ReschedulePersistentCachePeerRequest) String added in v2.0.161

func (*ReschedulePersistentCachePeerRequest) Validate added in v2.0.161

Validate checks the field values on ReschedulePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReschedulePersistentCachePeerRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on ReschedulePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePersistentCachePeerRequestMultiError, or nil if none found.

type ReschedulePersistentCachePeerRequestMultiError added in v2.0.161

type ReschedulePersistentCachePeerRequestMultiError []error

ReschedulePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (ReschedulePersistentCachePeerRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (ReschedulePersistentCachePeerRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type ReschedulePersistentCachePeerRequestValidationError added in v2.0.161

type ReschedulePersistentCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

ReschedulePersistentCachePeerRequestValidationError is the validation error returned by ReschedulePersistentCachePeerRequest.Validate if the designated constraints aren't met.

func (ReschedulePersistentCachePeerRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (ReschedulePersistentCachePeerRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (ReschedulePersistentCachePeerRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (ReschedulePersistentCachePeerRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (ReschedulePersistentCachePeerRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (ReschedulePersistentCachePeerRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type ReschedulePersistentPeerRequest added in v2.1.86

type ReschedulePersistentPeerRequest struct {

	// Candidate parent ids.
	CandidateParents []*v2.PersistentPeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
	// The description of the reschedule reason.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ReschedulePersistentPeerRequest represents reschedule request of AnnouncePersistentPeerRequest.

func (*ReschedulePersistentPeerRequest) Descriptor deprecated added in v2.1.86

func (*ReschedulePersistentPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReschedulePersistentPeerRequest.ProtoReflect.Descriptor instead.

func (*ReschedulePersistentPeerRequest) GetCandidateParents added in v2.1.86

func (x *ReschedulePersistentPeerRequest) GetCandidateParents() []*v2.PersistentPeer

func (*ReschedulePersistentPeerRequest) GetDescription added in v2.1.86

func (x *ReschedulePersistentPeerRequest) GetDescription() string

func (*ReschedulePersistentPeerRequest) ProtoMessage added in v2.1.86

func (*ReschedulePersistentPeerRequest) ProtoMessage()

func (*ReschedulePersistentPeerRequest) ProtoReflect added in v2.1.86

func (*ReschedulePersistentPeerRequest) Reset added in v2.1.86

func (*ReschedulePersistentPeerRequest) String added in v2.1.86

func (*ReschedulePersistentPeerRequest) Validate added in v2.1.86

func (m *ReschedulePersistentPeerRequest) Validate() error

Validate checks the field values on ReschedulePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReschedulePersistentPeerRequest) ValidateAll added in v2.1.86

func (m *ReschedulePersistentPeerRequest) ValidateAll() error

ValidateAll checks the field values on ReschedulePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePersistentPeerRequestMultiError, or nil if none found.

type ReschedulePersistentPeerRequestMultiError added in v2.1.86

type ReschedulePersistentPeerRequestMultiError []error

ReschedulePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.

func (ReschedulePersistentPeerRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (ReschedulePersistentPeerRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type ReschedulePersistentPeerRequestValidationError added in v2.1.86

type ReschedulePersistentPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

ReschedulePersistentPeerRequestValidationError is the validation error returned by ReschedulePersistentPeerRequest.Validate if the designated constraints aren't met.

func (ReschedulePersistentPeerRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (ReschedulePersistentPeerRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (ReschedulePersistentPeerRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (ReschedulePersistentPeerRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (ReschedulePersistentPeerRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (ReschedulePersistentPeerRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type SchedulerClient

type SchedulerClient interface {
	// AnnouncePeer announces peer to scheduler.
	AnnouncePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePeerClient, error)
	// Checks information of peer.
	StatPeer(ctx context.Context, in *StatPeerRequest, opts ...grpc.CallOption) (*v2.Peer, error)
	// DeletePeer releases peer in scheduler.
	DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Checks information of task.
	StatTask(ctx context.Context, in *StatTaskRequest, opts ...grpc.CallOption) (*v2.Task, error)
	// DeleteTask releases task in scheduler.
	DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AnnounceHost announces host to scheduler.
	AnnounceHost(ctx context.Context, in *AnnounceHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// ListHosts lists hosts in scheduler.
	ListHosts(ctx context.Context, in *ListHostsRequest, opts ...grpc.CallOption) (*ListHostsResponse, error)
	// DeleteHost releases host in scheduler.
	DeleteHost(ctx context.Context, in *DeleteHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AnnounceCachePeer announces cache peer to scheduler.
	AnnounceCachePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnounceCachePeerClient, error)
	// Checks information of cache peer.
	StatCachePeer(ctx context.Context, in *StatCachePeerRequest, opts ...grpc.CallOption) (*v2.CachePeer, error)
	// DeleteCachePeer releases cache peer in scheduler.
	DeleteCachePeer(ctx context.Context, in *DeleteCachePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Checks information of cache task.
	StatCacheTask(ctx context.Context, in *StatCacheTaskRequest, opts ...grpc.CallOption) (*v2.CacheTask, error)
	// DeleteCacheTask releases cache task in scheduler.
	DeleteCacheTask(ctx context.Context, in *DeleteCacheTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AnnouncePersistentPeer announces persistent peer to scheduler.
	AnnouncePersistentPeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePersistentPeerClient, error)
	// Checks information of persistent peer.
	StatPersistentPeer(ctx context.Context, in *StatPersistentPeerRequest, opts ...grpc.CallOption) (*v2.PersistentPeer, error)
	// DeletePersistentPeer releases persistent peer in scheduler.
	DeletePersistentPeer(ctx context.Context, in *DeletePersistentPeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UploadPersistentTaskStarted uploads persistent task started to scheduler.
	UploadPersistentTaskStarted(ctx context.Context, in *UploadPersistentTaskStartedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UploadPersistentTaskFinished uploads persistent task finished to scheduler.
	UploadPersistentTaskFinished(ctx context.Context, in *UploadPersistentTaskFinishedRequest, opts ...grpc.CallOption) (*v2.PersistentTask, error)
	// UploadPersistentTaskFailed uploads persistent task failed to scheduler.
	UploadPersistentTaskFailed(ctx context.Context, in *UploadPersistentTaskFailedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Checks information of persistent task.
	StatPersistentTask(ctx context.Context, in *StatPersistentTaskRequest, opts ...grpc.CallOption) (*v2.PersistentTask, error)
	// DeletePersistentTask releases persistent task in scheduler.
	DeletePersistentTask(ctx context.Context, in *DeletePersistentTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AnnouncePersistentCachePeer announces persistent cache peer to scheduler.
	AnnouncePersistentCachePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePersistentCachePeerClient, error)
	// Checks information of persistent cache peer.
	StatPersistentCachePeer(ctx context.Context, in *StatPersistentCachePeerRequest, opts ...grpc.CallOption) (*v2.PersistentCachePeer, error)
	// DeletePersistentCachePeer releases persistent cache peer in scheduler.
	DeletePersistentCachePeer(ctx context.Context, in *DeletePersistentCachePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UploadPersistentCacheTaskStarted uploads persistent cache task started to scheduler.
	UploadPersistentCacheTaskStarted(ctx context.Context, in *UploadPersistentCacheTaskStartedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UploadPersistentCacheTaskFinished uploads persistent cache task finished to scheduler.
	UploadPersistentCacheTaskFinished(ctx context.Context, in *UploadPersistentCacheTaskFinishedRequest, opts ...grpc.CallOption) (*v2.PersistentCacheTask, error)
	// UploadPersistentCacheTaskFailed uploads persistent cache task failed to scheduler.
	UploadPersistentCacheTaskFailed(ctx context.Context, in *UploadPersistentCacheTaskFailedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Checks information of persistent cache task.
	StatPersistentCacheTask(ctx context.Context, in *StatPersistentCacheTaskRequest, opts ...grpc.CallOption) (*v2.PersistentCacheTask, error)
	// DeletePersistentCacheTask releases persistent cache task in scheduler.
	DeletePersistentCacheTask(ctx context.Context, in *DeletePersistentCacheTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// PreheatImage synchronously resolves an image manifest and triggers an asynchronous preheat task.
	//
	// This is a blocking call. The RPC will not return until the server has completed the
	// initial synchronous work: resolving the image manifest and preparing all layer URLs.
	//
	// After this call successfully returns, a scheduler on the server begins the actual
	// preheating process, instructing peers to download the layers in the background.
	//
	// A successful response (google.protobuf.Empty) confirms that the preparation is complete
	// and the asynchronous download task has been scheduled.
	PreheatImage(ctx context.Context, in *PreheatImageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// StatImage provides detailed status for a container image's distribution in peers.
	//
	// This is a blocking call that first resolves the image manifest and then queries
	// all peers to collect the image's download state across the network.
	// The response includes both layer information and the status on each peer.
	StatImage(ctx context.Context, in *StatImageRequest, opts ...grpc.CallOption) (*StatImageResponse, error)
	// PreheatFile synchronously resolves a file URL and triggers an asynchronous preheat task.
	//
	// This is a blocking call. The RPC will not return until the server has completed the
	// initial synchronous work: resolving the file URL.
	//
	// After this call successfully returns, a scheduler on the server begins the actual
	// preheating process, instructing peers to download the file in the background.
	//
	// A successful response (google.protobuf.Empty) confirms that the preparation is complete
	// and the asynchronous download task has been scheduled.
	PreheatFile(ctx context.Context, in *PreheatFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// StatFile provides detailed status for a file's distribution in peers.
	//
	// This is a blocking call that first resolves the file URL and then queries
	// all peers to collect the file's download state across the network.
	// The response includes both file information and the status on each peer.
	StatFile(ctx context.Context, in *StatFileRequest, opts ...grpc.CallOption) (*StatFileResponse, error)
}

SchedulerClient is the client API for Scheduler service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSchedulerClient

func NewSchedulerClient(cc grpc.ClientConnInterface) SchedulerClient

type SchedulerServer

type SchedulerServer interface {
	// AnnouncePeer announces peer to scheduler.
	AnnouncePeer(Scheduler_AnnouncePeerServer) error
	// Checks information of peer.
	StatPeer(context.Context, *StatPeerRequest) (*v2.Peer, error)
	// DeletePeer releases peer in scheduler.
	DeletePeer(context.Context, *DeletePeerRequest) (*emptypb.Empty, error)
	// Checks information of task.
	StatTask(context.Context, *StatTaskRequest) (*v2.Task, error)
	// DeleteTask releases task in scheduler.
	DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
	// AnnounceHost announces host to scheduler.
	AnnounceHost(context.Context, *AnnounceHostRequest) (*emptypb.Empty, error)
	// ListHosts lists hosts in scheduler.
	ListHosts(context.Context, *ListHostsRequest) (*ListHostsResponse, error)
	// DeleteHost releases host in scheduler.
	DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
	// AnnounceCachePeer announces cache peer to scheduler.
	AnnounceCachePeer(Scheduler_AnnounceCachePeerServer) error
	// Checks information of cache peer.
	StatCachePeer(context.Context, *StatCachePeerRequest) (*v2.CachePeer, error)
	// DeleteCachePeer releases cache peer in scheduler.
	DeleteCachePeer(context.Context, *DeleteCachePeerRequest) (*emptypb.Empty, error)
	// Checks information of cache task.
	StatCacheTask(context.Context, *StatCacheTaskRequest) (*v2.CacheTask, error)
	// DeleteCacheTask releases cache task in scheduler.
	DeleteCacheTask(context.Context, *DeleteCacheTaskRequest) (*emptypb.Empty, error)
	// AnnouncePersistentPeer announces persistent peer to scheduler.
	AnnouncePersistentPeer(Scheduler_AnnouncePersistentPeerServer) error
	// Checks information of persistent peer.
	StatPersistentPeer(context.Context, *StatPersistentPeerRequest) (*v2.PersistentPeer, error)
	// DeletePersistentPeer releases persistent peer in scheduler.
	DeletePersistentPeer(context.Context, *DeletePersistentPeerRequest) (*emptypb.Empty, error)
	// UploadPersistentTaskStarted uploads persistent task started to scheduler.
	UploadPersistentTaskStarted(context.Context, *UploadPersistentTaskStartedRequest) (*emptypb.Empty, error)
	// UploadPersistentTaskFinished uploads persistent task finished to scheduler.
	UploadPersistentTaskFinished(context.Context, *UploadPersistentTaskFinishedRequest) (*v2.PersistentTask, error)
	// UploadPersistentTaskFailed uploads persistent task failed to scheduler.
	UploadPersistentTaskFailed(context.Context, *UploadPersistentTaskFailedRequest) (*emptypb.Empty, error)
	// Checks information of persistent task.
	StatPersistentTask(context.Context, *StatPersistentTaskRequest) (*v2.PersistentTask, error)
	// DeletePersistentTask releases persistent task in scheduler.
	DeletePersistentTask(context.Context, *DeletePersistentTaskRequest) (*emptypb.Empty, error)
	// AnnouncePersistentCachePeer announces persistent cache peer to scheduler.
	AnnouncePersistentCachePeer(Scheduler_AnnouncePersistentCachePeerServer) error
	// Checks information of persistent cache peer.
	StatPersistentCachePeer(context.Context, *StatPersistentCachePeerRequest) (*v2.PersistentCachePeer, error)
	// DeletePersistentCachePeer releases persistent cache peer in scheduler.
	DeletePersistentCachePeer(context.Context, *DeletePersistentCachePeerRequest) (*emptypb.Empty, error)
	// UploadPersistentCacheTaskStarted uploads persistent cache task started to scheduler.
	UploadPersistentCacheTaskStarted(context.Context, *UploadPersistentCacheTaskStartedRequest) (*emptypb.Empty, error)
	// UploadPersistentCacheTaskFinished uploads persistent cache task finished to scheduler.
	UploadPersistentCacheTaskFinished(context.Context, *UploadPersistentCacheTaskFinishedRequest) (*v2.PersistentCacheTask, error)
	// UploadPersistentCacheTaskFailed uploads persistent cache task failed to scheduler.
	UploadPersistentCacheTaskFailed(context.Context, *UploadPersistentCacheTaskFailedRequest) (*emptypb.Empty, error)
	// Checks information of persistent cache task.
	StatPersistentCacheTask(context.Context, *StatPersistentCacheTaskRequest) (*v2.PersistentCacheTask, error)
	// DeletePersistentCacheTask releases persistent cache task in scheduler.
	DeletePersistentCacheTask(context.Context, *DeletePersistentCacheTaskRequest) (*emptypb.Empty, error)
	// PreheatImage synchronously resolves an image manifest and triggers an asynchronous preheat task.
	//
	// This is a blocking call. The RPC will not return until the server has completed the
	// initial synchronous work: resolving the image manifest and preparing all layer URLs.
	//
	// After this call successfully returns, a scheduler on the server begins the actual
	// preheating process, instructing peers to download the layers in the background.
	//
	// A successful response (google.protobuf.Empty) confirms that the preparation is complete
	// and the asynchronous download task has been scheduled.
	PreheatImage(context.Context, *PreheatImageRequest) (*emptypb.Empty, error)
	// StatImage provides detailed status for a container image's distribution in peers.
	//
	// This is a blocking call that first resolves the image manifest and then queries
	// all peers to collect the image's download state across the network.
	// The response includes both layer information and the status on each peer.
	StatImage(context.Context, *StatImageRequest) (*StatImageResponse, error)
	// PreheatFile synchronously resolves a file URL and triggers an asynchronous preheat task.
	//
	// This is a blocking call. The RPC will not return until the server has completed the
	// initial synchronous work: resolving the file URL.
	//
	// After this call successfully returns, a scheduler on the server begins the actual
	// preheating process, instructing peers to download the file in the background.
	//
	// A successful response (google.protobuf.Empty) confirms that the preparation is complete
	// and the asynchronous download task has been scheduled.
	PreheatFile(context.Context, *PreheatFileRequest) (*emptypb.Empty, error)
	// StatFile provides detailed status for a file's distribution in peers.
	//
	// This is a blocking call that first resolves the file URL and then queries
	// all peers to collect the file's download state across the network.
	// The response includes both file information and the status on each peer.
	StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
}

SchedulerServer is the server API for Scheduler service. All implementations should embed UnimplementedSchedulerServer for forward compatibility

type Scheduler_AnnounceCachePeerClient added in v2.0.121

type Scheduler_AnnounceCachePeerClient interface {
	Send(*AnnounceCachePeerRequest) error
	Recv() (*AnnounceCachePeerResponse, error)
	grpc.ClientStream
}

type Scheduler_AnnounceCachePeerServer added in v2.0.121

type Scheduler_AnnounceCachePeerServer interface {
	Send(*AnnounceCachePeerResponse) error
	Recv() (*AnnounceCachePeerRequest, error)
	grpc.ServerStream
}

type Scheduler_AnnouncePeerClient

type Scheduler_AnnouncePeerClient interface {
	Send(*AnnouncePeerRequest) error
	Recv() (*AnnouncePeerResponse, error)
	grpc.ClientStream
}

type Scheduler_AnnouncePeerServer

type Scheduler_AnnouncePeerServer interface {
	Send(*AnnouncePeerResponse) error
	Recv() (*AnnouncePeerRequest, error)
	grpc.ServerStream
}

type Scheduler_AnnouncePersistentCachePeerClient added in v2.0.161

type Scheduler_AnnouncePersistentCachePeerClient interface {
	Send(*AnnouncePersistentCachePeerRequest) error
	Recv() (*AnnouncePersistentCachePeerResponse, error)
	grpc.ClientStream
}

type Scheduler_AnnouncePersistentCachePeerServer added in v2.0.161

type Scheduler_AnnouncePersistentCachePeerServer interface {
	Send(*AnnouncePersistentCachePeerResponse) error
	Recv() (*AnnouncePersistentCachePeerRequest, error)
	grpc.ServerStream
}

type Scheduler_AnnouncePersistentPeerClient added in v2.1.86

type Scheduler_AnnouncePersistentPeerClient interface {
	Send(*AnnouncePersistentPeerRequest) error
	Recv() (*AnnouncePersistentPeerResponse, error)
	grpc.ClientStream
}

type Scheduler_AnnouncePersistentPeerServer added in v2.1.86

type Scheduler_AnnouncePersistentPeerServer interface {
	Send(*AnnouncePersistentPeerResponse) error
	Recv() (*AnnouncePersistentPeerRequest, error)
	grpc.ServerStream
}

type StatCachePeerRequest added in v2.0.121

type StatCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

StatCachePeerRequest represents request of StatCachePeer.

func (*StatCachePeerRequest) Descriptor deprecated added in v2.0.121

func (*StatCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatCachePeerRequest.ProtoReflect.Descriptor instead.

func (*StatCachePeerRequest) GetHostId added in v2.0.121

func (x *StatCachePeerRequest) GetHostId() string

func (*StatCachePeerRequest) GetPeerId added in v2.0.121

func (x *StatCachePeerRequest) GetPeerId() string

func (*StatCachePeerRequest) GetTaskId added in v2.0.121

func (x *StatCachePeerRequest) GetTaskId() string

func (*StatCachePeerRequest) ProtoMessage added in v2.0.121

func (*StatCachePeerRequest) ProtoMessage()

func (*StatCachePeerRequest) ProtoReflect added in v2.0.121

func (x *StatCachePeerRequest) ProtoReflect() protoreflect.Message

func (*StatCachePeerRequest) Reset added in v2.0.121

func (x *StatCachePeerRequest) Reset()

func (*StatCachePeerRequest) String added in v2.0.121

func (x *StatCachePeerRequest) String() string

func (*StatCachePeerRequest) Validate added in v2.0.121

func (m *StatCachePeerRequest) Validate() error

Validate checks the field values on StatCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatCachePeerRequest) ValidateAll added in v2.0.121

func (m *StatCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on StatCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatCachePeerRequestMultiError, or nil if none found.

type StatCachePeerRequestMultiError added in v2.0.121

type StatCachePeerRequestMultiError []error

StatCachePeerRequestMultiError is an error wrapping multiple validation errors returned by StatCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (StatCachePeerRequestMultiError) AllErrors added in v2.0.121

func (m StatCachePeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatCachePeerRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type StatCachePeerRequestValidationError added in v2.0.121

type StatCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

StatCachePeerRequestValidationError is the validation error returned by StatCachePeerRequest.Validate if the designated constraints aren't met.

func (StatCachePeerRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (StatCachePeerRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (StatCachePeerRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (StatCachePeerRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (StatCachePeerRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (StatCachePeerRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type StatCacheTaskRequest added in v2.0.121

type StatCacheTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

StatCacheTaskRequest represents request of StatCacheTask.

func (*StatCacheTaskRequest) Descriptor deprecated added in v2.0.121

func (*StatCacheTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatCacheTaskRequest.ProtoReflect.Descriptor instead.

func (*StatCacheTaskRequest) GetHostId added in v2.0.131

func (x *StatCacheTaskRequest) GetHostId() string

func (*StatCacheTaskRequest) GetTaskId added in v2.0.121

func (x *StatCacheTaskRequest) GetTaskId() string

func (*StatCacheTaskRequest) ProtoMessage added in v2.0.121

func (*StatCacheTaskRequest) ProtoMessage()

func (*StatCacheTaskRequest) ProtoReflect added in v2.0.121

func (x *StatCacheTaskRequest) ProtoReflect() protoreflect.Message

func (*StatCacheTaskRequest) Reset added in v2.0.121

func (x *StatCacheTaskRequest) Reset()

func (*StatCacheTaskRequest) String added in v2.0.121

func (x *StatCacheTaskRequest) String() string

func (*StatCacheTaskRequest) Validate added in v2.0.121

func (m *StatCacheTaskRequest) Validate() error

Validate checks the field values on StatCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatCacheTaskRequest) ValidateAll added in v2.0.121

func (m *StatCacheTaskRequest) ValidateAll() error

ValidateAll checks the field values on StatCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatCacheTaskRequestMultiError, or nil if none found.

type StatCacheTaskRequestMultiError added in v2.0.121

type StatCacheTaskRequestMultiError []error

StatCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by StatCacheTaskRequest.ValidateAll() if the designated constraints aren't met.

func (StatCacheTaskRequestMultiError) AllErrors added in v2.0.121

func (m StatCacheTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatCacheTaskRequestMultiError) Error added in v2.0.121

Error returns a concatenation of all the error messages it wraps.

type StatCacheTaskRequestValidationError added in v2.0.121

type StatCacheTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

StatCacheTaskRequestValidationError is the validation error returned by StatCacheTaskRequest.Validate if the designated constraints aren't met.

func (StatCacheTaskRequestValidationError) Cause added in v2.0.121

Cause function returns cause value.

func (StatCacheTaskRequestValidationError) Error added in v2.0.121

Error satisfies the builtin error interface

func (StatCacheTaskRequestValidationError) ErrorName added in v2.0.121

ErrorName returns error name.

func (StatCacheTaskRequestValidationError) Field added in v2.0.121

Field function returns field value.

func (StatCacheTaskRequestValidationError) Key added in v2.0.121

Key function returns key value.

func (StatCacheTaskRequestValidationError) Reason added in v2.0.121

Reason function returns reason value.

type StatFileRequest added in v2.1.73

type StatFileRequest struct {

	// URL is the file url for stat.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Piece Length is the piece length(bytes) for downloading file. The value needs to
	// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
	// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
	// the piece length will be calculated according to the file size.
	PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
	// Tag is the tag for stat.
	Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application is the application string for stat.
	Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Filtered query params to generate the task id.
	// When filter is ["Signature", "Expires", "ns"], for example:
	// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
	// will generate the same task id.
	// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
	FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
	// Header is the http headers for authentication.
	Header map[string]string `` /* 153-byte string literal not displayed */
	// ConcurrentPeerCount specifies the maximum number of peers stat concurrently for a single task.
	// For example, if stat a file with ConcurrentPeerCount set to 10, up to 10 peers process that file simultaneously.
	// Default is 500, maximum is 1000.
	ConcurrentPeerCount *int64 `` /* 127-byte string literal not displayed */
	// Timeout is the timeout for stat, default is 30 minutes.
	Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	// certificate_chain is the client certs with DER format for the backend client.
	CertificateChain [][]byte `protobuf:"bytes,9,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// insecure_skip_verify indicates whether to skip TLS verification.
	InsecureSkipVerify bool `protobuf:"varint,10,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
	// Object storage protocol information.
	ObjectStorage *v2.ObjectStorage `protobuf:"bytes,11,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
	// HDFS protocol information.
	Hdfs *v2.HDFS `protobuf:"bytes,12,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
	// contains filtered or unexported fields
}

StatFileRequest represents request of StatFile.

func (*StatFileRequest) Descriptor deprecated added in v2.1.73

func (*StatFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatFileRequest.ProtoReflect.Descriptor instead.

func (*StatFileRequest) GetApplication added in v2.1.73

func (x *StatFileRequest) GetApplication() string

func (*StatFileRequest) GetCertificateChain added in v2.1.73

func (x *StatFileRequest) GetCertificateChain() [][]byte

func (*StatFileRequest) GetConcurrentPeerCount added in v2.1.73

func (x *StatFileRequest) GetConcurrentPeerCount() int64

func (*StatFileRequest) GetFilteredQueryParams added in v2.1.73

func (x *StatFileRequest) GetFilteredQueryParams() []string

func (*StatFileRequest) GetHdfs added in v2.1.73

func (x *StatFileRequest) GetHdfs() *v2.HDFS

func (*StatFileRequest) GetHeader added in v2.1.73

func (x *StatFileRequest) GetHeader() map[string]string

func (*StatFileRequest) GetInsecureSkipVerify added in v2.1.73

func (x *StatFileRequest) GetInsecureSkipVerify() bool

func (*StatFileRequest) GetObjectStorage added in v2.1.73

func (x *StatFileRequest) GetObjectStorage() *v2.ObjectStorage

func (*StatFileRequest) GetPieceLength added in v2.1.73

func (x *StatFileRequest) GetPieceLength() uint64

func (*StatFileRequest) GetTag added in v2.1.73

func (x *StatFileRequest) GetTag() string

func (*StatFileRequest) GetTimeout added in v2.1.73

func (x *StatFileRequest) GetTimeout() *durationpb.Duration

func (*StatFileRequest) GetUrl added in v2.1.73

func (x *StatFileRequest) GetUrl() string

func (*StatFileRequest) ProtoMessage added in v2.1.73

func (*StatFileRequest) ProtoMessage()

func (*StatFileRequest) ProtoReflect added in v2.1.73

func (x *StatFileRequest) ProtoReflect() protoreflect.Message

func (*StatFileRequest) Reset added in v2.1.73

func (x *StatFileRequest) Reset()

func (*StatFileRequest) String added in v2.1.73

func (x *StatFileRequest) String() string

func (*StatFileRequest) Validate added in v2.1.73

func (m *StatFileRequest) Validate() error

Validate checks the field values on StatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatFileRequest) ValidateAll added in v2.1.73

func (m *StatFileRequest) ValidateAll() error

ValidateAll checks the field values on StatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatFileRequestMultiError, or nil if none found.

type StatFileRequestMultiError added in v2.1.73

type StatFileRequestMultiError []error

StatFileRequestMultiError is an error wrapping multiple validation errors returned by StatFileRequest.ValidateAll() if the designated constraints aren't met.

func (StatFileRequestMultiError) AllErrors added in v2.1.73

func (m StatFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatFileRequestMultiError) Error added in v2.1.73

Error returns a concatenation of all the error messages it wraps.

type StatFileRequestValidationError added in v2.1.73

type StatFileRequestValidationError struct {
	// contains filtered or unexported fields
}

StatFileRequestValidationError is the validation error returned by StatFileRequest.Validate if the designated constraints aren't met.

func (StatFileRequestValidationError) Cause added in v2.1.73

Cause function returns cause value.

func (StatFileRequestValidationError) Error added in v2.1.73

Error satisfies the builtin error interface

func (StatFileRequestValidationError) ErrorName added in v2.1.73

func (e StatFileRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatFileRequestValidationError) Field added in v2.1.73

Field function returns field value.

func (StatFileRequestValidationError) Key added in v2.1.73

Key function returns key value.

func (StatFileRequestValidationError) Reason added in v2.1.73

Reason function returns reason value.

type StatFileResponse added in v2.1.73

type StatFileResponse struct {

	// Peers is the peers that have downloaded the file.
	Peers []*PeerFile `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

StatFileResponse represents response of StatFile.

func (*StatFileResponse) Descriptor deprecated added in v2.1.73

func (*StatFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatFileResponse.ProtoReflect.Descriptor instead.

func (*StatFileResponse) GetPeers added in v2.1.73

func (x *StatFileResponse) GetPeers() []*PeerFile

func (*StatFileResponse) ProtoMessage added in v2.1.73

func (*StatFileResponse) ProtoMessage()

func (*StatFileResponse) ProtoReflect added in v2.1.73

func (x *StatFileResponse) ProtoReflect() protoreflect.Message

func (*StatFileResponse) Reset added in v2.1.73

func (x *StatFileResponse) Reset()

func (*StatFileResponse) String added in v2.1.73

func (x *StatFileResponse) String() string

func (*StatFileResponse) Validate added in v2.1.73

func (m *StatFileResponse) Validate() error

Validate checks the field values on StatFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatFileResponse) ValidateAll added in v2.1.73

func (m *StatFileResponse) ValidateAll() error

ValidateAll checks the field values on StatFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatFileResponseMultiError, or nil if none found.

type StatFileResponseMultiError added in v2.1.73

type StatFileResponseMultiError []error

StatFileResponseMultiError is an error wrapping multiple validation errors returned by StatFileResponse.ValidateAll() if the designated constraints aren't met.

func (StatFileResponseMultiError) AllErrors added in v2.1.73

func (m StatFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatFileResponseMultiError) Error added in v2.1.73

Error returns a concatenation of all the error messages it wraps.

type StatFileResponseValidationError added in v2.1.73

type StatFileResponseValidationError struct {
	// contains filtered or unexported fields
}

StatFileResponseValidationError is the validation error returned by StatFileResponse.Validate if the designated constraints aren't met.

func (StatFileResponseValidationError) Cause added in v2.1.73

Cause function returns cause value.

func (StatFileResponseValidationError) Error added in v2.1.73

Error satisfies the builtin error interface

func (StatFileResponseValidationError) ErrorName added in v2.1.73

ErrorName returns error name.

func (StatFileResponseValidationError) Field added in v2.1.73

Field function returns field value.

func (StatFileResponseValidationError) Key added in v2.1.73

Key function returns key value.

func (StatFileResponseValidationError) Reason added in v2.1.73

Reason function returns reason value.

type StatImageRequest added in v2.1.52

type StatImageRequest struct {

	// URL is the image manifest url for preheating.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Piece Length is the piece length(bytes) for downloading file. The value needs to
	// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
	// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
	// the piece length will be calculated according to the file size.
	PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
	// Tag is the tag for preheating.
	Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application is the application string for preheating.
	Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Filtered query params to generate the task id.
	// When filter is ["Signature", "Expires", "ns"], for example:
	// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
	// will generate the same task id.
	// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
	FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
	// Header is the http headers for authentication.
	Header map[string]string `` /* 153-byte string literal not displayed */
	// Username is the username for authentication.
	Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
	// Password is the password for authentication.
	Password *string `protobuf:"bytes,8,opt,name=password,proto3,oneof" json:"password,omitempty"`
	// Platform is the platform for preheating, such as linux/amd64, linux/arm64, etc.
	Platform *string `protobuf:"bytes,9,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
	// ConcurrentLayerCount specifies the maximum number of layers to get concurrently.
	// For example, if stat 100 layers with ConcurrentLayerCount set to 10, up to 10 layers are processed simultaneously.
	// If ConcurrentPeerCount is 10 for 1000 peers, each layer is stated by 10 peers concurrently.
	// Default is 8, maximum is 100.
	ConcurrentLayerCount *int64 `` /* 131-byte string literal not displayed */
	// ConcurrentPeerCount specifies the maximum number of peers stat concurrently for a single task (e.g., an image layer).
	// For example, if stat a layer with ConcurrentPeerCount set to 10, up to 10 peers process that layer simultaneously.
	// Default is 500, maximum is 1000.
	ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
	// Timeout is the timeout for preheating, default is 30 minutes.
	Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	// certificate_chain is the client certs with DER format for the backend client.
	CertificateChain [][]byte `protobuf:"bytes,13,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// insecure_skip_verify indicates whether to skip TLS verification.
	InsecureSkipVerify bool `protobuf:"varint,14,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
	// contains filtered or unexported fields
}

StatImageRequest represents request of StatImage.

func (*StatImageRequest) Descriptor deprecated added in v2.1.52

func (*StatImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatImageRequest.ProtoReflect.Descriptor instead.

func (*StatImageRequest) GetApplication added in v2.1.52

func (x *StatImageRequest) GetApplication() string

func (*StatImageRequest) GetCertificateChain added in v2.1.54

func (x *StatImageRequest) GetCertificateChain() [][]byte

func (*StatImageRequest) GetConcurrentLayerCount added in v2.1.52

func (x *StatImageRequest) GetConcurrentLayerCount() int64

func (*StatImageRequest) GetConcurrentPeerCount added in v2.1.52

func (x *StatImageRequest) GetConcurrentPeerCount() int64

func (*StatImageRequest) GetFilteredQueryParams added in v2.1.52

func (x *StatImageRequest) GetFilteredQueryParams() []string

func (*StatImageRequest) GetHeader added in v2.1.52

func (x *StatImageRequest) GetHeader() map[string]string

func (*StatImageRequest) GetInsecureSkipVerify added in v2.1.54

func (x *StatImageRequest) GetInsecureSkipVerify() bool

func (*StatImageRequest) GetPassword added in v2.1.52

func (x *StatImageRequest) GetPassword() string

func (*StatImageRequest) GetPieceLength added in v2.1.52

func (x *StatImageRequest) GetPieceLength() uint64

func (*StatImageRequest) GetPlatform added in v2.1.52

func (x *StatImageRequest) GetPlatform() string

func (*StatImageRequest) GetTag added in v2.1.52

func (x *StatImageRequest) GetTag() string

func (*StatImageRequest) GetTimeout added in v2.1.54

func (x *StatImageRequest) GetTimeout() *durationpb.Duration

func (*StatImageRequest) GetUrl added in v2.1.52

func (x *StatImageRequest) GetUrl() string

func (*StatImageRequest) GetUsername added in v2.1.52

func (x *StatImageRequest) GetUsername() string

func (*StatImageRequest) ProtoMessage added in v2.1.52

func (*StatImageRequest) ProtoMessage()

func (*StatImageRequest) ProtoReflect added in v2.1.52

func (x *StatImageRequest) ProtoReflect() protoreflect.Message

func (*StatImageRequest) Reset added in v2.1.52

func (x *StatImageRequest) Reset()

func (*StatImageRequest) String added in v2.1.52

func (x *StatImageRequest) String() string

func (*StatImageRequest) Validate added in v2.1.52

func (m *StatImageRequest) Validate() error

Validate checks the field values on StatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatImageRequest) ValidateAll added in v2.1.52

func (m *StatImageRequest) ValidateAll() error

ValidateAll checks the field values on StatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatImageRequestMultiError, or nil if none found.

type StatImageRequestMultiError added in v2.1.52

type StatImageRequestMultiError []error

StatImageRequestMultiError is an error wrapping multiple validation errors returned by StatImageRequest.ValidateAll() if the designated constraints aren't met.

func (StatImageRequestMultiError) AllErrors added in v2.1.52

func (m StatImageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatImageRequestMultiError) Error added in v2.1.52

Error returns a concatenation of all the error messages it wraps.

type StatImageRequestValidationError added in v2.1.52

type StatImageRequestValidationError struct {
	// contains filtered or unexported fields
}

StatImageRequestValidationError is the validation error returned by StatImageRequest.Validate if the designated constraints aren't met.

func (StatImageRequestValidationError) Cause added in v2.1.52

Cause function returns cause value.

func (StatImageRequestValidationError) Error added in v2.1.52

Error satisfies the builtin error interface

func (StatImageRequestValidationError) ErrorName added in v2.1.52

ErrorName returns error name.

func (StatImageRequestValidationError) Field added in v2.1.52

Field function returns field value.

func (StatImageRequestValidationError) Key added in v2.1.52

Key function returns key value.

func (StatImageRequestValidationError) Reason added in v2.1.52

Reason function returns reason value.

type StatImageResponse added in v2.1.52

type StatImageResponse struct {

	// Image is the image information.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Peers is the peers that have downloaded the image.
	Peers []*PeerImage `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

StatImageResponse represents response of StatImage.

func (*StatImageResponse) Descriptor deprecated added in v2.1.52

func (*StatImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatImageResponse.ProtoReflect.Descriptor instead.

func (*StatImageResponse) GetImage added in v2.1.52

func (x *StatImageResponse) GetImage() *Image

func (*StatImageResponse) GetPeers added in v2.1.52

func (x *StatImageResponse) GetPeers() []*PeerImage

func (*StatImageResponse) ProtoMessage added in v2.1.52

func (*StatImageResponse) ProtoMessage()

func (*StatImageResponse) ProtoReflect added in v2.1.52

func (x *StatImageResponse) ProtoReflect() protoreflect.Message

func (*StatImageResponse) Reset added in v2.1.52

func (x *StatImageResponse) Reset()

func (*StatImageResponse) String added in v2.1.52

func (x *StatImageResponse) String() string

func (*StatImageResponse) Validate added in v2.1.52

func (m *StatImageResponse) Validate() error

Validate checks the field values on StatImageResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatImageResponse) ValidateAll added in v2.1.52

func (m *StatImageResponse) ValidateAll() error

ValidateAll checks the field values on StatImageResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatImageResponseMultiError, or nil if none found.

type StatImageResponseMultiError added in v2.1.52

type StatImageResponseMultiError []error

StatImageResponseMultiError is an error wrapping multiple validation errors returned by StatImageResponse.ValidateAll() if the designated constraints aren't met.

func (StatImageResponseMultiError) AllErrors added in v2.1.52

func (m StatImageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatImageResponseMultiError) Error added in v2.1.52

Error returns a concatenation of all the error messages it wraps.

type StatImageResponseValidationError added in v2.1.52

type StatImageResponseValidationError struct {
	// contains filtered or unexported fields
}

StatImageResponseValidationError is the validation error returned by StatImageResponse.Validate if the designated constraints aren't met.

func (StatImageResponseValidationError) Cause added in v2.1.52

Cause function returns cause value.

func (StatImageResponseValidationError) Error added in v2.1.52

Error satisfies the builtin error interface

func (StatImageResponseValidationError) ErrorName added in v2.1.52

ErrorName returns error name.

func (StatImageResponseValidationError) Field added in v2.1.52

Field function returns field value.

func (StatImageResponseValidationError) Key added in v2.1.52

Key function returns key value.

func (StatImageResponseValidationError) Reason added in v2.1.52

Reason function returns reason value.

type StatPeerRequest

type StatPeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

StatPeerRequest represents request of StatPeer.

func (*StatPeerRequest) Descriptor deprecated

func (*StatPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatPeerRequest.ProtoReflect.Descriptor instead.

func (*StatPeerRequest) GetHostId

func (x *StatPeerRequest) GetHostId() string

func (*StatPeerRequest) GetPeerId

func (x *StatPeerRequest) GetPeerId() string

func (*StatPeerRequest) GetTaskId

func (x *StatPeerRequest) GetTaskId() string

func (*StatPeerRequest) ProtoMessage

func (*StatPeerRequest) ProtoMessage()

func (*StatPeerRequest) ProtoReflect

func (x *StatPeerRequest) ProtoReflect() protoreflect.Message

func (*StatPeerRequest) Reset

func (x *StatPeerRequest) Reset()

func (*StatPeerRequest) String

func (x *StatPeerRequest) String() string

func (*StatPeerRequest) Validate

func (m *StatPeerRequest) Validate() error

Validate checks the field values on StatPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatPeerRequest) ValidateAll

func (m *StatPeerRequest) ValidateAll() error

ValidateAll checks the field values on StatPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPeerRequestMultiError, or nil if none found.

type StatPeerRequestMultiError

type StatPeerRequestMultiError []error

StatPeerRequestMultiError is an error wrapping multiple validation errors returned by StatPeerRequest.ValidateAll() if the designated constraints aren't met.

func (StatPeerRequestMultiError) AllErrors

func (m StatPeerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatPeerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StatPeerRequestValidationError

type StatPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

StatPeerRequestValidationError is the validation error returned by StatPeerRequest.Validate if the designated constraints aren't met.

func (StatPeerRequestValidationError) Cause

Cause function returns cause value.

func (StatPeerRequestValidationError) Error

Error satisfies the builtin error interface

func (StatPeerRequestValidationError) ErrorName

func (e StatPeerRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatPeerRequestValidationError) Field

Field function returns field value.

func (StatPeerRequestValidationError) Key

Key function returns key value.

func (StatPeerRequestValidationError) Reason

Reason function returns reason value.

type StatPersistentCachePeerRequest added in v2.0.161

type StatPersistentCachePeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

StatPersistentCachePeerRequest represents request of StatPersistentCachePeer.

func (*StatPersistentCachePeerRequest) Descriptor deprecated added in v2.0.161

func (*StatPersistentCachePeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatPersistentCachePeerRequest.ProtoReflect.Descriptor instead.

func (*StatPersistentCachePeerRequest) GetHostId added in v2.0.161

func (x *StatPersistentCachePeerRequest) GetHostId() string

func (*StatPersistentCachePeerRequest) GetPeerId added in v2.0.161

func (x *StatPersistentCachePeerRequest) GetPeerId() string

func (*StatPersistentCachePeerRequest) GetTaskId added in v2.0.161

func (x *StatPersistentCachePeerRequest) GetTaskId() string

func (*StatPersistentCachePeerRequest) ProtoMessage added in v2.0.161

func (*StatPersistentCachePeerRequest) ProtoMessage()

func (*StatPersistentCachePeerRequest) ProtoReflect added in v2.0.161

func (*StatPersistentCachePeerRequest) Reset added in v2.0.161

func (x *StatPersistentCachePeerRequest) Reset()

func (*StatPersistentCachePeerRequest) String added in v2.0.161

func (*StatPersistentCachePeerRequest) Validate added in v2.0.161

func (m *StatPersistentCachePeerRequest) Validate() error

Validate checks the field values on StatPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatPersistentCachePeerRequest) ValidateAll added in v2.0.161

func (m *StatPersistentCachePeerRequest) ValidateAll() error

ValidateAll checks the field values on StatPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentCachePeerRequestMultiError, or nil if none found.

type StatPersistentCachePeerRequestMultiError added in v2.0.161

type StatPersistentCachePeerRequestMultiError []error

StatPersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.

func (StatPersistentCachePeerRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (StatPersistentCachePeerRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type StatPersistentCachePeerRequestValidationError added in v2.0.161

type StatPersistentCachePeerRequestValidationError struct {
	// contains filtered or unexported fields
}

StatPersistentCachePeerRequestValidationError is the validation error returned by StatPersistentCachePeerRequest.Validate if the designated constraints aren't met.

func (StatPersistentCachePeerRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (StatPersistentCachePeerRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (StatPersistentCachePeerRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (StatPersistentCachePeerRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (StatPersistentCachePeerRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (StatPersistentCachePeerRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type StatPersistentCacheTaskRequest added in v2.0.161

type StatPersistentCacheTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

StatPersistentCacheTaskRequest represents request of StatPersistentCacheTask.

func (*StatPersistentCacheTaskRequest) Descriptor deprecated added in v2.0.161

func (*StatPersistentCacheTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatPersistentCacheTaskRequest.ProtoReflect.Descriptor instead.

func (*StatPersistentCacheTaskRequest) GetHostId added in v2.0.161

func (x *StatPersistentCacheTaskRequest) GetHostId() string

func (*StatPersistentCacheTaskRequest) GetTaskId added in v2.0.161

func (x *StatPersistentCacheTaskRequest) GetTaskId() string

func (*StatPersistentCacheTaskRequest) ProtoMessage added in v2.0.161

func (*StatPersistentCacheTaskRequest) ProtoMessage()

func (*StatPersistentCacheTaskRequest) ProtoReflect added in v2.0.161

func (*StatPersistentCacheTaskRequest) Reset added in v2.0.161

func (x *StatPersistentCacheTaskRequest) Reset()

func (*StatPersistentCacheTaskRequest) String added in v2.0.161

func (*StatPersistentCacheTaskRequest) Validate added in v2.0.161

func (m *StatPersistentCacheTaskRequest) Validate() error

Validate checks the field values on StatPersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatPersistentCacheTaskRequest) ValidateAll added in v2.0.161

func (m *StatPersistentCacheTaskRequest) ValidateAll() error

ValidateAll checks the field values on StatPersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentCacheTaskRequestMultiError, or nil if none found.

type StatPersistentCacheTaskRequestMultiError added in v2.0.161

type StatPersistentCacheTaskRequestMultiError []error

StatPersistentCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentCacheTaskRequest.ValidateAll() if the designated constraints aren't met.

func (StatPersistentCacheTaskRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (StatPersistentCacheTaskRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type StatPersistentCacheTaskRequestValidationError added in v2.0.161

type StatPersistentCacheTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

StatPersistentCacheTaskRequestValidationError is the validation error returned by StatPersistentCacheTaskRequest.Validate if the designated constraints aren't met.

func (StatPersistentCacheTaskRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (StatPersistentCacheTaskRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (StatPersistentCacheTaskRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (StatPersistentCacheTaskRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (StatPersistentCacheTaskRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (StatPersistentCacheTaskRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type StatPersistentPeerRequest added in v2.1.86

type StatPersistentPeerRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

StatPersistentPeerRequest represents request of StatPersistentPeer.

func (*StatPersistentPeerRequest) Descriptor deprecated added in v2.1.86

func (*StatPersistentPeerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatPersistentPeerRequest.ProtoReflect.Descriptor instead.

func (*StatPersistentPeerRequest) GetHostId added in v2.1.86

func (x *StatPersistentPeerRequest) GetHostId() string

func (*StatPersistentPeerRequest) GetPeerId added in v2.1.86

func (x *StatPersistentPeerRequest) GetPeerId() string

func (*StatPersistentPeerRequest) GetTaskId added in v2.1.86

func (x *StatPersistentPeerRequest) GetTaskId() string

func (*StatPersistentPeerRequest) ProtoMessage added in v2.1.86

func (*StatPersistentPeerRequest) ProtoMessage()

func (*StatPersistentPeerRequest) ProtoReflect added in v2.1.86

func (*StatPersistentPeerRequest) Reset added in v2.1.86

func (x *StatPersistentPeerRequest) Reset()

func (*StatPersistentPeerRequest) String added in v2.1.86

func (x *StatPersistentPeerRequest) String() string

func (*StatPersistentPeerRequest) Validate added in v2.1.86

func (m *StatPersistentPeerRequest) Validate() error

Validate checks the field values on StatPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatPersistentPeerRequest) ValidateAll added in v2.1.86

func (m *StatPersistentPeerRequest) ValidateAll() error

ValidateAll checks the field values on StatPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentPeerRequestMultiError, or nil if none found.

type StatPersistentPeerRequestMultiError added in v2.1.86

type StatPersistentPeerRequestMultiError []error

StatPersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentPeerRequest.ValidateAll() if the designated constraints aren't met.

func (StatPersistentPeerRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (StatPersistentPeerRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type StatPersistentPeerRequestValidationError added in v2.1.86

type StatPersistentPeerRequestValidationError struct {
	// contains filtered or unexported fields
}

StatPersistentPeerRequestValidationError is the validation error returned by StatPersistentPeerRequest.Validate if the designated constraints aren't met.

func (StatPersistentPeerRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (StatPersistentPeerRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (StatPersistentPeerRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (StatPersistentPeerRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (StatPersistentPeerRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (StatPersistentPeerRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type StatPersistentTaskRequest added in v2.1.86

type StatPersistentTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

StatPersistentTaskRequest represents request of StatPersistentTask.

func (*StatPersistentTaskRequest) Descriptor deprecated added in v2.1.86

func (*StatPersistentTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatPersistentTaskRequest.ProtoReflect.Descriptor instead.

func (*StatPersistentTaskRequest) GetHostId added in v2.1.86

func (x *StatPersistentTaskRequest) GetHostId() string

func (*StatPersistentTaskRequest) GetTaskId added in v2.1.86

func (x *StatPersistentTaskRequest) GetTaskId() string

func (*StatPersistentTaskRequest) ProtoMessage added in v2.1.86

func (*StatPersistentTaskRequest) ProtoMessage()

func (*StatPersistentTaskRequest) ProtoReflect added in v2.1.86

func (*StatPersistentTaskRequest) Reset added in v2.1.86

func (x *StatPersistentTaskRequest) Reset()

func (*StatPersistentTaskRequest) String added in v2.1.86

func (x *StatPersistentTaskRequest) String() string

func (*StatPersistentTaskRequest) Validate added in v2.1.86

func (m *StatPersistentTaskRequest) Validate() error

Validate checks the field values on StatPersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatPersistentTaskRequest) ValidateAll added in v2.1.86

func (m *StatPersistentTaskRequest) ValidateAll() error

ValidateAll checks the field values on StatPersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentTaskRequestMultiError, or nil if none found.

type StatPersistentTaskRequestMultiError added in v2.1.86

type StatPersistentTaskRequestMultiError []error

StatPersistentTaskRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentTaskRequest.ValidateAll() if the designated constraints aren't met.

func (StatPersistentTaskRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (StatPersistentTaskRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type StatPersistentTaskRequestValidationError added in v2.1.86

type StatPersistentTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

StatPersistentTaskRequestValidationError is the validation error returned by StatPersistentTaskRequest.Validate if the designated constraints aren't met.

func (StatPersistentTaskRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (StatPersistentTaskRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (StatPersistentTaskRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (StatPersistentTaskRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (StatPersistentTaskRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (StatPersistentTaskRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type StatTaskRequest

type StatTaskRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

StatTaskRequest represents request of StatTask.

func (*StatTaskRequest) Descriptor deprecated

func (*StatTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatTaskRequest.ProtoReflect.Descriptor instead.

func (*StatTaskRequest) GetHostId added in v2.0.131

func (x *StatTaskRequest) GetHostId() string

func (*StatTaskRequest) GetTaskId added in v2.0.121

func (x *StatTaskRequest) GetTaskId() string

func (*StatTaskRequest) ProtoMessage

func (*StatTaskRequest) ProtoMessage()

func (*StatTaskRequest) ProtoReflect

func (x *StatTaskRequest) ProtoReflect() protoreflect.Message

func (*StatTaskRequest) Reset

func (x *StatTaskRequest) Reset()

func (*StatTaskRequest) String

func (x *StatTaskRequest) String() string

func (*StatTaskRequest) Validate

func (m *StatTaskRequest) Validate() error

Validate checks the field values on StatTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatTaskRequest) ValidateAll

func (m *StatTaskRequest) ValidateAll() error

ValidateAll checks the field values on StatTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatTaskRequestMultiError, or nil if none found.

type StatTaskRequestMultiError

type StatTaskRequestMultiError []error

StatTaskRequestMultiError is an error wrapping multiple validation errors returned by StatTaskRequest.ValidateAll() if the designated constraints aren't met.

func (StatTaskRequestMultiError) AllErrors

func (m StatTaskRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatTaskRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StatTaskRequestValidationError

type StatTaskRequestValidationError struct {
	// contains filtered or unexported fields
}

StatTaskRequestValidationError is the validation error returned by StatTaskRequest.Validate if the designated constraints aren't met.

func (StatTaskRequestValidationError) Cause

Cause function returns cause value.

func (StatTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (StatTaskRequestValidationError) ErrorName

func (e StatTaskRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatTaskRequestValidationError) Field

Field function returns field value.

func (StatTaskRequestValidationError) Key

Key function returns key value.

func (StatTaskRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedSchedulerServer

type UnimplementedSchedulerServer struct {
}

UnimplementedSchedulerServer should be embedded to have forward compatible implementations.

func (UnimplementedSchedulerServer) AnnounceCachePeer added in v2.0.121

func (UnimplementedSchedulerServer) AnnounceHost

func (UnimplementedSchedulerServer) AnnouncePeer

func (UnimplementedSchedulerServer) AnnouncePersistentCachePeer added in v2.0.161

func (UnimplementedSchedulerServer) AnnouncePersistentPeer added in v2.1.86

func (UnimplementedSchedulerServer) DeleteCachePeer added in v2.0.121

func (UnimplementedSchedulerServer) DeleteCacheTask added in v2.0.121

func (UnimplementedSchedulerServer) DeleteHost added in v2.0.118

func (UnimplementedSchedulerServer) DeletePeer added in v2.0.118

func (UnimplementedSchedulerServer) DeletePersistentCachePeer added in v2.0.161

func (UnimplementedSchedulerServer) DeletePersistentCacheTask added in v2.0.161

func (UnimplementedSchedulerServer) DeletePersistentPeer added in v2.1.86

func (UnimplementedSchedulerServer) DeletePersistentTask added in v2.1.86

func (UnimplementedSchedulerServer) DeleteTask added in v2.0.118

func (UnimplementedSchedulerServer) ListHosts added in v2.0.158

func (UnimplementedSchedulerServer) PreheatFile added in v2.1.73

func (UnimplementedSchedulerServer) PreheatImage added in v2.1.52

func (UnimplementedSchedulerServer) StatCachePeer added in v2.0.121

func (UnimplementedSchedulerServer) StatCacheTask added in v2.0.121

func (UnimplementedSchedulerServer) StatFile added in v2.1.73

func (UnimplementedSchedulerServer) StatImage added in v2.1.52

func (UnimplementedSchedulerServer) StatPeer

func (UnimplementedSchedulerServer) StatPersistentCachePeer added in v2.0.161

func (UnimplementedSchedulerServer) StatPersistentCacheTask added in v2.0.161

func (UnimplementedSchedulerServer) StatPersistentPeer added in v2.1.86

func (UnimplementedSchedulerServer) StatPersistentTask added in v2.1.86

func (UnimplementedSchedulerServer) StatTask

func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFailed added in v2.0.161

func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFinished added in v2.0.161

func (UnimplementedSchedulerServer) UploadPersistentCacheTaskStarted added in v2.0.161

func (UnimplementedSchedulerServer) UploadPersistentTaskFailed added in v2.1.86

func (UnimplementedSchedulerServer) UploadPersistentTaskFinished added in v2.1.86

func (UnimplementedSchedulerServer) UploadPersistentTaskStarted added in v2.1.86

type UnsafeSchedulerServer

type UnsafeSchedulerServer interface {
	// contains filtered or unexported methods
}

UnsafeSchedulerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchedulerServer will result in compilation errors.

type UploadPersistentCacheTaskFailedRequest added in v2.0.161

type UploadPersistentCacheTaskFailedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// The description of the upload failed.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskFailedRequest represents upload persistent cache task failed request of UploadPersistentCacheTaskFailedRequest.

func (*UploadPersistentCacheTaskFailedRequest) Descriptor deprecated added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentCacheTaskFailedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentCacheTaskFailedRequest) GetDescription added in v2.0.161

func (x *UploadPersistentCacheTaskFailedRequest) GetDescription() string

func (*UploadPersistentCacheTaskFailedRequest) GetHostId added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) GetPeerId added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) GetTaskId added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) ProtoMessage added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) ProtoReflect added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) Reset added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) String added in v2.0.161

func (*UploadPersistentCacheTaskFailedRequest) Validate added in v2.0.161

Validate checks the field values on UploadPersistentCacheTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentCacheTaskFailedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on UploadPersistentCacheTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskFailedRequestMultiError, or nil if none found.

type UploadPersistentCacheTaskFailedRequestMultiError added in v2.0.161

type UploadPersistentCacheTaskFailedRequestMultiError []error

UploadPersistentCacheTaskFailedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskFailedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentCacheTaskFailedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (UploadPersistentCacheTaskFailedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentCacheTaskFailedRequestValidationError added in v2.0.161

type UploadPersistentCacheTaskFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskFailedRequestValidationError is the validation error returned by UploadPersistentCacheTaskFailedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentCacheTaskFailedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (UploadPersistentCacheTaskFailedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (UploadPersistentCacheTaskFailedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (UploadPersistentCacheTaskFailedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (UploadPersistentCacheTaskFailedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (UploadPersistentCacheTaskFailedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type UploadPersistentCacheTaskFinishedRequest added in v2.0.161

type UploadPersistentCacheTaskFinishedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskFinishedRequest represents upload persistent cache task finished request of UploadPersistentCacheTaskFinishedRequest.

func (*UploadPersistentCacheTaskFinishedRequest) Descriptor deprecated added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentCacheTaskFinishedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentCacheTaskFinishedRequest) GetHostId added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) GetPeerId added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) GetTaskId added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) ProtoMessage added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) ProtoReflect added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) Reset added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) String added in v2.0.161

func (*UploadPersistentCacheTaskFinishedRequest) Validate added in v2.0.161

Validate checks the field values on UploadPersistentCacheTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentCacheTaskFinishedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on UploadPersistentCacheTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskFinishedRequestMultiError, or nil if none found.

type UploadPersistentCacheTaskFinishedRequestMultiError added in v2.0.161

type UploadPersistentCacheTaskFinishedRequestMultiError []error

UploadPersistentCacheTaskFinishedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentCacheTaskFinishedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (UploadPersistentCacheTaskFinishedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentCacheTaskFinishedRequestValidationError added in v2.0.161

type UploadPersistentCacheTaskFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskFinishedRequestValidationError is the validation error returned by UploadPersistentCacheTaskFinishedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentCacheTaskFinishedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (UploadPersistentCacheTaskFinishedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (UploadPersistentCacheTaskFinishedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (UploadPersistentCacheTaskFinishedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (UploadPersistentCacheTaskFinishedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (UploadPersistentCacheTaskFinishedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type UploadPersistentCacheTaskStartedRequest added in v2.0.161

type UploadPersistentCacheTaskStartedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// Replica count of the persistent cache task.
	PersistentReplicaCount uint64 `` /* 130-byte string literal not displayed */
	// Tag is used to distinguish different persistent cache tasks.
	Tag *string `protobuf:"bytes,5,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// Application of task.
	Application *string `protobuf:"bytes,6,opt,name=application,proto3,oneof" json:"application,omitempty"`
	// Task piece length, the value needs to be greater than or equal to 4194304(4MiB)
	PieceLength uint64 `protobuf:"varint,7,opt,name=piece_length,json=pieceLength,proto3" json:"piece_length,omitempty"`
	// Task content length.
	ContentLength uint64 `protobuf:"varint,8,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
	// Task piece count.
	PieceCount uint32 `protobuf:"varint,9,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
	// TTL of the persistent cache task.
	Ttl *durationpb.Duration `protobuf:"bytes,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskStartedRequest represents upload persistent cache task started request of UploadPersistentCacheTaskStartedRequest.

func (*UploadPersistentCacheTaskStartedRequest) Descriptor deprecated added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentCacheTaskStartedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentCacheTaskStartedRequest) GetApplication added in v2.0.161

func (x *UploadPersistentCacheTaskStartedRequest) GetApplication() string

func (*UploadPersistentCacheTaskStartedRequest) GetContentLength added in v2.0.168

func (x *UploadPersistentCacheTaskStartedRequest) GetContentLength() uint64

func (*UploadPersistentCacheTaskStartedRequest) GetHostId added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) GetPeerId added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) GetPersistentReplicaCount added in v2.0.161

func (x *UploadPersistentCacheTaskStartedRequest) GetPersistentReplicaCount() uint64

func (*UploadPersistentCacheTaskStartedRequest) GetPieceCount added in v2.0.168

func (*UploadPersistentCacheTaskStartedRequest) GetPieceLength added in v2.0.161

func (x *UploadPersistentCacheTaskStartedRequest) GetPieceLength() uint64

func (*UploadPersistentCacheTaskStartedRequest) GetTag added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) GetTaskId added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) GetTtl added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) ProtoMessage added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) ProtoReflect added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) Reset added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) String added in v2.0.161

func (*UploadPersistentCacheTaskStartedRequest) Validate added in v2.0.161

Validate checks the field values on UploadPersistentCacheTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentCacheTaskStartedRequest) ValidateAll added in v2.0.161

ValidateAll checks the field values on UploadPersistentCacheTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskStartedRequestMultiError, or nil if none found.

type UploadPersistentCacheTaskStartedRequestMultiError added in v2.0.161

type UploadPersistentCacheTaskStartedRequestMultiError []error

UploadPersistentCacheTaskStartedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskStartedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentCacheTaskStartedRequestMultiError) AllErrors added in v2.0.161

AllErrors returns a list of validation violation errors.

func (UploadPersistentCacheTaskStartedRequestMultiError) Error added in v2.0.161

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentCacheTaskStartedRequestValidationError added in v2.0.161

type UploadPersistentCacheTaskStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentCacheTaskStartedRequestValidationError is the validation error returned by UploadPersistentCacheTaskStartedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentCacheTaskStartedRequestValidationError) Cause added in v2.0.161

Cause function returns cause value.

func (UploadPersistentCacheTaskStartedRequestValidationError) Error added in v2.0.161

Error satisfies the builtin error interface

func (UploadPersistentCacheTaskStartedRequestValidationError) ErrorName added in v2.0.161

ErrorName returns error name.

func (UploadPersistentCacheTaskStartedRequestValidationError) Field added in v2.0.161

Field function returns field value.

func (UploadPersistentCacheTaskStartedRequestValidationError) Key added in v2.0.161

Key function returns key value.

func (UploadPersistentCacheTaskStartedRequestValidationError) Reason added in v2.0.161

Reason function returns reason value.

type UploadPersistentTaskFailedRequest added in v2.1.86

type UploadPersistentTaskFailedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// The description of the upload failed.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentTaskFailedRequest represents upload persistent task failed request of UploadPersistentTaskFailed.

func (*UploadPersistentTaskFailedRequest) Descriptor deprecated added in v2.1.86

func (*UploadPersistentTaskFailedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentTaskFailedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentTaskFailedRequest) GetDescription added in v2.1.86

func (x *UploadPersistentTaskFailedRequest) GetDescription() string

func (*UploadPersistentTaskFailedRequest) GetHostId added in v2.1.86

func (*UploadPersistentTaskFailedRequest) GetPeerId added in v2.1.86

func (*UploadPersistentTaskFailedRequest) GetTaskId added in v2.1.86

func (*UploadPersistentTaskFailedRequest) ProtoMessage added in v2.1.86

func (*UploadPersistentTaskFailedRequest) ProtoMessage()

func (*UploadPersistentTaskFailedRequest) ProtoReflect added in v2.1.86

func (*UploadPersistentTaskFailedRequest) Reset added in v2.1.86

func (*UploadPersistentTaskFailedRequest) String added in v2.1.86

func (*UploadPersistentTaskFailedRequest) Validate added in v2.1.86

Validate checks the field values on UploadPersistentTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentTaskFailedRequest) ValidateAll added in v2.1.86

func (m *UploadPersistentTaskFailedRequest) ValidateAll() error

ValidateAll checks the field values on UploadPersistentTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskFailedRequestMultiError, or nil if none found.

type UploadPersistentTaskFailedRequestMultiError added in v2.1.86

type UploadPersistentTaskFailedRequestMultiError []error

UploadPersistentTaskFailedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskFailedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentTaskFailedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (UploadPersistentTaskFailedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentTaskFailedRequestValidationError added in v2.1.86

type UploadPersistentTaskFailedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentTaskFailedRequestValidationError is the validation error returned by UploadPersistentTaskFailedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentTaskFailedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (UploadPersistentTaskFailedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (UploadPersistentTaskFailedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (UploadPersistentTaskFailedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (UploadPersistentTaskFailedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (UploadPersistentTaskFailedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type UploadPersistentTaskFinishedRequest added in v2.1.86

type UploadPersistentTaskFinishedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentTaskFinishedRequest represents upload persistent task finished request of UploadPersistentTaskFinished.

func (*UploadPersistentTaskFinishedRequest) Descriptor deprecated added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentTaskFinishedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentTaskFinishedRequest) GetHostId added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) GetPeerId added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) GetTaskId added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) ProtoMessage added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) ProtoMessage()

func (*UploadPersistentTaskFinishedRequest) ProtoReflect added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) Reset added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) String added in v2.1.86

func (*UploadPersistentTaskFinishedRequest) Validate added in v2.1.86

Validate checks the field values on UploadPersistentTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentTaskFinishedRequest) ValidateAll added in v2.1.86

func (m *UploadPersistentTaskFinishedRequest) ValidateAll() error

ValidateAll checks the field values on UploadPersistentTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskFinishedRequestMultiError, or nil if none found.

type UploadPersistentTaskFinishedRequestMultiError added in v2.1.86

type UploadPersistentTaskFinishedRequestMultiError []error

UploadPersistentTaskFinishedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskFinishedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentTaskFinishedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (UploadPersistentTaskFinishedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentTaskFinishedRequestValidationError added in v2.1.86

type UploadPersistentTaskFinishedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentTaskFinishedRequestValidationError is the validation error returned by UploadPersistentTaskFinishedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentTaskFinishedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (UploadPersistentTaskFinishedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (UploadPersistentTaskFinishedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (UploadPersistentTaskFinishedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (UploadPersistentTaskFinishedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (UploadPersistentTaskFinishedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

type UploadPersistentTaskStartedRequest added in v2.1.86

type UploadPersistentTaskStartedRequest struct {

	// Host id.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// Task id.
	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// Peer id.
	PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// This is the key of the object storage where the persistent task will be stored,
	// for example: `file.txt` or `dir/file.txt`. The combination of object_storage_key,
	// object_storage.endpoint and object_storage.region must be unique, because
	// the persistent task cannot be overwritten once it is uploaded.
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// Object storage protocol information.
	ObjectStorage *v2.ObjectStorage `protobuf:"bytes,5,opt,name=object_storage,json=objectStorage,proto3" json:"object_storage,omitempty"`
	// Replica count of the persistent task.
	PersistentReplicaCount uint64 `` /* 130-byte string literal not displayed */
	// Task content length.
	ContentLength uint64 `protobuf:"varint,7,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
	// Task piece count.
	PieceCount uint32 `protobuf:"varint,8,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
	// TTL of the persistent task.
	Ttl *durationpb.Duration `protobuf:"bytes,9,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

UploadPersistentTaskStartedRequest represents upload persistent task started request of UploadPersistentTaskStarted.

func (*UploadPersistentTaskStartedRequest) Descriptor deprecated added in v2.1.86

func (*UploadPersistentTaskStartedRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadPersistentTaskStartedRequest.ProtoReflect.Descriptor instead.

func (*UploadPersistentTaskStartedRequest) GetContentLength added in v2.1.86

func (x *UploadPersistentTaskStartedRequest) GetContentLength() uint64

func (*UploadPersistentTaskStartedRequest) GetHostId added in v2.1.86

func (*UploadPersistentTaskStartedRequest) GetObjectStorage added in v2.1.86

func (x *UploadPersistentTaskStartedRequest) GetObjectStorage() *v2.ObjectStorage

func (*UploadPersistentTaskStartedRequest) GetPeerId added in v2.1.86

func (*UploadPersistentTaskStartedRequest) GetPersistentReplicaCount added in v2.1.86

func (x *UploadPersistentTaskStartedRequest) GetPersistentReplicaCount() uint64

func (*UploadPersistentTaskStartedRequest) GetPieceCount added in v2.1.86

func (x *UploadPersistentTaskStartedRequest) GetPieceCount() uint32

func (*UploadPersistentTaskStartedRequest) GetTaskId added in v2.1.86

func (*UploadPersistentTaskStartedRequest) GetTtl added in v2.1.86

func (*UploadPersistentTaskStartedRequest) GetUrl added in v2.2.1

func (*UploadPersistentTaskStartedRequest) ProtoMessage added in v2.1.86

func (*UploadPersistentTaskStartedRequest) ProtoMessage()

func (*UploadPersistentTaskStartedRequest) ProtoReflect added in v2.1.86

func (*UploadPersistentTaskStartedRequest) Reset added in v2.1.86

func (*UploadPersistentTaskStartedRequest) String added in v2.1.86

func (*UploadPersistentTaskStartedRequest) Validate added in v2.1.86

Validate checks the field values on UploadPersistentTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadPersistentTaskStartedRequest) ValidateAll added in v2.1.86

func (m *UploadPersistentTaskStartedRequest) ValidateAll() error

ValidateAll checks the field values on UploadPersistentTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskStartedRequestMultiError, or nil if none found.

type UploadPersistentTaskStartedRequestMultiError added in v2.1.86

type UploadPersistentTaskStartedRequestMultiError []error

UploadPersistentTaskStartedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskStartedRequest.ValidateAll() if the designated constraints aren't met.

func (UploadPersistentTaskStartedRequestMultiError) AllErrors added in v2.1.86

AllErrors returns a list of validation violation errors.

func (UploadPersistentTaskStartedRequestMultiError) Error added in v2.1.86

Error returns a concatenation of all the error messages it wraps.

type UploadPersistentTaskStartedRequestValidationError added in v2.1.86

type UploadPersistentTaskStartedRequestValidationError struct {
	// contains filtered or unexported fields
}

UploadPersistentTaskStartedRequestValidationError is the validation error returned by UploadPersistentTaskStartedRequest.Validate if the designated constraints aren't met.

func (UploadPersistentTaskStartedRequestValidationError) Cause added in v2.1.86

Cause function returns cause value.

func (UploadPersistentTaskStartedRequestValidationError) Error added in v2.1.86

Error satisfies the builtin error interface

func (UploadPersistentTaskStartedRequestValidationError) ErrorName added in v2.1.86

ErrorName returns error name.

func (UploadPersistentTaskStartedRequestValidationError) Field added in v2.1.86

Field function returns field value.

func (UploadPersistentTaskStartedRequestValidationError) Key added in v2.1.86

Key function returns key value.

func (UploadPersistentTaskStartedRequestValidationError) Reason added in v2.1.86

Reason function returns reason value.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL