idm

package
v0.0.0-...-60bad89 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package idm is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	IdmService_CreateAccount_FullMethodName       = "/idm.IdmService/CreateAccount"
	IdmService_CreateSession_FullMethodName       = "/idm.IdmService/CreateSession"
	IdmService_DeleteSession_FullMethodName       = "/idm.IdmService/DeleteSession"
	IdmService_CreateDownloadTask_FullMethodName  = "/idm.IdmService/CreateDownloadTask"
	IdmService_GetDownloadTaskList_FullMethodName = "/idm.IdmService/GetDownloadTaskList"
	IdmService_UpdateDownloadTask_FullMethodName  = "/idm.IdmService/UpdateDownloadTask"
	IdmService_DeleteDownloadTask_FullMethodName  = "/idm.IdmService/DeleteDownloadTask"
	IdmService_GetDownloadTaskFile_FullMethodName = "/idm.IdmService/GetDownloadTaskFile"
)

Variables

View Source
var (
	DownloadType_name = map[int32]string{
		0: "UndefinedType",
		1: "HTTP",
	}
	DownloadType_value = map[string]int32{
		"UndefinedType": 0,
		"HTTP":          1,
	}
)

Enum value maps for DownloadType.

View Source
var (
	DownloadStatus_name = map[int32]string{
		0: "UndefinedStatus",
		1: "Pending",
		2: "Downloading",
		3: "Failed",
		4: "Success",
	}
	DownloadStatus_value = map[string]int32{
		"UndefinedStatus": 0,
		"Pending":         1,
		"Downloading":     2,
		"Failed":          3,
		"Success":         4,
	}
)

Enum value maps for DownloadStatus.

View Source
var IdmService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "idm.IdmService",
	HandlerType: (*IdmServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAccount",
			Handler:    _IdmService_CreateAccount_Handler,
		},
		{
			MethodName: "CreateSession",
			Handler:    _IdmService_CreateSession_Handler,
		},
		{
			MethodName: "DeleteSession",
			Handler:    _IdmService_DeleteSession_Handler,
		},
		{
			MethodName: "CreateDownloadTask",
			Handler:    _IdmService_CreateDownloadTask_Handler,
		},
		{
			MethodName: "GetDownloadTaskList",
			Handler:    _IdmService_GetDownloadTaskList_Handler,
		},
		{
			MethodName: "UpdateDownloadTask",
			Handler:    _IdmService_UpdateDownloadTask_Handler,
		},
		{
			MethodName: "DeleteDownloadTask",
			Handler:    _IdmService_DeleteDownloadTask_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetDownloadTaskFile",
			Handler:       _IdmService_GetDownloadTaskFile_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "idm.proto",
}

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

Functions

func RegisterIdmServiceHandler

func RegisterIdmServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIdmServiceHandler registers the http handlers for service IdmService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIdmServiceHandlerClient

func RegisterIdmServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdmServiceClient) error

RegisterIdmServiceHandlerClient registers the http handlers for service IdmService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdmServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdmServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IdmServiceClient" to call the correct interceptors.

func RegisterIdmServiceHandlerFromEndpoint

func RegisterIdmServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIdmServiceHandlerFromEndpoint is same as RegisterIdmServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIdmServiceHandlerServer

func RegisterIdmServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdmServiceServer) error

RegisterIdmServiceHandlerServer registers the http handlers for service IdmService to "mux". UnaryRPC :call IdmServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIdmServiceHandlerFromEndpoint instead.

func RegisterIdmServiceServer

func RegisterIdmServiceServer(s grpc.ServiceRegistrar, srv IdmServiceServer)

Types

type Account

type Account struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountName

func (x *Account) GetAccountName() string

func (*Account) GetId

func (x *Account) GetId() uint64

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

func (*Account) Validate

func (m *Account) Validate() error

Validate checks the field values on Account 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 (*Account) ValidateAll

func (m *Account) ValidateAll() error

ValidateAll checks the field values on Account 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 AccountMultiError, or nil if none found.

type AccountMultiError

type AccountMultiError []error

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

func (AccountMultiError) AllErrors

func (m AccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccountMultiError) Error

func (m AccountMultiError) Error() string

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

type AccountValidationError

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

AccountValidationError is the validation error returned by Account.Validate if the designated constraints aren't met.

func (AccountValidationError) Cause

func (e AccountValidationError) Cause() error

Cause function returns cause value.

func (AccountValidationError) Error

func (e AccountValidationError) Error() string

Error satisfies the builtin error interface

func (AccountValidationError) ErrorName

func (e AccountValidationError) ErrorName() string

ErrorName returns error name.

func (AccountValidationError) Field

func (e AccountValidationError) Field() string

Field function returns field value.

func (AccountValidationError) Key

func (e AccountValidationError) Key() bool

Key function returns key value.

func (AccountValidationError) Reason

func (e AccountValidationError) Reason() string

Reason function returns reason value.

type CreateAccountRequest

