resources

package
v0.0.0-...-9b43f02 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BenchmarkJob_Status_name = map[int32]string{
		0: "PENDING",
		1: "SENT",
		2: "RUNNING",
		3: "ERRORED",
		4: "CANCELLED",
		5: "FINISHED",
	}
	BenchmarkJob_Status_value = map[string]int32{
		"PENDING":   0,
		"SENT":      1,
		"RUNNING":   2,
		"ERRORED":   3,
		"CANCELLED": 4,
		"FINISHED":  5,
	}
)

Enum value maps for BenchmarkJob_Status.

View Source
var (
	Contest_Status_name = map[int32]string{
		0: "STANDBY",
		1: "REGISTRATION",
		2: "STARTED",
		3: "FINISHED",
	}
	Contest_Status_value = map[string]int32{
		"STANDBY":      0,
		"REGISTRATION": 1,
		"STARTED":      2,
		"FINISHED":     3,
	}
)

Enum value maps for Contest_Status.

View Source
var File_xsuportal_resources_benchmark_job_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_benchmark_result_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_clarification_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_contest_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_contestant_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_leaderboard_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_notification_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_staff_proto protoreflect.FileDescriptor
View Source
var File_xsuportal_resources_team_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BenchmarkJob

type BenchmarkJob struct {
	Id     int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TeamId int64 `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	// int64 target_id = 3;
	Status     BenchmarkJob_Status  `protobuf:"varint,4,opt,name=status,proto3,enum=xsuportal.proto.resources.BenchmarkJob_Status" json:"status,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	StartedAt  *timestamp.Timestamp `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	Team       *Team                `protobuf:"bytes,16,opt,name=team,proto3" json:"team,omitempty"`
	// target & result are only available at GetBenchmarkJobResponse
	// ContestantInstance target = 17;
	Result         *BenchmarkResult `protobuf:"bytes,18,opt,name=result,proto3" json:"result,omitempty"`
	TargetHostname string           `protobuf:"bytes,30,opt,name=target_hostname,json=targetHostname,proto3" json:"target_hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*BenchmarkJob) Descriptor deprecated

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

Deprecated: Use BenchmarkJob.ProtoReflect.Descriptor instead.

func (*BenchmarkJob) GetCreatedAt

func (x *BenchmarkJob) GetCreatedAt() *timestamp.Timestamp

func (*BenchmarkJob) GetFinishedAt

func (x *BenchmarkJob) GetFinishedAt() *timestamp.Timestamp

func (*BenchmarkJob) GetId

func (x *BenchmarkJob) GetId() int64

func (*BenchmarkJob) GetResult

func (x *BenchmarkJob) GetResult() *BenchmarkResult

func (*BenchmarkJob) GetStartedAt

func (x *BenchmarkJob) GetStartedAt() *timestamp.Timestamp

func (*BenchmarkJob) GetStatus

func (x *BenchmarkJob) GetStatus() BenchmarkJob_Status

func (*BenchmarkJob) GetTargetHostname

func (x *BenchmarkJob) GetTargetHostname() string

func (*BenchmarkJob) GetTeam

func (x *BenchmarkJob) GetTeam() *Team

func (*BenchmarkJob) GetTeamId

func (x *BenchmarkJob) GetTeamId() int64

func (*BenchmarkJob) GetUpdatedAt

func (x *BenchmarkJob) GetUpdatedAt() *timestamp.Timestamp

func (*BenchmarkJob) ProtoMessage

func (*BenchmarkJob) ProtoMessage()

func (*BenchmarkJob) ProtoReflect

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

func (*BenchmarkJob) Reset

func (x *BenchmarkJob) Reset()

func (*BenchmarkJob) String

func (x *BenchmarkJob) String() string

type BenchmarkJob_Status

type BenchmarkJob_Status int32
const (
	BenchmarkJob_PENDING   BenchmarkJob_Status = 0
	BenchmarkJob_SENT      BenchmarkJob_Status = 1
	BenchmarkJob_RUNNING   BenchmarkJob_Status = 2
	BenchmarkJob_ERRORED   BenchmarkJob_Status = 3
	BenchmarkJob_CANCELLED BenchmarkJob_Status = 4
	BenchmarkJob_FINISHED  BenchmarkJob_Status = 5
)

func (BenchmarkJob_Status) Descriptor

func (BenchmarkJob_Status) Enum

func (BenchmarkJob_Status) EnumDescriptor deprecated

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

Deprecated: Use BenchmarkJob_Status.Descriptor instead.

func (BenchmarkJob_Status) Number

func (BenchmarkJob_Status) String

func (x BenchmarkJob_Status) String() string

func (BenchmarkJob_Status) Type

type BenchmarkResult

type BenchmarkResult struct {
	Finished       bool                            `protobuf:"varint,1,opt,name=finished,proto3" json:"finished,omitempty"`
	Passed         bool                            `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
	Score          int64                           `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
	ScoreBreakdown *BenchmarkResult_ScoreBreakdown `protobuf:"bytes,4,opt,name=score_breakdown,json=scoreBreakdown,proto3" json:"score_breakdown,omitempty"`
	Reason         string                          `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	MarkedAt       *timestamp.Timestamp            `protobuf:"bytes,6,opt,name=marked_at,json=markedAt,proto3" json:"marked_at,omitempty"`
	// contains filtered or unexported fields
}

