ojs

package
v0.0.0-...-654e1bf Latest Latest
Warning

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

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

Documentation

Overview

Package ojs is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetId

func (x *Account) GetId() uint64

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetRole

func (x *Account) GetRole() Role

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

func (*Account) Validate

func (m *Account) Validate() error

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

func (*Account) ValidateAll

func (m *Account) ValidateAll() error

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

type AccountMultiError

type AccountMultiError []error

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

func (AccountMultiError) AllErrors

func (m AccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccountMultiError) Error

func (m AccountMultiError) Error() string

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

type AccountValidationError

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

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

func (AccountValidationError) Cause

func (e AccountValidationError) Cause() error

Cause function returns cause value.

func (AccountValidationError) Error

func (e AccountValidationError) Error() string

Error satisfies the builtin error interface

func (AccountValidationError) ErrorName

func (e AccountValidationError) ErrorName() string

ErrorName returns error name.

func (AccountValidationError) Field

func (e AccountValidationError) Field() string

Field function returns field value.

func (AccountValidationError) Key

func (e AccountValidationError) Key() bool

Key function returns key value.

func (AccountValidationError) Reason

func (e AccountValidationError) Reason() string

Reason function returns reason value.

type CreateAccountRequest

type CreateAccountRequest struct {
	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

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

type CreateAccountRequestValidationError

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

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

func (CreateAccountRequestValidationError) Cause

Cause function returns cause value.

func (CreateAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAccountRequestValidationError) Field

Field function returns field value.

func (CreateAccountRequestValidationError) Key

Key function returns key value.

func (CreateAccountRequestValidationError) Reason

Reason function returns reason value.

type CreateAccountResponse

type CreateAccountResponse struct {
	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

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

type CreateAccountResponseValidationError

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

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

func (CreateAccountResponseValidationError) Cause

Cause function returns cause value.

func (CreateAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateAccountResponseValidationError) Field

Field function returns field value.

func (CreateAccountResponseValidationError) Key

Key function returns key value.

func (CreateAccountResponseValidationError) Reason

Reason function returns reason value.

type 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

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

Cause function returns cause value.

func (CreateProblemRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateProblemRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateProblemRequestValidationError) Field

Field function returns field value.

func (CreateProblemRequestValidationError) Key

Key function returns key value.

func (CreateProblemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateProblemResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateProblemResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateProblemResponseValidationError) Field

Field function returns field value.

func (CreateProblemResponseValidationError) Key

Key function returns key value.

func (CreateProblemResponseValidationError) Reason

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

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

type CreateSessionRequestValidationError

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

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

func (CreateSessionRequestValidationError) Cause

Cause function returns cause value.

func (CreateSessionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSessionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSessionRequestValidationError) Field

Field function returns field value.

func (CreateSessionRequestValidationError) Key

Key function returns key value.

func (CreateSessionRequestValidationError) Reason

Reason function returns reason value.

type CreateSessionResponse

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

func (*CreateSessionResponse) Descriptor deprecated

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

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetAccount

func (x *CreateSessionResponse) GetAccount() *Account

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

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

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

func (*CreateSessionResponse) Validate

func (m *CreateSessionResponse) Validate() error

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

func (*CreateSessionResponse) ValidateAll

func (m *CreateSessionResponse) ValidateAll() error

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

type CreateSessionResponseMultiError

type CreateSessionResponseMultiError []error

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

func (CreateSessionResponseMultiError) AllErrors

func (m CreateSessionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSessionResponseMultiError) Error

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

type CreateSessionResponseValidationError

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

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

func (CreateSessionResponseValidationError) Cause

Cause function returns cause value.

func (CreateSessionResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateSessionResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateSessionResponseValidationError) Field

Field function returns field value.

func (CreateSessionResponseValidationError) Key

Key function returns key value.

func (CreateSessionResponseValidationError) Reason

Reason function returns reason value.

type 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

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

Cause function returns cause value.

func (CreateSubmissionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSubmissionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSubmissionRequestValidationError) Field

Field function returns field value.

func (CreateSubmissionRequestValidationError) Key

Key function returns key value.

func (CreateSubmissionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateSubmissionResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateSubmissionResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateSubmissionResponseValidationError) Field

Field function returns field value.

func (CreateSubmissionResponseValidationError) Key

Key function returns key value.

func (CreateSubmissionResponseValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTestCaseRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTestCaseRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTestCaseRequestValidationError) Field

Field function returns field value.

func (CreateTestCaseRequestValidationError) Key

Key function returns key value.

func (CreateTestCaseRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTestCaseResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateTestCaseResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateTestCaseResponseValidationError) Field

Field function returns field value.

func (CreateTestCaseResponseValidationError) Key

Key function returns key value.

func (CreateTestCaseResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteProblemRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProblemRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteProblemRequestValidationError) Field

Field function returns field value.

func (DeleteProblemRequestValidationError) Key

Key function returns key value.

func (DeleteProblemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteProblemResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteProblemResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteProblemResponseValidationError) Field

Field function returns field value.

func (DeleteProblemResponseValidationError) Key

Key function returns key value.

func (DeleteProblemResponseValidationError) Reason

Reason function returns reason value.

type DeleteSessionRequest

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

func (*DeleteSessionRequest) Descriptor deprecated

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

Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionRequest) ProtoMessage

func (*DeleteSessionRequest) ProtoMessage()

func (*DeleteSessionRequest) ProtoReflect

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

func (*DeleteSessionRequest) Reset

func (x *DeleteSessionRequest) Reset()

func (*DeleteSessionRequest) String

func (x *DeleteSessionRequest) String() string

func (*DeleteSessionRequest) Validate

func (m *DeleteSessionRequest) Validate() error

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

func (*DeleteSessionRequest) ValidateAll

func (m *DeleteSessionRequest) ValidateAll() error

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

type DeleteSessionRequestMultiError

type DeleteSessionRequestMultiError []error

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

func (DeleteSessionRequestMultiError) AllErrors

func (m DeleteSessionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSessionRequestMultiError) Error

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

type DeleteSessionRequestValidationError

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

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

func (DeleteSessionRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSessionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSessionRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSessionRequestValidationError) Field

Field function returns field value.

func (DeleteSessionRequestValidationError) Key

Key function returns key value.

func (DeleteSessionRequestValidationError) Reason

Reason function returns reason value.

type DeleteSessionResponse

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

func (*DeleteSessionResponse) Descriptor deprecated

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

Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.

func (*DeleteSessionResponse) ProtoMessage

func (*DeleteSessionResponse) ProtoMessage()

func (*DeleteSessionResponse) ProtoReflect

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

func (*DeleteSessionResponse) Reset

func (x *DeleteSessionResponse) Reset()

func (*DeleteSessionResponse) String

func (x *DeleteSessionResponse) String() string

func (*DeleteSessionResponse) Validate

func (m *DeleteSessionResponse) Validate() error

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

func (*DeleteSessionResponse) ValidateAll

func (m *DeleteSessionResponse) ValidateAll() error

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

type DeleteSessionResponseMultiError

type DeleteSessionResponseMultiError []error

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

func (DeleteSessionResponseMultiError) AllErrors

func (m DeleteSessionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSessionResponseMultiError) Error

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

type DeleteSessionResponseValidationError

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

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

func (DeleteSessionResponseValidationError) Cause

Cause function returns cause value.

func (DeleteSessionResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSessionResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSessionResponseValidationError) Field

Field function returns field value.

func (DeleteSessionResponseValidationError) Key

Key function returns key value.

func (DeleteSessionResponseValidationError) Reason

Reason function returns reason value.

type 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

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

Cause function returns cause value.

func (DeleteTestCaseRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTestCaseRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTestCaseRequestValidationError) Field

Field function returns field value.

func (DeleteTestCaseRequestValidationError) Key

Key function returns key value.

func (DeleteTestCaseRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTestCaseResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTestCaseResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTestCaseResponseValidationError) Field

Field function returns field value.

func (DeleteTestCaseResponseValidationError) Key

Key function returns key value.

func (DeleteTestCaseResponseValidationError) Reason

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 (*GetAccountProblemSubmissionListRequest) GetLimit

func (*GetAccountProblemSubmissionListRequest) GetOffset

func (*GetAccountProblemSubmissionListRequest) GetProblemId

func (*GetAccountProblemSubmissionListRequest) ProtoMessage

func (*GetAccountProblemSubmissionListRequest) ProtoReflect

func (*GetAccountProblemSubmissionListRequest) Reset

func (*GetAccountProblemSubmissionListRequest) String

func (*GetAccountProblemSubmissionListRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetAccountProblemSubmissionListRequestMultiError) Error

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

Cause function returns cause value.

func (GetAccountProblemSubmissionListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAccountProblemSubmissionListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAccountProblemSubmissionListRequestValidationError) Field

Field function returns field value.

func (GetAccountProblemSubmissionListRequestValidationError) Key

Key function returns key value.

func (GetAccountProblemSubmissionListRequestValidationError) Reason

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) ProtoReflect