type CreateAccountRequest struct {
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAccountName

func (x *CreateAccountRequest) GetAccountName() string

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

func (*CreateAccountRequest) Validate

func (m *CreateAccountRequest) Validate() error

Validate checks the field values on CreateAccountRequest 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 (*CreateAccountRequest) ValidateAll

func (m *CreateAccountRequest) ValidateAll() error

ValidateAll checks the field values on CreateAccountRequest 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 CreateAccountRequestMultiError, or nil if none found.

type CreateAccountRequestMultiError

type CreateAccountRequestMultiError []error

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

func (CreateAccountRequestMultiError) AllErrors

func (m CreateAccountRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAccountRequestMultiError) Error

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

type CreateAccountRequestValidationError

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

CreateAccountRequestValidationError is the validation error returned by CreateAccountRequest.Validate if the designated constraints aren't met.

func (CreateAccountRequestValidationError) Cause

Cause function returns cause value.

func (CreateAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAccountRequestValidationError) Field

Field function returns field value.

func (CreateAccountRequestValidationError) Key

Key function returns key value.

func (CreateAccountRequestValidationError) Reason

Reason function returns reason value.

type CreateAccountResponse

type CreateAccountResponse struct {
	AccountId uint64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccountId

func (x *CreateAccountResponse) GetAccountId() uint64

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

func (*CreateAccountResponse) Validate

func (m *CreateAccountResponse) Validate() error

Validate checks the field values on CreateAccountResponse 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 (*CreateAccountResponse) ValidateAll

func (m *CreateAccountResponse) ValidateAll() error

ValidateAll checks the field values on CreateAccountResponse 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 CreateAccountResponseMultiError, or nil if none found.

type CreateAccountResponseMultiError

type CreateAccountResponseMultiError []error

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

func (CreateAccountResponseMultiError) AllErrors

func (m CreateAccountResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAccountResponseMultiError) Error

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

type CreateAccountResponseValidationError

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

CreateAccountResponseValidationError is the validation error returned by CreateAccountResponse.Validate if the designated constraints aren't met.

func (CreateAccountResponseValidationError) Cause

Cause function returns cause value.

func (CreateAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateAccountResponseValidationError) Field

Field function returns field value.

func (CreateAccountResponseValidationError) Key

Key function returns key value.

func (CreateAccountResponseValidationError) Reason

Reason function returns reason value.

type CreateDownloadTaskRequest

type CreateDownloadTaskRequest struct {
	DownloadType DownloadType `protobuf:"varint,1,opt,name=download_type,json=downloadType,proto3,enum=idm.DownloadType" json:"download_type,omitempty"`
	Url          string       `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDownloadTaskRequest) Descriptor deprecated

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

Deprecated: Use CreateDownloadTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateDownloadTaskRequest) GetDownloadType

func (x *CreateDownloadTaskRequest) GetDownloadType() DownloadType

func (*CreateDownloadTaskRequest) GetUrl

func (x *CreateDownloadTaskRequest) GetUrl() string

func (*CreateDownloadTaskRequest) ProtoMessage

func (*CreateDownloadTaskRequest) ProtoMessage()

func (*CreateDownloadTaskRequest) ProtoReflect

func (*CreateDownloadTaskRequest) Reset

func (x *CreateDownloadTaskRequest) Reset()

func (*CreateDownloadTaskRequest) String

func (x *CreateDownloadTaskRequest) String() string

func (*CreateDownloadTaskRequest) Validate

func (m *CreateDownloadTaskRequest) Validate() error

Validate checks the field values on CreateDownloadTaskRequest 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 (*CreateDownloadTaskRequest) ValidateAll

func (m *CreateDownloadTaskRequest) ValidateAll() error

ValidateAll checks the field values on CreateDownloadTaskRequest 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 CreateDownloadTaskRequestMultiError, or nil if none found.

type CreateDownloadTaskRequestMultiError

type CreateDownloadTaskRequestMultiError []error

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

func (CreateDownloadTaskRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateDownloadTaskRequestMultiError) Error

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

type CreateDownloadTaskRequestValidationError

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

CreateDownloadTaskRequestValidationError is the validation error returned by CreateDownloadTaskRequest.Validate if the designated constraints aren't met.

func (CreateDownloadTaskRequestValidationError) Cause

Cause function returns cause value.

func (CreateDownloadTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDownloadTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDownloadTaskRequestValidationError) Field

Field function returns field value.

func (CreateDownloadTaskRequestValidationError) Key

Key function returns key value.

func (CreateDownloadTaskRequestValidationError) Reason

Reason function returns reason value.

type CreateDownloadTaskResponse

type CreateDownloadTaskResponse struct {
	DownloadTask *DownloadTask `protobuf:"bytes,1,opt,name=download_task,json=downloadTask,proto3" json:"download_task,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDownloadTaskResponse) Descriptor deprecated

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

Deprecated: Use CreateDownloadTaskResponse.ProtoReflect.Descriptor instead.

func (*CreateDownloadTaskResponse) GetDownloadTask

func (x *CreateDownloadTaskResponse) GetDownloadTask() *DownloadTask

func (*CreateDownloadTaskResponse) ProtoMessage

func (*CreateDownloadTaskResponse) ProtoMessage()

func (*CreateDownloadTaskResponse) ProtoReflect

func (*CreateDownloadTaskResponse) Reset

func (x *CreateDownloadTaskResponse) Reset()

func (*CreateDownloadTaskResponse) String

func (x *CreateDownloadTaskResponse) String() string

func (*CreateDownloadTaskResponse) Validate

func (m *CreateDownloadTaskResponse) Validate() error

Validate checks the field values on CreateDownloadTaskResponse 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 (*CreateDownloadTaskResponse) ValidateAll

func (m *CreateDownloadTaskResponse) ValidateAll() error

ValidateAll checks the field values on CreateDownloadTaskResponse 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 CreateDownloadTaskResponseMultiError, or nil if none found.

type CreateDownloadTaskResponseMultiError

type CreateDownloadTaskResponseMultiError []error

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

func (CreateDownloadTaskResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateDownloadTaskResponseMultiError) Error

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

type CreateDownloadTaskResponseValidationError

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

CreateDownloadTaskResponseValidationError is the validation error returned by CreateDownloadTaskResponse.Validate if the designated constraints aren't met.

func (CreateDownloadTaskResponseValidationError) Cause

Cause function returns cause value.

func (CreateDownloadTaskResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateDownloadTaskResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateDownloadTaskResponseValidationError) Field

Field function returns field value.

func (CreateDownloadTaskResponseValidationError) Key

Key function returns key value.

func (CreateDownloadTaskResponseValidationError) Reason

Reason function returns reason value.

type CreateSessionRequest

type CreateSessionRequest struct {
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionRequest) Descriptor deprecated

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

Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionRequest) GetAccountName

func (x *CreateSessionRequest) GetAccountName() string

func (*CreateSessionRequest) GetPassword

func (x *CreateSessionRequest) GetPassword() string

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) ProtoReflect

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

func (*CreateSessionRequest) Reset

func (x *CreateSessionRequest) Reset()

func (*CreateSessionRequest) String

func (x *CreateSessionRequest) String() string

func (*CreateSessionRequest) Validate

func (m *CreateSessionRequest) Validate() error

Validate checks the field values on CreateSessionRequest 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 (*CreateSessionRequest) ValidateAll

func (m *CreateSessionRequest) ValidateAll() error

ValidateAll checks the field values on CreateSessionRequest 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 CreateSessionRequestMultiError, or nil if none found.

type CreateSessionRequestMultiError

type CreateSessionRequestMultiError []error

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

func (CreateSessionRequestMultiError) AllErrors

func (m CreateSessionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSessionRequestMultiError) Error

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

type CreateSessionRequestValidationError

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

CreateSessionRequestValidationError is the validation error returned by CreateSessionRequest.Validate if the designated constraints aren't met.

func (CreateSessionRequestValidationError) Cause

Cause function returns cause value.

func (CreateSessionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSessionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSessionRequestValidationError) Field

Field function returns field value.

func (CreateSessionRequestValidationError) Key

Key function returns key value.

func (CreateSessionRequestValidationError) Reason

Reason function returns reason value.

type CreateSessionResponse

type CreateSessionResponse struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated

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

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetAccount

func (x *CreateSessionResponse) GetAccount() *Account

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

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

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

func (*CreateSessionResponse) Validate

func (m *CreateSessionResponse) Validate() error

Validate checks the field values on CreateSessionResponse 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 (*CreateSessionResponse) ValidateAll

func (m *CreateSessionResponse) ValidateAll() error

ValidateAll checks the field values on CreateSessionResponse 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 CreateSessionResponseMultiError, or nil if none found.

type CreateSessionResponseMultiError

type CreateSessionResponseMultiError []error

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

func (CreateSessionResponseMultiError) AllErrors

func (m CreateSessionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSessionResponseMultiError) Error

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

type CreateSessionResponseValidationError

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

CreateSessionResponseValidationError is the validation error returned by CreateSessionResponse.Validate if the designated constraints aren't met.

func (CreateSessionResponseValidationError) Cause

Cause function returns cause value.

func (CreateSessionResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateSessionResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateSessionResponseValidationError) Field

Field function returns field value.

func (CreateSessionResponseValidationError) Key

Key function returns key value.

func (CreateSessionResponseValidationError) Reason

Reason function returns reason value.

type DeleteDownloadTaskRequest

type DeleteDownloadTaskRequest struct {
	DownloadTaskId uint64 `protobuf:"varint,1,opt,name=download_task_id,json=downloadTaskId,proto3" json:"download_task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDownloadTaskRequest) Descriptor deprecated

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

Deprecated: Use DeleteDownloadTaskRequest.ProtoReflect.Descriptor instead.

func (*DeleteDownloadTaskRequest) GetDownloadTaskId

func (x *DeleteDownloadTaskRequest) GetDownloadTaskId() uint64

func (*DeleteDownloadTaskRequest) ProtoMessage

func (*DeleteDownloadTaskRequest) ProtoMessage()

func (*DeleteDownloadTaskRequest) ProtoReflect

func (*DeleteDownloadTaskRequest) Reset

func (x *DeleteDownloadTaskRequest) Reset()

func (*DeleteDownloadTaskRequest) String

func (x *DeleteDownloadTaskRequest) String() string

func (*DeleteDownloadTaskRequest) Validate

func (m *DeleteDownloadTaskRequest) Validate() error

Validate checks the field values on DeleteDownloadTaskRequest 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 (*DeleteDownloadTaskRequest) ValidateAll

func (m *DeleteDownloadTaskRequest) ValidateAll() error

ValidateAll checks the field values on DeleteDownloadTaskRequest 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 DeleteDownloadTaskRequestMultiError, or nil if none found.

type DeleteDownloadTaskRequestMultiError

type DeleteDownloadTaskRequestMultiError []error

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

func (DeleteDownloadTaskRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteDownloadTaskRequestMultiError) Error

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

type DeleteDownloadTaskRequestValidationError

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

DeleteDownloadTaskRequestValidationError is the validation error returned by DeleteDownloadTaskRequest.Validate if the designated constraints aren't met.

func (DeleteDownloadTaskRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDownloadTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDownloadTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDownloadTaskRequestValidationError) Field

Field function returns field value.

func (DeleteDownloadTaskRequestValidationError) Key

Key function returns key value.

func (DeleteDownloadTaskRequestValidationError) Reason

Reason function returns reason value.

type DeleteDownloadTaskResponse

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

func (*DeleteDownloadTaskResponse) Descriptor deprecated

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

Deprecated: Use DeleteDownloadTaskResponse.ProtoReflect.Descriptor instead.

func (*DeleteDownloadTaskResponse) ProtoMessage

func (*DeleteDownloadTaskResponse) ProtoMessage()

func (*DeleteDownloadTaskResponse) ProtoReflect

func (*DeleteDownloadTaskResponse) Reset

func (x *DeleteDownloadTaskResponse) Reset()

func (*DeleteDownloadTaskResponse) String

func (x *DeleteDownloadTaskResponse) String() string

func (*DeleteDownloadTaskResponse) Validate

func (m *DeleteDownloadTaskResponse) Validate() error

Validate checks the field values on DeleteDownloadTaskResponse 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 (*DeleteDownloadTaskResponse) ValidateAll

func (m *DeleteDownloadTaskResponse) ValidateAll() error

ValidateAll checks the field values on DeleteDownloadTaskResponse 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 DeleteDownloadTaskResponseMultiError, or nil if none found.

type DeleteDownloadTaskResponseMultiError

type DeleteDownloadTaskResponseMultiError []error

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

func (DeleteDownloadTaskResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteDownloadTaskResponseMultiError) Error

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

type DeleteDownloadTaskResponseValidationError

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

DeleteDownloadTaskResponseValidationError is the validation error returned by DeleteDownloadTaskResponse.Validate if the designated constraints aren't met.

func (DeleteDownloadTaskResponseValidationError) Cause

Cause function returns cause value.

func (DeleteDownloadTaskResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteDownloadTaskResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteDownloadTaskResponseValidationError) Field

Field function returns field value.

func (DeleteDownloadTaskResponseValidationError) Key

Key function returns key value.

func (DeleteDownloadTaskResponseValidationError) Reason

Reason function returns reason value.

type DeleteSessionRequest

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

func (*DeleteSessionRequest) Descriptor deprecated

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

Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionRequest) ProtoMessage

func (*DeleteSessionRequest) ProtoMessage()

func (*DeleteSessionRequest) ProtoReflect

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

func (*DeleteSessionRequest) Reset

func (x *DeleteSessionRequest) Reset()

func (*DeleteSessionRequest) String

func (x *DeleteSessionRequest) String() string

func (*DeleteSessionRequest) Validate

func (m *DeleteSessionRequest) Validate() error

Validate checks the field values on DeleteSessionRequest 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 (*DeleteSessionRequest) ValidateAll

func (m *DeleteSessionRequest) ValidateAll() error

ValidateAll checks the field values on DeleteSessionRequest 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 DeleteSessionRequestMultiError, or nil if none found.

type DeleteSessionRequestMultiError

type DeleteSessionRequestMultiError []error

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

func (DeleteSessionRequestMultiError) AllErrors

func (m DeleteSessionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSessionRequestMultiError) Error

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

type DeleteSessionRequestValidationError

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

DeleteSessionRequestValidationError is the validation error returned by DeleteSessionRequest.Validate if the designated constraints aren't met.

func (DeleteSessionRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSessionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSessionRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSessionRequestValidationError) Field

Field function returns field value.

func (DeleteSessionRequestValidationError) Key

Key function returns key value.

func (DeleteSessionRequestValidationError) Reason

Reason function returns reason value.

type DeleteSessionResponse

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

func (*DeleteSessionResponse) Descriptor deprecated

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

Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.

func (*DeleteSessionResponse) ProtoMessage

func (*DeleteSessionResponse) ProtoMessage()

func (*DeleteSessionResponse) ProtoReflect

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

func (*DeleteSessionResponse) Reset

func (x *DeleteSessionResponse) Reset()

func (*DeleteSessionResponse) String

func (x *DeleteSessionResponse) String() string

func (*DeleteSessionResponse) Validate

func (m *DeleteSessionResponse) Validate() error

Validate checks the field values on DeleteSessionResponse 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 (*DeleteSessionResponse) ValidateAll

func (m *DeleteSessionResponse) ValidateAll() error

ValidateAll checks the field values on DeleteSessionResponse 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 DeleteSessionResponseMultiError, or nil if none found.

type DeleteSessionResponseMultiError

type DeleteSessionResponseMultiError []error

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

func (DeleteSessionResponseMultiError) AllErrors

func (m DeleteSessionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSessionResponseMultiError) Error

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

type DeleteSessionResponseValidationError

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

DeleteSessionResponseValidationError is the validation error returned by DeleteSessionResponse.Validate if the designated constraints aren't met.

func (DeleteSessionResponseValidationError) Cause

Cause function returns cause value.

func (DeleteSessionResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSessionResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSessionResponseValidationError) Field

Field function returns field value.

func (DeleteSessionResponseValidationError) Key

Key function returns key value.

func (DeleteSessionResponseValidationError) Reason

Reason function returns reason value.

type DownloadStatus

type DownloadStatus int32
const (
	DownloadStatus_UndefinedStatus DownloadStatus = 0
	DownloadStatus_Pending         DownloadStatus = 1
	DownloadStatus_Downloading     DownloadStatus = 2
	DownloadStatus_Failed          DownloadStatus = 3
	DownloadStatus_Success         DownloadStatus = 4
)

func (DownloadStatus) Descriptor

func (DownloadStatus) Enum

func (x DownloadStatus) Enum() *DownloadStatus

func (DownloadStatus) EnumDescriptor deprecated

func (DownloadStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use DownloadStatus.Descriptor instead.

func (DownloadStatus) Number

func (DownloadStatus) String

func (x DownloadStatus) String() string

func (DownloadStatus) Type

type DownloadTask

type DownloadTask struct {
	Id             uint64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	OfAccount      *Account       `protobuf:"bytes,2,opt,name=of_account,json=ofAccount,proto3" json:"of_account,omitempty"`
	DownloadType   DownloadType   `protobuf:"varint,3,opt,name=download_type,json=downloadType,proto3,enum=idm.DownloadType" json:"download_type,omitempty"`
	Url            string         `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	DownloadStatus DownloadStatus `` /* 128-byte string literal not displayed */
	Metadata       string         `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadTask) Descriptor deprecated

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

Deprecated: Use DownloadTask.ProtoReflect.Descriptor instead.

func (*DownloadTask) GetDownloadStatus

func (x *DownloadTask) GetDownloadStatus() DownloadStatus

func (*DownloadTask) GetDownloadType

func (x *DownloadTask) GetDownloadType() DownloadType

func (*DownloadTask) GetId

func (x *DownloadTask) GetId() uint64

func (*DownloadTask) GetMetadata

func (x *DownloadTask) GetMetadata() string

func (*DownloadTask) GetOfAccount

func (x *DownloadTask) GetOfAccount() *Account

func (*DownloadTask) GetUrl

func (x *DownloadTask) GetUrl() string

func (*DownloadTask) ProtoMessage

func (*DownloadTask) ProtoMessage()

func (*DownloadTask) ProtoReflect

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

func (*DownloadTask) Reset

func (x *DownloadTask) Reset()

func (*DownloadTask) String

func (x *DownloadTask) String() string

func (*DownloadTask) Validate

func (m *DownloadTask) Validate() error

Validate checks the field values on DownloadTask 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 (*DownloadTask) ValidateAll

func (m *DownloadTask) ValidateAll() error

ValidateAll checks the field values on DownloadTask 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 DownloadTaskMultiError, or nil if none found.

type DownloadTaskMultiError

type DownloadTaskMultiError []error

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

func (DownloadTaskMultiError) AllErrors

func (m DownloadTaskMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DownloadTaskMultiError) Error

func (m DownloadTaskMultiError) Error() string

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

type DownloadTaskValidationError

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

DownloadTaskValidationError is the validation error returned by DownloadTask.Validate if the designated constraints aren't met.

func (DownloadTaskValidationError) Cause

Cause function returns cause value.

func (DownloadTaskValidationError) Error

Error satisfies the builtin error interface

func (DownloadTaskValidationError) ErrorName

func (e DownloadTaskValidationError) ErrorName() string

ErrorName returns error name.

func (DownloadTaskValidationError) Field

Field function returns field value.

func (DownloadTaskValidationError) Key

Key function returns key value.

func (DownloadTaskValidationError) Reason

Reason function returns reason value.

type DownloadType

type DownloadType int32
const (
	DownloadType_UndefinedType DownloadType = 0
	DownloadType_HTTP          DownloadType = 1
)

func (DownloadType) Descriptor

func (DownloadType) Enum

func (x DownloadType) Enum() *DownloadType

func (DownloadType) EnumDescriptor deprecated

func (DownloadType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DownloadType.Descriptor instead.

func (DownloadType) Number

func (DownloadType) String

func (x DownloadType) String() string

func (DownloadType) Type

type GetDownloadTaskFileRequest

type GetDownloadTaskFileRequest struct {
	DownloadTaskId uint64 `protobuf:"varint,1,opt,name=download_task_id,json=downloadTaskId,proto3" json:"download_task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDownloadTaskFileRequest) Descriptor deprecated

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

Deprecated: Use GetDownloadTaskFileRequest.ProtoReflect.Descriptor instead.

func (*GetDownloadTaskFileRequest) GetDownloadTaskId

func (x *GetDownloadTaskFileRequest) GetDownloadTaskId() uint64

func (*GetDownloadTaskFileRequest) ProtoMessage

func (*GetDownloadTaskFileRequest) ProtoMessage()

func (*GetDownloadTaskFileRequest) ProtoReflect

func (*GetDownloadTaskFileRequest) Reset

func (x *GetDownloadTaskFileRequest) Reset()

func (*GetDownloadTaskFileRequest) String

func (x *GetDownloadTaskFileRequest) String() string

func (*GetDownloadTaskFileRequest) Validate

func (m *GetDownloadTaskFileRequest) Validate() error

Validate checks the field values on GetDownloadTaskFileRequest 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 (*GetDownloadTaskFileRequest) ValidateAll

func (m *GetDownloadTaskFileRequest) ValidateAll() error

ValidateAll checks the field values on GetDownloadTaskFileRequest 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 GetDownloadTaskFileRequestMultiError, or nil if none found.

type GetDownloadTaskFileRequestMultiError

type GetDownloadTaskFileRequestMultiError []error

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

func (GetDownloadTaskFileRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDownloadTaskFileRequestMultiError) Error

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

type GetDownloadTaskFileRequestValidationError

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

GetDownloadTaskFileRequestValidationError is the validation error returned by GetDownloadTaskFileRequest.Validate if the designated constraints aren't met.

func (GetDownloadTaskFileRequestValidationError) Cause

Cause function returns cause value.

func (GetDownloadTaskFileRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDownloadTaskFileRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDownloadTaskFileRequestValidationError) Field

Field function returns field value.

func (GetDownloadTaskFileRequestValidationError) Key

Key function returns key value.

func (GetDownloadTaskFileRequestValidationError) Reason

Reason function returns reason value.

type GetDownloadTaskFileResponse

type GetDownloadTaskFileResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDownloadTaskFileResponse) Descriptor deprecated

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

Deprecated: Use GetDownloadTaskFileResponse.ProtoReflect.Descriptor instead.

func (*GetDownloadTaskFileResponse) GetData

func (x *GetDownloadTaskFileResponse) GetData() []byte

func (*GetDownloadTaskFileResponse) ProtoMessage

func (*GetDownloadTaskFileResponse) ProtoMessage()

func (*GetDownloadTaskFileResponse) ProtoReflect

func (*GetDownloadTaskFileResponse) Reset

func (x *GetDownloadTaskFileResponse) Reset()

func (*GetDownloadTaskFileResponse) String

func (x *GetDownloadTaskFileResponse) String() string

func (*GetDownloadTaskFileResponse) Validate

func (m *GetDownloadTaskFileResponse) Validate() error

Validate checks the field values on GetDownloadTaskFileResponse 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 (*GetDownloadTaskFileResponse) ValidateAll

func (m *GetDownloadTaskFileResponse) ValidateAll() error

ValidateAll checks the field values on GetDownloadTaskFileResponse 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 GetDownloadTaskFileResponseMultiError, or nil if none found.

type GetDownloadTaskFileResponseMultiError

type GetDownloadTaskFileResponseMultiError []error

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

func (GetDownloadTaskFileResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDownloadTaskFileResponseMultiError) Error

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

type GetDownloadTaskFileResponseValidationError

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

GetDownloadTaskFileResponseValidationError is the validation error returned by GetDownloadTaskFileResponse.Validate if the designated constraints aren't met.

func (GetDownloadTaskFileResponseValidationError) Cause

Cause function returns cause value.

func (GetDownloadTaskFileResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDownloadTaskFileResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDownloadTaskFileResponseValidationError) Field

Field function returns field value.

func (GetDownloadTaskFileResponseValidationError) Key

Key function returns key value.

func (GetDownloadTaskFileResponseValidationError) Reason

Reason function returns reason value.

type GetDownloadTaskListRequest

type GetDownloadTaskListRequest struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDownloadTaskListRequest) Descriptor deprecated

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