func (*BenchmarkResult) Descriptor deprecated

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

Deprecated: Use BenchmarkResult.ProtoReflect.Descriptor instead.

func (*BenchmarkResult) GetFinished

func (x *BenchmarkResult) GetFinished() bool

func (*BenchmarkResult) GetMarkedAt

func (x *BenchmarkResult) GetMarkedAt() *timestamp.Timestamp

func (*BenchmarkResult) GetPassed

func (x *BenchmarkResult) GetPassed() bool

func (*BenchmarkResult) GetReason

func (x *BenchmarkResult) GetReason() string

func (*BenchmarkResult) GetScore

func (x *BenchmarkResult) GetScore() int64

func (*BenchmarkResult) GetScoreBreakdown

func (x *BenchmarkResult) GetScoreBreakdown() *BenchmarkResult_ScoreBreakdown

func (*BenchmarkResult) ProtoMessage

func (*BenchmarkResult) ProtoMessage()

func (*BenchmarkResult) ProtoReflect

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

func (*BenchmarkResult) Reset

func (x *BenchmarkResult) Reset()

func (*BenchmarkResult) String

func (x *BenchmarkResult) String() string

type BenchmarkResult_ScoreBreakdown

type BenchmarkResult_ScoreBreakdown struct {
	Raw       int64 `protobuf:"varint,1,opt,name=raw,proto3" json:"raw,omitempty"`
	Deduction int64 `protobuf:"varint,2,opt,name=deduction,proto3" json:"deduction,omitempty"`
	// contains filtered or unexported fields
}

func (*BenchmarkResult_ScoreBreakdown) Descriptor deprecated

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

Deprecated: Use BenchmarkResult_ScoreBreakdown.ProtoReflect.Descriptor instead.

func (*BenchmarkResult_ScoreBreakdown) GetDeduction

func (x *BenchmarkResult_ScoreBreakdown) GetDeduction() int64

func (*BenchmarkResult_ScoreBreakdown) GetRaw

func (*BenchmarkResult_ScoreBreakdown) ProtoMessage

func (*BenchmarkResult_ScoreBreakdown) ProtoMessage()

func (*BenchmarkResult_ScoreBreakdown) ProtoReflect

func (*BenchmarkResult_ScoreBreakdown) Reset

func (x *BenchmarkResult_ScoreBreakdown) Reset()

func (*BenchmarkResult_ScoreBreakdown) String

type Clarification

