Documentation ¶
Overview ¶
Package ojs is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterOjsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOjsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OjsServiceClient) error
- func RegisterOjsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOjsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OjsServiceServer) error
- func RegisterOjsServiceServer(s grpc.ServiceRegistrar, srv OjsServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetId() uint64
- func (x *Account) GetName() string
- func (x *Account) GetRole() Role
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- func (m *Account) Validate() error
- func (m *Account) ValidateAll() error
- type AccountMultiError
- type AccountValidationError
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetName() string
- func (x *CreateAccountRequest) GetPassword() string
- func (x *CreateAccountRequest) GetRole() Role
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- func (m *CreateAccountRequest) Validate() error
- func (m *CreateAccountRequest) ValidateAll() error
- type CreateAccountRequestMultiError
- type CreateAccountRequestValidationError
- func (e CreateAccountRequestValidationError) Cause() error
- func (e CreateAccountRequestValidationError) Error() string
- func (e CreateAccountRequestValidationError) ErrorName() string
- func (e CreateAccountRequestValidationError) Field() string
- func (e CreateAccountRequestValidationError) Key() bool
- func (e CreateAccountRequestValidationError) Reason() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccount() *Account
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- func (m *CreateAccountResponse) Validate() error
- func (m *CreateAccountResponse) ValidateAll() error
- type CreateAccountResponseMultiError
- type CreateAccountResponseValidationError
- func (e CreateAccountResponseValidationError) Cause() error
- func (e CreateAccountResponseValidationError) Error() string
- func (e CreateAccountResponseValidationError) ErrorName() string
- func (e CreateAccountResponseValidationError) Field() string
- func (e CreateAccountResponseValidationError) Key() bool
- func (e CreateAccountResponseValidationError) Reason() string
- type CreateProblemRequest
- func (*CreateProblemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProblemRequest) GetDescription() string
- func (x *CreateProblemRequest) GetDisplayName() string
- func (x *CreateProblemRequest) GetMemoryLimit() string
- func (x *CreateProblemRequest) GetTimeLimit() string
- func (*CreateProblemRequest) ProtoMessage()
- func (x *CreateProblemRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProblemRequest) Reset()
- func (x *CreateProblemRequest) String() string
- func (m *CreateProblemRequest) Validate() error
- func (m *CreateProblemRequest) ValidateAll() error
- type CreateProblemRequestMultiError
- type CreateProblemRequestValidationError
- func (e CreateProblemRequestValidationError) Cause() error
- func (e CreateProblemRequestValidationError) Error() string
- func (e CreateProblemRequestValidationError) ErrorName() string
- func (e CreateProblemRequestValidationError) Field() string
- func (e CreateProblemRequestValidationError) Key() bool
- func (e CreateProblemRequestValidationError) Reason() string
- type CreateProblemResponse
- func (*CreateProblemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProblemResponse) GetProblem() *Problem
- func (*CreateProblemResponse) ProtoMessage()
- func (x *CreateProblemResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProblemResponse) Reset()
- func (x *CreateProblemResponse) String() string
- func (m *CreateProblemResponse) Validate() error
- func (m *CreateProblemResponse) ValidateAll() error
- type CreateProblemResponseMultiError
- type CreateProblemResponseValidationError
- func (e CreateProblemResponseValidationError) Cause() error
- func (e CreateProblemResponseValidationError) Error() string
- func (e CreateProblemResponseValidationError) ErrorName() string
- func (e CreateProblemResponseValidationError) Field() string
- func (e CreateProblemResponseValidationError) Key() bool
- func (e CreateProblemResponseValidationError) Reason() string
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetName() string
- func (x *CreateSessionRequest) GetPassword() string
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- func (m *CreateSessionRequest) Validate() error
- func (m *CreateSessionRequest) ValidateAll() error
- type CreateSessionRequestMultiError
- type CreateSessionRequestValidationError
- func (e CreateSessionRequestValidationError) Cause() error
- func (e CreateSessionRequestValidationError) Error() string
- func (e CreateSessionRequestValidationError) ErrorName() string
- func (e CreateSessionRequestValidationError) Field() string
- func (e CreateSessionRequestValidationError) Key() bool
- func (e CreateSessionRequestValidationError) Reason() string
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetAccount() *Account
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (x *CreateSessionResponse) String() string
- func (m *CreateSessionResponse) Validate() error
- func (m *CreateSessionResponse) ValidateAll() error
- type CreateSessionResponseMultiError
- type CreateSessionResponseValidationError
- func (e CreateSessionResponseValidationError) Cause() error
- func (e CreateSessionResponseValidationError) Error() string
- func (e CreateSessionResponseValidationError) ErrorName() string
- func (e CreateSessionResponseValidationError) Field() string
- func (e CreateSessionResponseValidationError) Key() bool
- func (e CreateSessionResponseValidationError) Reason() string
- type CreateSubmissionRequest
- func (*CreateSubmissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubmissionRequest) GetContent() string
- func (x *CreateSubmissionRequest) GetLanguage() string
- func (x *CreateSubmissionRequest) GetOfProblemId() uint64
- func (*CreateSubmissionRequest) ProtoMessage()
- func (x *CreateSubmissionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubmissionRequest) Reset()
- func (x *CreateSubmissionRequest) String() string
- func (m *CreateSubmissionRequest) Validate() error
- func (m *CreateSubmissionRequest) ValidateAll() error
- type CreateSubmissionRequestMultiError
- type CreateSubmissionRequestValidationError
- func (e CreateSubmissionRequestValidationError) Cause() error
- func (e CreateSubmissionRequestValidationError) Error() string
- func (e CreateSubmissionRequestValidationError) ErrorName() string
- func (e CreateSubmissionRequestValidationError) Field() string
- func (e CreateSubmissionRequestValidationError) Key() bool
- func (e CreateSubmissionRequestValidationError) Reason() string
- type CreateSubmissionResponse
- func (*CreateSubmissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubmissionResponse) GetSubmission() *Submission
- func (*CreateSubmissionResponse) ProtoMessage()
- func (x *CreateSubmissionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSubmissionResponse) Reset()
- func (x *CreateSubmissionResponse) String() string
- func (m *CreateSubmissionResponse) Validate() error
- func (m *CreateSubmissionResponse) ValidateAll() error
- type CreateSubmissionResponseMultiError
- type CreateSubmissionResponseValidationError
- func (e CreateSubmissionResponseValidationError) Cause() error
- func (e CreateSubmissionResponseValidationError) Error() string
- func (e CreateSubmissionResponseValidationError) ErrorName() string
- func (e CreateSubmissionResponseValidationError) Field() string
- func (e CreateSubmissionResponseValidationError) Key() bool
- func (e CreateSubmissionResponseValidationError) Reason() string
- type CreateTestCaseRequest
- func (*CreateTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTestCaseRequest) GetInput() string
- func (x *CreateTestCaseRequest) GetIsHidden() bool
- func (x *CreateTestCaseRequest) GetOfProblemId() uint64
- func (x *CreateTestCaseRequest) GetOutput() string
- func (*CreateTestCaseRequest) ProtoMessage()
- func (x *CreateTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTestCaseRequest) Reset()
- func (x *CreateTestCaseRequest) String() string
- func (m *CreateTestCaseRequest) Validate() error
- func (m *CreateTestCaseRequest) ValidateAll() error
- type CreateTestCaseRequestMultiError
- type CreateTestCaseRequestValidationError
- func (e CreateTestCaseRequestValidationError) Cause() error
- func (e CreateTestCaseRequestValidationError) Error() string
- func (e CreateTestCaseRequestValidationError) ErrorName() string
- func (e CreateTestCaseRequestValidationError) Field() string
- func (e CreateTestCaseRequestValidationError) Key() bool
- func (e CreateTestCaseRequestValidationError) Reason() string
- type CreateTestCaseResponse
- func (*CreateTestCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTestCaseResponse) GetTestCase() *TestCase
- func (*CreateTestCaseResponse) ProtoMessage()
- func (x *CreateTestCaseResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTestCaseResponse) Reset()
- func (x *CreateTestCaseResponse) String() string
- func (m *CreateTestCaseResponse) Validate() error
- func (m *CreateTestCaseResponse) ValidateAll() error
- type CreateTestCaseResponseMultiError
- type CreateTestCaseResponseValidationError
- func (e CreateTestCaseResponseValidationError) Cause() error
- func (e CreateTestCaseResponseValidationError) Error() string
- func (e CreateTestCaseResponseValidationError) ErrorName() string
- func (e CreateTestCaseResponseValidationError) Field() string
- func (e CreateTestCaseResponseValidationError) Key() bool
- func (e CreateTestCaseResponseValidationError) Reason() string
- type DeleteProblemRequest
- func (*DeleteProblemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProblemRequest) GetId() uint64
- func (*DeleteProblemRequest) ProtoMessage()
- func (x *DeleteProblemRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProblemRequest) Reset()
- func (x *DeleteProblemRequest) String() string
- func (m *DeleteProblemRequest) Validate() error
- func (m *DeleteProblemRequest) ValidateAll() error
- type DeleteProblemRequestMultiError
- type DeleteProblemRequestValidationError
- func (e DeleteProblemRequestValidationError) Cause() error
- func (e DeleteProblemRequestValidationError) Error() string
- func (e DeleteProblemRequestValidationError) ErrorName() string
- func (e DeleteProblemRequestValidationError) Field() string
- func (e DeleteProblemRequestValidationError) Key() bool
- func (e DeleteProblemRequestValidationError) Reason() string
- type DeleteProblemResponse
- func (*DeleteProblemResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteProblemResponse) ProtoMessage()
- func (x *DeleteProblemResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProblemResponse) Reset()
- func (x *DeleteProblemResponse) String() string
- func (m *DeleteProblemResponse) Validate() error
- func (m *DeleteProblemResponse) ValidateAll() error
- type DeleteProblemResponseMultiError
- type DeleteProblemResponseValidationError
- func (e DeleteProblemResponseValidationError) Cause() error
- func (e DeleteProblemResponseValidationError) Error() string
- func (e DeleteProblemResponseValidationError) ErrorName() string
- func (e DeleteProblemResponseValidationError) Field() string
- func (e DeleteProblemResponseValidationError) Key() bool
- func (e DeleteProblemResponseValidationError) Reason() string
- type DeleteSessionRequest
- func (*DeleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSessionRequest) ProtoMessage()
- func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionRequest) Reset()
- func (x *DeleteSessionRequest) String() string
- func (m *DeleteSessionRequest) Validate() error
- func (m *DeleteSessionRequest) ValidateAll() error
- type DeleteSessionRequestMultiError
- type DeleteSessionRequestValidationError
- func (e DeleteSessionRequestValidationError) Cause() error
- func (e DeleteSessionRequestValidationError) Error() string
- func (e DeleteSessionRequestValidationError) ErrorName() string
- func (e DeleteSessionRequestValidationError) Field() string
- func (e DeleteSessionRequestValidationError) Key() bool
- func (e DeleteSessionRequestValidationError) Reason() string
- type DeleteSessionResponse
- func (*DeleteSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSessionResponse) ProtoMessage()
- func (x *DeleteSessionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionResponse) Reset()
- func (x *DeleteSessionResponse) String() string
- func (m *DeleteSessionResponse) Validate() error
- func (m *DeleteSessionResponse) ValidateAll() error
- type DeleteSessionResponseMultiError
- type DeleteSessionResponseValidationError
- func (e DeleteSessionResponseValidationError) Cause() error
- func (e DeleteSessionResponseValidationError) Error() string
- func (e DeleteSessionResponseValidationError) ErrorName() string
- func (e DeleteSessionResponseValidationError) Field() string
- func (e DeleteSessionResponseValidationError) Key() bool
- func (e DeleteSessionResponseValidationError) Reason() string
- type DeleteTestCaseRequest
- func (*DeleteTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTestCaseRequest) GetId() uint64
- func (*DeleteTestCaseRequest) ProtoMessage()
- func (x *DeleteTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTestCaseRequest) Reset()
- func (x *DeleteTestCaseRequest) String() string
- func (m *DeleteTestCaseRequest) Validate() error
- func (m *DeleteTestCaseRequest) ValidateAll() error
- type DeleteTestCaseRequestMultiError
- type DeleteTestCaseRequestValidationError
- func (e DeleteTestCaseRequestValidationError) Cause() error
- func (e DeleteTestCaseRequestValidationError) Error() string
- func (e DeleteTestCaseRequestValidationError) ErrorName() string
- func (e DeleteTestCaseRequestValidationError) Field() string
- func (e DeleteTestCaseRequestValidationError) Key() bool
- func (e DeleteTestCaseRequestValidationError) Reason() string
- type DeleteTestCaseResponse
- func (*DeleteTestCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTestCaseResponse) ProtoMessage()
- func (x *DeleteTestCaseResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTestCaseResponse) Reset()
- func (x *DeleteTestCaseResponse) String() string
- func (m *DeleteTestCaseResponse) Validate() error
- func (m *DeleteTestCaseResponse) ValidateAll() error
- type DeleteTestCaseResponseMultiError
- type DeleteTestCaseResponseValidationError
- func (e DeleteTestCaseResponseValidationError) Cause() error
- func (e DeleteTestCaseResponseValidationError) Error() string
- func (e DeleteTestCaseResponseValidationError) ErrorName() string
- func (e DeleteTestCaseResponseValidationError) Field() string
- func (e DeleteTestCaseResponseValidationError) Key() bool
- func (e DeleteTestCaseResponseValidationError) Reason() string
- type GetAccountProblemSubmissionListRequest
- func (*GetAccountProblemSubmissionListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountProblemSubmissionListRequest) GetAccountId() uint64
- func (x *GetAccountProblemSubmissionListRequest) GetLimit() uint64
- func (x *GetAccountProblemSubmissionListRequest) GetOffset() uint64
- func (x *GetAccountProblemSubmissionListRequest) GetProblemId() uint64
- func (*GetAccountProblemSubmissionListRequest) ProtoMessage()
- func (x *GetAccountProblemSubmissionListRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountProblemSubmissionListRequest) Reset()
- func (x *GetAccountProblemSubmissionListRequest) String() string
- func (m *GetAccountProblemSubmissionListRequest) Validate() error
- func (m *GetAccountProblemSubmissionListRequest) ValidateAll() error
- type GetAccountProblemSubmissionListRequestMultiError
- type GetAccountProblemSubmissionListRequestValidationError
- func (e GetAccountProblemSubmissionListRequestValidationError) Cause() error
- func (e GetAccountProblemSubmissionListRequestValidationError) Error() string
- func (e GetAccountProblemSubmissionListRequestValidationError) ErrorName() string
- func (e GetAccountProblemSubmissionListRequestValidationError) Field() string
- func (e GetAccountProblemSubmissionListRequestValidationError) Key() bool
- func (e GetAccountProblemSubmissionListRequestValidationError) Reason() string
- type GetAccountProblemSubmissionListResponse
- func (*GetAccountProblemSubmissionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountProblemSubmissionListResponse) GetSubmissions() []*Submission
- func (x *GetAccountProblemSubmissionListResponse) GetTotalSubmissionsCount() uint64
- func (*GetAccountProblemSubmissionListResponse) ProtoMessage()
- func (x *GetAccountProblemSubmissionListResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountProblemSubmissionListResponse) Reset()
- func (x *GetAccountProblemSubmissionListResponse) String() string
- func (m *GetAccountProblemSubmissionListResponse) Validate() error
- func (m *GetAccountProblemSubmissionListResponse) ValidateAll() error
- type GetAccountProblemSubmissionListResponseMultiError
- type GetAccountProblemSubmissionListResponseValidationError
- func (e GetAccountProblemSubmissionListResponseValidationError) Cause() error
- func (e GetAccountProblemSubmissionListResponseValidationError) Error() string
- func (e GetAccountProblemSubmissionListResponseValidationError) ErrorName() string
- func (e GetAccountProblemSubmissionListResponseValidationError) Field() string
- func (e GetAccountProblemSubmissionListResponseValidationError) Key() bool
- func (e GetAccountProblemSubmissionListResponseValidationError) Reason() string
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRequest) GetId() uint64
- func (*GetAccountRequest) ProtoMessage()
- func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRequest) Reset()
- func (x *GetAccountRequest) String() string
- func (m *GetAccountRequest) Validate() error
- func (m *GetAccountRequest) ValidateAll() error
- type GetAccountRequestMultiError
- type GetAccountRequestValidationError
- func (e GetAccountRequestValidationError) Cause() error
- func (e GetAccountRequestValidationError) Error() string
- func (e GetAccountRequestValidationError) ErrorName() string
- func (e GetAccountRequestValidationError) Field() string
- func (e GetAccountRequestValidationError) Key() bool
- func (e GetAccountRequestValidationError) Reason() string
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountResponse) GetAccount() *Account
- func (*GetAccountResponse) ProtoMessage()
- func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountResponse) Reset()
- func (x *GetAccountResponse) String() string
- func (m *GetAccountResponse) Validate() error
- func (m *GetAccountResponse) ValidateAll() error
- type GetAccountResponseMultiError
- type GetAccountResponseValidationError
- func (e GetAccountResponseValidationError) Cause() error
- func (e GetAccountResponseValidationError) Error() string
- func (e GetAccountResponseValidationError) ErrorName() string
- func (e GetAccountResponseValidationError) Field() string
- func (e GetAccountResponseValidationError) Key() bool
- func (e GetAccountResponseValidationError) Reason() string
- type GetAndUpdateFirstSubmittedSubmissionToExecutingRequest
- func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoMessage()
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoReflect() protoreflect.Message
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Reset()
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) String() string
- func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Validate() error
- func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ValidateAll() error
- type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError
- type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Cause() error
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Error() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) ErrorName() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Field() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Key() bool
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Reason() string
- type GetAndUpdateFirstSubmittedSubmissionToExecutingResponse
- func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Descriptor() ([]byte, []int)deprecated
- func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoMessage()
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoReflect() protoreflect.Message
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Reset()
- func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) String() string
- func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Validate() error
- func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ValidateAll() error
- type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError
- type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Cause() error
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Error() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) ErrorName() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Field() string
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Key() bool
- func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Reason() string
- type GetProblemListRequest
- func (*GetProblemListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemListRequest) GetLimit() uint64
- func (x *GetProblemListRequest) GetOffset() uint64
- func (*GetProblemListRequest) ProtoMessage()
- func (x *GetProblemListRequest) ProtoReflect() protoreflect.Message
- func (x *GetProblemListRequest) Reset()
- func (x *GetProblemListRequest) String() string
- func (m *GetProblemListRequest) Validate() error
- func (m *GetProblemListRequest) ValidateAll() error
- type GetProblemListRequestMultiError
- type GetProblemListRequestValidationError
- func (e GetProblemListRequestValidationError) Cause() error
- func (e GetProblemListRequestValidationError) Error() string
- func (e GetProblemListRequestValidationError) ErrorName() string
- func (e GetProblemListRequestValidationError) Field() string
- func (e GetProblemListRequestValidationError) Key() bool
- func (e GetProblemListRequestValidationError) Reason() string
- type GetProblemListResponse
- func (*GetProblemListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemListResponse) GetProblems() []*Problem
- func (x *GetProblemListResponse) GetTotalProblemCount() uint64
- func (*GetProblemListResponse) ProtoMessage()
- func (x *GetProblemListResponse) ProtoReflect() protoreflect.Message
- func (x *GetProblemListResponse) Reset()
- func (x *GetProblemListResponse) String() string
- func (m *GetProblemListResponse) Validate() error
- func (m *GetProblemListResponse) ValidateAll() error
- type GetProblemListResponseMultiError
- type GetProblemListResponseValidationError
- func (e GetProblemListResponseValidationError) Cause() error
- func (e GetProblemListResponseValidationError) Error() string
- func (e GetProblemListResponseValidationError) ErrorName() string
- func (e GetProblemListResponseValidationError) Field() string
- func (e GetProblemListResponseValidationError) Key() bool
- func (e GetProblemListResponseValidationError) Reason() string
- type GetProblemRequest
- func (*GetProblemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemRequest) GetId() uint64
- func (*GetProblemRequest) ProtoMessage()
- func (x *GetProblemRequest) ProtoReflect() protoreflect.Message
- func (x *GetProblemRequest) Reset()
- func (x *GetProblemRequest) String() string
- func (m *GetProblemRequest) Validate() error
- func (m *GetProblemRequest) ValidateAll() error
- type GetProblemRequestMultiError
- type GetProblemRequestValidationError
- func (e GetProblemRequestValidationError) Cause() error
- func (e GetProblemRequestValidationError) Error() string
- func (e GetProblemRequestValidationError) ErrorName() string
- func (e GetProblemRequestValidationError) Field() string
- func (e GetProblemRequestValidationError) Key() bool
- func (e GetProblemRequestValidationError) Reason() string
- type GetProblemResponse
- func (*GetProblemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemResponse) GetProblem() *Problem
- func (*GetProblemResponse) ProtoMessage()
- func (x *GetProblemResponse) ProtoReflect() protoreflect.Message
- func (x *GetProblemResponse) Reset()
- func (x *GetProblemResponse) String() string
- func (m *GetProblemResponse) Validate() error
- func (m *GetProblemResponse) ValidateAll() error
- type GetProblemResponseMultiError
- type GetProblemResponseValidationError
- func (e GetProblemResponseValidationError) Cause() error
- func (e GetProblemResponseValidationError) Error() string
- func (e GetProblemResponseValidationError) ErrorName() string
- func (e GetProblemResponseValidationError) Field() string
- func (e GetProblemResponseValidationError) Key() bool
- func (e GetProblemResponseValidationError) Reason() string
- type GetProblemSubmissionListRequest
- func (*GetProblemSubmissionListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemSubmissionListRequest) GetId() uint64
- func (x *GetProblemSubmissionListRequest) GetLimit() uint64
- func (x *GetProblemSubmissionListRequest) GetOffset() uint64
- func (*GetProblemSubmissionListRequest) ProtoMessage()
- func (x *GetProblemSubmissionListRequest) ProtoReflect() protoreflect.Message
- func (x *GetProblemSubmissionListRequest) Reset()
- func (x *GetProblemSubmissionListRequest) String() string
- func (m *GetProblemSubmissionListRequest) Validate() error
- func (m *GetProblemSubmissionListRequest) ValidateAll() error
- type GetProblemSubmissionListRequestMultiError
- type GetProblemSubmissionListRequestValidationError
- func (e GetProblemSubmissionListRequestValidationError) Cause() error
- func (e GetProblemSubmissionListRequestValidationError) Error() string
- func (e GetProblemSubmissionListRequestValidationError) ErrorName() string
- func (e GetProblemSubmissionListRequestValidationError) Field() string
- func (e GetProblemSubmissionListRequestValidationError) Key() bool
- func (e GetProblemSubmissionListRequestValidationError) Reason() string
- type GetProblemSubmissionListResponse
- func (*GetProblemSubmissionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemSubmissionListResponse) GetSubmissions() []*Submission
- func (x *GetProblemSubmissionListResponse) GetTotalSubmissionsCount() uint64
- func (*GetProblemSubmissionListResponse) ProtoMessage()
- func (x *GetProblemSubmissionListResponse) ProtoReflect() protoreflect.Message
- func (x *GetProblemSubmissionListResponse) Reset()
- func (x *GetProblemSubmissionListResponse) String() string
- func (m *GetProblemSubmissionListResponse) Validate() error
- func (m *GetProblemSubmissionListResponse) ValidateAll() error
- type GetProblemSubmissionListResponseMultiError
- type GetProblemSubmissionListResponseValidationError
- func (e GetProblemSubmissionListResponseValidationError) Cause() error
- func (e GetProblemSubmissionListResponseValidationError) Error() string
- func (e GetProblemSubmissionListResponseValidationError) ErrorName() string
- func (e GetProblemSubmissionListResponseValidationError) Field() string
- func (e GetProblemSubmissionListResponseValidationError) Key() bool
- func (e GetProblemSubmissionListResponseValidationError) Reason() string
- type GetProblemTestCaseListRequest
- func (*GetProblemTestCaseListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemTestCaseListRequest) GetId() uint64
- func (x *GetProblemTestCaseListRequest) GetLimit() uint64
- func (x *GetProblemTestCaseListRequest) GetOffset() uint64
- func (*GetProblemTestCaseListRequest) ProtoMessage()
- func (x *GetProblemTestCaseListRequest) ProtoReflect() protoreflect.Message
- func (x *GetProblemTestCaseListRequest) Reset()
- func (x *GetProblemTestCaseListRequest) String() string
- func (m *GetProblemTestCaseListRequest) Validate() error
- func (m *GetProblemTestCaseListRequest) ValidateAll() error
- type GetProblemTestCaseListRequestMultiError
- type GetProblemTestCaseListRequestValidationError
- func (e GetProblemTestCaseListRequestValidationError) Cause() error
- func (e GetProblemTestCaseListRequestValidationError) Error() string
- func (e GetProblemTestCaseListRequestValidationError) ErrorName() string
- func (e GetProblemTestCaseListRequestValidationError) Field() string
- func (e GetProblemTestCaseListRequestValidationError) Key() bool
- func (e GetProblemTestCaseListRequestValidationError) Reason() string
- type GetProblemTestCaseListResponse
- func (*GetProblemTestCaseListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProblemTestCaseListResponse) GetTestCases() []*TestCase
- func (x *GetProblemTestCaseListResponse) GetTotalTestCasesCount() uint64
- func (*GetProblemTestCaseListResponse) ProtoMessage()
- func (x *GetProblemTestCaseListResponse) ProtoReflect() protoreflect.Message
- func (x *GetProblemTestCaseListResponse) Reset()
- func (x *GetProblemTestCaseListResponse) String() string
- func (m *GetProblemTestCaseListResponse) Validate() error
- func (m *GetProblemTestCaseListResponse) ValidateAll() error
- type GetProblemTestCaseListResponseMultiError
- type GetProblemTestCaseListResponseValidationError
- func (e GetProblemTestCaseListResponseValidationError) Cause() error
- func (e GetProblemTestCaseListResponseValidationError) Error() string
- func (e GetProblemTestCaseListResponseValidationError) ErrorName() string
- func (e GetProblemTestCaseListResponseValidationError) Field() string
- func (e GetProblemTestCaseListResponseValidationError) Key() bool
- func (e GetProblemTestCaseListResponseValidationError) Reason() string
- type GetServerInfoRequest
- func (*GetServerInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetServerInfoRequest) ProtoMessage()
- func (x *GetServerInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerInfoRequest) Reset()
- func (x *GetServerInfoRequest) String() string
- func (m *GetServerInfoRequest) Validate() error
- func (m *GetServerInfoRequest) ValidateAll() error
- type GetServerInfoRequestMultiError
- type GetServerInfoRequestValidationError
- func (e GetServerInfoRequestValidationError) Cause() error
- func (e GetServerInfoRequestValidationError) Error() string
- func (e GetServerInfoRequestValidationError) ErrorName() string
- func (e GetServerInfoRequestValidationError) Field() string
- func (e GetServerInfoRequestValidationError) Key() bool
- func (e GetServerInfoRequestValidationError) Reason() string
- type GetServerInfoResponse
- func (*GetServerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (*GetServerInfoResponse) ProtoMessage()
- func (x *GetServerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerInfoResponse) Reset()
- func (x *GetServerInfoResponse) String() string
- func (m *GetServerInfoResponse) Validate() error
- func (m *GetServerInfoResponse) ValidateAll() error
- type GetServerInfoResponseMultiError
- type GetServerInfoResponseValidationError
- func (e GetServerInfoResponseValidationError) Cause() error
- func (e GetServerInfoResponseValidationError) Error() string
- func (e GetServerInfoResponseValidationError) ErrorName() string
- func (e GetServerInfoResponseValidationError) Field() string
- func (e GetServerInfoResponseValidationError) Key() bool
- func (e GetServerInfoResponseValidationError) Reason() string
- type GetSubmissionListRequest
- func (*GetSubmissionListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubmissionListRequest) GetLimit() uint64
- func (x *GetSubmissionListRequest) GetOffset() uint64
- func (*GetSubmissionListRequest) ProtoMessage()
- func (x *GetSubmissionListRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubmissionListRequest) Reset()
- func (x *GetSubmissionListRequest) String() string
- func (m *GetSubmissionListRequest) Validate() error
- func (m *GetSubmissionListRequest) ValidateAll() error
- type GetSubmissionListRequestMultiError
- type GetSubmissionListRequestValidationError
- func (e GetSubmissionListRequestValidationError) Cause() error
- func (e GetSubmissionListRequestValidationError) Error() string
- func (e GetSubmissionListRequestValidationError) ErrorName() string
- func (e GetSubmissionListRequestValidationError) Field() string
- func (e GetSubmissionListRequestValidationError) Key() bool
- func (e GetSubmissionListRequestValidationError) Reason() string
- type GetSubmissionListResponse
- func (*GetSubmissionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubmissionListResponse) GetSubmissions() []*Submission
- func (x *GetSubmissionListResponse) GetTotalSubmissionsCount() uint64
- func (*GetSubmissionListResponse) ProtoMessage()
- func (x *GetSubmissionListResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubmissionListResponse) Reset()
- func (x *GetSubmissionListResponse) String() string
- func (m *GetSubmissionListResponse) Validate() error
- func (m *GetSubmissionListResponse) ValidateAll() error
- type GetSubmissionListResponseMultiError
- type GetSubmissionListResponseValidationError
- func (e GetSubmissionListResponseValidationError) Cause() error
- func (e GetSubmissionListResponseValidationError) Error() string
- func (e GetSubmissionListResponseValidationError) ErrorName() string
- func (e GetSubmissionListResponseValidationError) Field() string
- func (e GetSubmissionListResponseValidationError) Key() bool
- func (e GetSubmissionListResponseValidationError) Reason() string
- type GetSubmissionRequest
- func (*GetSubmissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubmissionRequest) GetId() uint64
- func (*GetSubmissionRequest) ProtoMessage()
- func (x *GetSubmissionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubmissionRequest) Reset()
- func (x *GetSubmissionRequest) String() string
- func (m *GetSubmissionRequest) Validate() error
- func (m *GetSubmissionRequest) ValidateAll() error
- type GetSubmissionRequestMultiError
- type GetSubmissionRequestValidationError
- func (e GetSubmissionRequestValidationError) Cause() error
- func (e GetSubmissionRequestValidationError) Error() string
- func (e GetSubmissionRequestValidationError) ErrorName() string
- func (e GetSubmissionRequestValidationError) Field() string
- func (e GetSubmissionRequestValidationError) Key() bool
- func (e GetSubmissionRequestValidationError) Reason() string
- type GetSubmissionResponse
- func (*GetSubmissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubmissionResponse) GetSubmission() *Submission
- func (*GetSubmissionResponse) ProtoMessage()
- func (x *GetSubmissionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubmissionResponse) Reset()
- func (x *GetSubmissionResponse) String() string
- func (m *GetSubmissionResponse) Validate() error
- func (m *GetSubmissionResponse) ValidateAll() error
- type GetSubmissionResponseMultiError
- type GetSubmissionResponseValidationError
- func (e GetSubmissionResponseValidationError) Cause() error
- func (e GetSubmissionResponseValidationError) Error() string
- func (e GetSubmissionResponseValidationError) ErrorName() string
- func (e GetSubmissionResponseValidationError) Field() string
- func (e GetSubmissionResponseValidationError) Key() bool
- func (e GetSubmissionResponseValidationError) Reason() string
- type GetTestCaseRequest
- func (*GetTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTestCaseRequest) GetId() uint64
- func (*GetTestCaseRequest) ProtoMessage()
- func (x *GetTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetTestCaseRequest) Reset()
- func (x *GetTestCaseRequest) String() string
- func (m *GetTestCaseRequest) Validate() error
- func (m *GetTestCaseRequest) ValidateAll() error
- type GetTestCaseRequestMultiError
- type GetTestCaseRequestValidationError
- func (e GetTestCaseRequestValidationError) Cause() error
- func (e GetTestCaseRequestValidationError) Error() string
- func (e GetTestCaseRequestValidationError) ErrorName() string
- func (e GetTestCaseRequestValidationError) Field() string
- func (e GetTestCaseRequestValidationError) Key() bool
- func (e GetTestCaseRequestValidationError) Reason() string
- type GetTestCaseResponse
- func (*GetTestCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTestCaseResponse) GetTestCase() *TestCase
- func (*GetTestCaseResponse) ProtoMessage()
- func (x *GetTestCaseResponse) ProtoReflect() protoreflect.Message
- func (x *GetTestCaseResponse) Reset()
- func (x *GetTestCaseResponse) String() string
- func (m *GetTestCaseResponse) Validate() error
- func (m *GetTestCaseResponse) ValidateAll() error
- type GetTestCaseResponseMultiError
- type GetTestCaseResponseValidationError
- func (e GetTestCaseResponseValidationError) Cause() error
- func (e GetTestCaseResponseValidationError) Error() string
- func (e GetTestCaseResponseValidationError) ErrorName() string
- func (e GetTestCaseResponseValidationError) Field() string
- func (e GetTestCaseResponseValidationError) Key() bool
- func (e GetTestCaseResponseValidationError) Reason() string
- type OjsServiceClient
- type OjsServiceServer
- type Problem
- func (*Problem) Descriptor() ([]byte, []int)deprecated
- func (x *Problem) GetAuthorId() uint64
- func (x *Problem) GetAuthorName() string
- func (x *Problem) GetDescription() string
- func (x *Problem) GetDisplayName() string
- func (x *Problem) GetId() uint64
- func (x *Problem) GetMemoryLimit() string
- func (x *Problem) GetTimeLimit() string
- func (*Problem) ProtoMessage()
- func (x *Problem) ProtoReflect() protoreflect.Message
- func (x *Problem) Reset()
- func (x *Problem) String() string
- func (m *Problem) Validate() error
- func (m *Problem) ValidateAll() error
- type ProblemMultiError
- type ProblemValidationError
- type Role
- type Submission
- func (*Submission) Descriptor() ([]byte, []int)deprecated
- func (x *Submission) GetAuthorId() uint64
- func (x *Submission) GetContent() string
- func (x *Submission) GetId() uint64
- func (x *Submission) GetLanguage() string
- func (x *Submission) GetOfProblemId() uint64
- func (x *Submission) GetResult() SubmissionResult
- func (x *Submission) GetStatus() SubmissionStatus
- func (*Submission) ProtoMessage()
- func (x *Submission) ProtoReflect() protoreflect.Message
- func (x *Submission) Reset()
- func (x *Submission) String() string
- func (m *Submission) Validate() error
- func (m *Submission) ValidateAll() error
- type SubmissionMultiError
- type SubmissionResult
- func (SubmissionResult) Descriptor() protoreflect.EnumDescriptor
- func (x SubmissionResult) Enum() *SubmissionResult
- func (SubmissionResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmissionResult) Number() protoreflect.EnumNumber
- func (x SubmissionResult) String() string
- func (SubmissionResult) Type() protoreflect.EnumType
- type SubmissionStatus
- func (SubmissionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SubmissionStatus) Enum() *SubmissionStatus
- func (SubmissionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmissionStatus) Number() protoreflect.EnumNumber
- func (x SubmissionStatus) String() string
- func (SubmissionStatus) Type() protoreflect.EnumType
- type SubmissionValidationError
- type TestCase
- func (*TestCase) Descriptor() ([]byte, []int)deprecated
- func (x *TestCase) GetId() uint64
- func (x *TestCase) GetInput() string
- func (x *TestCase) GetIsHidden() bool
- func (x *TestCase) GetOfProblemId() uint64
- func (x *TestCase) GetOutput() string
- func (*TestCase) ProtoMessage()
- func (x *TestCase) ProtoReflect() protoreflect.Message
- func (x *TestCase) Reset()
- func (x *TestCase) String() string
- func (m *TestCase) Validate() error
- func (m *TestCase) ValidateAll() error
- type TestCaseMultiError
- type TestCaseValidationError
- type UnimplementedOjsServiceServer
- func (UnimplementedOjsServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedOjsServiceServer) CreateProblem(context.Context, *CreateProblemRequest) (*CreateProblemResponse, error)
- func (UnimplementedOjsServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
- func (UnimplementedOjsServiceServer) CreateSubmission(context.Context, *CreateSubmissionRequest) (*CreateSubmissionResponse, error)
- func (UnimplementedOjsServiceServer) CreateTestCase(context.Context, *CreateTestCaseRequest) (*CreateTestCaseResponse, error)
- func (UnimplementedOjsServiceServer) DeleteProblem(context.Context, *DeleteProblemRequest) (*DeleteProblemResponse, error)
- func (UnimplementedOjsServiceServer) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error)
- func (UnimplementedOjsServiceServer) DeleteTestCase(context.Context, *DeleteTestCaseRequest) (*DeleteTestCaseResponse, error)
- func (UnimplementedOjsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
- func (UnimplementedOjsServiceServer) GetAccountProblemSubmissionList(context.Context, *GetAccountProblemSubmissionListRequest) (*GetAccountProblemSubmissionListResponse, error)
- func (UnimplementedOjsServiceServer) GetAndUpdateFirstSubmittedSubmissionToExecuting(context.Context, *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse, error)
- func (UnimplementedOjsServiceServer) GetProblem(context.Context, *GetProblemRequest) (*GetProblemResponse, error)
- func (UnimplementedOjsServiceServer) GetProblemList(context.Context, *GetProblemListRequest) (*GetProblemListResponse, error)
- func (UnimplementedOjsServiceServer) GetProblemSubmissionList(context.Context, *GetProblemSubmissionListRequest) (*GetProblemSubmissionListResponse, error)
- func (UnimplementedOjsServiceServer) GetProblemTestCaseList(context.Context, *GetProblemTestCaseListRequest) (*GetProblemTestCaseListResponse, error)
- func (UnimplementedOjsServiceServer) GetServerInfo(context.Context, *GetServerInfoRequest) (*GetServerInfoResponse, error)
- func (UnimplementedOjsServiceServer) GetSubmission(context.Context, *GetSubmissionRequest) (*GetSubmissionResponse, error)
- func (UnimplementedOjsServiceServer) GetSubmissionList(context.Context, *GetSubmissionListRequest) (*GetSubmissionListResponse, error)
- func (UnimplementedOjsServiceServer) GetTestCase(context.Context, *GetTestCaseRequest) (*GetTestCaseResponse, error)
- func (UnimplementedOjsServiceServer) UpdateProblem(context.Context, *UpdateProblemRequest) (*UpdateProblemResponse, error)
- func (UnimplementedOjsServiceServer) UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error)
- func (UnimplementedOjsServiceServer) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*UpdateTestCaseResponse, error)
- type UnsafeOjsServiceServer
- type UpdateProblemRequest
- func (*UpdateProblemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProblemRequest) GetDescription() string
- func (x *UpdateProblemRequest) GetDisplayName() string
- func (x *UpdateProblemRequest) GetId() uint64
- func (x *UpdateProblemRequest) GetMemoryLimit() string
- func (x *UpdateProblemRequest) GetTimeLimit() string
- func (*UpdateProblemRequest) ProtoMessage()
- func (x *UpdateProblemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProblemRequest) Reset()
- func (x *UpdateProblemRequest) String() string
- func (m *UpdateProblemRequest) Validate() error
- func (m *UpdateProblemRequest) ValidateAll() error
- type UpdateProblemRequestMultiError
- type UpdateProblemRequestValidationError
- func (e UpdateProblemRequestValidationError) Cause() error
- func (e UpdateProblemRequestValidationError) Error() string
- func (e UpdateProblemRequestValidationError) ErrorName() string
- func (e UpdateProblemRequestValidationError) Field() string
- func (e UpdateProblemRequestValidationError) Key() bool
- func (e UpdateProblemRequestValidationError) Reason() string
- type UpdateProblemResponse
- func (*UpdateProblemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProblemResponse) GetProblem() *Problem
- func (*UpdateProblemResponse) ProtoMessage()
- func (x *UpdateProblemResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProblemResponse) Reset()
- func (x *UpdateProblemResponse) String() string
- func (m *UpdateProblemResponse) Validate() error
- func (m *UpdateProblemResponse) ValidateAll() error
- type UpdateProblemResponseMultiError
- type UpdateProblemResponseValidationError
- func (e UpdateProblemResponseValidationError) Cause() error
- func (e UpdateProblemResponseValidationError) Error() string
- func (e UpdateProblemResponseValidationError) ErrorName() string
- func (e UpdateProblemResponseValidationError) Field() string
- func (e UpdateProblemResponseValidationError) Key() bool
- func (e UpdateProblemResponseValidationError) Reason() string
- type UpdateSettingRequest
- func (*UpdateSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (*UpdateSettingRequest) ProtoMessage()
- func (x *UpdateSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingRequest) Reset()
- func (x *UpdateSettingRequest) String() string
- func (m *UpdateSettingRequest) Validate() error
- func (m *UpdateSettingRequest) ValidateAll() error
- type UpdateSettingRequestMultiError
- type UpdateSettingRequestValidationError
- func (e UpdateSettingRequestValidationError) Cause() error
- func (e UpdateSettingRequestValidationError) Error() string
- func (e UpdateSettingRequestValidationError) ErrorName() string
- func (e UpdateSettingRequestValidationError) Field() string
- func (e UpdateSettingRequestValidationError) Key() bool
- func (e UpdateSettingRequestValidationError) Reason() string
- type UpdateSettingResponse
- func (*UpdateSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateSettingResponse) ProtoMessage()
- func (x *UpdateSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingResponse) Reset()
- func (x *UpdateSettingResponse) String() string
- func (m *UpdateSettingResponse) Validate() error
- func (m *UpdateSettingResponse) ValidateAll() error
- type UpdateSettingResponseMultiError
- type UpdateSettingResponseValidationError
- func (e UpdateSettingResponseValidationError) Cause() error
- func (e UpdateSettingResponseValidationError) Error() string
- func (e UpdateSettingResponseValidationError) ErrorName() string
- func (e UpdateSettingResponseValidationError) Field() string
- func (e UpdateSettingResponseValidationError) Key() bool
- func (e UpdateSettingResponseValidationError) Reason() string
- type UpdateTestCaseRequest
- func (*UpdateTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestCaseRequest) GetId() uint64
- func (x *UpdateTestCaseRequest) GetInput() string
- func (x *UpdateTestCaseRequest) GetIsHidden() bool
- func (x *UpdateTestCaseRequest) GetOutput() string
- func (*UpdateTestCaseRequest) ProtoMessage()
- func (x *UpdateTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTestCaseRequest) Reset()
- func (x *UpdateTestCaseRequest) String() string
- func (m *UpdateTestCaseRequest) Validate() error
- func (m *UpdateTestCaseRequest) ValidateAll() error
- type UpdateTestCaseRequestMultiError
- type UpdateTestCaseRequestValidationError
- func (e UpdateTestCaseRequestValidationError) Cause() error
- func (e UpdateTestCaseRequestValidationError) Error() string
- func (e UpdateTestCaseRequestValidationError) ErrorName() string
- func (e UpdateTestCaseRequestValidationError) Field() string
- func (e UpdateTestCaseRequestValidationError) Key() bool
- func (e UpdateTestCaseRequestValidationError) Reason() string
- type UpdateTestCaseResponse
- func (*UpdateTestCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestCaseResponse) GetTestCase() *TestCase
- func (*UpdateTestCaseResponse) ProtoMessage()
- func (x *UpdateTestCaseResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTestCaseResponse) Reset()
- func (x *UpdateTestCaseResponse) String() string
- func (m *UpdateTestCaseResponse) Validate() error
- func (m *UpdateTestCaseResponse) ValidateAll() error
- type UpdateTestCaseResponseMultiError
- type UpdateTestCaseResponseValidationError
- func (e UpdateTestCaseResponseValidationError) Cause() error
- func (e UpdateTestCaseResponseValidationError) Error() string
- func (e UpdateTestCaseResponseValidationError) ErrorName() string
- func (e UpdateTestCaseResponseValidationError) Field() string
- func (e UpdateTestCaseResponseValidationError) Key() bool
- func (e UpdateTestCaseResponseValidationError) Reason() string
Constants ¶
const ( OjsService_GetServerInfo_FullMethodName = "/ojs.OjsService/GetServerInfo" OjsService_CreateAccount_FullMethodName = "/ojs.OjsService/CreateAccount" OjsService_GetAccount_FullMethodName = "/ojs.OjsService/GetAccount" OjsService_CreateSession_FullMethodName = "/ojs.OjsService/CreateSession" OjsService_DeleteSession_FullMethodName = "/ojs.OjsService/DeleteSession" OjsService_CreateProblem_FullMethodName = "/ojs.OjsService/CreateProblem" OjsService_GetProblemList_FullMethodName = "/ojs.OjsService/GetProblemList" OjsService_GetProblem_FullMethodName = "/ojs.OjsService/GetProblem" OjsService_UpdateProblem_FullMethodName = "/ojs.OjsService/UpdateProblem" OjsService_DeleteProblem_FullMethodName = "/ojs.OjsService/DeleteProblem" OjsService_CreateTestCase_FullMethodName = "/ojs.OjsService/CreateTestCase" OjsService_GetProblemTestCaseList_FullMethodName = "/ojs.OjsService/GetProblemTestCaseList" OjsService_GetTestCase_FullMethodName = "/ojs.OjsService/GetTestCase" OjsService_UpdateTestCase_FullMethodName = "/ojs.OjsService/UpdateTestCase" OjsService_DeleteTestCase_FullMethodName = "/ojs.OjsService/DeleteTestCase" OjsService_CreateSubmission_FullMethodName = "/ojs.OjsService/CreateSubmission" OjsService_GetSubmission_FullMethodName = "/ojs.OjsService/GetSubmission" OjsService_GetSubmissionList_FullMethodName = "/ojs.OjsService/GetSubmissionList" OjsService_GetProblemSubmissionList_FullMethodName = "/ojs.OjsService/GetProblemSubmissionList" OjsService_GetAccountProblemSubmissionList_FullMethodName = "/ojs.OjsService/GetAccountProblemSubmissionList" OjsService_GetAndUpdateFirstSubmittedSubmissionToExecuting_FullMethodName = "/ojs.OjsService/GetAndUpdateFirstSubmittedSubmissionToExecuting" OjsService_UpdateSetting_FullMethodName = "/ojs.OjsService/UpdateSetting" )
Variables ¶
var ( Role_name = map[int32]string{ 0: "UndefinedRole", 1: "Admin", 2: "Contester", 3: "ProblemSetter", 4: "Worker", } Role_value = map[string]int32{ "UndefinedRole": 0, "Admin": 1, "Contester": 2, "ProblemSetter": 3, "Worker": 4, } )
Enum value maps for Role.
var ( SubmissionStatus_name = map[int32]string{ 0: "UndefinedStatus", 1: "Submitted", 2: "Executing", 3: "Finished", } SubmissionStatus_value = map[string]int32{ "UndefinedStatus": 0, "Submitted": 1, "Executing": 2, "Finished": 3, } )
Enum value maps for SubmissionStatus.
var ( SubmissionResult_name = map[int32]string{ 0: "UndefinedResult", 1: "OK", 2: "CompileError", 3: "RuntimeError", 4: "TimeLimitExceeded", 5: "MemoryLimitExceeded", 6: "WrongAnswer", 7: "UnsupportedLanguage", } SubmissionResult_value = map[string]int32{ "UndefinedResult": 0, "OK": 1, "CompileError": 2, "RuntimeError": 3, "TimeLimitExceeded": 4, "MemoryLimitExceeded": 5, "WrongAnswer": 6, "UnsupportedLanguage": 7, } )
Enum value maps for SubmissionResult.
var File_ojs_proto protoreflect.FileDescriptor
var OjsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ojs.OjsService", HandlerType: (*OjsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetServerInfo", Handler: _OjsService_GetServerInfo_Handler, }, { MethodName: "CreateAccount", Handler: _OjsService_CreateAccount_Handler, }, { MethodName: "GetAccount", Handler: _OjsService_GetAccount_Handler, }, { MethodName: "CreateSession", Handler: _OjsService_CreateSession_Handler, }, { MethodName: "DeleteSession", Handler: _OjsService_DeleteSession_Handler, }, { MethodName: "CreateProblem", Handler: _OjsService_CreateProblem_Handler, }, { MethodName: "GetProblemList", Handler: _OjsService_GetProblemList_Handler, }, { MethodName: "GetProblem", Handler: _OjsService_GetProblem_Handler, }, { MethodName: "UpdateProblem", Handler: _OjsService_UpdateProblem_Handler, }, { MethodName: "DeleteProblem", Handler: _OjsService_DeleteProblem_Handler, }, { MethodName: "CreateTestCase", Handler: _OjsService_CreateTestCase_Handler, }, { MethodName: "GetProblemTestCaseList", Handler: _OjsService_GetProblemTestCaseList_Handler, }, { MethodName: "GetTestCase", Handler: _OjsService_GetTestCase_Handler, }, { MethodName: "UpdateTestCase", Handler: _OjsService_UpdateTestCase_Handler, }, { MethodName: "DeleteTestCase", Handler: _OjsService_DeleteTestCase_Handler, }, { MethodName: "CreateSubmission", Handler: _OjsService_CreateSubmission_Handler, }, { MethodName: "GetSubmission", Handler: _OjsService_GetSubmission_Handler, }, { MethodName: "GetSubmissionList", Handler: _OjsService_GetSubmissionList_Handler, }, { MethodName: "GetProblemSubmissionList", Handler: _OjsService_GetProblemSubmissionList_Handler, }, { MethodName: "GetAccountProblemSubmissionList", Handler: _OjsService_GetAccountProblemSubmissionList_Handler, }, { MethodName: "GetAndUpdateFirstSubmittedSubmissionToExecuting", Handler: _OjsService_GetAndUpdateFirstSubmittedSubmissionToExecuting_Handler, }, { MethodName: "UpdateSetting", Handler: _OjsService_UpdateSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ojs.proto", }
OjsService_ServiceDesc is the grpc.ServiceDesc for OjsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOjsServiceHandler ¶
func RegisterOjsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOjsServiceHandler registers the http handlers for service OjsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOjsServiceHandlerClient ¶
func RegisterOjsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OjsServiceClient) error
RegisterOjsServiceHandlerClient registers the http handlers for service OjsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OjsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OjsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OjsServiceClient" to call the correct interceptors.
func RegisterOjsServiceHandlerFromEndpoint ¶
func RegisterOjsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOjsServiceHandlerFromEndpoint is same as RegisterOjsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOjsServiceHandlerServer ¶
func RegisterOjsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OjsServiceServer) error
RegisterOjsServiceHandlerServer registers the http handlers for service OjsService to "mux". UnaryRPC :call OjsServiceServer 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 RegisterOjsServiceHandlerFromEndpoint instead.
func RegisterOjsServiceServer ¶
func RegisterOjsServiceServer(s grpc.ServiceRegistrar, srv OjsServiceServer)
Types ¶
type Account ¶
type Account struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Role Role `protobuf:"varint,3,opt,name=role,proto3,enum=ojs.Role" json:"role,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
func (*Account) Validate ¶
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 ¶
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 { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Role Role `protobuf:"varint,3,opt,name=role,proto3,enum=ojs.Role" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetName ¶
func (x *CreateAccountRequest) GetName() string
func (*CreateAccountRequest) GetPassword ¶
func (x *CreateAccountRequest) GetPassword() string
func (*CreateAccountRequest) GetRole ¶
func (x *CreateAccountRequest) GetRole() Role
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 ¶
func (m CreateAccountRequestMultiError) Error() string
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 ¶
func (e CreateAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountRequestValidationError) Error ¶
func (e CreateAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountRequestValidationError) ErrorName ¶
func (e CreateAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountRequestValidationError) Field ¶
func (e CreateAccountRequestValidationError) Field() string
Field function returns field value.
func (CreateAccountRequestValidationError) Key ¶
func (e CreateAccountRequestValidationError) Key() bool
Key function returns key value.
func (CreateAccountRequestValidationError) Reason ¶
func (e CreateAccountRequestValidationError) Reason() string
Reason function returns reason value.
type CreateAccountResponse ¶
type CreateAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccount ¶
func (x *CreateAccountResponse) GetAccount() *Account
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 ¶
func (m CreateAccountResponseMultiError) Error() string
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 ¶
func (e CreateAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountResponseValidationError) Error ¶
func (e CreateAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountResponseValidationError) ErrorName ¶
func (e CreateAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountResponseValidationError) Field ¶
func (e CreateAccountResponseValidationError) Field() string
Field function returns field value.
func (CreateAccountResponseValidationError) Key ¶
func (e CreateAccountResponseValidationError) Key() bool
Key function returns key value.
func (CreateAccountResponseValidationError) Reason ¶
func (e CreateAccountResponseValidationError) Reason() string
Reason function returns reason value.
type CreateProblemRequest ¶
type CreateProblemRequest struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TimeLimit string `protobuf:"bytes,3,opt,name=time_limit,json=timeLimit,proto3" json:"time_limit,omitempty"` MemoryLimit string `protobuf:"bytes,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` // contains filtered or unexported fields }
func (*CreateProblemRequest) Descriptor
deprecated
func (*CreateProblemRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProblemRequest.ProtoReflect.Descriptor instead.
func (*CreateProblemRequest) GetDescription ¶
func (x *CreateProblemRequest) GetDescription() string
func (*CreateProblemRequest) GetDisplayName ¶
func (x *CreateProblemRequest) GetDisplayName() string
func (*CreateProblemRequest) GetMemoryLimit ¶
func (x *CreateProblemRequest) GetMemoryLimit() string
func (*CreateProblemRequest) GetTimeLimit ¶
func (x *CreateProblemRequest) GetTimeLimit() string
func (*CreateProblemRequest) ProtoMessage ¶
func (*CreateProblemRequest) ProtoMessage()
func (*CreateProblemRequest) ProtoReflect ¶
func (x *CreateProblemRequest) ProtoReflect() protoreflect.Message
func (*CreateProblemRequest) Reset ¶
func (x *CreateProblemRequest) Reset()
func (*CreateProblemRequest) String ¶
func (x *CreateProblemRequest) String() string
func (*CreateProblemRequest) Validate ¶
func (m *CreateProblemRequest) Validate() error
Validate checks the field values on CreateProblemRequest 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 (*CreateProblemRequest) ValidateAll ¶
func (m *CreateProblemRequest) ValidateAll() error
ValidateAll checks the field values on CreateProblemRequest 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 CreateProblemRequestMultiError, or nil if none found.
type CreateProblemRequestMultiError ¶
type CreateProblemRequestMultiError []error
CreateProblemRequestMultiError is an error wrapping multiple validation errors returned by CreateProblemRequest.ValidateAll() if the designated constraints aren't met.
func (CreateProblemRequestMultiError) AllErrors ¶
func (m CreateProblemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProblemRequestMultiError) Error ¶
func (m CreateProblemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProblemRequestValidationError ¶
type CreateProblemRequestValidationError struct {
// contains filtered or unexported fields
}
CreateProblemRequestValidationError is the validation error returned by CreateProblemRequest.Validate if the designated constraints aren't met.
func (CreateProblemRequestValidationError) Cause ¶
func (e CreateProblemRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateProblemRequestValidationError) Error ¶
func (e CreateProblemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProblemRequestValidationError) ErrorName ¶
func (e CreateProblemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProblemRequestValidationError) Field ¶
func (e CreateProblemRequestValidationError) Field() string
Field function returns field value.
func (CreateProblemRequestValidationError) Key ¶
func (e CreateProblemRequestValidationError) Key() bool
Key function returns key value.
func (CreateProblemRequestValidationError) Reason ¶
func (e CreateProblemRequestValidationError) Reason() string
Reason function returns reason value.
type CreateProblemResponse ¶
type CreateProblemResponse struct { Problem *Problem `protobuf:"bytes,1,opt,name=problem,proto3" json:"problem,omitempty"` // contains filtered or unexported fields }
func (*CreateProblemResponse) Descriptor
deprecated
func (*CreateProblemResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProblemResponse.ProtoReflect.Descriptor instead.
func (*CreateProblemResponse) GetProblem ¶
func (x *CreateProblemResponse) GetProblem() *Problem
func (*CreateProblemResponse) ProtoMessage ¶
func (*CreateProblemResponse) ProtoMessage()
func (*CreateProblemResponse) ProtoReflect ¶
func (x *CreateProblemResponse) ProtoReflect() protoreflect.Message
func (*CreateProblemResponse) Reset ¶
func (x *CreateProblemResponse) Reset()
func (*CreateProblemResponse) String ¶
func (x *CreateProblemResponse) String() string
func (*CreateProblemResponse) Validate ¶
func (m *CreateProblemResponse) Validate() error
Validate checks the field values on CreateProblemResponse 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 (*CreateProblemResponse) ValidateAll ¶
func (m *CreateProblemResponse) ValidateAll() error
ValidateAll checks the field values on CreateProblemResponse 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 CreateProblemResponseMultiError, or nil if none found.
type CreateProblemResponseMultiError ¶
type CreateProblemResponseMultiError []error
CreateProblemResponseMultiError is an error wrapping multiple validation errors returned by CreateProblemResponse.ValidateAll() if the designated constraints aren't met.
func (CreateProblemResponseMultiError) AllErrors ¶
func (m CreateProblemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProblemResponseMultiError) Error ¶
func (m CreateProblemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProblemResponseValidationError ¶
type CreateProblemResponseValidationError struct {
// contains filtered or unexported fields
}
CreateProblemResponseValidationError is the validation error returned by CreateProblemResponse.Validate if the designated constraints aren't met.
func (CreateProblemResponseValidationError) Cause ¶
func (e CreateProblemResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateProblemResponseValidationError) Error ¶
func (e CreateProblemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProblemResponseValidationError) ErrorName ¶
func (e CreateProblemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProblemResponseValidationError) Field ¶
func (e CreateProblemResponseValidationError) Field() string
Field function returns field value.
func (CreateProblemResponseValidationError) Key ¶
func (e CreateProblemResponseValidationError) Key() bool
Key function returns key value.
func (CreateProblemResponseValidationError) Reason ¶
func (e CreateProblemResponseValidationError) Reason() string
Reason function returns reason value.
type CreateSessionRequest ¶
type CreateSessionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"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) GetName ¶
func (x *CreateSessionRequest) GetName() 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 ¶
func (m CreateSessionRequestMultiError) Error() string
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 ¶
func (e CreateSessionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSessionRequestValidationError) Error ¶
func (e CreateSessionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSessionRequestValidationError) ErrorName ¶
func (e CreateSessionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSessionRequestValidationError) Field ¶
func (e CreateSessionRequestValidationError) Field() string
Field function returns field value.
func (CreateSessionRequestValidationError) Key ¶
func (e CreateSessionRequestValidationError) Key() bool
Key function returns key value.
func (CreateSessionRequestValidationError) Reason ¶
func (e CreateSessionRequestValidationError) Reason() string
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 ¶
func (m CreateSessionResponseMultiError) Error() string
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 ¶
func (e CreateSessionResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateSessionResponseValidationError) Error ¶
func (e CreateSessionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSessionResponseValidationError) ErrorName ¶
func (e CreateSessionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSessionResponseValidationError) Field ¶
func (e CreateSessionResponseValidationError) Field() string
Field function returns field value.
func (CreateSessionResponseValidationError) Key ¶
func (e CreateSessionResponseValidationError) Key() bool
Key function returns key value.
func (CreateSessionResponseValidationError) Reason ¶
func (e CreateSessionResponseValidationError) Reason() string
Reason function returns reason value.
type CreateSubmissionRequest ¶
type CreateSubmissionRequest struct { OfProblemId uint64 `protobuf:"varint,1,opt,name=of_problem_id,json=ofProblemId,proto3" json:"of_problem_id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*CreateSubmissionRequest) Descriptor
deprecated
func (*CreateSubmissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubmissionRequest.ProtoReflect.Descriptor instead.
func (*CreateSubmissionRequest) GetContent ¶
func (x *CreateSubmissionRequest) GetContent() string
func (*CreateSubmissionRequest) GetLanguage ¶
func (x *CreateSubmissionRequest) GetLanguage() string
func (*CreateSubmissionRequest) GetOfProblemId ¶
func (x *CreateSubmissionRequest) GetOfProblemId() uint64
func (*CreateSubmissionRequest) ProtoMessage ¶
func (*CreateSubmissionRequest) ProtoMessage()
func (*CreateSubmissionRequest) ProtoReflect ¶
func (x *CreateSubmissionRequest) ProtoReflect() protoreflect.Message
func (*CreateSubmissionRequest) Reset ¶
func (x *CreateSubmissionRequest) Reset()
func (*CreateSubmissionRequest) String ¶
func (x *CreateSubmissionRequest) String() string
func (*CreateSubmissionRequest) Validate ¶
func (m *CreateSubmissionRequest) Validate() error
Validate checks the field values on CreateSubmissionRequest 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 (*CreateSubmissionRequest) ValidateAll ¶
func (m *CreateSubmissionRequest) ValidateAll() error
ValidateAll checks the field values on CreateSubmissionRequest 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 CreateSubmissionRequestMultiError, or nil if none found.
type CreateSubmissionRequestMultiError ¶
type CreateSubmissionRequestMultiError []error
CreateSubmissionRequestMultiError is an error wrapping multiple validation errors returned by CreateSubmissionRequest.ValidateAll() if the designated constraints aren't met.
func (CreateSubmissionRequestMultiError) AllErrors ¶
func (m CreateSubmissionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateSubmissionRequestMultiError) Error ¶
func (m CreateSubmissionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateSubmissionRequestValidationError ¶
type CreateSubmissionRequestValidationError struct {
// contains filtered or unexported fields
}
CreateSubmissionRequestValidationError is the validation error returned by CreateSubmissionRequest.Validate if the designated constraints aren't met.
func (CreateSubmissionRequestValidationError) Cause ¶
func (e CreateSubmissionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSubmissionRequestValidationError) Error ¶
func (e CreateSubmissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSubmissionRequestValidationError) ErrorName ¶
func (e CreateSubmissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSubmissionRequestValidationError) Field ¶
func (e CreateSubmissionRequestValidationError) Field() string
Field function returns field value.
func (CreateSubmissionRequestValidationError) Key ¶
func (e CreateSubmissionRequestValidationError) Key() bool
Key function returns key value.
func (CreateSubmissionRequestValidationError) Reason ¶
func (e CreateSubmissionRequestValidationError) Reason() string
Reason function returns reason value.
type CreateSubmissionResponse ¶
type CreateSubmissionResponse struct { Submission *Submission `protobuf:"bytes,1,opt,name=submission,proto3" json:"submission,omitempty"` // contains filtered or unexported fields }
func (*CreateSubmissionResponse) Descriptor
deprecated
func (*CreateSubmissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubmissionResponse.ProtoReflect.Descriptor instead.
func (*CreateSubmissionResponse) GetSubmission ¶
func (x *CreateSubmissionResponse) GetSubmission() *Submission
func (*CreateSubmissionResponse) ProtoMessage ¶
func (*CreateSubmissionResponse) ProtoMessage()
func (*CreateSubmissionResponse) ProtoReflect ¶
func (x *CreateSubmissionResponse) ProtoReflect() protoreflect.Message
func (*CreateSubmissionResponse) Reset ¶
func (x *CreateSubmissionResponse) Reset()
func (*CreateSubmissionResponse) String ¶
func (x *CreateSubmissionResponse) String() string
func (*CreateSubmissionResponse) Validate ¶
func (m *CreateSubmissionResponse) Validate() error
Validate checks the field values on CreateSubmissionResponse 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 (*CreateSubmissionResponse) ValidateAll ¶
func (m *CreateSubmissionResponse) ValidateAll() error
ValidateAll checks the field values on CreateSubmissionResponse 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 CreateSubmissionResponseMultiError, or nil if none found.
type CreateSubmissionResponseMultiError ¶
type CreateSubmissionResponseMultiError []error
CreateSubmissionResponseMultiError is an error wrapping multiple validation errors returned by CreateSubmissionResponse.ValidateAll() if the designated constraints aren't met.
func (CreateSubmissionResponseMultiError) AllErrors ¶
func (m CreateSubmissionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateSubmissionResponseMultiError) Error ¶
func (m CreateSubmissionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateSubmissionResponseValidationError ¶
type CreateSubmissionResponseValidationError struct {
// contains filtered or unexported fields
}
CreateSubmissionResponseValidationError is the validation error returned by CreateSubmissionResponse.Validate if the designated constraints aren't met.
func (CreateSubmissionResponseValidationError) Cause ¶
func (e CreateSubmissionResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateSubmissionResponseValidationError) Error ¶
func (e CreateSubmissionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSubmissionResponseValidationError) ErrorName ¶
func (e CreateSubmissionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSubmissionResponseValidationError) Field ¶
func (e CreateSubmissionResponseValidationError) Field() string
Field function returns field value.
func (CreateSubmissionResponseValidationError) Key ¶
func (e CreateSubmissionResponseValidationError) Key() bool
Key function returns key value.
func (CreateSubmissionResponseValidationError) Reason ¶
func (e CreateSubmissionResponseValidationError) Reason() string
Reason function returns reason value.
type CreateTestCaseRequest ¶
type CreateTestCaseRequest struct { OfProblemId uint64 `protobuf:"varint,1,opt,name=of_problem_id,json=ofProblemId,proto3" json:"of_problem_id,omitempty"` Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` IsHidden bool `protobuf:"varint,4,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` // contains filtered or unexported fields }
func (*CreateTestCaseRequest) Descriptor
deprecated
func (*CreateTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*CreateTestCaseRequest) GetInput ¶
func (x *CreateTestCaseRequest) GetInput() string
func (*CreateTestCaseRequest) GetIsHidden ¶
func (x *CreateTestCaseRequest) GetIsHidden() bool
func (*CreateTestCaseRequest) GetOfProblemId ¶
func (x *CreateTestCaseRequest) GetOfProblemId() uint64
func (*CreateTestCaseRequest) GetOutput ¶
func (x *CreateTestCaseRequest) GetOutput() string
func (*CreateTestCaseRequest) ProtoMessage ¶
func (*CreateTestCaseRequest) ProtoMessage()
func (*CreateTestCaseRequest) ProtoReflect ¶
func (x *CreateTestCaseRequest) ProtoReflect() protoreflect.Message
func (*CreateTestCaseRequest) Reset ¶
func (x *CreateTestCaseRequest) Reset()
func (*CreateTestCaseRequest) String ¶
func (x *CreateTestCaseRequest) String() string
func (*CreateTestCaseRequest) Validate ¶
func (m *CreateTestCaseRequest) Validate() error
Validate checks the field values on CreateTestCaseRequest 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 (*CreateTestCaseRequest) ValidateAll ¶
func (m *CreateTestCaseRequest) ValidateAll() error
ValidateAll checks the field values on CreateTestCaseRequest 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 CreateTestCaseRequestMultiError, or nil if none found.
type CreateTestCaseRequestMultiError ¶
type CreateTestCaseRequestMultiError []error
CreateTestCaseRequestMultiError is an error wrapping multiple validation errors returned by CreateTestCaseRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTestCaseRequestMultiError) AllErrors ¶
func (m CreateTestCaseRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTestCaseRequestMultiError) Error ¶
func (m CreateTestCaseRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTestCaseRequestValidationError ¶
type CreateTestCaseRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTestCaseRequestValidationError is the validation error returned by CreateTestCaseRequest.Validate if the designated constraints aren't met.
func (CreateTestCaseRequestValidationError) Cause ¶
func (e CreateTestCaseRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTestCaseRequestValidationError) Error ¶
func (e CreateTestCaseRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTestCaseRequestValidationError) ErrorName ¶
func (e CreateTestCaseRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTestCaseRequestValidationError) Field ¶
func (e CreateTestCaseRequestValidationError) Field() string
Field function returns field value.
func (CreateTestCaseRequestValidationError) Key ¶
func (e CreateTestCaseRequestValidationError) Key() bool
Key function returns key value.
func (CreateTestCaseRequestValidationError) Reason ¶
func (e CreateTestCaseRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTestCaseResponse ¶
type CreateTestCaseResponse struct { TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // contains filtered or unexported fields }
func (*CreateTestCaseResponse) Descriptor
deprecated
func (*CreateTestCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTestCaseResponse.ProtoReflect.Descriptor instead.
func (*CreateTestCaseResponse) GetTestCase ¶
func (x *CreateTestCaseResponse) GetTestCase() *TestCase
func (*CreateTestCaseResponse) ProtoMessage ¶
func (*CreateTestCaseResponse) ProtoMessage()
func (*CreateTestCaseResponse) ProtoReflect ¶
func (x *CreateTestCaseResponse) ProtoReflect() protoreflect.Message
func (*CreateTestCaseResponse) Reset ¶
func (x *CreateTestCaseResponse) Reset()
func (*CreateTestCaseResponse) String ¶
func (x *CreateTestCaseResponse) String() string
func (*CreateTestCaseResponse) Validate ¶
func (m *CreateTestCaseResponse) Validate() error
Validate checks the field values on CreateTestCaseResponse 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 (*CreateTestCaseResponse) ValidateAll ¶
func (m *CreateTestCaseResponse) ValidateAll() error
ValidateAll checks the field values on CreateTestCaseResponse 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 CreateTestCaseResponseMultiError, or nil if none found.
type CreateTestCaseResponseMultiError ¶
type CreateTestCaseResponseMultiError []error
CreateTestCaseResponseMultiError is an error wrapping multiple validation errors returned by CreateTestCaseResponse.ValidateAll() if the designated constraints aren't met.
func (CreateTestCaseResponseMultiError) AllErrors ¶
func (m CreateTestCaseResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTestCaseResponseMultiError) Error ¶
func (m CreateTestCaseResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTestCaseResponseValidationError ¶
type CreateTestCaseResponseValidationError struct {
// contains filtered or unexported fields
}
CreateTestCaseResponseValidationError is the validation error returned by CreateTestCaseResponse.Validate if the designated constraints aren't met.
func (CreateTestCaseResponseValidationError) Cause ¶
func (e CreateTestCaseResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateTestCaseResponseValidationError) Error ¶
func (e CreateTestCaseResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTestCaseResponseValidationError) ErrorName ¶
func (e CreateTestCaseResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTestCaseResponseValidationError) Field ¶
func (e CreateTestCaseResponseValidationError) Field() string
Field function returns field value.
func (CreateTestCaseResponseValidationError) Key ¶
func (e CreateTestCaseResponseValidationError) Key() bool
Key function returns key value.
func (CreateTestCaseResponseValidationError) Reason ¶
func (e CreateTestCaseResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteProblemRequest ¶
type DeleteProblemRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProblemRequest) Descriptor
deprecated
func (*DeleteProblemRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProblemRequest.ProtoReflect.Descriptor instead.
func (*DeleteProblemRequest) GetId ¶
func (x *DeleteProblemRequest) GetId() uint64
func (*DeleteProblemRequest) ProtoMessage ¶
func (*DeleteProblemRequest) ProtoMessage()
func (*DeleteProblemRequest) ProtoReflect ¶
func (x *DeleteProblemRequest) ProtoReflect() protoreflect.Message
func (*DeleteProblemRequest) Reset ¶
func (x *DeleteProblemRequest) Reset()
func (*DeleteProblemRequest) String ¶
func (x *DeleteProblemRequest) String() string
func (*DeleteProblemRequest) Validate ¶
func (m *DeleteProblemRequest) Validate() error
Validate checks the field values on DeleteProblemRequest 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 (*DeleteProblemRequest) ValidateAll ¶
func (m *DeleteProblemRequest) ValidateAll() error
ValidateAll checks the field values on DeleteProblemRequest 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 DeleteProblemRequestMultiError, or nil if none found.
type DeleteProblemRequestMultiError ¶
type DeleteProblemRequestMultiError []error
DeleteProblemRequestMultiError is an error wrapping multiple validation errors returned by DeleteProblemRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteProblemRequestMultiError) AllErrors ¶
func (m DeleteProblemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProblemRequestMultiError) Error ¶
func (m DeleteProblemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProblemRequestValidationError ¶
type DeleteProblemRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteProblemRequestValidationError is the validation error returned by DeleteProblemRequest.Validate if the designated constraints aren't met.
func (DeleteProblemRequestValidationError) Cause ¶
func (e DeleteProblemRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteProblemRequestValidationError) Error ¶
func (e DeleteProblemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProblemRequestValidationError) ErrorName ¶
func (e DeleteProblemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProblemRequestValidationError) Field ¶
func (e DeleteProblemRequestValidationError) Field() string
Field function returns field value.
func (DeleteProblemRequestValidationError) Key ¶
func (e DeleteProblemRequestValidationError) Key() bool
Key function returns key value.
func (DeleteProblemRequestValidationError) Reason ¶
func (e DeleteProblemRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteProblemResponse ¶
type DeleteProblemResponse struct {
// contains filtered or unexported fields
}
func (*DeleteProblemResponse) Descriptor
deprecated
func (*DeleteProblemResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProblemResponse.ProtoReflect.Descriptor instead.
func (*DeleteProblemResponse) ProtoMessage ¶
func (*DeleteProblemResponse) ProtoMessage()
func (*DeleteProblemResponse) ProtoReflect ¶
func (x *DeleteProblemResponse) ProtoReflect() protoreflect.Message
func (*DeleteProblemResponse) Reset ¶
func (x *DeleteProblemResponse) Reset()
func (*DeleteProblemResponse) String ¶
func (x *DeleteProblemResponse) String() string
func (*DeleteProblemResponse) Validate ¶
func (m *DeleteProblemResponse) Validate() error
Validate checks the field values on DeleteProblemResponse 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 (*DeleteProblemResponse) ValidateAll ¶
func (m *DeleteProblemResponse) ValidateAll() error
ValidateAll checks the field values on DeleteProblemResponse 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 DeleteProblemResponseMultiError, or nil if none found.
type DeleteProblemResponseMultiError ¶
type DeleteProblemResponseMultiError []error
DeleteProblemResponseMultiError is an error wrapping multiple validation errors returned by DeleteProblemResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteProblemResponseMultiError) AllErrors ¶
func (m DeleteProblemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProblemResponseMultiError) Error ¶
func (m DeleteProblemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProblemResponseValidationError ¶
type DeleteProblemResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteProblemResponseValidationError is the validation error returned by DeleteProblemResponse.Validate if the designated constraints aren't met.
func (DeleteProblemResponseValidationError) Cause ¶
func (e DeleteProblemResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteProblemResponseValidationError) Error ¶
func (e DeleteProblemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProblemResponseValidationError) ErrorName ¶
func (e DeleteProblemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProblemResponseValidationError) Field ¶
func (e DeleteProblemResponseValidationError) Field() string
Field function returns field value.
func (DeleteProblemResponseValidationError) Key ¶
func (e DeleteProblemResponseValidationError) Key() bool
Key function returns key value.
func (DeleteProblemResponseValidationError) Reason ¶
func (e DeleteProblemResponseValidationError) Reason() string
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 ¶
func (m DeleteSessionRequestMultiError) Error() string
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 ¶
func (e DeleteSessionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteSessionRequestValidationError) Error ¶
func (e DeleteSessionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSessionRequestValidationError) ErrorName ¶
func (e DeleteSessionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSessionRequestValidationError) Field ¶
func (e DeleteSessionRequestValidationError) Field() string
Field function returns field value.
func (DeleteSessionRequestValidationError) Key ¶
func (e DeleteSessionRequestValidationError) Key() bool
Key function returns key value.
func (DeleteSessionRequestValidationError) Reason ¶
func (e DeleteSessionRequestValidationError) Reason() string
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 ¶
func (m DeleteSessionResponseMultiError) Error() string
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 ¶
func (e DeleteSessionResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteSessionResponseValidationError) Error ¶
func (e DeleteSessionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSessionResponseValidationError) ErrorName ¶
func (e DeleteSessionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSessionResponseValidationError) Field ¶
func (e DeleteSessionResponseValidationError) Field() string
Field function returns field value.
func (DeleteSessionResponseValidationError) Key ¶
func (e DeleteSessionResponseValidationError) Key() bool
Key function returns key value.
func (DeleteSessionResponseValidationError) Reason ¶
func (e DeleteSessionResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteTestCaseRequest ¶
type DeleteTestCaseRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTestCaseRequest) Descriptor
deprecated
func (*DeleteTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTestCaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteTestCaseRequest) GetId ¶
func (x *DeleteTestCaseRequest) GetId() uint64
func (*DeleteTestCaseRequest) ProtoMessage ¶
func (*DeleteTestCaseRequest) ProtoMessage()
func (*DeleteTestCaseRequest) ProtoReflect ¶
func (x *DeleteTestCaseRequest) ProtoReflect() protoreflect.Message
func (*DeleteTestCaseRequest) Reset ¶
func (x *DeleteTestCaseRequest) Reset()
func (*DeleteTestCaseRequest) String ¶
func (x *DeleteTestCaseRequest) String() string
func (*DeleteTestCaseRequest) Validate ¶
func (m *DeleteTestCaseRequest) Validate() error
Validate checks the field values on DeleteTestCaseRequest 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 (*DeleteTestCaseRequest) ValidateAll ¶
func (m *DeleteTestCaseRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTestCaseRequest 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 DeleteTestCaseRequestMultiError, or nil if none found.
type DeleteTestCaseRequestMultiError ¶
type DeleteTestCaseRequestMultiError []error
DeleteTestCaseRequestMultiError is an error wrapping multiple validation errors returned by DeleteTestCaseRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTestCaseRequestMultiError) AllErrors ¶
func (m DeleteTestCaseRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTestCaseRequestMultiError) Error ¶
func (m DeleteTestCaseRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTestCaseRequestValidationError ¶
type DeleteTestCaseRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTestCaseRequestValidationError is the validation error returned by DeleteTestCaseRequest.Validate if the designated constraints aren't met.
func (DeleteTestCaseRequestValidationError) Cause ¶
func (e DeleteTestCaseRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTestCaseRequestValidationError) Error ¶
func (e DeleteTestCaseRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTestCaseRequestValidationError) ErrorName ¶
func (e DeleteTestCaseRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTestCaseRequestValidationError) Field ¶
func (e DeleteTestCaseRequestValidationError) Field() string
Field function returns field value.
func (DeleteTestCaseRequestValidationError) Key ¶
func (e DeleteTestCaseRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTestCaseRequestValidationError) Reason ¶
func (e DeleteTestCaseRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTestCaseResponse ¶
type DeleteTestCaseResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTestCaseResponse) Descriptor
deprecated
func (*DeleteTestCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTestCaseResponse.ProtoReflect.Descriptor instead.
func (*DeleteTestCaseResponse) ProtoMessage ¶
func (*DeleteTestCaseResponse) ProtoMessage()
func (*DeleteTestCaseResponse) ProtoReflect ¶
func (x *DeleteTestCaseResponse) ProtoReflect() protoreflect.Message
func (*DeleteTestCaseResponse) Reset ¶
func (x *DeleteTestCaseResponse) Reset()
func (*DeleteTestCaseResponse) String ¶
func (x *DeleteTestCaseResponse) String() string
func (*DeleteTestCaseResponse) Validate ¶
func (m *DeleteTestCaseResponse) Validate() error
Validate checks the field values on DeleteTestCaseResponse 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 (*DeleteTestCaseResponse) ValidateAll ¶
func (m *DeleteTestCaseResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTestCaseResponse 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 DeleteTestCaseResponseMultiError, or nil if none found.
type DeleteTestCaseResponseMultiError ¶
type DeleteTestCaseResponseMultiError []error
DeleteTestCaseResponseMultiError is an error wrapping multiple validation errors returned by DeleteTestCaseResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTestCaseResponseMultiError) AllErrors ¶
func (m DeleteTestCaseResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTestCaseResponseMultiError) Error ¶
func (m DeleteTestCaseResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTestCaseResponseValidationError ¶
type DeleteTestCaseResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTestCaseResponseValidationError is the validation error returned by DeleteTestCaseResponse.Validate if the designated constraints aren't met.
func (DeleteTestCaseResponseValidationError) Cause ¶
func (e DeleteTestCaseResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTestCaseResponseValidationError) Error ¶
func (e DeleteTestCaseResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTestCaseResponseValidationError) ErrorName ¶
func (e DeleteTestCaseResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTestCaseResponseValidationError) Field ¶
func (e DeleteTestCaseResponseValidationError) Field() string
Field function returns field value.
func (DeleteTestCaseResponseValidationError) Key ¶
func (e DeleteTestCaseResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTestCaseResponseValidationError) Reason ¶
func (e DeleteTestCaseResponseValidationError) Reason() string
Reason function returns reason value.
type GetAccountProblemSubmissionListRequest ¶
type GetAccountProblemSubmissionListRequest struct { AccountId uint64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` ProblemId uint64 `protobuf:"varint,2,opt,name=problem_id,json=problemId,proto3" json:"problem_id,omitempty"` Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetAccountProblemSubmissionListRequest) Descriptor
deprecated
func (*GetAccountProblemSubmissionListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountProblemSubmissionListRequest.ProtoReflect.Descriptor instead.
func (*GetAccountProblemSubmissionListRequest) GetAccountId ¶
func (x *GetAccountProblemSubmissionListRequest) GetAccountId() uint64
func (*GetAccountProblemSubmissionListRequest) GetLimit ¶
func (x *GetAccountProblemSubmissionListRequest) GetLimit() uint64
func (*GetAccountProblemSubmissionListRequest) GetOffset ¶
func (x *GetAccountProblemSubmissionListRequest) GetOffset() uint64
func (*GetAccountProblemSubmissionListRequest) GetProblemId ¶
func (x *GetAccountProblemSubmissionListRequest) GetProblemId() uint64
func (*GetAccountProblemSubmissionListRequest) ProtoMessage ¶
func (*GetAccountProblemSubmissionListRequest) ProtoMessage()
func (*GetAccountProblemSubmissionListRequest) ProtoReflect ¶
func (x *GetAccountProblemSubmissionListRequest) ProtoReflect() protoreflect.Message
func (*GetAccountProblemSubmissionListRequest) Reset ¶
func (x *GetAccountProblemSubmissionListRequest) Reset()
func (*GetAccountProblemSubmissionListRequest) String ¶
func (x *GetAccountProblemSubmissionListRequest) String() string
func (*GetAccountProblemSubmissionListRequest) Validate ¶
func (m *GetAccountProblemSubmissionListRequest) Validate() error
Validate checks the field values on GetAccountProblemSubmissionListRequest 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 (*GetAccountProblemSubmissionListRequest) ValidateAll ¶
func (m *GetAccountProblemSubmissionListRequest) ValidateAll() error
ValidateAll checks the field values on GetAccountProblemSubmissionListRequest 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 GetAccountProblemSubmissionListRequestMultiError, or nil if none found.
type GetAccountProblemSubmissionListRequestMultiError ¶
type GetAccountProblemSubmissionListRequestMultiError []error
GetAccountProblemSubmissionListRequestMultiError is an error wrapping multiple validation errors returned by GetAccountProblemSubmissionListRequest.ValidateAll() if the designated constraints aren't met.
func (GetAccountProblemSubmissionListRequestMultiError) AllErrors ¶
func (m GetAccountProblemSubmissionListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountProblemSubmissionListRequestMultiError) Error ¶
func (m GetAccountProblemSubmissionListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountProblemSubmissionListRequestValidationError ¶
type GetAccountProblemSubmissionListRequestValidationError struct {
// contains filtered or unexported fields
}
GetAccountProblemSubmissionListRequestValidationError is the validation error returned by GetAccountProblemSubmissionListRequest.Validate if the designated constraints aren't met.
func (GetAccountProblemSubmissionListRequestValidationError) Cause ¶
func (e GetAccountProblemSubmissionListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAccountProblemSubmissionListRequestValidationError) Error ¶
func (e GetAccountProblemSubmissionListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountProblemSubmissionListRequestValidationError) ErrorName ¶
func (e GetAccountProblemSubmissionListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountProblemSubmissionListRequestValidationError) Field ¶
func (e GetAccountProblemSubmissionListRequestValidationError) Field() string
Field function returns field value.
func (GetAccountProblemSubmissionListRequestValidationError) Key ¶
func (e GetAccountProblemSubmissionListRequestValidationError) Key() bool
Key function returns key value.
func (GetAccountProblemSubmissionListRequestValidationError) Reason ¶
func (e GetAccountProblemSubmissionListRequestValidationError) Reason() string
Reason function returns reason value.
type GetAccountProblemSubmissionListResponse ¶
type GetAccountProblemSubmissionListResponse struct { Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"` TotalSubmissionsCount uint64 `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAccountProblemSubmissionListResponse) Descriptor
deprecated
func (*GetAccountProblemSubmissionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountProblemSubmissionListResponse.ProtoReflect.Descriptor instead.
func (*GetAccountProblemSubmissionListResponse) GetSubmissions ¶
func (x *GetAccountProblemSubmissionListResponse) GetSubmissions() []*Submission
func (*GetAccountProblemSubmissionListResponse) GetTotalSubmissionsCount ¶
func (x *GetAccountProblemSubmissionListResponse) GetTotalSubmissionsCount() uint64
func (*GetAccountProblemSubmissionListResponse) ProtoMessage ¶
func (*GetAccountProblemSubmissionListResponse) ProtoMessage()
func (*GetAccountProblemSubmissionListResponse) ProtoReflect ¶
func (x *GetAccountProblemSubmissionListResponse) ProtoReflect() protoreflect.Message
func (*GetAccountProblemSubmissionListResponse) Reset ¶
func (x *GetAccountProblemSubmissionListResponse) Reset()
func (*GetAccountProblemSubmissionListResponse) String ¶
func (x *GetAccountProblemSubmissionListResponse) String() string
func (*GetAccountProblemSubmissionListResponse) Validate ¶
func (m *GetAccountProblemSubmissionListResponse) Validate() error
Validate checks the field values on GetAccountProblemSubmissionListResponse 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 (*GetAccountProblemSubmissionListResponse) ValidateAll ¶
func (m *GetAccountProblemSubmissionListResponse) ValidateAll() error
ValidateAll checks the field values on GetAccountProblemSubmissionListResponse 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 GetAccountProblemSubmissionListResponseMultiError, or nil if none found.
type GetAccountProblemSubmissionListResponseMultiError ¶
type GetAccountProblemSubmissionListResponseMultiError []error
GetAccountProblemSubmissionListResponseMultiError is an error wrapping multiple validation errors returned by GetAccountProblemSubmissionListResponse.ValidateAll() if the designated constraints aren't met.
func (GetAccountProblemSubmissionListResponseMultiError) AllErrors ¶
func (m GetAccountProblemSubmissionListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountProblemSubmissionListResponseMultiError) Error ¶
func (m GetAccountProblemSubmissionListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountProblemSubmissionListResponseValidationError ¶
type GetAccountProblemSubmissionListResponseValidationError struct {
// contains filtered or unexported fields
}
GetAccountProblemSubmissionListResponseValidationError is the validation error returned by GetAccountProblemSubmissionListResponse.Validate if the designated constraints aren't met.
func (GetAccountProblemSubmissionListResponseValidationError) Cause ¶
func (e GetAccountProblemSubmissionListResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAccountProblemSubmissionListResponseValidationError) Error ¶
func (e GetAccountProblemSubmissionListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountProblemSubmissionListResponseValidationError) ErrorName ¶
func (e GetAccountProblemSubmissionListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountProblemSubmissionListResponseValidationError) Field ¶
func (e GetAccountProblemSubmissionListResponseValidationError) Field() string
Field function returns field value.
func (GetAccountProblemSubmissionListResponseValidationError) Key ¶
func (e GetAccountProblemSubmissionListResponseValidationError) Key() bool
Key function returns key value.
func (GetAccountProblemSubmissionListResponseValidationError) Reason ¶
func (e GetAccountProblemSubmissionListResponseValidationError) Reason() string
Reason function returns reason value.
type GetAccountRequest ¶
type GetAccountRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetId ¶
func (x *GetAccountRequest) GetId() uint64
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
func (*GetAccountRequest) Validate ¶
func (m *GetAccountRequest) Validate() error
Validate checks the field values on GetAccountRequest 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 (*GetAccountRequest) ValidateAll ¶
func (m *GetAccountRequest) ValidateAll() error
ValidateAll checks the field values on GetAccountRequest 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 GetAccountRequestMultiError, or nil if none found.
type GetAccountRequestMultiError ¶
type GetAccountRequestMultiError []error
GetAccountRequestMultiError is an error wrapping multiple validation errors returned by GetAccountRequest.ValidateAll() if the designated constraints aren't met.
func (GetAccountRequestMultiError) AllErrors ¶
func (m GetAccountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountRequestMultiError) Error ¶
func (m GetAccountRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountRequestValidationError ¶
type GetAccountRequestValidationError struct {
// contains filtered or unexported fields
}
GetAccountRequestValidationError is the validation error returned by GetAccountRequest.Validate if the designated constraints aren't met.
func (GetAccountRequestValidationError) Cause ¶
func (e GetAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAccountRequestValidationError) Error ¶
func (e GetAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountRequestValidationError) ErrorName ¶
func (e GetAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountRequestValidationError) Field ¶
func (e GetAccountRequestValidationError) Field() string
Field function returns field value.
func (GetAccountRequestValidationError) Key ¶
func (e GetAccountRequestValidationError) Key() bool
Key function returns key value.
func (GetAccountRequestValidationError) Reason ¶
func (e GetAccountRequestValidationError) Reason() string
Reason function returns reason value.
type GetAccountResponse ¶
type GetAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetAccount ¶
func (x *GetAccountResponse) GetAccount() *Account
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
func (*GetAccountResponse) Validate ¶
func (m *GetAccountResponse) Validate() error
Validate checks the field values on GetAccountResponse 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 (*GetAccountResponse) ValidateAll ¶
func (m *GetAccountResponse) ValidateAll() error
ValidateAll checks the field values on GetAccountResponse 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 GetAccountResponseMultiError, or nil if none found.
type GetAccountResponseMultiError ¶
type GetAccountResponseMultiError []error
GetAccountResponseMultiError is an error wrapping multiple validation errors returned by GetAccountResponse.ValidateAll() if the designated constraints aren't met.
func (GetAccountResponseMultiError) AllErrors ¶
func (m GetAccountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountResponseMultiError) Error ¶
func (m GetAccountResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountResponseValidationError ¶
type GetAccountResponseValidationError struct {
// contains filtered or unexported fields
}
GetAccountResponseValidationError is the validation error returned by GetAccountResponse.Validate if the designated constraints aren't met.
func (GetAccountResponseValidationError) Cause ¶
func (e GetAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAccountResponseValidationError) Error ¶
func (e GetAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountResponseValidationError) ErrorName ¶
func (e GetAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountResponseValidationError) Field ¶
func (e GetAccountResponseValidationError) Field() string
Field function returns field value.
func (GetAccountResponseValidationError) Key ¶
func (e GetAccountResponseValidationError) Key() bool
Key function returns key value.
func (GetAccountResponseValidationError) Reason ¶
func (e GetAccountResponseValidationError) Reason() string
Reason function returns reason value.
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequest ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequest struct {
// contains filtered or unexported fields
}
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Descriptor
deprecated
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAndUpdateFirstSubmittedSubmissionToExecutingRequest.ProtoReflect.Descriptor instead.
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoMessage ¶
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoMessage()
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoReflect ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoReflect() protoreflect.Message
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Reset ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Reset()
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) String ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) String() string
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Validate ¶
func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Validate() error
Validate checks the field values on GetAndUpdateFirstSubmittedSubmissionToExecutingRequest 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 (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ValidateAll ¶
func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ValidateAll() error
ValidateAll checks the field values on GetAndUpdateFirstSubmittedSubmissionToExecutingRequest 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 GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError, or nil if none found.
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError []error
GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError is an error wrapping multiple validation errors returned by GetAndUpdateFirstSubmittedSubmissionToExecutingRequest.ValidateAll() if the designated constraints aren't met.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError) AllErrors ¶
func (m GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError) Error ¶
func (m GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError struct {
// contains filtered or unexported fields
}
GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError is the validation error returned by GetAndUpdateFirstSubmittedSubmissionToExecutingRequest.Validate if the designated constraints aren't met.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Cause ¶
Cause function returns cause value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Error ¶
Error satisfies the builtin error interface
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) ErrorName ¶
func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Field ¶
Field function returns field value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Key ¶
Key function returns key value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Reason ¶
func (e GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Reason() string
Reason function returns reason value.
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponse ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponse struct {
// contains filtered or unexported fields
}
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Descriptor
deprecated
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAndUpdateFirstSubmittedSubmissionToExecutingResponse.ProtoReflect.Descriptor instead.
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoMessage ¶
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoMessage()
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoReflect ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoReflect() protoreflect.Message
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Reset ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Reset()
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) String ¶
func (x *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) String() string
func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Validate ¶
func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Validate() error
Validate checks the field values on GetAndUpdateFirstSubmittedSubmissionToExecutingResponse 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 (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ValidateAll ¶
func (m *GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ValidateAll() error
ValidateAll checks the field values on GetAndUpdateFirstSubmittedSubmissionToExecutingResponse 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 GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError, or nil if none found.
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError []error
GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError is an error wrapping multiple validation errors returned by GetAndUpdateFirstSubmittedSubmissionToExecutingResponse.ValidateAll() if the designated constraints aren't met.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError) AllErrors ¶
func (m GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError) Error ¶
func (m GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError ¶
type GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError struct {
// contains filtered or unexported fields
}
GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError is the validation error returned by GetAndUpdateFirstSubmittedSubmissionToExecutingResponse.Validate if the designated constraints aren't met.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Cause ¶
Cause function returns cause value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Error ¶
Error satisfies the builtin error interface
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) ErrorName ¶
func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Field ¶
Field function returns field value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Key ¶
Key function returns key value.
func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Reason ¶
func (e GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Reason() string
Reason function returns reason value.
type GetProblemListRequest ¶
type GetProblemListRequest 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 (*GetProblemListRequest) Descriptor
deprecated
func (*GetProblemListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemListRequest.ProtoReflect.Descriptor instead.
func (*GetProblemListRequest) GetLimit ¶
func (x *GetProblemListRequest) GetLimit() uint64
func (*GetProblemListRequest) GetOffset ¶
func (x *GetProblemListRequest) GetOffset() uint64
func (*GetProblemListRequest) ProtoMessage ¶
func (*GetProblemListRequest) ProtoMessage()
func (*GetProblemListRequest) ProtoReflect ¶
func (x *GetProblemListRequest) ProtoReflect() protoreflect.Message
func (*GetProblemListRequest) Reset ¶
func (x *GetProblemListRequest) Reset()
func (*GetProblemListRequest) String ¶
func (x *GetProblemListRequest) String() string
func (*GetProblemListRequest) Validate ¶
func (m *GetProblemListRequest) Validate() error
Validate checks the field values on GetProblemListRequest 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 (*GetProblemListRequest) ValidateAll ¶
func (m *GetProblemListRequest) ValidateAll() error
ValidateAll checks the field values on GetProblemListRequest 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 GetProblemListRequestMultiError, or nil if none found.
type GetProblemListRequestMultiError ¶
type GetProblemListRequestMultiError []error
GetProblemListRequestMultiError is an error wrapping multiple validation errors returned by GetProblemListRequest.ValidateAll() if the designated constraints aren't met.
func (GetProblemListRequestMultiError) AllErrors ¶
func (m GetProblemListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemListRequestMultiError) Error ¶
func (m GetProblemListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemListRequestValidationError ¶
type GetProblemListRequestValidationError struct {
// contains filtered or unexported fields
}
GetProblemListRequestValidationError is the validation error returned by GetProblemListRequest.Validate if the designated constraints aren't met.
func (GetProblemListRequestValidationError) Cause ¶
func (e GetProblemListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProblemListRequestValidationError) Error ¶
func (e GetProblemListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemListRequestValidationError) ErrorName ¶
func (e GetProblemListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemListRequestValidationError) Field ¶
func (e GetProblemListRequestValidationError) Field() string
Field function returns field value.
func (GetProblemListRequestValidationError) Key ¶
func (e GetProblemListRequestValidationError) Key() bool
Key function returns key value.
func (GetProblemListRequestValidationError) Reason ¶
func (e GetProblemListRequestValidationError) Reason() string
Reason function returns reason value.
type GetProblemListResponse ¶
type GetProblemListResponse struct { Problems []*Problem `protobuf:"bytes,1,rep,name=problems,proto3" json:"problems,omitempty"` TotalProblemCount uint64 `protobuf:"varint,2,opt,name=total_problem_count,json=totalProblemCount,proto3" json:"total_problem_count,omitempty"` // contains filtered or unexported fields }
func (*GetProblemListResponse) Descriptor
deprecated
func (*GetProblemListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemListResponse.ProtoReflect.Descriptor instead.
func (*GetProblemListResponse) GetProblems ¶
func (x *GetProblemListResponse) GetProblems() []*Problem
func (*GetProblemListResponse) GetTotalProblemCount ¶
func (x *GetProblemListResponse) GetTotalProblemCount() uint64
func (*GetProblemListResponse) ProtoMessage ¶
func (*GetProblemListResponse) ProtoMessage()
func (*GetProblemListResponse) ProtoReflect ¶
func (x *GetProblemListResponse) ProtoReflect() protoreflect.Message
func (*GetProblemListResponse) Reset ¶
func (x *GetProblemListResponse) Reset()
func (*GetProblemListResponse) String ¶
func (x *GetProblemListResponse) String() string
func (*GetProblemListResponse) Validate ¶
func (m *GetProblemListResponse) Validate() error
Validate checks the field values on GetProblemListResponse 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 (*GetProblemListResponse) ValidateAll ¶
func (m *GetProblemListResponse) ValidateAll() error
ValidateAll checks the field values on GetProblemListResponse 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 GetProblemListResponseMultiError, or nil if none found.
type GetProblemListResponseMultiError ¶
type GetProblemListResponseMultiError []error
GetProblemListResponseMultiError is an error wrapping multiple validation errors returned by GetProblemListResponse.ValidateAll() if the designated constraints aren't met.
func (GetProblemListResponseMultiError) AllErrors ¶
func (m GetProblemListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemListResponseMultiError) Error ¶
func (m GetProblemListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemListResponseValidationError ¶
type GetProblemListResponseValidationError struct {
// contains filtered or unexported fields
}
GetProblemListResponseValidationError is the validation error returned by GetProblemListResponse.Validate if the designated constraints aren't met.
func (GetProblemListResponseValidationError) Cause ¶
func (e GetProblemListResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProblemListResponseValidationError) Error ¶
func (e GetProblemListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemListResponseValidationError) ErrorName ¶
func (e GetProblemListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemListResponseValidationError) Field ¶
func (e GetProblemListResponseValidationError) Field() string
Field function returns field value.
func (GetProblemListResponseValidationError) Key ¶
func (e GetProblemListResponseValidationError) Key() bool
Key function returns key value.
func (GetProblemListResponseValidationError) Reason ¶
func (e GetProblemListResponseValidationError) Reason() string
Reason function returns reason value.
type GetProblemRequest ¶
type GetProblemRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProblemRequest) Descriptor
deprecated
func (*GetProblemRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemRequest.ProtoReflect.Descriptor instead.
func (*GetProblemRequest) GetId ¶
func (x *GetProblemRequest) GetId() uint64
func (*GetProblemRequest) ProtoMessage ¶
func (*GetProblemRequest) ProtoMessage()
func (*GetProblemRequest) ProtoReflect ¶
func (x *GetProblemRequest) ProtoReflect() protoreflect.Message
func (*GetProblemRequest) Reset ¶
func (x *GetProblemRequest) Reset()
func (*GetProblemRequest) String ¶
func (x *GetProblemRequest) String() string
func (*GetProblemRequest) Validate ¶
func (m *GetProblemRequest) Validate() error
Validate checks the field values on GetProblemRequest 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 (*GetProblemRequest) ValidateAll ¶
func (m *GetProblemRequest) ValidateAll() error
ValidateAll checks the field values on GetProblemRequest 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 GetProblemRequestMultiError, or nil if none found.
type GetProblemRequestMultiError ¶
type GetProblemRequestMultiError []error
GetProblemRequestMultiError is an error wrapping multiple validation errors returned by GetProblemRequest.ValidateAll() if the designated constraints aren't met.
func (GetProblemRequestMultiError) AllErrors ¶
func (m GetProblemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemRequestMultiError) Error ¶
func (m GetProblemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemRequestValidationError ¶
type GetProblemRequestValidationError struct {
// contains filtered or unexported fields
}
GetProblemRequestValidationError is the validation error returned by GetProblemRequest.Validate if the designated constraints aren't met.
func (GetProblemRequestValidationError) Cause ¶
func (e GetProblemRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProblemRequestValidationError) Error ¶
func (e GetProblemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemRequestValidationError) ErrorName ¶
func (e GetProblemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemRequestValidationError) Field ¶
func (e GetProblemRequestValidationError) Field() string
Field function returns field value.
func (GetProblemRequestValidationError) Key ¶
func (e GetProblemRequestValidationError) Key() bool
Key function returns key value.
func (GetProblemRequestValidationError) Reason ¶
func (e GetProblemRequestValidationError) Reason() string
Reason function returns reason value.
type GetProblemResponse ¶
type GetProblemResponse struct { Problem *Problem `protobuf:"bytes,1,opt,name=problem,proto3" json:"problem,omitempty"` // contains filtered or unexported fields }
func (*GetProblemResponse) Descriptor
deprecated
func (*GetProblemResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemResponse.ProtoReflect.Descriptor instead.
func (*GetProblemResponse) GetProblem ¶
func (x *GetProblemResponse) GetProblem() *Problem
func (*GetProblemResponse) ProtoMessage ¶
func (*GetProblemResponse) ProtoMessage()
func (*GetProblemResponse) ProtoReflect ¶
func (x *GetProblemResponse) ProtoReflect() protoreflect.Message
func (*GetProblemResponse) Reset ¶
func (x *GetProblemResponse) Reset()
func (*GetProblemResponse) String ¶
func (x *GetProblemResponse) String() string
func (*GetProblemResponse) Validate ¶
func (m *GetProblemResponse) Validate() error
Validate checks the field values on GetProblemResponse 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 (*GetProblemResponse) ValidateAll ¶
func (m *GetProblemResponse) ValidateAll() error
ValidateAll checks the field values on GetProblemResponse 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 GetProblemResponseMultiError, or nil if none found.
type GetProblemResponseMultiError ¶
type GetProblemResponseMultiError []error
GetProblemResponseMultiError is an error wrapping multiple validation errors returned by GetProblemResponse.ValidateAll() if the designated constraints aren't met.
func (GetProblemResponseMultiError) AllErrors ¶
func (m GetProblemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemResponseMultiError) Error ¶
func (m GetProblemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemResponseValidationError ¶
type GetProblemResponseValidationError struct {
// contains filtered or unexported fields
}
GetProblemResponseValidationError is the validation error returned by GetProblemResponse.Validate if the designated constraints aren't met.
func (GetProblemResponseValidationError) Cause ¶
func (e GetProblemResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProblemResponseValidationError) Error ¶
func (e GetProblemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemResponseValidationError) ErrorName ¶
func (e GetProblemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemResponseValidationError) Field ¶
func (e GetProblemResponseValidationError) Field() string
Field function returns field value.
func (GetProblemResponseValidationError) Key ¶
func (e GetProblemResponseValidationError) Key() bool
Key function returns key value.
func (GetProblemResponseValidationError) Reason ¶
func (e GetProblemResponseValidationError) Reason() string
Reason function returns reason value.
type GetProblemSubmissionListRequest ¶
type GetProblemSubmissionListRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetProblemSubmissionListRequest) Descriptor
deprecated
func (*GetProblemSubmissionListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemSubmissionListRequest.ProtoReflect.Descriptor instead.
func (*GetProblemSubmissionListRequest) GetId ¶
func (x *GetProblemSubmissionListRequest) GetId() uint64
func (*GetProblemSubmissionListRequest) GetLimit ¶
func (x *GetProblemSubmissionListRequest) GetLimit() uint64
func (*GetProblemSubmissionListRequest) GetOffset ¶
func (x *GetProblemSubmissionListRequest) GetOffset() uint64
func (*GetProblemSubmissionListRequest) ProtoMessage ¶
func (*GetProblemSubmissionListRequest) ProtoMessage()
func (*GetProblemSubmissionListRequest) ProtoReflect ¶
func (x *GetProblemSubmissionListRequest) ProtoReflect() protoreflect.Message
func (*GetProblemSubmissionListRequest) Reset ¶
func (x *GetProblemSubmissionListRequest) Reset()
func (*GetProblemSubmissionListRequest) String ¶
func (x *GetProblemSubmissionListRequest) String() string
func (*GetProblemSubmissionListRequest) Validate ¶
func (m *GetProblemSubmissionListRequest) Validate() error
Validate checks the field values on GetProblemSubmissionListRequest 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 (*GetProblemSubmissionListRequest) ValidateAll ¶
func (m *GetProblemSubmissionListRequest) ValidateAll() error
ValidateAll checks the field values on GetProblemSubmissionListRequest 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 GetProblemSubmissionListRequestMultiError, or nil if none found.
type GetProblemSubmissionListRequestMultiError ¶
type GetProblemSubmissionListRequestMultiError []error
GetProblemSubmissionListRequestMultiError is an error wrapping multiple validation errors returned by GetProblemSubmissionListRequest.ValidateAll() if the designated constraints aren't met.
func (GetProblemSubmissionListRequestMultiError) AllErrors ¶
func (m GetProblemSubmissionListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemSubmissionListRequestMultiError) Error ¶
func (m GetProblemSubmissionListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemSubmissionListRequestValidationError ¶
type GetProblemSubmissionListRequestValidationError struct {
// contains filtered or unexported fields
}
GetProblemSubmissionListRequestValidationError is the validation error returned by GetProblemSubmissionListRequest.Validate if the designated constraints aren't met.
func (GetProblemSubmissionListRequestValidationError) Cause ¶
func (e GetProblemSubmissionListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProblemSubmissionListRequestValidationError) Error ¶
func (e GetProblemSubmissionListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemSubmissionListRequestValidationError) ErrorName ¶
func (e GetProblemSubmissionListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemSubmissionListRequestValidationError) Field ¶
func (e GetProblemSubmissionListRequestValidationError) Field() string
Field function returns field value.
func (GetProblemSubmissionListRequestValidationError) Key ¶
func (e GetProblemSubmissionListRequestValidationError) Key() bool
Key function returns key value.
func (GetProblemSubmissionListRequestValidationError) Reason ¶
func (e GetProblemSubmissionListRequestValidationError) Reason() string
Reason function returns reason value.
type GetProblemSubmissionListResponse ¶
type GetProblemSubmissionListResponse struct { Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"` TotalSubmissionsCount uint64 `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetProblemSubmissionListResponse) Descriptor
deprecated
func (*GetProblemSubmissionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemSubmissionListResponse.ProtoReflect.Descriptor instead.
func (*GetProblemSubmissionListResponse) GetSubmissions ¶
func (x *GetProblemSubmissionListResponse) GetSubmissions() []*Submission
func (*GetProblemSubmissionListResponse) GetTotalSubmissionsCount ¶
func (x *GetProblemSubmissionListResponse) GetTotalSubmissionsCount() uint64
func (*GetProblemSubmissionListResponse) ProtoMessage ¶
func (*GetProblemSubmissionListResponse) ProtoMessage()
func (*GetProblemSubmissionListResponse) ProtoReflect ¶
func (x *GetProblemSubmissionListResponse) ProtoReflect() protoreflect.Message
func (*GetProblemSubmissionListResponse) Reset ¶
func (x *GetProblemSubmissionListResponse) Reset()
func (*GetProblemSubmissionListResponse) String ¶
func (x *GetProblemSubmissionListResponse) String() string
func (*GetProblemSubmissionListResponse) Validate ¶
func (m *GetProblemSubmissionListResponse) Validate() error
Validate checks the field values on GetProblemSubmissionListResponse 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 (*GetProblemSubmissionListResponse) ValidateAll ¶
func (m *GetProblemSubmissionListResponse) ValidateAll() error
ValidateAll checks the field values on GetProblemSubmissionListResponse 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 GetProblemSubmissionListResponseMultiError, or nil if none found.
type GetProblemSubmissionListResponseMultiError ¶
type GetProblemSubmissionListResponseMultiError []error
GetProblemSubmissionListResponseMultiError is an error wrapping multiple validation errors returned by GetProblemSubmissionListResponse.ValidateAll() if the designated constraints aren't met.
func (GetProblemSubmissionListResponseMultiError) AllErrors ¶
func (m GetProblemSubmissionListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemSubmissionListResponseMultiError) Error ¶
func (m GetProblemSubmissionListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemSubmissionListResponseValidationError ¶
type GetProblemSubmissionListResponseValidationError struct {
// contains filtered or unexported fields
}
GetProblemSubmissionListResponseValidationError is the validation error returned by GetProblemSubmissionListResponse.Validate if the designated constraints aren't met.
func (GetProblemSubmissionListResponseValidationError) Cause ¶
func (e GetProblemSubmissionListResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProblemSubmissionListResponseValidationError) Error ¶
func (e GetProblemSubmissionListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemSubmissionListResponseValidationError) ErrorName ¶
func (e GetProblemSubmissionListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemSubmissionListResponseValidationError) Field ¶
func (e GetProblemSubmissionListResponseValidationError) Field() string
Field function returns field value.
func (GetProblemSubmissionListResponseValidationError) Key ¶
func (e GetProblemSubmissionListResponseValidationError) Key() bool
Key function returns key value.
func (GetProblemSubmissionListResponseValidationError) Reason ¶
func (e GetProblemSubmissionListResponseValidationError) Reason() string
Reason function returns reason value.
type GetProblemTestCaseListRequest ¶
type GetProblemTestCaseListRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetProblemTestCaseListRequest) Descriptor
deprecated
func (*GetProblemTestCaseListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemTestCaseListRequest.ProtoReflect.Descriptor instead.
func (*GetProblemTestCaseListRequest) GetId ¶
func (x *GetProblemTestCaseListRequest) GetId() uint64
func (*GetProblemTestCaseListRequest) GetLimit ¶
func (x *GetProblemTestCaseListRequest) GetLimit() uint64
func (*GetProblemTestCaseListRequest) GetOffset ¶
func (x *GetProblemTestCaseListRequest) GetOffset() uint64
func (*GetProblemTestCaseListRequest) ProtoMessage ¶
func (*GetProblemTestCaseListRequest) ProtoMessage()
func (*GetProblemTestCaseListRequest) ProtoReflect ¶
func (x *GetProblemTestCaseListRequest) ProtoReflect() protoreflect.Message
func (*GetProblemTestCaseListRequest) Reset ¶
func (x *GetProblemTestCaseListRequest) Reset()
func (*GetProblemTestCaseListRequest) String ¶
func (x *GetProblemTestCaseListRequest) String() string
func (*GetProblemTestCaseListRequest) Validate ¶
func (m *GetProblemTestCaseListRequest) Validate() error
Validate checks the field values on GetProblemTestCaseListRequest 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 (*GetProblemTestCaseListRequest) ValidateAll ¶
func (m *GetProblemTestCaseListRequest) ValidateAll() error
ValidateAll checks the field values on GetProblemTestCaseListRequest 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 GetProblemTestCaseListRequestMultiError, or nil if none found.
type GetProblemTestCaseListRequestMultiError ¶
type GetProblemTestCaseListRequestMultiError []error
GetProblemTestCaseListRequestMultiError is an error wrapping multiple validation errors returned by GetProblemTestCaseListRequest.ValidateAll() if the designated constraints aren't met.
func (GetProblemTestCaseListRequestMultiError) AllErrors ¶
func (m GetProblemTestCaseListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemTestCaseListRequestMultiError) Error ¶
func (m GetProblemTestCaseListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemTestCaseListRequestValidationError ¶
type GetProblemTestCaseListRequestValidationError struct {
// contains filtered or unexported fields
}
GetProblemTestCaseListRequestValidationError is the validation error returned by GetProblemTestCaseListRequest.Validate if the designated constraints aren't met.
func (GetProblemTestCaseListRequestValidationError) Cause ¶
func (e GetProblemTestCaseListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProblemTestCaseListRequestValidationError) Error ¶
func (e GetProblemTestCaseListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemTestCaseListRequestValidationError) ErrorName ¶
func (e GetProblemTestCaseListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemTestCaseListRequestValidationError) Field ¶
func (e GetProblemTestCaseListRequestValidationError) Field() string
Field function returns field value.
func (GetProblemTestCaseListRequestValidationError) Key ¶
func (e GetProblemTestCaseListRequestValidationError) Key() bool
Key function returns key value.
func (GetProblemTestCaseListRequestValidationError) Reason ¶
func (e GetProblemTestCaseListRequestValidationError) Reason() string
Reason function returns reason value.
type GetProblemTestCaseListResponse ¶
type GetProblemTestCaseListResponse struct { TestCases []*TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"` TotalTestCasesCount uint64 `protobuf:"varint,2,opt,name=total_test_cases_count,json=totalTestCasesCount,proto3" json:"total_test_cases_count,omitempty"` // contains filtered or unexported fields }
func (*GetProblemTestCaseListResponse) Descriptor
deprecated
func (*GetProblemTestCaseListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProblemTestCaseListResponse.ProtoReflect.Descriptor instead.
func (*GetProblemTestCaseListResponse) GetTestCases ¶
func (x *GetProblemTestCaseListResponse) GetTestCases() []*TestCase
func (*GetProblemTestCaseListResponse) GetTotalTestCasesCount ¶
func (x *GetProblemTestCaseListResponse) GetTotalTestCasesCount() uint64
func (*GetProblemTestCaseListResponse) ProtoMessage ¶
func (*GetProblemTestCaseListResponse) ProtoMessage()
func (*GetProblemTestCaseListResponse) ProtoReflect ¶
func (x *GetProblemTestCaseListResponse) ProtoReflect() protoreflect.Message
func (*GetProblemTestCaseListResponse) Reset ¶
func (x *GetProblemTestCaseListResponse) Reset()
func (*GetProblemTestCaseListResponse) String ¶
func (x *GetProblemTestCaseListResponse) String() string
func (*GetProblemTestCaseListResponse) Validate ¶
func (m *GetProblemTestCaseListResponse) Validate() error
Validate checks the field values on GetProblemTestCaseListResponse 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 (*GetProblemTestCaseListResponse) ValidateAll ¶
func (m *GetProblemTestCaseListResponse) ValidateAll() error
ValidateAll checks the field values on GetProblemTestCaseListResponse 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 GetProblemTestCaseListResponseMultiError, or nil if none found.
type GetProblemTestCaseListResponseMultiError ¶
type GetProblemTestCaseListResponseMultiError []error
GetProblemTestCaseListResponseMultiError is an error wrapping multiple validation errors returned by GetProblemTestCaseListResponse.ValidateAll() if the designated constraints aren't met.
func (GetProblemTestCaseListResponseMultiError) AllErrors ¶
func (m GetProblemTestCaseListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProblemTestCaseListResponseMultiError) Error ¶
func (m GetProblemTestCaseListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProblemTestCaseListResponseValidationError ¶
type GetProblemTestCaseListResponseValidationError struct {
// contains filtered or unexported fields
}
GetProblemTestCaseListResponseValidationError is the validation error returned by GetProblemTestCaseListResponse.Validate if the designated constraints aren't met.
func (GetProblemTestCaseListResponseValidationError) Cause ¶
func (e GetProblemTestCaseListResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProblemTestCaseListResponseValidationError) Error ¶
func (e GetProblemTestCaseListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProblemTestCaseListResponseValidationError) ErrorName ¶
func (e GetProblemTestCaseListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProblemTestCaseListResponseValidationError) Field ¶
func (e GetProblemTestCaseListResponseValidationError) Field() string
Field function returns field value.
func (GetProblemTestCaseListResponseValidationError) Key ¶
func (e GetProblemTestCaseListResponseValidationError) Key() bool
Key function returns key value.
func (GetProblemTestCaseListResponseValidationError) Reason ¶
func (e GetProblemTestCaseListResponseValidationError) Reason() string
Reason function returns reason value.
type GetServerInfoRequest ¶
type GetServerInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetServerInfoRequest) Descriptor
deprecated
func (*GetServerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerInfoRequest.ProtoReflect.Descriptor instead.
func (*GetServerInfoRequest) ProtoMessage ¶
func (*GetServerInfoRequest) ProtoMessage()
func (*GetServerInfoRequest) ProtoReflect ¶
func (x *GetServerInfoRequest) ProtoReflect() protoreflect.Message
func (*GetServerInfoRequest) Reset ¶
func (x *GetServerInfoRequest) Reset()
func (*GetServerInfoRequest) String ¶
func (x *GetServerInfoRequest) String() string
func (*GetServerInfoRequest) Validate ¶
func (m *GetServerInfoRequest) Validate() error
Validate checks the field values on GetServerInfoRequest 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 (*GetServerInfoRequest) ValidateAll ¶
func (m *GetServerInfoRequest) ValidateAll() error
ValidateAll checks the field values on GetServerInfoRequest 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 GetServerInfoRequestMultiError, or nil if none found.
type GetServerInfoRequestMultiError ¶
type GetServerInfoRequestMultiError []error
GetServerInfoRequestMultiError is an error wrapping multiple validation errors returned by GetServerInfoRequest.ValidateAll() if the designated constraints aren't met.
func (GetServerInfoRequestMultiError) AllErrors ¶
func (m GetServerInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServerInfoRequestMultiError) Error ¶
func (m GetServerInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServerInfoRequestValidationError ¶
type GetServerInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GetServerInfoRequestValidationError is the validation error returned by GetServerInfoRequest.Validate if the designated constraints aren't met.
func (GetServerInfoRequestValidationError) Cause ¶
func (e GetServerInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GetServerInfoRequestValidationError) Error ¶
func (e GetServerInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerInfoRequestValidationError) ErrorName ¶
func (e GetServerInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerInfoRequestValidationError) Field ¶
func (e GetServerInfoRequestValidationError) Field() string
Field function returns field value.
func (GetServerInfoRequestValidationError) Key ¶
func (e GetServerInfoRequestValidationError) Key() bool
Key function returns key value.
func (GetServerInfoRequestValidationError) Reason ¶
func (e GetServerInfoRequestValidationError) Reason() string
Reason function returns reason value.
type GetServerInfoResponse ¶
type GetServerInfoResponse struct {
// contains filtered or unexported fields
}
func (*GetServerInfoResponse) Descriptor
deprecated
func (*GetServerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerInfoResponse.ProtoReflect.Descriptor instead.
func (*GetServerInfoResponse) ProtoMessage ¶
func (*GetServerInfoResponse) ProtoMessage()
func (*GetServerInfoResponse) ProtoReflect ¶
func (x *GetServerInfoResponse) ProtoReflect() protoreflect.Message
func (*GetServerInfoResponse) Reset ¶
func (x *GetServerInfoResponse) Reset()
func (*GetServerInfoResponse) String ¶
func (x *GetServerInfoResponse) String() string
func (*GetServerInfoResponse) Validate ¶
func (m *GetServerInfoResponse) Validate() error
Validate checks the field values on GetServerInfoResponse 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 (*GetServerInfoResponse) ValidateAll ¶
func (m *GetServerInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetServerInfoResponse 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 GetServerInfoResponseMultiError, or nil if none found.
type GetServerInfoResponseMultiError ¶
type GetServerInfoResponseMultiError []error
GetServerInfoResponseMultiError is an error wrapping multiple validation errors returned by GetServerInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetServerInfoResponseMultiError) AllErrors ¶
func (m GetServerInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServerInfoResponseMultiError) Error ¶
func (m GetServerInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServerInfoResponseValidationError ¶
type GetServerInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetServerInfoResponseValidationError is the validation error returned by GetServerInfoResponse.Validate if the designated constraints aren't met.
func (GetServerInfoResponseValidationError) Cause ¶
func (e GetServerInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetServerInfoResponseValidationError) Error ¶
func (e GetServerInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerInfoResponseValidationError) ErrorName ¶
func (e GetServerInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerInfoResponseValidationError) Field ¶
func (e GetServerInfoResponseValidationError) Field() string
Field function returns field value.
func (GetServerInfoResponseValidationError) Key ¶
func (e GetServerInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetServerInfoResponseValidationError) Reason ¶
func (e GetServerInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GetSubmissionListRequest ¶
type GetSubmissionListRequest 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 (*GetSubmissionListRequest) Descriptor
deprecated
func (*GetSubmissionListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubmissionListRequest.ProtoReflect.Descriptor instead.
func (*GetSubmissionListRequest) GetLimit ¶
func (x *GetSubmissionListRequest) GetLimit() uint64
func (*GetSubmissionListRequest) GetOffset ¶
func (x *GetSubmissionListRequest) GetOffset() uint64
func (*GetSubmissionListRequest) ProtoMessage ¶
func (*GetSubmissionListRequest) ProtoMessage()
func (*GetSubmissionListRequest) ProtoReflect ¶
func (x *GetSubmissionListRequest) ProtoReflect() protoreflect.Message
func (*GetSubmissionListRequest) Reset ¶
func (x *GetSubmissionListRequest) Reset()
func (*GetSubmissionListRequest) String ¶
func (x *GetSubmissionListRequest) String() string
func (*GetSubmissionListRequest) Validate ¶
func (m *GetSubmissionListRequest) Validate() error
Validate checks the field values on GetSubmissionListRequest 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 (*GetSubmissionListRequest) ValidateAll ¶
func (m *GetSubmissionListRequest) ValidateAll() error
ValidateAll checks the field values on GetSubmissionListRequest 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 GetSubmissionListRequestMultiError, or nil if none found.
type GetSubmissionListRequestMultiError ¶
type GetSubmissionListRequestMultiError []error
GetSubmissionListRequestMultiError is an error wrapping multiple validation errors returned by GetSubmissionListRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubmissionListRequestMultiError) AllErrors ¶
func (m GetSubmissionListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubmissionListRequestMultiError) Error ¶
func (m GetSubmissionListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubmissionListRequestValidationError ¶
type GetSubmissionListRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubmissionListRequestValidationError is the validation error returned by GetSubmissionListRequest.Validate if the designated constraints aren't met.
func (GetSubmissionListRequestValidationError) Cause ¶
func (e GetSubmissionListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubmissionListRequestValidationError) Error ¶
func (e GetSubmissionListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubmissionListRequestValidationError) ErrorName ¶
func (e GetSubmissionListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubmissionListRequestValidationError) Field ¶
func (e GetSubmissionListRequestValidationError) Field() string
Field function returns field value.
func (GetSubmissionListRequestValidationError) Key ¶
func (e GetSubmissionListRequestValidationError) Key() bool
Key function returns key value.
func (GetSubmissionListRequestValidationError) Reason ¶
func (e GetSubmissionListRequestValidationError) Reason() string
Reason function returns reason value.
type GetSubmissionListResponse ¶
type GetSubmissionListResponse struct { Submissions []*Submission `protobuf:"bytes,1,rep,name=submissions,proto3" json:"submissions,omitempty"` TotalSubmissionsCount uint64 `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSubmissionListResponse) Descriptor
deprecated
func (*GetSubmissionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubmissionListResponse.ProtoReflect.Descriptor instead.
func (*GetSubmissionListResponse) GetSubmissions ¶
func (x *GetSubmissionListResponse) GetSubmissions() []*Submission
func (*GetSubmissionListResponse) GetTotalSubmissionsCount ¶
func (x *GetSubmissionListResponse) GetTotalSubmissionsCount() uint64
func (*GetSubmissionListResponse) ProtoMessage ¶
func (*GetSubmissionListResponse) ProtoMessage()
func (*GetSubmissionListResponse) ProtoReflect ¶
func (x *GetSubmissionListResponse) ProtoReflect() protoreflect.Message
func (*GetSubmissionListResponse) Reset ¶
func (x *GetSubmissionListResponse) Reset()
func (*GetSubmissionListResponse) String ¶
func (x *GetSubmissionListResponse) String() string
func (*GetSubmissionListResponse) Validate ¶
func (m *GetSubmissionListResponse) Validate() error
Validate checks the field values on GetSubmissionListResponse 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 (*GetSubmissionListResponse) ValidateAll ¶
func (m *GetSubmissionListResponse) ValidateAll() error
ValidateAll checks the field values on GetSubmissionListResponse 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 GetSubmissionListResponseMultiError, or nil if none found.
type GetSubmissionListResponseMultiError ¶
type GetSubmissionListResponseMultiError []error
GetSubmissionListResponseMultiError is an error wrapping multiple validation errors returned by GetSubmissionListResponse.ValidateAll() if the designated constraints aren't met.
func (GetSubmissionListResponseMultiError) AllErrors ¶
func (m GetSubmissionListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubmissionListResponseMultiError) Error ¶
func (m GetSubmissionListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubmissionListResponseValidationError ¶
type GetSubmissionListResponseValidationError struct {
// contains filtered or unexported fields
}
GetSubmissionListResponseValidationError is the validation error returned by GetSubmissionListResponse.Validate if the designated constraints aren't met.
func (GetSubmissionListResponseValidationError) Cause ¶
func (e GetSubmissionListResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSubmissionListResponseValidationError) Error ¶
func (e GetSubmissionListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubmissionListResponseValidationError) ErrorName ¶
func (e GetSubmissionListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubmissionListResponseValidationError) Field ¶
func (e GetSubmissionListResponseValidationError) Field() string
Field function returns field value.
func (GetSubmissionListResponseValidationError) Key ¶
func (e GetSubmissionListResponseValidationError) Key() bool
Key function returns key value.
func (GetSubmissionListResponseValidationError) Reason ¶
func (e GetSubmissionListResponseValidationError) Reason() string
Reason function returns reason value.
type GetSubmissionRequest ¶
type GetSubmissionRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSubmissionRequest) Descriptor
deprecated
func (*GetSubmissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubmissionRequest.ProtoReflect.Descriptor instead.
func (*GetSubmissionRequest) GetId ¶
func (x *GetSubmissionRequest) GetId() uint64
func (*GetSubmissionRequest) ProtoMessage ¶
func (*GetSubmissionRequest) ProtoMessage()
func (*GetSubmissionRequest) ProtoReflect ¶
func (x *GetSubmissionRequest) ProtoReflect() protoreflect.Message
func (*GetSubmissionRequest) Reset ¶
func (x *GetSubmissionRequest) Reset()
func (*GetSubmissionRequest) String ¶
func (x *GetSubmissionRequest) String() string
func (*GetSubmissionRequest) Validate ¶
func (m *GetSubmissionRequest) Validate() error
Validate checks the field values on GetSubmissionRequest 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 (*GetSubmissionRequest) ValidateAll ¶
func (m *GetSubmissionRequest) ValidateAll() error
ValidateAll checks the field values on GetSubmissionRequest 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 GetSubmissionRequestMultiError, or nil if none found.
type GetSubmissionRequestMultiError ¶
type GetSubmissionRequestMultiError []error
GetSubmissionRequestMultiError is an error wrapping multiple validation errors returned by GetSubmissionRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubmissionRequestMultiError) AllErrors ¶
func (m GetSubmissionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubmissionRequestMultiError) Error ¶
func (m GetSubmissionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubmissionRequestValidationError ¶
type GetSubmissionRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubmissionRequestValidationError is the validation error returned by GetSubmissionRequest.Validate if the designated constraints aren't met.
func (GetSubmissionRequestValidationError) Cause ¶
func (e GetSubmissionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubmissionRequestValidationError) Error ¶
func (e GetSubmissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubmissionRequestValidationError) ErrorName ¶
func (e GetSubmissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubmissionRequestValidationError) Field ¶
func (e GetSubmissionRequestValidationError) Field() string
Field function returns field value.
func (GetSubmissionRequestValidationError) Key ¶
func (e GetSubmissionRequestValidationError) Key() bool
Key function returns key value.
func (GetSubmissionRequestValidationError) Reason ¶
func (e GetSubmissionRequestValidationError) Reason() string
Reason function returns reason value.
type GetSubmissionResponse ¶
type GetSubmissionResponse struct { Submission *Submission `protobuf:"bytes,1,opt,name=submission,proto3" json:"submission,omitempty"` // contains filtered or unexported fields }
func (*GetSubmissionResponse) Descriptor
deprecated
func (*GetSubmissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubmissionResponse.ProtoReflect.Descriptor instead.
func (*GetSubmissionResponse) GetSubmission ¶
func (x *GetSubmissionResponse) GetSubmission() *Submission
func (*GetSubmissionResponse) ProtoMessage ¶
func (*GetSubmissionResponse) ProtoMessage()
func (*GetSubmissionResponse) ProtoReflect ¶
func (x *GetSubmissionResponse) ProtoReflect() protoreflect.Message
func (*GetSubmissionResponse) Reset ¶
func (x *GetSubmissionResponse) Reset()
func (*GetSubmissionResponse) String ¶
func (x *GetSubmissionResponse) String() string
func (*GetSubmissionResponse) Validate ¶
func (m *GetSubmissionResponse) Validate() error
Validate checks the field values on GetSubmissionResponse 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 (*GetSubmissionResponse) ValidateAll ¶
func (m *GetSubmissionResponse) ValidateAll() error
ValidateAll checks the field values on GetSubmissionResponse 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 GetSubmissionResponseMultiError, or nil if none found.
type GetSubmissionResponseMultiError ¶
type GetSubmissionResponseMultiError []error
GetSubmissionResponseMultiError is an error wrapping multiple validation errors returned by GetSubmissionResponse.ValidateAll() if the designated constraints aren't met.
func (GetSubmissionResponseMultiError) AllErrors ¶
func (m GetSubmissionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubmissionResponseMultiError) Error ¶
func (m GetSubmissionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubmissionResponseValidationError ¶
type GetSubmissionResponseValidationError struct {
// contains filtered or unexported fields
}
GetSubmissionResponseValidationError is the validation error returned by GetSubmissionResponse.Validate if the designated constraints aren't met.
func (GetSubmissionResponseValidationError) Cause ¶
func (e GetSubmissionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSubmissionResponseValidationError) Error ¶
func (e GetSubmissionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubmissionResponseValidationError) ErrorName ¶
func (e GetSubmissionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubmissionResponseValidationError) Field ¶
func (e GetSubmissionResponseValidationError) Field() string
Field function returns field value.
func (GetSubmissionResponseValidationError) Key ¶
func (e GetSubmissionResponseValidationError) Key() bool
Key function returns key value.
func (GetSubmissionResponseValidationError) Reason ¶
func (e GetSubmissionResponseValidationError) Reason() string
Reason function returns reason value.
type GetTestCaseRequest ¶
type GetTestCaseRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTestCaseRequest) Descriptor
deprecated
func (*GetTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTestCaseRequest.ProtoReflect.Descriptor instead.
func (*GetTestCaseRequest) GetId ¶
func (x *GetTestCaseRequest) GetId() uint64
func (*GetTestCaseRequest) ProtoMessage ¶
func (*GetTestCaseRequest) ProtoMessage()
func (*GetTestCaseRequest) ProtoReflect ¶
func (x *GetTestCaseRequest) ProtoReflect() protoreflect.Message
func (*GetTestCaseRequest) Reset ¶
func (x *GetTestCaseRequest) Reset()
func (*GetTestCaseRequest) String ¶
func (x *GetTestCaseRequest) String() string
func (*GetTestCaseRequest) Validate ¶
func (m *GetTestCaseRequest) Validate() error
Validate checks the field values on GetTestCaseRequest 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 (*GetTestCaseRequest) ValidateAll ¶
func (m *GetTestCaseRequest) ValidateAll() error
ValidateAll checks the field values on GetTestCaseRequest 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 GetTestCaseRequestMultiError, or nil if none found.
type GetTestCaseRequestMultiError ¶
type GetTestCaseRequestMultiError []error
GetTestCaseRequestMultiError is an error wrapping multiple validation errors returned by GetTestCaseRequest.ValidateAll() if the designated constraints aren't met.
func (GetTestCaseRequestMultiError) AllErrors ¶
func (m GetTestCaseRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTestCaseRequestMultiError) Error ¶
func (m GetTestCaseRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTestCaseRequestValidationError ¶
type GetTestCaseRequestValidationError struct {
// contains filtered or unexported fields
}
GetTestCaseRequestValidationError is the validation error returned by GetTestCaseRequest.Validate if the designated constraints aren't met.
func (GetTestCaseRequestValidationError) Cause ¶
func (e GetTestCaseRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTestCaseRequestValidationError) Error ¶
func (e GetTestCaseRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTestCaseRequestValidationError) ErrorName ¶
func (e GetTestCaseRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTestCaseRequestValidationError) Field ¶
func (e GetTestCaseRequestValidationError) Field() string
Field function returns field value.
func (GetTestCaseRequestValidationError) Key ¶
func (e GetTestCaseRequestValidationError) Key() bool
Key function returns key value.
func (GetTestCaseRequestValidationError) Reason ¶
func (e GetTestCaseRequestValidationError) Reason() string
Reason function returns reason value.
type GetTestCaseResponse ¶
type GetTestCaseResponse struct { TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // contains filtered or unexported fields }
func (*GetTestCaseResponse) Descriptor
deprecated
func (*GetTestCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTestCaseResponse.ProtoReflect.Descriptor instead.
func (*GetTestCaseResponse) GetTestCase ¶
func (x *GetTestCaseResponse) GetTestCase() *TestCase
func (*GetTestCaseResponse) ProtoMessage ¶
func (*GetTestCaseResponse) ProtoMessage()
func (*GetTestCaseResponse) ProtoReflect ¶
func (x *GetTestCaseResponse) ProtoReflect() protoreflect.Message
func (*GetTestCaseResponse) Reset ¶
func (x *GetTestCaseResponse) Reset()
func (*GetTestCaseResponse) String ¶
func (x *GetTestCaseResponse) String() string
func (*GetTestCaseResponse) Validate ¶
func (m *GetTestCaseResponse) Validate() error
Validate checks the field values on GetTestCaseResponse 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 (*GetTestCaseResponse) ValidateAll ¶
func (m *GetTestCaseResponse) ValidateAll() error
ValidateAll checks the field values on GetTestCaseResponse 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 GetTestCaseResponseMultiError, or nil if none found.
type GetTestCaseResponseMultiError ¶
type GetTestCaseResponseMultiError []error
GetTestCaseResponseMultiError is an error wrapping multiple validation errors returned by GetTestCaseResponse.ValidateAll() if the designated constraints aren't met.
func (GetTestCaseResponseMultiError) AllErrors ¶
func (m GetTestCaseResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTestCaseResponseMultiError) Error ¶
func (m GetTestCaseResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTestCaseResponseValidationError ¶
type GetTestCaseResponseValidationError struct {
// contains filtered or unexported fields
}
GetTestCaseResponseValidationError is the validation error returned by GetTestCaseResponse.Validate if the designated constraints aren't met.
func (GetTestCaseResponseValidationError) Cause ¶
func (e GetTestCaseResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTestCaseResponseValidationError) Error ¶
func (e GetTestCaseResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTestCaseResponseValidationError) ErrorName ¶
func (e GetTestCaseResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTestCaseResponseValidationError) Field ¶
func (e GetTestCaseResponseValidationError) Field() string
Field function returns field value.
func (GetTestCaseResponseValidationError) Key ¶
func (e GetTestCaseResponseValidationError) Key() bool
Key function returns key value.
func (GetTestCaseResponseValidationError) Reason ¶
func (e GetTestCaseResponseValidationError) Reason() string
Reason function returns reason value.
type OjsServiceClient ¶
type OjsServiceClient interface { GetServerInfo(ctx context.Context, in *GetServerInfoRequest, opts ...grpc.CallOption) (*GetServerInfoResponse, error) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error) DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*DeleteSessionResponse, error) CreateProblem(ctx context.Context, in *CreateProblemRequest, opts ...grpc.CallOption) (*CreateProblemResponse, error) GetProblemList(ctx context.Context, in *GetProblemListRequest, opts ...grpc.CallOption) (*GetProblemListResponse, error) GetProblem(ctx context.Context, in *GetProblemRequest, opts ...grpc.CallOption) (*GetProblemResponse, error) UpdateProblem(ctx context.Context, in *UpdateProblemRequest, opts ...grpc.CallOption) (*UpdateProblemResponse, error) DeleteProblem(ctx context.Context, in *DeleteProblemRequest, opts ...grpc.CallOption) (*DeleteProblemResponse, error) CreateTestCase(ctx context.Context, in *CreateTestCaseRequest, opts ...grpc.CallOption) (*CreateTestCaseResponse, error) GetProblemTestCaseList(ctx context.Context, in *GetProblemTestCaseListRequest, opts ...grpc.CallOption) (*GetProblemTestCaseListResponse, error) GetTestCase(ctx context.Context, in *GetTestCaseRequest, opts ...grpc.CallOption) (*GetTestCaseResponse, error) UpdateTestCase(ctx context.Context, in *UpdateTestCaseRequest, opts ...grpc.CallOption) (*UpdateTestCaseResponse, error) DeleteTestCase(ctx context.Context, in *DeleteTestCaseRequest, opts ...grpc.CallOption) (*DeleteTestCaseResponse, error) CreateSubmission(ctx context.Context, in *CreateSubmissionRequest, opts ...grpc.CallOption) (*CreateSubmissionResponse, error) GetSubmission(ctx context.Context, in *GetSubmissionRequest, opts ...grpc.CallOption) (*GetSubmissionResponse, error) GetSubmissionList(ctx context.Context, in *GetSubmissionListRequest, opts ...grpc.CallOption) (*GetSubmissionListResponse, error) GetProblemSubmissionList(ctx context.Context, in *GetProblemSubmissionListRequest, opts ...grpc.CallOption) (*GetProblemSubmissionListResponse, error) GetAccountProblemSubmissionList(ctx context.Context, in *GetAccountProblemSubmissionListRequest, opts ...grpc.CallOption) (*GetAccountProblemSubmissionListResponse, error) GetAndUpdateFirstSubmittedSubmissionToExecuting(ctx context.Context, in *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest, opts ...grpc.CallOption) (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse, error) UpdateSetting(ctx context.Context, in *UpdateSettingRequest, opts ...grpc.CallOption) (*UpdateSettingResponse, error) }
OjsServiceClient is the client API for OjsService 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 NewOjsServiceClient ¶
func NewOjsServiceClient(cc grpc.ClientConnInterface) OjsServiceClient
type OjsServiceServer ¶
type OjsServiceServer interface { GetServerInfo(context.Context, *GetServerInfoRequest) (*GetServerInfoResponse, error) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error) CreateProblem(context.Context, *CreateProblemRequest) (*CreateProblemResponse, error) GetProblemList(context.Context, *GetProblemListRequest) (*GetProblemListResponse, error) GetProblem(context.Context, *GetProblemRequest) (*GetProblemResponse, error) UpdateProblem(context.Context, *UpdateProblemRequest) (*UpdateProblemResponse, error) DeleteProblem(context.Context, *DeleteProblemRequest) (*DeleteProblemResponse, error) CreateTestCase(context.Context, *CreateTestCaseRequest) (*CreateTestCaseResponse, error) GetProblemTestCaseList(context.Context, *GetProblemTestCaseListRequest) (*GetProblemTestCaseListResponse, error) GetTestCase(context.Context, *GetTestCaseRequest) (*GetTestCaseResponse, error) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*UpdateTestCaseResponse, error) DeleteTestCase(context.Context, *DeleteTestCaseRequest) (*DeleteTestCaseResponse, error) CreateSubmission(context.Context, *CreateSubmissionRequest) (*CreateSubmissionResponse, error) GetSubmission(context.Context, *GetSubmissionRequest) (*GetSubmissionResponse, error) GetSubmissionList(context.Context, *GetSubmissionListRequest) (*GetSubmissionListResponse, error) GetProblemSubmissionList(context.Context, *GetProblemSubmissionListRequest) (*GetProblemSubmissionListResponse, error) GetAccountProblemSubmissionList(context.Context, *GetAccountProblemSubmissionListRequest) (*GetAccountProblemSubmissionListResponse, error) GetAndUpdateFirstSubmittedSubmissionToExecuting(context.Context, *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse, error) UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error) // contains filtered or unexported methods }
OjsServiceServer is the server API for OjsService service. All implementations must embed UnimplementedOjsServiceServer for forward compatibility
type Problem ¶
type Problem struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` AuthorId uint64 `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` AuthorName string `protobuf:"bytes,4,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` TimeLimit string `protobuf:"bytes,6,opt,name=time_limit,json=timeLimit,proto3" json:"time_limit,omitempty"` MemoryLimit string `protobuf:"bytes,7,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` // contains filtered or unexported fields }
func (*Problem) Descriptor
deprecated
func (*Problem) GetAuthorId ¶
func (*Problem) GetAuthorName ¶
func (*Problem) GetDescription ¶
func (*Problem) GetDisplayName ¶
func (*Problem) GetMemoryLimit ¶
func (*Problem) GetTimeLimit ¶
func (*Problem) ProtoMessage ¶
func (*Problem) ProtoMessage()
func (*Problem) ProtoReflect ¶
func (x *Problem) ProtoReflect() protoreflect.Message
func (*Problem) Validate ¶
Validate checks the field values on Problem 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 (*Problem) ValidateAll ¶
ValidateAll checks the field values on Problem 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 ProblemMultiError, or nil if none found.
type ProblemMultiError ¶
type ProblemMultiError []error
ProblemMultiError is an error wrapping multiple validation errors returned by Problem.ValidateAll() if the designated constraints aren't met.
func (ProblemMultiError) AllErrors ¶
func (m ProblemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProblemMultiError) Error ¶
func (m ProblemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProblemValidationError ¶
type ProblemValidationError struct {
// contains filtered or unexported fields
}
ProblemValidationError is the validation error returned by Problem.Validate if the designated constraints aren't met.
func (ProblemValidationError) Cause ¶
func (e ProblemValidationError) Cause() error
Cause function returns cause value.
func (ProblemValidationError) Error ¶
func (e ProblemValidationError) Error() string
Error satisfies the builtin error interface
func (ProblemValidationError) ErrorName ¶
func (e ProblemValidationError) ErrorName() string
ErrorName returns error name.
func (ProblemValidationError) Field ¶
func (e ProblemValidationError) Field() string
Field function returns field value.
func (ProblemValidationError) Key ¶
func (e ProblemValidationError) Key() bool
Key function returns key value.
func (ProblemValidationError) Reason ¶
func (e ProblemValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type Submission ¶
type Submission struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OfProblemId uint64 `protobuf:"varint,2,opt,name=of_problem_id,json=ofProblemId,proto3" json:"of_problem_id,omitempty"` AuthorId uint64 `protobuf:"varint,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` Status SubmissionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ojs.SubmissionStatus" json:"status,omitempty"` Result SubmissionResult `protobuf:"varint,7,opt,name=result,proto3,enum=ojs.SubmissionResult" json:"result,omitempty"` // contains filtered or unexported fields }
func (*Submission) Descriptor
deprecated
func (*Submission) Descriptor() ([]byte, []int)
Deprecated: Use Submission.ProtoReflect.Descriptor instead.
func (*Submission) GetAuthorId ¶
func (x *Submission) GetAuthorId() uint64
func (*Submission) GetContent ¶
func (x *Submission) GetContent() string
func (*Submission) GetId ¶
func (x *Submission) GetId() uint64
func (*Submission) GetLanguage ¶
func (x *Submission) GetLanguage() string
func (*Submission) GetOfProblemId ¶
func (x *Submission) GetOfProblemId() uint64
func (*Submission) GetResult ¶
func (x *Submission) GetResult() SubmissionResult
func (*Submission) GetStatus ¶
func (x *Submission) GetStatus() SubmissionStatus
func (*Submission) ProtoMessage ¶
func (*Submission) ProtoMessage()
func (*Submission) ProtoReflect ¶
func (x *Submission) ProtoReflect() protoreflect.Message
func (*Submission) Reset ¶
func (x *Submission) Reset()
func (*Submission) String ¶
func (x *Submission) String() string
func (*Submission) Validate ¶
func (m *Submission) Validate() error
Validate checks the field values on Submission 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 (*Submission) ValidateAll ¶
func (m *Submission) ValidateAll() error
ValidateAll checks the field values on Submission 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 SubmissionMultiError, or nil if none found.
type SubmissionMultiError ¶
type SubmissionMultiError []error
SubmissionMultiError is an error wrapping multiple validation errors returned by Submission.ValidateAll() if the designated constraints aren't met.
func (SubmissionMultiError) AllErrors ¶
func (m SubmissionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmissionMultiError) Error ¶
func (m SubmissionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmissionResult ¶
type SubmissionResult int32
const ( SubmissionResult_UndefinedResult SubmissionResult = 0 SubmissionResult_OK SubmissionResult = 1 SubmissionResult_CompileError SubmissionResult = 2 SubmissionResult_RuntimeError SubmissionResult = 3 SubmissionResult_TimeLimitExceeded SubmissionResult = 4 SubmissionResult_MemoryLimitExceeded SubmissionResult = 5 SubmissionResult_WrongAnswer SubmissionResult = 6 SubmissionResult_UnsupportedLanguage SubmissionResult = 7 )
func (SubmissionResult) Descriptor ¶
func (SubmissionResult) Descriptor() protoreflect.EnumDescriptor
func (SubmissionResult) Enum ¶
func (x SubmissionResult) Enum() *SubmissionResult
func (SubmissionResult) EnumDescriptor
deprecated
func (SubmissionResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmissionResult.Descriptor instead.
func (SubmissionResult) Number ¶
func (x SubmissionResult) Number() protoreflect.EnumNumber
func (SubmissionResult) String ¶
func (x SubmissionResult) String() string
func (SubmissionResult) Type ¶
func (SubmissionResult) Type() protoreflect.EnumType
type SubmissionStatus ¶
type SubmissionStatus int32
const ( SubmissionStatus_UndefinedStatus SubmissionStatus = 0 SubmissionStatus_Submitted SubmissionStatus = 1 SubmissionStatus_Executing SubmissionStatus = 2 SubmissionStatus_Finished SubmissionStatus = 3 )
func (SubmissionStatus) Descriptor ¶
func (SubmissionStatus) Descriptor() protoreflect.EnumDescriptor
func (SubmissionStatus) Enum ¶
func (x SubmissionStatus) Enum() *SubmissionStatus
func (SubmissionStatus) EnumDescriptor
deprecated
func (SubmissionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmissionStatus.Descriptor instead.
func (SubmissionStatus) Number ¶
func (x SubmissionStatus) Number() protoreflect.EnumNumber
func (SubmissionStatus) String ¶
func (x SubmissionStatus) String() string
func (SubmissionStatus) Type ¶
func (SubmissionStatus) Type() protoreflect.EnumType
type SubmissionValidationError ¶
type SubmissionValidationError struct {
// contains filtered or unexported fields
}
SubmissionValidationError is the validation error returned by Submission.Validate if the designated constraints aren't met.
func (SubmissionValidationError) Cause ¶
func (e SubmissionValidationError) Cause() error
Cause function returns cause value.
func (SubmissionValidationError) Error ¶
func (e SubmissionValidationError) Error() string
Error satisfies the builtin error interface
func (SubmissionValidationError) ErrorName ¶
func (e SubmissionValidationError) ErrorName() string
ErrorName returns error name.
func (SubmissionValidationError) Field ¶
func (e SubmissionValidationError) Field() string
Field function returns field value.
func (SubmissionValidationError) Key ¶
func (e SubmissionValidationError) Key() bool
Key function returns key value.
func (SubmissionValidationError) Reason ¶
func (e SubmissionValidationError) Reason() string
Reason function returns reason value.
type TestCase ¶
type TestCase struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OfProblemId uint64 `protobuf:"varint,2,opt,name=of_problem_id,json=ofProblemId,proto3" json:"of_problem_id,omitempty"` Input string `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"` Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` IsHidden bool `protobuf:"varint,5,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` // contains filtered or unexported fields }
func (*TestCase) Descriptor
deprecated
func (*TestCase) GetIsHidden ¶
func (*TestCase) GetOfProblemId ¶
func (*TestCase) ProtoMessage ¶
func (*TestCase) ProtoMessage()
func (*TestCase) ProtoReflect ¶
func (x *TestCase) ProtoReflect() protoreflect.Message
func (*TestCase) Validate ¶
Validate checks the field values on TestCase 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 (*TestCase) ValidateAll ¶
ValidateAll checks the field values on TestCase 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 TestCaseMultiError, or nil if none found.
type TestCaseMultiError ¶
type TestCaseMultiError []error
TestCaseMultiError is an error wrapping multiple validation errors returned by TestCase.ValidateAll() if the designated constraints aren't met.
func (TestCaseMultiError) AllErrors ¶
func (m TestCaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestCaseMultiError) Error ¶
func (m TestCaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestCaseValidationError ¶
type TestCaseValidationError struct {
// contains filtered or unexported fields
}
TestCaseValidationError is the validation error returned by TestCase.Validate if the designated constraints aren't met.
func (TestCaseValidationError) Cause ¶
func (e TestCaseValidationError) Cause() error
Cause function returns cause value.
func (TestCaseValidationError) Error ¶
func (e TestCaseValidationError) Error() string
Error satisfies the builtin error interface
func (TestCaseValidationError) ErrorName ¶
func (e TestCaseValidationError) ErrorName() string
ErrorName returns error name.
func (TestCaseValidationError) Field ¶
func (e TestCaseValidationError) Field() string
Field function returns field value.
func (TestCaseValidationError) Key ¶
func (e TestCaseValidationError) Key() bool
Key function returns key value.
func (TestCaseValidationError) Reason ¶
func (e TestCaseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedOjsServiceServer ¶
type UnimplementedOjsServiceServer struct { }
UnimplementedOjsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOjsServiceServer) CreateAccount ¶
func (UnimplementedOjsServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedOjsServiceServer) CreateProblem ¶
func (UnimplementedOjsServiceServer) CreateProblem(context.Context, *CreateProblemRequest) (*CreateProblemResponse, error)
func (UnimplementedOjsServiceServer) CreateSession ¶
func (UnimplementedOjsServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
func (UnimplementedOjsServiceServer) CreateSubmission ¶
func (UnimplementedOjsServiceServer) CreateSubmission(context.Context, *CreateSubmissionRequest) (*CreateSubmissionResponse, error)
func (UnimplementedOjsServiceServer) CreateTestCase ¶
func (UnimplementedOjsServiceServer) CreateTestCase(context.Context, *CreateTestCaseRequest) (*CreateTestCaseResponse, error)
func (UnimplementedOjsServiceServer) DeleteProblem ¶
func (UnimplementedOjsServiceServer) DeleteProblem(context.Context, *DeleteProblemRequest) (*DeleteProblemResponse, error)
func (UnimplementedOjsServiceServer) DeleteSession ¶
func (UnimplementedOjsServiceServer) DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error)
func (UnimplementedOjsServiceServer) DeleteTestCase ¶
func (UnimplementedOjsServiceServer) DeleteTestCase(context.Context, *DeleteTestCaseRequest) (*DeleteTestCaseResponse, error)
func (UnimplementedOjsServiceServer) GetAccount ¶
func (UnimplementedOjsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
func (UnimplementedOjsServiceServer) GetAccountProblemSubmissionList ¶
func (UnimplementedOjsServiceServer) GetAccountProblemSubmissionList(context.Context, *GetAccountProblemSubmissionListRequest) (*GetAccountProblemSubmissionListResponse, error)
func (UnimplementedOjsServiceServer) GetAndUpdateFirstSubmittedSubmissionToExecuting ¶
func (UnimplementedOjsServiceServer) GetAndUpdateFirstSubmittedSubmissionToExecuting(context.Context, *GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse, error)
func (UnimplementedOjsServiceServer) GetProblem ¶
func (UnimplementedOjsServiceServer) GetProblem(context.Context, *GetProblemRequest) (*GetProblemResponse, error)
func (UnimplementedOjsServiceServer) GetProblemList ¶
func (UnimplementedOjsServiceServer) GetProblemList(context.Context, *GetProblemListRequest) (*GetProblemListResponse, error)
func (UnimplementedOjsServiceServer) GetProblemSubmissionList ¶
func (UnimplementedOjsServiceServer) GetProblemSubmissionList(context.Context, *GetProblemSubmissionListRequest) (*GetProblemSubmissionListResponse, error)
func (UnimplementedOjsServiceServer) GetProblemTestCaseList ¶
func (UnimplementedOjsServiceServer) GetProblemTestCaseList(context.Context, *GetProblemTestCaseListRequest) (*GetProblemTestCaseListResponse, error)
func (UnimplementedOjsServiceServer) GetServerInfo ¶
func (UnimplementedOjsServiceServer) GetServerInfo(context.Context, *GetServerInfoRequest) (*GetServerInfoResponse, error)
func (UnimplementedOjsServiceServer) GetSubmission ¶
func (UnimplementedOjsServiceServer) GetSubmission(context.Context, *GetSubmissionRequest) (*GetSubmissionResponse, error)
func (UnimplementedOjsServiceServer) GetSubmissionList ¶
func (UnimplementedOjsServiceServer) GetSubmissionList(context.Context, *GetSubmissionListRequest) (*GetSubmissionListResponse, error)
func (UnimplementedOjsServiceServer) GetTestCase ¶
func (UnimplementedOjsServiceServer) GetTestCase(context.Context, *GetTestCaseRequest) (*GetTestCaseResponse, error)
func (UnimplementedOjsServiceServer) UpdateProblem ¶
func (UnimplementedOjsServiceServer) UpdateProblem(context.Context, *UpdateProblemRequest) (*UpdateProblemResponse, error)
func (UnimplementedOjsServiceServer) UpdateSetting ¶
func (UnimplementedOjsServiceServer) UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error)
func (UnimplementedOjsServiceServer) UpdateTestCase ¶
func (UnimplementedOjsServiceServer) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*UpdateTestCaseResponse, error)
type UnsafeOjsServiceServer ¶
type UnsafeOjsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOjsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OjsServiceServer will result in compilation errors.
type UpdateProblemRequest ¶
type UpdateProblemRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` TimeLimit string `protobuf:"bytes,4,opt,name=time_limit,json=timeLimit,proto3" json:"time_limit,omitempty"` MemoryLimit string `protobuf:"bytes,5,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` // contains filtered or unexported fields }
func (*UpdateProblemRequest) Descriptor
deprecated
func (*UpdateProblemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProblemRequest.ProtoReflect.Descriptor instead.
func (*UpdateProblemRequest) GetDescription ¶
func (x *UpdateProblemRequest) GetDescription() string
func (*UpdateProblemRequest) GetDisplayName ¶
func (x *UpdateProblemRequest) GetDisplayName() string
func (*UpdateProblemRequest) GetId ¶
func (x *UpdateProblemRequest) GetId() uint64
func (*UpdateProblemRequest) GetMemoryLimit ¶
func (x *UpdateProblemRequest) GetMemoryLimit() string
func (*UpdateProblemRequest) GetTimeLimit ¶
func (x *UpdateProblemRequest) GetTimeLimit() string
func (*UpdateProblemRequest) ProtoMessage ¶
func (*UpdateProblemRequest) ProtoMessage()
func (*UpdateProblemRequest) ProtoReflect ¶
func (x *UpdateProblemRequest) ProtoReflect() protoreflect.Message
func (*UpdateProblemRequest) Reset ¶
func (x *UpdateProblemRequest) Reset()
func (*UpdateProblemRequest) String ¶
func (x *UpdateProblemRequest) String() string
func (*UpdateProblemRequest) Validate ¶
func (m *UpdateProblemRequest) Validate() error
Validate checks the field values on UpdateProblemRequest 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 (*UpdateProblemRequest) ValidateAll ¶
func (m *UpdateProblemRequest) ValidateAll() error
ValidateAll checks the field values on UpdateProblemRequest 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 UpdateProblemRequestMultiError, or nil if none found.
type UpdateProblemRequestMultiError ¶
type UpdateProblemRequestMultiError []error
UpdateProblemRequestMultiError is an error wrapping multiple validation errors returned by UpdateProblemRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateProblemRequestMultiError) AllErrors ¶
func (m UpdateProblemRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProblemRequestMultiError) Error ¶
func (m UpdateProblemRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProblemRequestValidationError ¶
type UpdateProblemRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateProblemRequestValidationError is the validation error returned by UpdateProblemRequest.Validate if the designated constraints aren't met.
func (UpdateProblemRequestValidationError) Cause ¶
func (e UpdateProblemRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProblemRequestValidationError) Error ¶
func (e UpdateProblemRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProblemRequestValidationError) ErrorName ¶
func (e UpdateProblemRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProblemRequestValidationError) Field ¶
func (e UpdateProblemRequestValidationError) Field() string
Field function returns field value.
func (UpdateProblemRequestValidationError) Key ¶
func (e UpdateProblemRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProblemRequestValidationError) Reason ¶
func (e UpdateProblemRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProblemResponse ¶
type UpdateProblemResponse struct { Problem *Problem `protobuf:"bytes,1,opt,name=problem,proto3" json:"problem,omitempty"` // contains filtered or unexported fields }
func (*UpdateProblemResponse) Descriptor
deprecated
func (*UpdateProblemResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProblemResponse.ProtoReflect.Descriptor instead.
func (*UpdateProblemResponse) GetProblem ¶
func (x *UpdateProblemResponse) GetProblem() *Problem
func (*UpdateProblemResponse) ProtoMessage ¶
func (*UpdateProblemResponse) ProtoMessage()
func (*UpdateProblemResponse) ProtoReflect ¶
func (x *UpdateProblemResponse) ProtoReflect() protoreflect.Message
func (*UpdateProblemResponse) Reset ¶
func (x *UpdateProblemResponse) Reset()
func (*UpdateProblemResponse) String ¶
func (x *UpdateProblemResponse) String() string
func (*UpdateProblemResponse) Validate ¶
func (m *UpdateProblemResponse) Validate() error
Validate checks the field values on UpdateProblemResponse 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 (*UpdateProblemResponse) ValidateAll ¶
func (m *UpdateProblemResponse) ValidateAll() error
ValidateAll checks the field values on UpdateProblemResponse 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 UpdateProblemResponseMultiError, or nil if none found.
type UpdateProblemResponseMultiError ¶
type UpdateProblemResponseMultiError []error
UpdateProblemResponseMultiError is an error wrapping multiple validation errors returned by UpdateProblemResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateProblemResponseMultiError) AllErrors ¶
func (m UpdateProblemResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProblemResponseMultiError) Error ¶
func (m UpdateProblemResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProblemResponseValidationError ¶
type UpdateProblemResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateProblemResponseValidationError is the validation error returned by UpdateProblemResponse.Validate if the designated constraints aren't met.
func (UpdateProblemResponseValidationError) Cause ¶
func (e UpdateProblemResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateProblemResponseValidationError) Error ¶
func (e UpdateProblemResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProblemResponseValidationError) ErrorName ¶
func (e UpdateProblemResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProblemResponseValidationError) Field ¶
func (e UpdateProblemResponseValidationError) Field() string
Field function returns field value.
func (UpdateProblemResponseValidationError) Key ¶
func (e UpdateProblemResponseValidationError) Key() bool
Key function returns key value.
func (UpdateProblemResponseValidationError) Reason ¶
func (e UpdateProblemResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingRequest ¶
type UpdateSettingRequest struct {
// contains filtered or unexported fields
}
func (*UpdateSettingRequest) Descriptor
deprecated
func (*UpdateSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingRequest) ProtoMessage ¶
func (*UpdateSettingRequest) ProtoMessage()
func (*UpdateSettingRequest) ProtoReflect ¶
func (x *UpdateSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateSettingRequest) Reset ¶
func (x *UpdateSettingRequest) Reset()
func (*UpdateSettingRequest) String ¶
func (x *UpdateSettingRequest) String() string
func (*UpdateSettingRequest) Validate ¶
func (m *UpdateSettingRequest) Validate() error
Validate checks the field values on UpdateSettingRequest 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 (*UpdateSettingRequest) ValidateAll ¶
func (m *UpdateSettingRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSettingRequest 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 UpdateSettingRequestMultiError, or nil if none found.
type UpdateSettingRequestMultiError ¶
type UpdateSettingRequestMultiError []error
UpdateSettingRequestMultiError is an error wrapping multiple validation errors returned by UpdateSettingRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingRequestMultiError) AllErrors ¶
func (m UpdateSettingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingRequestMultiError) Error ¶
func (m UpdateSettingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingRequestValidationError ¶
type UpdateSettingRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingRequestValidationError is the validation error returned by UpdateSettingRequest.Validate if the designated constraints aren't met.
func (UpdateSettingRequestValidationError) Cause ¶
func (e UpdateSettingRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingRequestValidationError) Error ¶
func (e UpdateSettingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingRequestValidationError) ErrorName ¶
func (e UpdateSettingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingRequestValidationError) Field ¶
func (e UpdateSettingRequestValidationError) Field() string
Field function returns field value.
func (UpdateSettingRequestValidationError) Key ¶
func (e UpdateSettingRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSettingRequestValidationError) Reason ¶
func (e UpdateSettingRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSettingResponse ¶
type UpdateSettingResponse struct {
// contains filtered or unexported fields
}
func (*UpdateSettingResponse) Descriptor
deprecated
func (*UpdateSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingResponse.ProtoReflect.Descriptor instead.
func (*UpdateSettingResponse) ProtoMessage ¶
func (*UpdateSettingResponse) ProtoMessage()
func (*UpdateSettingResponse) ProtoReflect ¶
func (x *UpdateSettingResponse) ProtoReflect() protoreflect.Message
func (*UpdateSettingResponse) Reset ¶
func (x *UpdateSettingResponse) Reset()
func (*UpdateSettingResponse) String ¶
func (x *UpdateSettingResponse) String() string
func (*UpdateSettingResponse) Validate ¶
func (m *UpdateSettingResponse) Validate() error
Validate checks the field values on UpdateSettingResponse 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 (*UpdateSettingResponse) ValidateAll ¶
func (m *UpdateSettingResponse) ValidateAll() error
ValidateAll checks the field values on UpdateSettingResponse 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 UpdateSettingResponseMultiError, or nil if none found.
type UpdateSettingResponseMultiError ¶
type UpdateSettingResponseMultiError []error
UpdateSettingResponseMultiError is an error wrapping multiple validation errors returned by UpdateSettingResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateSettingResponseMultiError) AllErrors ¶
func (m UpdateSettingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSettingResponseMultiError) Error ¶
func (m UpdateSettingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSettingResponseValidationError ¶
type UpdateSettingResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateSettingResponseValidationError is the validation error returned by UpdateSettingResponse.Validate if the designated constraints aren't met.
func (UpdateSettingResponseValidationError) Cause ¶
func (e UpdateSettingResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateSettingResponseValidationError) Error ¶
func (e UpdateSettingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSettingResponseValidationError) ErrorName ¶
func (e UpdateSettingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSettingResponseValidationError) Field ¶
func (e UpdateSettingResponseValidationError) Field() string
Field function returns field value.
func (UpdateSettingResponseValidationError) Key ¶
func (e UpdateSettingResponseValidationError) Key() bool
Key function returns key value.
func (UpdateSettingResponseValidationError) Reason ¶
func (e UpdateSettingResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateTestCaseRequest ¶
type UpdateTestCaseRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` IsHidden bool `protobuf:"varint,4,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` // contains filtered or unexported fields }
func (*UpdateTestCaseRequest) Descriptor
deprecated
func (*UpdateTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateTestCaseRequest) GetId ¶
func (x *UpdateTestCaseRequest) GetId() uint64
func (*UpdateTestCaseRequest) GetInput ¶
func (x *UpdateTestCaseRequest) GetInput() string
func (*UpdateTestCaseRequest) GetIsHidden ¶
func (x *UpdateTestCaseRequest) GetIsHidden() bool
func (*UpdateTestCaseRequest) GetOutput ¶
func (x *UpdateTestCaseRequest) GetOutput() string
func (*UpdateTestCaseRequest) ProtoMessage ¶
func (*UpdateTestCaseRequest) ProtoMessage()
func (*UpdateTestCaseRequest) ProtoReflect ¶
func (x *UpdateTestCaseRequest) ProtoReflect() protoreflect.Message
func (*UpdateTestCaseRequest) Reset ¶
func (x *UpdateTestCaseRequest) Reset()
func (*UpdateTestCaseRequest) String ¶
func (x *UpdateTestCaseRequest) String() string
func (*UpdateTestCaseRequest) Validate ¶
func (m *UpdateTestCaseRequest) Validate() error
Validate checks the field values on UpdateTestCaseRequest 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 (*UpdateTestCaseRequest) ValidateAll ¶
func (m *UpdateTestCaseRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTestCaseRequest 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 UpdateTestCaseRequestMultiError, or nil if none found.
type UpdateTestCaseRequestMultiError ¶
type UpdateTestCaseRequestMultiError []error
UpdateTestCaseRequestMultiError is an error wrapping multiple validation errors returned by UpdateTestCaseRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTestCaseRequestMultiError) AllErrors ¶
func (m UpdateTestCaseRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTestCaseRequestMultiError) Error ¶
func (m UpdateTestCaseRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTestCaseRequestValidationError ¶
type UpdateTestCaseRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTestCaseRequestValidationError is the validation error returned by UpdateTestCaseRequest.Validate if the designated constraints aren't met.
func (UpdateTestCaseRequestValidationError) Cause ¶
func (e UpdateTestCaseRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTestCaseRequestValidationError) Error ¶
func (e UpdateTestCaseRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTestCaseRequestValidationError) ErrorName ¶
func (e UpdateTestCaseRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTestCaseRequestValidationError) Field ¶
func (e UpdateTestCaseRequestValidationError) Field() string
Field function returns field value.
func (UpdateTestCaseRequestValidationError) Key ¶
func (e UpdateTestCaseRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTestCaseRequestValidationError) Reason ¶
func (e UpdateTestCaseRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTestCaseResponse ¶
type UpdateTestCaseResponse struct { TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // contains filtered or unexported fields }
func (*UpdateTestCaseResponse) Descriptor
deprecated
func (*UpdateTestCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTestCaseResponse.ProtoReflect.Descriptor instead.
func (*UpdateTestCaseResponse) GetTestCase ¶
func (x *UpdateTestCaseResponse) GetTestCase() *TestCase
func (*UpdateTestCaseResponse) ProtoMessage ¶
func (*UpdateTestCaseResponse) ProtoMessage()
func (*UpdateTestCaseResponse) ProtoReflect ¶
func (x *UpdateTestCaseResponse) ProtoReflect() protoreflect.Message
func (*UpdateTestCaseResponse) Reset ¶
func (x *UpdateTestCaseResponse) Reset()
func (*UpdateTestCaseResponse) String ¶
func (x *UpdateTestCaseResponse) String() string
func (*UpdateTestCaseResponse) Validate ¶
func (m *UpdateTestCaseResponse) Validate() error
Validate checks the field values on UpdateTestCaseResponse 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 (*UpdateTestCaseResponse) ValidateAll ¶
func (m *UpdateTestCaseResponse) ValidateAll() error
ValidateAll checks the field values on UpdateTestCaseResponse 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 UpdateTestCaseResponseMultiError, or nil if none found.
type UpdateTestCaseResponseMultiError ¶
type UpdateTestCaseResponseMultiError []error
UpdateTestCaseResponseMultiError is an error wrapping multiple validation errors returned by UpdateTestCaseResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateTestCaseResponseMultiError) AllErrors ¶
func (m UpdateTestCaseResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTestCaseResponseMultiError) Error ¶
func (m UpdateTestCaseResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTestCaseResponseValidationError ¶
type UpdateTestCaseResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateTestCaseResponseValidationError is the validation error returned by UpdateTestCaseResponse.Validate if the designated constraints aren't met.
func (UpdateTestCaseResponseValidationError) Cause ¶
func (e UpdateTestCaseResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateTestCaseResponseValidationError) Error ¶
func (e UpdateTestCaseResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTestCaseResponseValidationError) ErrorName ¶
func (e UpdateTestCaseResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTestCaseResponseValidationError) Field ¶
func (e UpdateTestCaseResponseValidationError) Field() string
Field function returns field value.
func (UpdateTestCaseResponseValidationError) Key ¶
func (e UpdateTestCaseResponseValidationError) Key() bool
Key function returns key value.
func (UpdateTestCaseResponseValidationError) Reason ¶
func (e UpdateTestCaseResponseValidationError) Reason() string
Reason function returns reason value.