func (*GetAccountProblemSubmissionListResponse) Reset

func (*GetAccountProblemSubmissionListResponse) String

func (*GetAccountProblemSubmissionListResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetAccountProblemSubmissionListResponseMultiError) Error

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

Cause function returns cause value.

func (GetAccountProblemSubmissionListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAccountProblemSubmissionListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAccountProblemSubmissionListResponseValidationError) Field

Field function returns field value.

func (GetAccountProblemSubmissionListResponseValidationError) Key

Key function returns key value.

func (GetAccountProblemSubmissionListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAccountRequestValidationError) Field

Field function returns field value.

func (GetAccountRequestValidationError) Key

Key function returns key value.

func (GetAccountRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAccountResponseValidationError) Field

Field function returns field value.

func (GetAccountResponseValidationError) Key

Key function returns key value.

func (GetAccountResponseValidationError) Reason

Reason function returns reason value.

type GetAndUpdateFirstSubmittedSubmissionToExecutingRequest

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

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Descriptor deprecated

Deprecated: Use GetAndUpdateFirstSubmittedSubmissionToExecutingRequest.ProtoReflect.Descriptor instead.

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoMessage

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) ProtoReflect

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Reset

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) String

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestMultiError) Error

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

ErrorName returns error name.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Field

Field function returns field value.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Key