type Clarification struct {
	Id         int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TeamId     int64                `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Answered   bool                 `protobuf:"varint,3,opt,name=answered,proto3" json:"answered,omitempty"`
	Disclosed  bool                 `protobuf:"varint,4,opt,name=disclosed,proto3" json:"disclosed,omitempty"`
	Question   string               `protobuf:"bytes,5,opt,name=question,proto3" json:"question,omitempty"`
	Answer     string               `protobuf:"bytes,6,opt,name=answer,proto3" json:"answer,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	AnsweredAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=answered_at,json=answeredAt,proto3" json:"answered_at,omitempty"`
	Team       *Team                `protobuf:"bytes,16,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

func (*Clarification) Descriptor deprecated

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

Deprecated: Use Clarification.ProtoReflect.Descriptor instead.

func (*Clarification) GetAnswer

func (x *Clarification) GetAnswer() string

func (*Clarification) GetAnswered

func (x *Clarification) GetAnswered() bool

func (*Clarification) GetAnsweredAt

func (x *Clarification) GetAnsweredAt() *timestamp.Timestamp

func (*Clarification) GetCreatedAt

func (x *Clarification) GetCreatedAt() *timestamp.Timestamp

func (*Clarification) GetDisclosed

func (x *Clarification) GetDisclosed() bool

func (*Clarification) GetId

func (x *Clarification) GetId() int64

func (*Clarification) GetQuestion

func (x *Clarification) GetQuestion() string

func (*Clarification) GetTeam

func (x *Clarification) GetTeam() *Team

func (*Clarification) GetTeamId

func (x *Clarification) GetTeamId() int64

func (*Clarification) ProtoMessage

func (*Clarification) ProtoMessage()

func (*Clarification) ProtoReflect

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

func (*Clarification) Reset

func (x *Clarification) Reset()

func (*Clarification) String

func (x *Clarification) String() string

type Contest

type Contest struct {
	RegistrationOpenAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=registration_open_at,json=registrationOpenAt,proto3" json:"registration_open_at,omitempty"`
	ContestStartsAt    *timestamp.Timestamp `protobuf:"bytes,3,opt,name=contest_starts_at,json=contestStartsAt,proto3" json:"contest_starts_at,omitempty"`
	ContestFreezesAt   *timestamp.Timestamp `protobuf:"bytes,4,opt,name=contest_freezes_at,json=contestFreezesAt,proto3" json:"contest_freezes_at,omitempty"`
	ContestEndsAt      *timestamp.Timestamp `protobuf:"bytes,5,opt,name=contest_ends_at,json=contestEndsAt,proto3" json:"contest_ends_at,omitempty"`
	Status             Contest_Status       `protobuf:"varint,6,opt,name=status,proto3,enum=xsuportal.proto.resources.Contest_Status" json:"status,omitempty"`
	Frozen             bool                 `protobuf:"varint,7,opt,name=frozen,proto3" json:"frozen,omitempty"`
	// contains filtered or unexported fields
}

func (*Contest) Descriptor deprecated

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

Deprecated: Use Contest.ProtoReflect.Descriptor instead.

func (*Contest) GetContestEndsAt

func (x *Contest) GetContestEndsAt() *timestamp.Timestamp

func (*Contest) GetContestFreezesAt

func (x *Contest) GetContestFreezesAt() *timestamp.Timestamp

func (*Contest) GetContestStartsAt

func (x *Contest) GetContestStartsAt() *timestamp.Timestamp

func (*Contest) GetFrozen

func (x *Contest) GetFrozen() bool

func (*Contest) GetRegistrationOpenAt

func (x *Contest) GetRegistrationOpenAt() *timestamp.Timestamp

func (*Contest) GetStatus

func (x *Contest) GetStatus() Contest_Status

func (*Contest) ProtoMessage

func (*Contest) ProtoMessage()

func (*Contest) ProtoReflect

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

func (*Contest) Reset

func (x *Contest) Reset()

func (*Contest) String

func (x *Contest) String() string

type Contest_Status

type Contest_Status int32
const (
	Contest_STANDBY      Contest_Status = 0
	Contest_REGISTRATION Contest_Status = 1
	Contest_STARTED      Contest_Status = 2
	Contest_FINISHED     Contest_Status = 3
)

func (Contest_Status) Descriptor

func (Contest_Status) Enum

func (x Contest_Status) Enum() *Contest_Status

func (Contest_Status) EnumDescriptor deprecated

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

Deprecated: Use Contest_Status.Descriptor instead.

func (Contest_Status) Number

func (Contest_Status) String

func (x Contest_Status) String() string

func (Contest_Status) Type

type Contestant

type Contestant struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TeamId    int64  `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	IsStudent bool   `protobuf:"varint,4,opt,name=is_student,json=isStudent,proto3" json:"is_student,omitempty"`
	IsStaff   bool   `protobuf:"varint,5,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"`
	// contains filtered or unexported fields
}

func (*Contestant) Descriptor deprecated

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

Deprecated: Use Contestant.ProtoReflect.Descriptor instead.

func (*Contestant) GetId

func (x *Contestant) GetId() string

func (*Contestant) GetIsStaff

func (x *Contestant) GetIsStaff() bool

func (*Contestant) GetIsStudent

func (x *Contestant) GetIsStudent() bool

func (*Contestant) GetName

func (x *Contestant) GetName() string

func (*Contestant) GetTeamId

func (x *Contestant) GetTeamId() int64

func (*Contestant) ProtoMessage

func (*Contestant) ProtoMessage()

func (*Contestant) ProtoReflect

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

func (*Contestant) Reset

func (x *Contestant) Reset()

func (*Contestant) String

func (x *Contestant) String() string

type Leaderboard

type Leaderboard struct {
	Teams        []*Leaderboard_LeaderboardItem `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"`
	GeneralTeams []*Leaderboard_LeaderboardItem `protobuf:"bytes,2,rep,name=general_teams,json=generalTeams,proto3" json:"general_teams,omitempty"`
	StudentTeams []*Leaderboard_LeaderboardItem `protobuf:"bytes,3,rep,name=student_teams,json=studentTeams,proto3" json:"student_teams,omitempty"`
	Progresses   []*Leaderboard_LeaderboardItem `protobuf:"bytes,4,rep,name=progresses,proto3" json:"progresses,omitempty"`
	Contest      *Contest                       `protobuf:"bytes,5,opt,name=contest,proto3" json:"contest,omitempty"`
	// contains filtered or unexported fields
}

