protobuf

package
v0.0.0-...-20515da Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JudgeCaseResult

type JudgeCaseResult struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	SpaceUsed            uint32   `protobuf:"varint,2,opt,name=space_used,json=spaceUsed,proto3" json:"space_used,omitempty"`
	TimeUsed             uint32   `protobuf:"varint,3,opt,name=time_used,json=timeUsed,proto3" json:"time_used,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JudgeCaseResult) Descriptor

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

func (*JudgeCaseResult) GetSpaceUsed

func (m *JudgeCaseResult) GetSpaceUsed() uint32

func (*JudgeCaseResult) GetStatus

func (m *JudgeCaseResult) GetStatus() string

func (*JudgeCaseResult) GetTimeUsed

func (m *JudgeCaseResult) GetTimeUsed() uint32

func (*JudgeCaseResult) ProtoMessage

func (*JudgeCaseResult) ProtoMessage()

func (*JudgeCaseResult) Reset

func (m *JudgeCaseResult) Reset()

func (*JudgeCaseResult) String

func (m *JudgeCaseResult) String() string

func (*JudgeCaseResult) XXX_DiscardUnknown

func (m *JudgeCaseResult) XXX_DiscardUnknown()

func (*JudgeCaseResult) XXX_Marshal

func (m *JudgeCaseResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JudgeCaseResult) XXX_Merge

func (m *JudgeCaseResult) XXX_Merge(src proto.Message)

func (*JudgeCaseResult) XXX_Size

func (m *JudgeCaseResult) XXX_Size() int

func (*JudgeCaseResult) XXX_Unmarshal

func (m *JudgeCaseResult) XXX_Unmarshal(b []byte) error

type JudgeRequest

type JudgeRequest struct {
	Sid                  uint32   `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,omitempty"`
	Tid                  uint32   `protobuf:"varint,2,opt,name=tid,proto3" json:"tid,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Language             string   `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	TimeLimit            uint32   `protobuf:"varint,5,opt,name=time_limit,json=timeLimit,proto3" json:"time_limit,omitempty"`
	SpaceLimit           uint32   `protobuf:"varint,6,opt,name=space_limit,json=spaceLimit,proto3" json:"space_limit,omitempty"`
	CompMode             string   `protobuf:"bytes,7,opt,name=comp_mode,json=compMode,proto3" json:"comp_mode,omitempty"`
	Code                 []byte   `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"`
	Time                 int64    `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"`
	IsContest            bool     `protobuf:"varint,10,opt,name=is_contest,json=isContest,proto3" json:"is_contest,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JudgeRequest) Descriptor

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

func (*JudgeRequest) GetCode

func (m *JudgeRequest) GetCode() []byte

func (*JudgeRequest) GetCompMode

func (m *JudgeRequest) GetCompMode() string

func (*JudgeRequest) GetIsContest

func (m *JudgeRequest) GetIsContest() bool

func (*JudgeRequest) GetLanguage

func (m *JudgeRequest) GetLanguage() string

func (*JudgeRequest) GetSid

func (m *JudgeRequest) GetSid() uint32

func (*JudgeRequest) GetSpaceLimit

func (m *JudgeRequest) GetSpaceLimit() uint32

func (*JudgeRequest) GetTid

func (m *JudgeRequest) GetTid() uint32

func (*JudgeRequest) GetTime

func (m *JudgeRequest) GetTime() int64

func (*JudgeRequest) GetTimeLimit

func (m *JudgeRequest) GetTimeLimit() uint32

func (*JudgeRequest) GetVersion

func (m *JudgeRequest) GetVersion() string

func (*JudgeRequest) ProtoMessage

func (*JudgeRequest) ProtoMessage()

func (*JudgeRequest) Reset

func (m *JudgeRequest) Reset()

func (*JudgeRequest) String

func (m *JudgeRequest) String() string

func (*JudgeRequest) XXX_DiscardUnknown

func (m *JudgeRequest) XXX_DiscardUnknown()

func (*JudgeRequest) XXX_Marshal

func (m *JudgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JudgeRequest) XXX_Merge

func (m *JudgeRequest) XXX_Merge(src proto.Message)

func (*JudgeRequest) XXX_Size

func (m *JudgeRequest) XXX_Size() int

func (*JudgeRequest) XXX_Unmarshal

func (m *JudgeRequest) XXX_Unmarshal(b []byte) error

type JudgeResponse

type JudgeResponse struct {
	Sid                  uint32             `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,omitempty"`
	IsContest            bool               `protobuf:"varint,2,opt,name=is_contest,json=isContest,proto3" json:"is_contest,omitempty"`
	Result               []*JudgeCaseResult `protobuf:"bytes,3,rep,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*JudgeResponse) Descriptor

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

func (*JudgeResponse) GetIsContest

func (m *JudgeResponse) GetIsContest() bool

func (*JudgeResponse) GetResult

func (m *JudgeResponse) GetResult() []*JudgeCaseResult

func (*JudgeResponse) GetSid

func (m *JudgeResponse) GetSid() uint32

func (*JudgeResponse) ProtoMessage

func (*JudgeResponse) ProtoMessage()

func (*JudgeResponse) Reset

func (m *JudgeResponse) Reset()

func (*JudgeResponse) String

func (m *JudgeResponse) String() string

func (*JudgeResponse) XXX_DiscardUnknown

func (m *JudgeResponse) XXX_DiscardUnknown()

func (*JudgeResponse) XXX_Marshal

func (m *JudgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JudgeResponse) XXX_Merge

func (m *JudgeResponse) XXX_Merge(src proto.Message)

func (*JudgeResponse) XXX_Size

func (m *JudgeResponse) XXX_Size() int

func (*JudgeResponse) XXX_Unmarshal

func (m *JudgeResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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