proto

package
v0.0.0-...-52a3571 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_alioth_common_proto protoreflect.FileDescriptor
View Source
var File_proto_judger_schemas_proto protoreflect.FileDescriptor
View Source
var File_proto_problem_schemas_proto protoreflect.FileDescriptor
View Source
var File_proto_user_schemas_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type JudgeReplyProto

type JudgeReplyProto struct {
	Id           int64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	User         *UserProto `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	FinishedTime int64      `protobuf:"varint,3,opt,name=finished_time,json=finishedTime,proto3" json:"finished_time,omitempty"`
	TimeCost     int64      `protobuf:"varint,4,opt,name=time_cost,json=timeCost,proto3" json:"time_cost,omitempty"`
	MemoryCost   int64      `protobuf:"varint,5,opt,name=memory_cost,json=memoryCost,proto3" json:"memory_cost,omitempty"`
	Status       int64      `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*JudgeReplyProto) Descriptor deprecated

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

Deprecated: Use JudgeReplyProto.ProtoReflect.Descriptor instead.

func (*JudgeReplyProto) GetFinishedTime

func (x *JudgeReplyProto) GetFinishedTime() int64

func (*JudgeReplyProto) GetId

func (x *JudgeReplyProto) GetId() int64

func (*JudgeReplyProto) GetMemoryCost

func (x *JudgeReplyProto) GetMemoryCost() int64

func (*JudgeReplyProto) GetStatus

func (x *JudgeReplyProto) GetStatus() int64

func (*JudgeReplyProto) GetTimeCost

func (x *JudgeReplyProto) GetTimeCost() int64

func (*JudgeReplyProto) GetUser

func (x *JudgeReplyProto) GetUser() *UserProto

func (*JudgeReplyProto) ProtoMessage

func (*JudgeReplyProto) ProtoMessage()

func (*JudgeReplyProto) ProtoReflect

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

func (*JudgeReplyProto) Reset

func (x *JudgeReplyProto) Reset()

func (*JudgeReplyProto) String

func (x *JudgeReplyProto) String() string

type JudgeRequestProto

type JudgeRequestProto struct {
	Id          int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	User        *UserProto    `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	CreatedTime int64         `protobuf:"varint,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	SourceCode  string        `protobuf:"bytes,4,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
	Problem     *ProblemProto `protobuf:"bytes,5,opt,name=problem,proto3" json:"problem,omitempty"`
	// contains filtered or unexported fields
}

func (*JudgeRequestProto) Descriptor deprecated

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

Deprecated: Use JudgeRequestProto.ProtoReflect.Descriptor instead.

func (*JudgeRequestProto) GetCreatedTime

func (x *JudgeRequestProto) GetCreatedTime() int64

func (*JudgeRequestProto) GetId

func (x *JudgeRequestProto) GetId() int64

func (*JudgeRequestProto) GetProblem

func (x *JudgeRequestProto) GetProblem() *ProblemProto

func (*JudgeRequestProto) GetSourceCode

func (x *JudgeRequestProto) GetSourceCode() string

func (*JudgeRequestProto) GetUser

func (x *JudgeRequestProto) GetUser() *UserProto

func (*JudgeRequestProto) ProtoMessage

func (*JudgeRequestProto) ProtoMessage()

func (*JudgeRequestProto) ProtoReflect

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

func (*JudgeRequestProto) Reset

func (x *JudgeRequestProto) Reset()

func (*JudgeRequestProto) String

func (x *JudgeRequestProto) String() string

type ProblemProto

type ProblemProto struct {
	Id      int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title   string      `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content string      `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Author  *UserProto  `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	Tags    []*TagProto `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ProblemProto) Descriptor deprecated

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

Deprecated: Use ProblemProto.ProtoReflect.Descriptor instead.

func (*ProblemProto) GetAuthor

func (x *ProblemProto) GetAuthor() *UserProto

func (*ProblemProto) GetContent

func (x *ProblemProto) GetContent() string

func (*ProblemProto) GetId

func (x *ProblemProto) GetId() int64

func (*ProblemProto) GetTags

func (x *ProblemProto) GetTags() []*TagProto

func (*ProblemProto) GetTitle

func (x *ProblemProto) GetTitle() string

func (*ProblemProto) ProtoMessage

func (*ProblemProto) ProtoMessage()

func (*ProblemProto) ProtoReflect

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

func (*ProblemProto) Reset

func (x *ProblemProto) Reset()

func (*ProblemProto) String

func (x *ProblemProto) String() string

type TagProto

type TagProto struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*TagProto) Descriptor deprecated

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

Deprecated: Use TagProto.ProtoReflect.Descriptor instead.

func (*TagProto) GetId

func (x *TagProto) GetId() int64

func (*TagProto) GetName

func (x *TagProto) GetName() string

func (*TagProto) ProtoMessage

func (*TagProto) ProtoMessage()

func (*TagProto) ProtoReflect

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

func (*TagProto) Reset

func (x *TagProto) Reset()

func (*TagProto) String

func (x *TagProto) String() string

type UserProto

type UserProto struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Nickname    string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password    string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Avatar      string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedTime int64  `protobuf:"varint,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UserProto) Descriptor deprecated

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

Deprecated: Use UserProto.ProtoReflect.Descriptor instead.

func (*UserProto) GetAvatar

func (x *UserProto) GetAvatar() string

func (*UserProto) GetCreatedTime

func (x *UserProto) GetCreatedTime() int64

func (*UserProto) GetId

func (x *UserProto) GetId() int64

func (*UserProto) GetNickname

func (x *UserProto) GetNickname() string

func (*UserProto) GetPassword

func (x *UserProto) GetPassword() string

func (*UserProto) ProtoMessage

func (*UserProto) ProtoMessage()

func (*UserProto) ProtoReflect

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

func (*UserProto) Reset

func (x *UserProto) Reset()

func (*UserProto) String

func (x *UserProto) String() string

Jump to

Keyboard shortcuts

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