func (*Leaderboard) Descriptor deprecated

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

Deprecated: Use Leaderboard.ProtoReflect.Descriptor instead.

func (*Leaderboard) GetContest

func (x *Leaderboard) GetContest() *Contest

func (*Leaderboard) GetGeneralTeams

func (x *Leaderboard) GetGeneralTeams() []*Leaderboard_LeaderboardItem

func (*Leaderboard) GetProgresses

func (x *Leaderboard) GetProgresses() []*Leaderboard_LeaderboardItem

func (*Leaderboard) GetStudentTeams

func (x *Leaderboard) GetStudentTeams() []*Leaderboard_LeaderboardItem

func (*Leaderboard) GetTeams

func (x *Leaderboard) GetTeams() []*Leaderboard_LeaderboardItem

func (*Leaderboard) ProtoMessage

func (*Leaderboard) ProtoMessage()

func (*Leaderboard) ProtoReflect

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

func (*Leaderboard) Reset

func (x *Leaderboard) Reset()

func (*Leaderboard) String

func (x *Leaderboard) String() string

type Leaderboard_LeaderboardItem

type Leaderboard_LeaderboardItem struct {
	Scores      []*Leaderboard_LeaderboardItem_LeaderboardScore `protobuf:"bytes,1,rep,name=scores,proto3" json:"scores,omitempty"`
	BestScore   *Leaderboard_LeaderboardItem_LeaderboardScore   `protobuf:"bytes,2,opt,name=best_score,json=bestScore,proto3" json:"best_score,omitempty"`
	LatestScore *Leaderboard_LeaderboardItem_LeaderboardScore   `protobuf:"bytes,3,opt,name=latest_score,json=latestScore,proto3" json:"latest_score,omitempty"`
	FinishCount int64                                           `protobuf:"varint,4,opt,name=finish_count,json=finishCount,proto3" json:"finish_count,omitempty"`
	Team        *Team                                           `protobuf:"bytes,16,opt,name=team,proto3" json:"team,omitempty"`
	// contains filtered or unexported fields
}

func (*Leaderboard_LeaderboardItem) Descriptor deprecated

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

Deprecated: Use Leaderboard_LeaderboardItem.ProtoReflect.Descriptor instead.

func (*Leaderboard_LeaderboardItem) GetBestScore

func (*Leaderboard_LeaderboardItem) GetFinishCount

func (x *Leaderboard_LeaderboardItem) GetFinishCount() int64

func (*Leaderboard_LeaderboardItem) GetLatestScore

func (*Leaderboard_LeaderboardItem) GetScores

func (*Leaderboard_LeaderboardItem) GetTeam

func (x *Leaderboard_LeaderboardItem) GetTeam() *Team

func (*Leaderboard_LeaderboardItem) ProtoMessage

func (*Leaderboard_LeaderboardItem) ProtoMessage()

func (*Leaderboard_LeaderboardItem) ProtoReflect

func (*Leaderboard_LeaderboardItem) Reset

func (x *Leaderboard_LeaderboardItem) Reset()

func (*Leaderboard_LeaderboardItem) String

func (x *Leaderboard_LeaderboardItem) String() string

type Leaderboard_LeaderboardItem_LeaderboardScore