Key function returns key value.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingRequestValidationError) Reason

Reason function returns reason value.

type GetAndUpdateFirstSubmittedSubmissionToExecutingResponse

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

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Descriptor deprecated

Deprecated: Use GetAndUpdateFirstSubmittedSubmissionToExecutingResponse.ProtoReflect.Descriptor instead.

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoMessage

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) ProtoReflect

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Reset

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) String

func (*GetAndUpdateFirstSubmittedSubmissionToExecutingResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseMultiError) Error

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

ErrorName returns error name.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Field

Field function returns field value.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Key

Key function returns key value.

func (GetAndUpdateFirstSubmittedSubmissionToExecutingResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetProblemListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProblemListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProblemListRequestValidationError) Field

Field function returns field value.

func (GetProblemListRequestValidationError) Key

Key function returns key value.

func (GetProblemListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetProblemListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProblemListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProblemListResponseValidationError) Field

Field function returns field value.

func (GetProblemListResponseValidationError) Key

Key function returns key value.

func (GetProblemListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetProblemRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProblemRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProblemRequestValidationError) Field

Field function returns field value.

func (GetProblemRequestValidationError) Key

Key function returns key value.

func (GetProblemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetProblemResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProblemResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProblemResponseValidationError) Field

Field function returns field value.

func (GetProblemResponseValidationError) Key

Key function returns key value.

func (GetProblemResponseValidationError) Reason

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 (*GetProblemSubmissionListRequest) GetLimit

func (*GetProblemSubmissionListRequest) GetOffset

func (x *GetProblemSubmissionListRequest) GetOffset() uint64

func (*GetProblemSubmissionListRequest) ProtoMessage

func (*GetProblemSubmissionListRequest) ProtoMessage()

func (*GetProblemSubmissionListRequest) ProtoReflect

func (*GetProblemSubmissionListRequest) Reset

func (*GetProblemSubmissionListRequest) 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

AllErrors returns a list of validation violation errors.

func (GetProblemSubmissionListRequestMultiError) Error

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

Cause function returns cause value.

func (GetProblemSubmissionListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProblemSubmissionListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProblemSubmissionListRequestValidationError) Field

Field function returns field value.

func (GetProblemSubmissionListRequestValidationError) Key

Key function returns key value.

func (GetProblemSubmissionListRequestValidationError) Reason

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 (*GetProblemSubmissionListResponse) Reset