Deprecated: Use GetDownloadTaskListRequest.ProtoReflect.Descriptor instead.

func (*GetDownloadTaskListRequest) GetLimit

func (x *GetDownloadTaskListRequest) GetLimit() uint64

func (*GetDownloadTaskListRequest) GetOffset

func (x *GetDownloadTaskListRequest) GetOffset() uint64

func (*GetDownloadTaskListRequest) ProtoMessage

func (*GetDownloadTaskListRequest) ProtoMessage()

func (*GetDownloadTaskListRequest) ProtoReflect

func (*GetDownloadTaskListRequest) Reset

func (x *GetDownloadTaskListRequest) Reset()

func (*GetDownloadTaskListRequest) String

func (x *GetDownloadTaskListRequest) String() string

func (*GetDownloadTaskListRequest) Validate

func (m *GetDownloadTaskListRequest) Validate() error

Validate checks the field values on GetDownloadTaskListRequest 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 (*GetDownloadTaskListRequest) ValidateAll

func (m *GetDownloadTaskListRequest) ValidateAll() error

ValidateAll checks the field values on GetDownloadTaskListRequest 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 GetDownloadTaskListRequestMultiError, or nil if none found.

type GetDownloadTaskListRequestMultiError

type GetDownloadTaskListRequestMultiError []error

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