type Leaderboard_LeaderboardItem_LeaderboardScore struct {
	Score     int64                `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	StartedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	MarkedAt  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=marked_at,json=markedAt,proto3" json:"marked_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Leaderboard_LeaderboardItem_LeaderboardScore) Descriptor deprecated

Deprecated: Use Leaderboard_LeaderboardItem_LeaderboardScore.ProtoReflect.Descriptor instead.

func (*Leaderboard_LeaderboardItem_LeaderboardScore) GetMarkedAt

func (*Leaderboard_LeaderboardItem_LeaderboardScore) GetScore

func (*Leaderboard_LeaderboardItem_LeaderboardScore) GetStartedAt

func (*Leaderboard_LeaderboardItem_LeaderboardScore) ProtoMessage

func (*Leaderboard_LeaderboardItem_LeaderboardScore) ProtoReflect

func (*Leaderboard_LeaderboardItem_LeaderboardScore) Reset

func (*Leaderboard_LeaderboardItem_LeaderboardScore) String

type Notification

type Notification struct {
	Id        int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Types that are assignable to Content:
	//	*Notification_ContentBenchmarkJob
	//	*Notification_ContentClarification
	//	*Notification_ContentTest
	Content isNotification_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetContent

func (m *Notification) GetContent() isNotification_Content

func (*Notification) GetContentBenchmarkJob

func (x *Notification) GetContentBenchmarkJob() *Notification_BenchmarkJobMessage

func (*Notification) GetContentClarification

func (x *Notification) GetContentClarification() *Notification_ClarificationMessage

func (*Notification) GetContentTest

func (x *Notification) GetContentTest() *Notification_TestMessage

func (*Notification) GetCreatedAt

func (x *Notification) GetCreatedAt() *timestamp.Timestamp

func (*Notification) GetId

func (x *Notification) GetId() int64

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type Notification_BenchmarkJobMessage

type Notification_BenchmarkJobMessage struct {
	BenchmarkJobId int64 `protobuf:"varint,1,opt,name=benchmark_job_id,json=benchmarkJobId,proto3" json:"benchmark_job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification_BenchmarkJobMessage) Descriptor deprecated

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

Deprecated: Use Notification_BenchmarkJobMessage.ProtoReflect.Descriptor instead.

func (*Notification_BenchmarkJobMessage) GetBenchmarkJobId

func (x *Notification_BenchmarkJobMessage) GetBenchmarkJobId() int64

func (*Notification_BenchmarkJobMessage) ProtoMessage

func (*Notification_BenchmarkJobMessage) ProtoMessage()

func (*Notification_BenchmarkJobMessage) ProtoReflect

func (*Notification_BenchmarkJobMessage) Reset

func (*Notification_BenchmarkJobMessage) String

type Notification_ClarificationMessage

type Notification_ClarificationMessage struct {
	ClarificationId int64 `protobuf:"varint,1,opt,name=clarification_id,json=clarificationId,proto3" json:"clarification_id,omitempty"`
	Owned           bool  `protobuf:"varint,2,opt,name=owned,proto3" json:"owned,omitempty"` // True when a clarification is sent from a team of
	// notification recipient
	Updated bool `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` // True when a clarification was answered and have updated
	// contains filtered or unexported fields
}

func (*Notification_ClarificationMessage) Descriptor deprecated

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

Deprecated: Use Notification_ClarificationMessage.ProtoReflect.Descriptor instead.

func (*Notification_ClarificationMessage) GetClarificationId

func (x *Notification_ClarificationMessage) GetClarificationId() int64

func (*Notification_ClarificationMessage) GetOwned

func (*Notification_ClarificationMessage) GetUpdated

func (x *Notification_ClarificationMessage) GetUpdated() bool

func (*Notification_ClarificationMessage) ProtoMessage

func (*Notification_ClarificationMessage) ProtoMessage()

func (*Notification_ClarificationMessage) ProtoReflect

func (*Notification_ClarificationMessage) Reset

func (*Notification_ClarificationMessage) String

type Notification_ContentBenchmarkJob

type Notification_ContentBenchmarkJob struct {
	ContentBenchmarkJob *Notification_BenchmarkJobMessage `protobuf:"bytes,3,opt,name=content_benchmark_job,json=contentBenchmarkJob,proto3,oneof"`
}

type Notification_ContentClarification

type Notification_ContentClarification struct {
	ContentClarification *Notification_ClarificationMessage `protobuf:"bytes,4,opt,name=content_clarification,json=contentClarification,proto3,oneof"`
}

type Notification_ContentTest

type Notification_ContentTest struct {
	ContentTest *Notification_TestMessage `protobuf:"bytes,5,opt,name=content_test,json=contentTest,proto3,oneof"`
}

type Notification_TestMessage

type Notification_TestMessage struct {
	Something int64 `protobuf:"varint,1,opt,name=something,proto3" json:"something,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification_TestMessage) Descriptor deprecated

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

Deprecated: Use Notification_TestMessage.ProtoReflect.Descriptor instead.

func (*Notification_TestMessage) GetSomething

func (x *Notification_TestMessage) GetSomething() int64

func (*Notification_TestMessage) ProtoMessage

func (*Notification_TestMessage) ProtoMessage()

func (*Notification_TestMessage) ProtoReflect

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

func (*Notification_TestMessage) Reset

func (x *Notification_TestMessage) Reset()

func (*Notification_TestMessage) String

func (x *Notification_TestMessage) String() string

type Staff

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

func (*Staff) Descriptor deprecated

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

Deprecated: Use Staff.ProtoReflect.Descriptor instead.

func (*Staff) GetGithubLogin

func (x *Staff) GetGithubLogin() string

func (*Staff) GetId

func (x *Staff) GetId() int64

func (*Staff) ProtoMessage

func (*Staff) ProtoMessage()

func (*Staff) ProtoReflect

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

func (*Staff) Reset

func (x *Staff) Reset()

func (*Staff) String

func (x *Staff) String() string

type Team

type Team 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"`
	LeaderId  string              `protobuf:"bytes,3,opt,name=leader_id,json=leaderId,proto3" json:"leader_id,omitempty"`
	MemberIds []string            `protobuf:"bytes,4,rep,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"`
	Withdrawn bool                `protobuf:"varint,7,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"`
	Student   *Team_StudentStatus `protobuf:"bytes,10,opt,name=student,proto3" json:"student,omitempty"`
	Detail    *Team_TeamDetail    `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
	Leader    *Contestant         `protobuf:"bytes,16,opt,name=leader,proto3" json:"leader,omitempty"`
	Members   []*Contestant       `protobuf:"bytes,17,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*Team) Descriptor deprecated

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

Deprecated: Use Team.ProtoReflect.Descriptor instead.

func (*Team) GetDetail

func (x *Team) GetDetail() *Team_TeamDetail

func (*Team) GetId

func (x *Team) GetId() int64

func (*Team) GetLeader

func (x *Team) GetLeader() *Contestant

func (*Team) GetLeaderId

func (x *Team) GetLeaderId() string

func (*Team) GetMemberIds

func (x *Team) GetMemberIds() []string

func (*Team) GetMembers

func (x *Team) GetMembers() []*Contestant

func (*Team) GetName

func (x *Team) GetName() string

func (*Team) GetStudent

func (x *Team) GetStudent() *Team_StudentStatus

func (*Team) GetWithdrawn

func (x *Team) GetWithdrawn() bool

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) ProtoReflect

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

func (*Team) Reset

func (x *Team) Reset()

func (*Team) String

func (x *Team) String() string

type Team_StudentStatus

type Team_StudentStatus struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Team_StudentStatus) Descriptor deprecated

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