func (*GetProblemSubmissionListResponse) String

func (*GetProblemSubmissionListResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (GetProblemSubmissionListResponseMultiError) Error

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

Cause function returns cause value.

func (GetProblemSubmissionListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProblemSubmissionListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProblemSubmissionListResponseValidationError) Field

Field function returns field value.

func (GetProblemSubmissionListResponseValidationError) Key

Key function returns key value.

func (GetProblemSubmissionListResponseValidationError) Reason

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 (*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 (*GetProblemTestCaseListRequest) Reset

func (x *GetProblemTestCaseListRequest) Reset()

func (*GetProblemTestCaseListRequest) 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

AllErrors returns a list of validation violation errors.

func (GetProblemTestCaseListRequestMultiError) Error

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

Cause function returns cause value.

func (GetProblemTestCaseListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProblemTestCaseListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProblemTestCaseListRequestValidationError) Field

Field function returns field value.

func (GetProblemTestCaseListRequestValidationError) Key

Key function returns key value.

func (GetProblemTestCaseListRequestValidationError) Reason

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 (*GetProblemTestCaseListResponse) Reset

func (x *GetProblemTestCaseListResponse) Reset()

func (*GetProblemTestCaseListResponse) 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

AllErrors returns a list of validation violation errors.

func (GetProblemTestCaseListResponseMultiError) Error

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

Cause function returns cause value.

func (GetProblemTestCaseListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProblemTestCaseListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProblemTestCaseListResponseValidationError) Field

Field function returns field value.

func (GetProblemTestCaseListResponseValidationError) Key

Key function returns key value.

func (GetProblemTestCaseListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetServerInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (GetServerInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (GetServerInfoRequestValidationError) Field

Field function returns field value.

func (GetServerInfoRequestValidationError) Key

Key function returns key value.

func (GetServerInfoRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetServerInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (GetServerInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (GetServerInfoResponseValidationError) Field

Field function returns field value.

func (GetServerInfoResponseValidationError) Key

Key function returns key value.

func (GetServerInfoResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubmissionListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubmissionListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubmissionListRequestValidationError) Field

Field function returns field value.

func (GetSubmissionListRequestValidationError) Key

Key function returns key value.

func (GetSubmissionListRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetSubmissionListResponseMultiError) Error

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

Cause function returns cause value.

func (GetSubmissionListResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSubmissionListResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSubmissionListResponseValidationError) Field

Field function returns field value.

func (GetSubmissionListResponseValidationError) Key

Key function returns key value.

func (GetSubmissionListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubmissionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubmissionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubmissionRequestValidationError) Field

Field function returns field value.

func (GetSubmissionRequestValidationError) Key

Key function returns key value.

func (GetSubmissionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubmissionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSubmissionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSubmissionResponseValidationError) Field

Field function returns field value.

func (GetSubmissionResponseValidationError) Key

Key function returns key value.

func (GetSubmissionResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetTestCaseRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTestCaseRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTestCaseRequestValidationError) Field

Field function returns field value.

func (GetTestCaseRequestValidationError) Key

Key function returns key value.

func (GetTestCaseRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetTestCaseResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTestCaseResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTestCaseResponseValidationError) Field

Field function returns field value.

func (GetTestCaseResponseValidationError) Key

Key function returns key value.

func (GetTestCaseResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Problem.ProtoReflect.Descriptor instead.

func (*Problem) GetAuthorId

func (x *Problem) GetAuthorId() uint64

func (*Problem) GetAuthorName

func (x *Problem) GetAuthorName() string

func (*Problem) GetDescription

func (x *Problem) GetDescription() string

func (*Problem) GetDisplayName

func (x *Problem) GetDisplayName() string

func (*Problem) GetId

func (x *Problem) GetId() uint64

func (*Problem) GetMemoryLimit

func (x *Problem) GetMemoryLimit() string

func (*Problem) GetTimeLimit

func (x *Problem) GetTimeLimit() string

func (*Problem) ProtoMessage

func (*Problem) ProtoMessage()

func (*Problem) ProtoReflect

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

func (*Problem) Reset

func (x *Problem) Reset()

func (*Problem) String

func (x *Problem) String() string

func (*Problem) Validate

func (m *Problem) Validate() error

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

func (m *Problem) ValidateAll() error

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
const (
	Role_UndefinedRole Role = 0
	Role_Admin         Role = 1
	Role_Contester     Role = 2
	Role_ProblemSetter Role = 3
	Role_Worker        Role = 4
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

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

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

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) Enum

func (SubmissionResult) EnumDescriptor deprecated

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

Deprecated: Use SubmissionResult.Descriptor instead.

func (SubmissionResult) Number

func (SubmissionResult) String

func (x SubmissionResult) String() string

func (SubmissionResult) Type

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) Enum

func (SubmissionStatus) EnumDescriptor deprecated

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

Deprecated: Use SubmissionStatus.Descriptor instead.

func (SubmissionStatus) Number

func (SubmissionStatus) String

func (x SubmissionStatus) String() string

func (SubmissionStatus) Type

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

Error satisfies the builtin error interface

func (SubmissionValidationError) ErrorName

func (e SubmissionValidationError) ErrorName() string

ErrorName returns error name.

func (SubmissionValidationError) Field

Field function returns field value.

func (SubmissionValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use TestCase.ProtoReflect.Descriptor instead.

func (*TestCase) GetId

func (x *TestCase) GetId() uint64

func (*TestCase) GetInput

func (x *TestCase) GetInput() string

func (*TestCase) GetIsHidden

func (x *TestCase) GetIsHidden() bool

func (*TestCase) GetOfProblemId

func (x *TestCase) GetOfProblemId() uint64

func (*TestCase) GetOutput

func (x *TestCase) GetOutput() string

func (*TestCase) ProtoMessage

func (*TestCase) ProtoMessage()

func (*TestCase) ProtoReflect

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

func (*TestCase) Reset

func (x *TestCase) Reset()

func (*TestCase) String

func (x *TestCase) String() string

func (*TestCase) Validate

func (m *TestCase) Validate() error

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

func (m *TestCase) ValidateAll() error

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) CreateProblem

func (UnimplementedOjsServiceServer) CreateSession

func (UnimplementedOjsServiceServer) CreateSubmission

func (UnimplementedOjsServiceServer) CreateTestCase

func (UnimplementedOjsServiceServer) DeleteProblem

func (UnimplementedOjsServiceServer) DeleteSession

func (UnimplementedOjsServiceServer) DeleteTestCase

func (UnimplementedOjsServiceServer) GetAccount

func (UnimplementedOjsServiceServer) GetProblem

func (UnimplementedOjsServiceServer) GetProblemList

func (UnimplementedOjsServiceServer) GetServerInfo

func (UnimplementedOjsServiceServer) GetSubmission

func (UnimplementedOjsServiceServer) GetSubmissionList

func (UnimplementedOjsServiceServer) GetTestCase

func (UnimplementedOjsServiceServer) UpdateProblem

func (UnimplementedOjsServiceServer) UpdateSetting

func (UnimplementedOjsServiceServer) UpdateTestCase

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

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

Cause function returns cause value.

func (UpdateProblemRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateProblemRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateProblemRequestValidationError) Field

Field function returns field value.

func (UpdateProblemRequestValidationError) Key

Key function returns key value.

func (UpdateProblemRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateProblemResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateProblemResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateProblemResponseValidationError) Field

Field function returns field value.

func (UpdateProblemResponseValidationError) Key

Key function returns key value.

func (UpdateProblemResponseValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateSettingRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSettingRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSettingRequestValidationError) Field

Field function returns field value.

func (UpdateSettingRequestValidationError) Key

Key function returns key value.

func (UpdateSettingRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateSettingResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateSettingResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateSettingResponseValidationError) Field

Field function returns field value.

func (UpdateSettingResponseValidationError) Key

Key function returns key value.

func (UpdateSettingResponseValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTestCaseRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTestCaseRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTestCaseRequestValidationError) Field

Field function returns field value.

func (UpdateTestCaseRequestValidationError) Key

Key function returns key value.

func (UpdateTestCaseRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTestCaseResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateTestCaseResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateTestCaseResponseValidationError) Field

Field function returns field value.

func (UpdateTestCaseResponseValidationError) Key

Key function returns key value.

func (UpdateTestCaseResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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