func (GetDownloadTaskListRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDownloadTaskListRequestMultiError) Error

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

type GetDownloadTaskListRequestValidationError

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

GetDownloadTaskListRequestValidationError is the validation error returned by GetDownloadTaskListRequest.Validate if the designated constraints aren't met.

func (GetDownloadTaskListRequestValidationError) Cause

Cause function returns cause value.

func (GetDownloadTaskListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDownloadTaskListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDownloadTaskListRequestValidationError) Field

Field function returns field value.

func (GetDownloadTaskListRequestValidationError) Key

Key function returns key value.

func (GetDownloadTaskListRequestValidationError) Reason

Reason function returns reason value.

type GetDownloadTaskListResponse

type GetDownloadTaskListResponse struct {
	DownloadTaskList       []*DownloadTask `protobuf:"bytes,1,rep,name=download_task_list,json=downloadTaskList,proto3" json:"download_task_list,omitempty"`
	TotalDownloadTaskCount uint64          `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetDownloadTaskListResponse) Descriptor deprecated

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

Deprecated: Use GetDownloadTaskListResponse.ProtoReflect.Descriptor instead.

func (*GetDownloadTaskListResponse) GetDownloadTaskList

func (x *GetDownloadTaskListResponse) GetDownloadTaskList() []*DownloadTask

func (*GetDownloadTaskListResponse) GetTotalDownloadTaskCount

func (x *GetDownloadTaskListResponse) GetTotalDownloadTaskCount() uint64

func (*GetDownloadTaskListResponse) ProtoMessage

func (*GetDownloadTaskListResponse) ProtoMessage()

func (*GetDownloadTaskListResponse) ProtoReflect

func (*GetDownloadTaskListResponse) Reset

func (x *GetDownloadTaskListResponse) Reset()

func (*GetDownloadTaskListResponse) String

func (x *GetDownloadTaskListResponse) String() string

func (*GetDownloadTaskListResponse) Validate

func (m *GetDownloadTaskListResponse) Validate() error

Validate checks the field values on GetDownloadTaskListResponse 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 (*GetDownloadTaskListResponse) ValidateAll

func (m *GetDownloadTaskListResponse) ValidateAll() error

ValidateAll checks the field values on GetDownloadTaskListResponse 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 GetDownloadTaskListResponseMultiError, or nil if none found.

type GetDownloadTaskListResponseMultiError

type GetDownloadTaskListResponseMultiError []error

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

func (GetDownloadTaskListResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDownloadTaskListResponseMultiError) Error

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

type GetDownloadTaskListResponseValidationError

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

GetDownloadTaskListResponseValidationError is the validation error returned by GetDownloadTaskListResponse.Validate if the designated constraints aren't met.

func (GetDownloadTaskListResponseValidationError) Cause

Cause function returns cause value.

func (GetDownloadTaskListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetDownloadTaskListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetDownloadTaskListResponseValidationError) Field

Field function returns field value.

func (GetDownloadTaskListResponseValidationError) Key

Key function returns key value.

func (GetDownloadTaskListResponseValidationError) Reason

Reason function returns reason value.

type IdmServiceClient

IdmServiceClient is the client API for IdmService 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 NewIdmServiceClient

func NewIdmServiceClient(cc grpc.ClientConnInterface) IdmServiceClient

type IdmServiceServer

IdmServiceServer is the server API for IdmService service. All implementations must embed UnimplementedIdmServiceServer for forward compatibility

type IdmService_GetDownloadTaskFileClient

type IdmService_GetDownloadTaskFileClient interface {
	Recv() (*GetDownloadTaskFileResponse, error)
	grpc.ClientStream
}

type IdmService_GetDownloadTaskFileServer

type IdmService_GetDownloadTaskFileServer interface {
	Send(*GetDownloadTaskFileResponse) error
	grpc.ServerStream
}

type UnimplementedIdmServiceServer

type UnimplementedIdmServiceServer struct {
}

UnimplementedIdmServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIdmServiceServer) CreateAccount

func (UnimplementedIdmServiceServer) CreateSession

func (UnimplementedIdmServiceServer) DeleteSession

type UnsafeIdmServiceServer

type UnsafeIdmServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIdmServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdmServiceServer will result in compilation errors.

type UpdateDownloadTaskRequest

type UpdateDownloadTaskRequest struct {
	DownloadTaskId uint64          `protobuf:"varint,1,opt,name=download_task_id,json=downloadTaskId,proto3" json:"download_task_id,omitempty"`
	DownloadStatus *DownloadStatus `` /* 134-byte string literal not displayed */
	Metadata       *string         `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDownloadTaskRequest) Descriptor deprecated

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