Deprecated: Use Team_StudentStatus.ProtoReflect.Descriptor instead.

func (*Team_StudentStatus) GetStatus

func (x *Team_StudentStatus) GetStatus() bool

func (*Team_StudentStatus) ProtoMessage

func (*Team_StudentStatus) ProtoMessage()

func (*Team_StudentStatus) ProtoReflect

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

func (*Team_StudentStatus) Reset

func (x *Team_StudentStatus) Reset()

func (*Team_StudentStatus) String

func (x *Team_StudentStatus) String() string

type Team_TeamDetail

type Team_TeamDetail struct {
	EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	InviteToken  string `protobuf:"bytes,16,opt,name=invite_token,json=inviteToken,proto3" json:"invite_token,omitempty"`
	// contains filtered or unexported fields
}

func (*Team_TeamDetail) Descriptor deprecated

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

Deprecated: Use Team_TeamDetail.ProtoReflect.Descriptor instead.

func (*Team_TeamDetail) GetEmailAddress

func (x *Team_TeamDetail) GetEmailAddress() string

func (*Team_TeamDetail) GetInviteToken

func (x *Team_TeamDetail) GetInviteToken() string

func (*Team_TeamDetail) ProtoMessage

func (*Team_TeamDetail) ProtoMessage()

func (*Team_TeamDetail) ProtoReflect

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

func (*Team_TeamDetail) Reset

func (x *Team_TeamDetail) Reset()

func (*Team_TeamDetail) String

func (x *Team_TeamDetail) String() string

Jump to

Keyboard shortcuts

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