Deprecated: Use UpdateDownloadTaskRequest.ProtoReflect.Descriptor instead.

func (*UpdateDownloadTaskRequest) GetDownloadStatus

func (x *UpdateDownloadTaskRequest) GetDownloadStatus() DownloadStatus

func (*UpdateDownloadTaskRequest) GetDownloadTaskId

func (x *UpdateDownloadTaskRequest) GetDownloadTaskId() uint64

func (*UpdateDownloadTaskRequest) GetMetadata

func (x *UpdateDownloadTaskRequest) GetMetadata() string

func (*UpdateDownloadTaskRequest) ProtoMessage

func (*UpdateDownloadTaskRequest) ProtoMessage()

func (*UpdateDownloadTaskRequest) ProtoReflect

func (*UpdateDownloadTaskRequest) Reset

func (x *UpdateDownloadTaskRequest) Reset()

func (*UpdateDownloadTaskRequest) String

func (x *UpdateDownloadTaskRequest) String() string

func (*UpdateDownloadTaskRequest) Validate

func (m *UpdateDownloadTaskRequest) Validate() error

Validate checks the field values on UpdateDownloadTaskRequest 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 (*UpdateDownloadTaskRequest) ValidateAll

func (m *UpdateDownloadTaskRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDownloadTaskRequest 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 UpdateDownloadTaskRequestMultiError, or nil if none found.

type UpdateDownloadTaskRequestMultiError

type UpdateDownloadTaskRequestMultiError []error

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

func (UpdateDownloadTaskRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDownloadTaskRequestMultiError) Error

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

type UpdateDownloadTaskRequestValidationError

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

UpdateDownloadTaskRequestValidationError is the validation error returned by UpdateDownloadTaskRequest.Validate if the designated constraints aren't met.

func (UpdateDownloadTaskRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDownloadTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDownloadTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDownloadTaskRequestValidationError) Field

Field function returns field value.

func (UpdateDownloadTaskRequestValidationError) Key

Key function returns key value.

func (UpdateDownloadTaskRequestValidationError) Reason

Reason function returns reason value.

type UpdateDownloadTaskResponse

type UpdateDownloadTaskResponse struct {
	DownloadTask *DownloadTask `protobuf:"bytes,1,opt,name=download_task,json=downloadTask,proto3" json:"download_task,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDownloadTaskResponse) Descriptor deprecated

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

Deprecated: Use UpdateDownloadTaskResponse.ProtoReflect.Descriptor instead.

func (*UpdateDownloadTaskResponse) GetDownloadTask

func (x *UpdateDownloadTaskResponse) GetDownloadTask() *DownloadTask

func (*UpdateDownloadTaskResponse) ProtoMessage

func (*UpdateDownloadTaskResponse) ProtoMessage()

func (*UpdateDownloadTaskResponse) ProtoReflect

func (*UpdateDownloadTaskResponse) Reset

func (x *UpdateDownloadTaskResponse) Reset()

func (*UpdateDownloadTaskResponse) String

func (x *UpdateDownloadTaskResponse) String() string

func (*UpdateDownloadTaskResponse) Validate

func (m *UpdateDownloadTaskResponse) Validate() error

Validate checks the field values on UpdateDownloadTaskResponse 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 (*UpdateDownloadTaskResponse) ValidateAll

func (m *UpdateDownloadTaskResponse) ValidateAll() error

ValidateAll checks the field values on UpdateDownloadTaskResponse 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 UpdateDownloadTaskResponseMultiError, or nil if none found.

type UpdateDownloadTaskResponseMultiError

type UpdateDownloadTaskResponseMultiError []error

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

func (UpdateDownloadTaskResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDownloadTaskResponseMultiError) Error

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

type UpdateDownloadTaskResponseValidationError

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

UpdateDownloadTaskResponseValidationError is the validation error returned by UpdateDownloadTaskResponse.Validate if the designated constraints aren't met.

func (UpdateDownloadTaskResponseValidationError) Cause

Cause function returns cause value.

func (UpdateDownloadTaskResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateDownloadTaskResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateDownloadTaskResponseValidationError) Field

Field function returns field value.

func (UpdateDownloadTaskResponseValidationError) Key

Key function returns key value.

func (UpdateDownloadTaskResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL