2475 lines
91 KiB
Go
2475 lines
91 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1
|
|
// protoc (unknown)
|
|
// source: github.com/hhhapz/codequest/api/v1/all.proto
|
|
|
|
package codequest
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Difficulty int32
|
|
|
|
const (
|
|
Difficulty_Level1 Difficulty = 0
|
|
Difficulty_Level2 Difficulty = 1
|
|
)
|
|
|
|
// Enum value maps for Difficulty.
|
|
var (
|
|
Difficulty_name = map[int32]string{
|
|
0: "Level1",
|
|
1: "Level2",
|
|
}
|
|
Difficulty_value = map[string]int32{
|
|
"Level1": 0,
|
|
"Level2": 1,
|
|
}
|
|
)
|
|
|
|
func (x Difficulty) Enum() *Difficulty {
|
|
p := new(Difficulty)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Difficulty) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Difficulty) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Difficulty) Type() protoreflect.EnumType {
|
|
return &file_github_com_hhhapz_codequest_api_v1_all_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Difficulty) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Difficulty.Descriptor instead.
|
|
func (Difficulty) EnumDescriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Token struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=Token,json=token,proto3" json:"token,omitempty"`
|
|
Expires string `protobuf:"bytes,2,opt,name=Expires,json=expires,proto3" json:"expires,omitempty"`
|
|
}
|
|
|
|
func (x *Token) Reset() {
|
|
*x = Token{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Token) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Token) ProtoMessage() {}
|
|
|
|
func (x *Token) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Token.ProtoReflect.Descriptor instead.
|
|
func (*Token) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Token) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Token) GetExpires() string {
|
|
if x != nil {
|
|
return x.Expires
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OAuthCodeRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *OAuthCodeRequest) Reset() {
|
|
*x = OAuthCodeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OAuthCodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OAuthCodeRequest) ProtoMessage() {}
|
|
|
|
func (x *OAuthCodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OAuthCodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*OAuthCodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type OAuthCodeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RedirectURI string `protobuf:"bytes,1,opt,name=RedirectURI,json=redirectURI,proto3" json:"redirectURI,omitempty"`
|
|
}
|
|
|
|
func (x *OAuthCodeResponse) Reset() {
|
|
*x = OAuthCodeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OAuthCodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OAuthCodeResponse) ProtoMessage() {}
|
|
|
|
func (x *OAuthCodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OAuthCodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*OAuthCodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *OAuthCodeResponse) GetRedirectURI() string {
|
|
if x != nil {
|
|
return x.RedirectURI
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TokenRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code string `protobuf:"bytes,1,opt,name=Code,json=code,proto3" json:"code,omitempty"`
|
|
State string `protobuf:"bytes,2,opt,name=State,json=state,proto3" json:"state,omitempty"`
|
|
}
|
|
|
|
func (x *TokenRequest) Reset() {
|
|
*x = TokenRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TokenRequest) ProtoMessage() {}
|
|
|
|
func (x *TokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*TokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *TokenRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TokenRequest) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteTokenRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
All bool `protobuf:"varint,1,opt,name=All,json=all,proto3" json:"all,omitempty"`
|
|
Token *Token `protobuf:"bytes,2,opt,name=Token,json=token,proto3" json:"token,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteTokenRequest) Reset() {
|
|
*x = DeleteTokenRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DeleteTokenRequest) GetAll() bool {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteTokenRequest) GetToken() *Token {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteTokenResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteTokenResponse) Reset() {
|
|
*x = DeleteTokenResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
// Info is the current information about the competition.
|
|
type Info struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CurrentUser *User `protobuf:"bytes,1,opt,name=CurrentUser,json=currentUser,proto3" json:"currentUser,omitempty"`
|
|
Active bool `protobuf:"varint,2,opt,name=Active,json=active,proto3" json:"active,omitempty"`
|
|
Points int32 `protobuf:"varint,5,opt,name=Points,json=points,proto3" json:"points,omitempty"`
|
|
StartTime string `protobuf:"bytes,3,opt,name=StartTime,json=startTime,proto3" json:"startTime,omitempty"`
|
|
EndTime string `protobuf:"bytes,4,opt,name=EndTime,json=endTime,proto3" json:"endTime,omitempty"`
|
|
}
|
|
|
|
func (x *Info) Reset() {
|
|
*x = Info{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Info) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Info) ProtoMessage() {}
|
|
|
|
func (x *Info) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Info.ProtoReflect.Descriptor instead.
|
|
func (*Info) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Info) GetCurrentUser() *User {
|
|
if x != nil {
|
|
return x.CurrentUser
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Info) GetActive() bool {
|
|
if x != nil {
|
|
return x.Active
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Info) GetPoints() int32 {
|
|
if x != nil {
|
|
return x.Points
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Info) GetStartTime() string {
|
|
if x != nil {
|
|
return x.StartTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Info) GetEndTime() string {
|
|
if x != nil {
|
|
return x.EndTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// User is a contestant in the competition.
|
|
type User struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ID of the user. Received via Google's OAuth2 API.
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
// Name of the user.
|
|
Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"name,omitempty"`
|
|
// Email of the user.
|
|
Email string `protobuf:"bytes,3,opt,name=Email,json=email,proto3" json:"email,omitempty"`
|
|
// Picture is the URL of the user's profile picture.
|
|
Picture string `protobuf:"bytes,4,opt,name=Picture,json=picture,proto3" json:"picture,omitempty"`
|
|
// Admin is true if the user is an administrator.
|
|
Admin bool `protobuf:"varint,6,opt,name=Admin,json=admin,proto3" json:"admin,omitempty"`
|
|
// CreatedAt is the time the user was created.
|
|
CreatedAt string `protobuf:"bytes,7,opt,name=CreatedAt,json=createdAt,proto3" json:"createdAt,omitempty"`
|
|
}
|
|
|
|
func (x *User) Reset() {
|
|
*x = User{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *User) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *User) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetPicture() string {
|
|
if x != nil {
|
|
return x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetAdmin() bool {
|
|
if x != nil {
|
|
return x.Admin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *User) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QuestionsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *QuestionsRequest) Reset() {
|
|
*x = QuestionsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuestionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuestionsRequest) ProtoMessage() {}
|
|
|
|
func (x *QuestionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuestionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*QuestionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type PartData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Completed bool `protobuf:"varint,1,opt,name=Completed,json=completed,proto3" json:"completed,omitempty"`
|
|
PointsWorth int32 `protobuf:"varint,2,opt,name=PointsWorth,json=pointsWorth,proto3" json:"pointsWorth,omitempty"`
|
|
}
|
|
|
|
func (x *PartData) Reset() {
|
|
*x = PartData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PartData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PartData) ProtoMessage() {}
|
|
|
|
func (x *PartData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PartData.ProtoReflect.Descriptor instead.
|
|
func (*PartData) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *PartData) GetCompleted() bool {
|
|
if x != nil {
|
|
return x.Completed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PartData) GetPointsWorth() int32 {
|
|
if x != nil {
|
|
return x.PointsWorth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Question struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=Title,json=title,proto3" json:"title,omitempty"`
|
|
Text string `protobuf:"bytes,3,opt,name=Text,json=text,proto3" json:"text,omitempty"`
|
|
Difficulty Difficulty `protobuf:"varint,4,opt,name=Difficulty,json=difficulty,proto3,enum=hhhapz.codequest.v1.Difficulty" json:"difficulty,omitempty"`
|
|
Part1 *PartData `protobuf:"bytes,5,opt,name=Part1,json=part1,proto3" json:"part1,omitempty"`
|
|
Part2 *PartData `protobuf:"bytes,6,opt,name=Part2,json=part2,proto3" json:"part2,omitempty"`
|
|
}
|
|
|
|
func (x *Question) Reset() {
|
|
*x = Question{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Question) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Question) ProtoMessage() {}
|
|
|
|
func (x *Question) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Question.ProtoReflect.Descriptor instead.
|
|
func (*Question) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Question) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Question) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Question) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Question) GetDifficulty() Difficulty {
|
|
if x != nil {
|
|
return x.Difficulty
|
|
}
|
|
return Difficulty_Level1
|
|
}
|
|
|
|
func (x *Question) GetPart1() *PartData {
|
|
if x != nil {
|
|
return x.Part1
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Question) GetPart2() *PartData {
|
|
if x != nil {
|
|
return x.Part2
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QuestionsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Questions []*Question `protobuf:"bytes,1,rep,name=Questions,json=questions,proto3" json:"questions,omitempty"`
|
|
}
|
|
|
|
func (x *QuestionsResponse) Reset() {
|
|
*x = QuestionsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuestionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuestionsResponse) ProtoMessage() {}
|
|
|
|
func (x *QuestionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuestionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*QuestionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *QuestionsResponse) GetQuestions() []*Question {
|
|
if x != nil {
|
|
return x.Questions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QuestionByIDRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *QuestionByIDRequest) Reset() {
|
|
*x = QuestionByIDRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuestionByIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuestionByIDRequest) ProtoMessage() {}
|
|
|
|
func (x *QuestionByIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuestionByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*QuestionByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *QuestionByIDRequest) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QuestionInputRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *QuestionInputRequest) Reset() {
|
|
*x = QuestionInputRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuestionInputRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuestionInputRequest) ProtoMessage() {}
|
|
|
|
func (x *QuestionInputRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuestionInputRequest.ProtoReflect.Descriptor instead.
|
|
func (*QuestionInputRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *QuestionInputRequest) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QuestionInput struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
Input string `protobuf:"bytes,2,opt,name=Input,json=input,proto3" json:"input,omitempty"`
|
|
}
|
|
|
|
func (x *QuestionInput) Reset() {
|
|
*x = QuestionInput{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuestionInput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuestionInput) ProtoMessage() {}
|
|
|
|
func (x *QuestionInput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuestionInput.ProtoReflect.Descriptor instead.
|
|
func (*QuestionInput) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *QuestionInput) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QuestionInput) GetInput() string {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitRequestData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Answer string `protobuf:"bytes,2,opt,name=Answer,json=answer,proto3" json:"answer,omitempty"`
|
|
Code string `protobuf:"bytes,4,opt,name=Code,json=code,proto3" json:"code,omitempty"`
|
|
}
|
|
|
|
func (x *SubmitRequestData) Reset() {
|
|
*x = SubmitRequestData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubmitRequestData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitRequestData) ProtoMessage() {}
|
|
|
|
func (x *SubmitRequestData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitRequestData.ProtoReflect.Descriptor instead.
|
|
func (*SubmitRequestData) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SubmitRequestData) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitRequestData) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"id,omitempty"`
|
|
Part int32 `protobuf:"varint,3,opt,name=Part,json=part,proto3" json:"part,omitempty"`
|
|
Body *SubmitRequestData `protobuf:"bytes,2,opt,name=Body,proto3" json:"Body,omitempty"`
|
|
}
|
|
|
|
func (x *SubmitRequest) Reset() {
|
|
*x = SubmitRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubmitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitRequest) ProtoMessage() {}
|
|
|
|
func (x *SubmitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubmitRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *SubmitRequest) GetID() string {
|
|
if x != nil {
|
|
return x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubmitRequest) GetPart() int32 {
|
|
if x != nil {
|
|
return x.Part
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubmitRequest) GetBody() *SubmitRequestData {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Correct bool `protobuf:"varint,3,opt,name=Correct,json=correct,proto3" json:"correct,omitempty"`
|
|
Points int32 `protobuf:"varint,5,opt,name=Points,json=points,proto3" json:"points,omitempty"`
|
|
}
|
|
|
|
func (x *SubmitResponse) Reset() {
|
|
*x = SubmitResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubmitResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitResponse) ProtoMessage() {}
|
|
|
|
func (x *SubmitResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubmitResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *SubmitResponse) GetCorrect() bool {
|
|
if x != nil {
|
|
return x.Correct
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SubmitResponse) GetPoints() int32 {
|
|
if x != nil {
|
|
return x.Points
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LeaderboardRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *LeaderboardRequest) Reset() {
|
|
*x = LeaderboardRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LeaderboardRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LeaderboardRequest) ProtoMessage() {}
|
|
|
|
func (x *LeaderboardRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaderboardRequest.ProtoReflect.Descriptor instead.
|
|
func (*LeaderboardRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type LeaderboardResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Leaderboard []*LeaderboardEntry `protobuf:"bytes,1,rep,name=Leaderboard,json=leaderboard,proto3" json:"leaderboard,omitempty"`
|
|
}
|
|
|
|
func (x *LeaderboardResponse) Reset() {
|
|
*x = LeaderboardResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LeaderboardResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LeaderboardResponse) ProtoMessage() {}
|
|
|
|
func (x *LeaderboardResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaderboardResponse.ProtoReflect.Descriptor instead.
|
|
func (*LeaderboardResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *LeaderboardResponse) GetLeaderboard() []*LeaderboardEntry {
|
|
if x != nil {
|
|
return x.Leaderboard
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LeaderboardEntry struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Username string `protobuf:"bytes,1,opt,name=Username,json=username,proto3" json:"username,omitempty"`
|
|
Points int32 `protobuf:"varint,2,opt,name=Points,json=points,proto3" json:"points,omitempty"`
|
|
}
|
|
|
|
func (x *LeaderboardEntry) Reset() {
|
|
*x = LeaderboardEntry{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LeaderboardEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LeaderboardEntry) ProtoMessage() {}
|
|
|
|
func (x *LeaderboardEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaderboardEntry.ProtoReflect.Descriptor instead.
|
|
func (*LeaderboardEntry) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *LeaderboardEntry) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LeaderboardEntry) GetPoints() int32 {
|
|
if x != nil {
|
|
return x.Points
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *InfoRequest) Reset() {
|
|
*x = InfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InfoRequest) ProtoMessage() {}
|
|
|
|
func (x *InfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*InfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
type UpdateFields struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"name,omitempty"`
|
|
GradeLevel int32 `protobuf:"varint,3,opt,name=GradeLevel,json=gradeLevel,proto3" json:"gradeLevel,omitempty"`
|
|
Admin bool `protobuf:"varint,4,opt,name=Admin,json=admin,proto3" json:"admin,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateFields) Reset() {
|
|
*x = UpdateFields{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateFields) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateFields) ProtoMessage() {}
|
|
|
|
func (x *UpdateFields) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateFields.ProtoReflect.Descriptor instead.
|
|
func (*UpdateFields) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *UpdateFields) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateFields) GetGradeLevel() int32 {
|
|
if x != nil {
|
|
return x.GradeLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateFields) GetAdmin() bool {
|
|
if x != nil {
|
|
return x.Admin
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AdminUpdateFields struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=Email,json=email,proto3" json:"email,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"name,omitempty"`
|
|
GradeLevel int32 `protobuf:"varint,3,opt,name=GradeLevel,json=gradeLevel,proto3" json:"gradeLevel,omitempty"`
|
|
Admin bool `protobuf:"varint,4,opt,name=Admin,json=admin,proto3" json:"admin,omitempty"`
|
|
}
|
|
|
|
func (x *AdminUpdateFields) Reset() {
|
|
*x = AdminUpdateFields{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AdminUpdateFields) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminUpdateFields) ProtoMessage() {}
|
|
|
|
func (x *AdminUpdateFields) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminUpdateFields.ProtoReflect.Descriptor instead.
|
|
func (*AdminUpdateFields) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *AdminUpdateFields) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminUpdateFields) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminUpdateFields) GetGradeLevel() int32 {
|
|
if x != nil {
|
|
return x.GradeLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AdminUpdateFields) GetAdmin() bool {
|
|
if x != nil {
|
|
return x.Admin
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Body *UpdateFields `protobuf:"bytes,1,opt,name=Body,proto3" json:"Body,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateUserRequest) Reset() {
|
|
*x = UpdateUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[24]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *UpdateUserRequest) GetBody() *UpdateFields {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AdminUpdateUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Body *AdminUpdateFields `protobuf:"bytes,1,opt,name=Body,proto3" json:"Body,omitempty"`
|
|
}
|
|
|
|
func (x *AdminUpdateUserRequest) Reset() {
|
|
*x = AdminUpdateUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AdminUpdateUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminUpdateUserRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminUpdateUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminUpdateUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminUpdateUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *AdminUpdateUserRequest) GetBody() *AdminUpdateFields {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserByEmailRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=Email,json=email,proto3" json:"email,omitempty"`
|
|
}
|
|
|
|
func (x *UserByEmailRequest) Reset() {
|
|
*x = UserByEmailRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserByEmailRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserByEmailRequest) ProtoMessage() {}
|
|
|
|
func (x *UserByEmailRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserByEmailRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserByEmailRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *UserByEmailRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=Email,json=email,proto3" json:"email,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteUserRequest) Reset() {
|
|
*x = DeleteUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUserRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[27]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *DeleteUserRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AllUsersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AllUsersRequest) Reset() {
|
|
*x = AllUsersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllUsersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllUsersRequest) ProtoMessage() {}
|
|
|
|
func (x *AllUsersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[28]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllUsersRequest.ProtoReflect.Descriptor instead.
|
|
func (*AllUsersRequest) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
type AllUsersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Users []*User `protobuf:"bytes,1,rep,name=Users,json=users,proto3" json:"users,omitempty"`
|
|
}
|
|
|
|
func (x *AllUsersResponse) Reset() {
|
|
*x = AllUsersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AllUsersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllUsersResponse) ProtoMessage() {}
|
|
|
|
func (x *AllUsersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[29]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllUsersResponse.ProtoReflect.Descriptor instead.
|
|
func (*AllUsersResponse) Descriptor() ([]byte, []int) {
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *AllUsersResponse) GetUsers() []*User {
|
|
if x != nil {
|
|
return x.Users
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_github_com_hhhapz_codequest_api_v1_all_proto protoreflect.FileDescriptor
|
|
|
|
var file_github_com_hhhapz_codequest_api_v1_all_proto_rawDesc = []byte{
|
|
0x0a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x68, 0x68,
|
|
0x61, 0x70, 0x7a, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x70,
|
|
0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13,
|
|
0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
|
0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x22, 0x57, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x05, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28,
|
|
0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x24, 0x0a, 0x07,
|
|
0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08,
|
|
0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72,
|
|
0x65, 0x73, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x1a, 0x0a, 0x10, 0x4f, 0x41,
|
|
0x75, 0x74, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x06,
|
|
0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x49, 0x0a, 0x11, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x43,
|
|
0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x0b, 0x52,
|
|
0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x52, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0b, 0x72, 0x65,
|
|
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x52, 0x49, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18,
|
|
0x00, 0x22, 0x58, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x1e, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
|
|
0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
0x65, 0x12, 0x20, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x73, 0x74,
|
|
0x61, 0x74, 0x65, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x78, 0x0a, 0x12, 0x44,
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x1c, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0a,
|
|
0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12,
|
|
0x3c, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x06, 0x08,
|
|
0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x1d, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x3a, 0x06, 0x08, 0x00,
|
|
0x10, 0x00, 0x18, 0x00, 0x22, 0xef, 0x01, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a,
|
|
0x0b, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x0a, 0x08,
|
|
0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65,
|
|
0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00,
|
|
0x50, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x50, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x28,
|
|
0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x09, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54,
|
|
0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28,
|
|
0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x06,
|
|
0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0xde, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
|
|
0x1a, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18,
|
|
0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x4e,
|
|
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28,
|
|
0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x45,
|
|
0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x0a,
|
|
0x07, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a,
|
|
0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74,
|
|
0x75, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05,
|
|
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
|
0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00,
|
|
0x30, 0x00, 0x50, 0x00, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x3a,
|
|
0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x1a, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x73, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x06, 0x08, 0x00, 0x10,
|
|
0x00, 0x18, 0x00, 0x22, 0x6a, 0x0a, 0x08, 0x50, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12,
|
|
0x28, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x09,
|
|
0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x50, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x73, 0x57, 0x6f, 0x72, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a,
|
|
0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0b, 0x70, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x73, 0x57, 0x6f, 0x72, 0x74, 0x68, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22,
|
|
0xbf, 0x02, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x02,
|
|
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00,
|
|
0x30, 0x00, 0x50, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30,
|
|
0x00, 0x50, 0x00, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x54, 0x65,
|
|
0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00,
|
|
0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x69,
|
|
0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f,
|
|
0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x42,
|
|
0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0a, 0x64, 0x69, 0x66,
|
|
0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x74, 0x31,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72,
|
|
0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50,
|
|
0x00, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x31, 0x12, 0x3f, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x74,
|
|
0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,
|
|
0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00,
|
|
0x50, 0x00, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x32, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18,
|
|
0x00, 0x22, 0x64, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x68, 0x68, 0x61,
|
|
0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00,
|
|
0x30, 0x00, 0x50, 0x00, 0x52, 0x09, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a,
|
|
0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x39, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x73, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
|
0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x02, 0x69, 0x64, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00,
|
|
0x18, 0x00, 0x22, 0x3a, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
|
|
0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x49, 0x44,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00,
|
|
0x50, 0x00, 0x52, 0x02, 0x69, 0x64, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x55,
|
|
0x0a, 0x0d, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12,
|
|
0x1a, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18,
|
|
0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x05, 0x49,
|
|
0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x3a, 0x06, 0x08,
|
|
0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x5f, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x06, 0x41, 0x6e,
|
|
0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x1e,
|
|
0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00,
|
|
0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x3a, 0x06,
|
|
0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x9b, 0x01, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x6d, 0x69,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00,
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x05, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04,
|
|
0x70, 0x61, 0x72, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00,
|
|
0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x3a, 0x06, 0x08, 0x00,
|
|
0x10, 0x00, 0x18, 0x00, 0x22, 0x62, 0x0a, 0x0e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30,
|
|
0x00, 0x50, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x12, 0x22, 0x0a, 0x06,
|
|
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0x08, 0x00,
|
|
0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
|
|
0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x1c, 0x0a, 0x12, 0x4c, 0x65, 0x61, 0x64,
|
|
0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x06,
|
|
0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x72, 0x0a, 0x13, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a,
|
|
0x0b, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62,
|
|
0x6f, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28,
|
|
0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0b, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61,
|
|
0x72, 0x64, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x66, 0x0a, 0x10, 0x4c, 0x65,
|
|
0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x26,
|
|
0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x08, 0x75, 0x73,
|
|
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00,
|
|
0x50, 0x00, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00,
|
|
0x18, 0x00, 0x22, 0x15, 0x0a, 0x0b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x04, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00,
|
|
0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x0a, 0x47, 0x72,
|
|
0x61, 0x64, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a,
|
|
0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x64,
|
|
0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50,
|
|
0x00, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00,
|
|
0x22, 0xab, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50,
|
|
0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1e, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00,
|
|
0x50, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x0a, 0x47, 0x72, 0x61, 0x64,
|
|
0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0x08, 0x00,
|
|
0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4c,
|
|
0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x08, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52,
|
|
0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x5e,
|
|
0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x21, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69,
|
|
0x65, 0x6c, 0x64, 0x73, 0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00,
|
|
0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x68,
|
|
0x0a, 0x16, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
|
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d,
|
|
0x69, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x42, 0x0a,
|
|
0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79,
|
|
0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x3e, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72,
|
|
0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
|
|
0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08,
|
|
0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
|
|
0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x3d, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65,
|
|
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a,
|
|
0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x08, 0x00,
|
|
0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x3a,
|
|
0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x22, 0x19, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, 0x55, 0x73,
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00,
|
|
0x18, 0x00, 0x22, 0x57, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
|
|
0x42, 0x0a, 0x08, 0x00, 0x18, 0x00, 0x28, 0x00, 0x30, 0x00, 0x50, 0x00, 0x52, 0x05, 0x75, 0x73,
|
|
0x65, 0x72, 0x73, 0x3a, 0x06, 0x08, 0x00, 0x10, 0x00, 0x18, 0x00, 0x2a, 0x30, 0x0a, 0x0a, 0x44,
|
|
0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x06, 0x4c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x31, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x00, 0x12, 0x0e, 0x0a, 0x06, 0x4c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x32, 0x10, 0x01, 0x1a, 0x02, 0x08, 0x00, 0x1a, 0x02, 0x18, 0x00, 0x32, 0xfe, 0x02,
|
|
0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a,
|
|
0x09, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x2e, 0x68, 0x68, 0x68,
|
|
0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x26, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x64,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x88, 0x02, 0x00, 0x90, 0x02,
|
|
0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74,
|
|
0x68, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x28, 0x00, 0x30, 0x00, 0x12, 0x68, 0x0a, 0x05, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x12, 0x21, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6b,
|
|
0x65, 0x6e, 0x22, 0x1c, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10,
|
|
0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x28, 0x00, 0x30, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e,
|
|
0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82,
|
|
0xd3, 0xe4, 0x93, 0x02, 0x10, 0x2a, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
|
|
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x28, 0x00, 0x30, 0x00, 0x1a, 0x03, 0x88, 0x02, 0x00, 0x32, 0xb3,
|
|
0x05, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
|
0x7b, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x68,
|
|
0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x88, 0x02, 0x00,
|
|
0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x28, 0x00, 0x30, 0x00, 0x12, 0x7d, 0x0a, 0x0c,
|
|
0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x12, 0x28, 0x2e, 0x68,
|
|
0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x44, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65,
|
|
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4,
|
|
0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x2f, 0x7b, 0x49, 0x44, 0x7d, 0x28, 0x00, 0x30, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0d,
|
|
0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x29, 0x2e,
|
|
0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70,
|
|
0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51,
|
|
0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x22, 0x26, 0x88, 0x02,
|
|
0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x49, 0x44, 0x7d, 0x2f, 0x69,
|
|
0x6e, 0x70, 0x75, 0x74, 0x28, 0x00, 0x30, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x06, 0x53, 0x75, 0x62,
|
|
0x6d, 0x69, 0x74, 0x12, 0x22, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75,
|
|
0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x88, 0x02,
|
|
0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x04, 0x42, 0x6f, 0x64, 0x79,
|
|
0x22, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
|
|
0x7b, 0x49, 0x44, 0x7d, 0x2f, 0x7b, 0x50, 0x61, 0x72, 0x74, 0x7d, 0x28, 0x00, 0x30, 0x00, 0x12,
|
|
0x8d, 0x01, 0x0a, 0x0b, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12,
|
|
0x27, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70,
|
|
0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x27, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b,
|
|
0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
|
|
0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x28, 0x00, 0x30, 0x00, 0x1a,
|
|
0x03, 0x88, 0x02, 0x00, 0x32, 0xf6, 0x05, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72,
|
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x2e, 0x68,
|
|
0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19,
|
|
0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1a, 0x88, 0x02, 0x00, 0x90, 0x02,
|
|
0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65,
|
|
0x72, 0x73, 0x2f, 0x6d, 0x65, 0x28, 0x00, 0x30, 0x00, 0x12, 0x7c, 0x0a, 0x0b, 0x55, 0x73, 0x65,
|
|
0x72, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x27, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70,
|
|
0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55,
|
|
0x73, 0x65, 0x72, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x19, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x25, 0x88, 0x02,
|
|
0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x45, 0x6d, 0x61,
|
|
0x69, 0x6c, 0x7d, 0x28, 0x00, 0x30, 0x00, 0x12, 0x7a, 0x0a, 0x08, 0x41, 0x6c, 0x6c, 0x55, 0x73,
|
|
0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65,
|
|
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x68, 0x68, 0x68, 0x61,
|
|
0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0x1d, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f,
|
|
0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x28,
|
|
0x00, 0x30, 0x00, 0x12, 0x75, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
|
0x72, 0x12, 0x26, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
|
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x68, 0x68, 0x68, 0x61,
|
|
0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x55, 0x73, 0x65, 0x72, 0x22, 0x20, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93,
|
|
0x02, 0x14, 0x3a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x32, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73,
|
|
0x65, 0x72, 0x73, 0x2f, 0x6d, 0x65, 0x28, 0x00, 0x30, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x0f, 0x41,
|
|
0x64, 0x6d, 0x69, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b,
|
|
0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x68, 0x68,
|
|
0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x30, 0x88, 0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3,
|
|
0xe4, 0x93, 0x02, 0x24, 0x3a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x32, 0x1c, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x42, 0x6f, 0x64,
|
|
0x79, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x7d, 0x28, 0x00, 0x30, 0x00, 0x12, 0x7a, 0x0a, 0x0a,
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x68, 0x68, 0x68,
|
|
0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x19, 0x2e, 0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x25, 0x88,
|
|
0x02, 0x00, 0x90, 0x02, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x76, 0x31,
|
|
0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x45, 0x6d,
|
|
0x61, 0x69, 0x6c, 0x7d, 0x28, 0x00, 0x30, 0x00, 0x1a, 0x03, 0x88, 0x02, 0x00, 0x42, 0x47, 0x48,
|
|
0x01, 0x50, 0x00, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
0x68, 0x68, 0x68, 0x61, 0x70, 0x7a, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x64, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x80, 0x01, 0x00, 0x88, 0x01, 0x00, 0x90, 0x01, 0x00, 0xb8, 0x01, 0x00, 0xd8, 0x01, 0x00,
|
|
0xf8, 0x01, 0x01, 0xd0, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescOnce sync.Once
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescData = file_github_com_hhhapz_codequest_api_v1_all_proto_rawDesc
|
|
)
|
|
|
|
func file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescGZIP() []byte {
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescOnce.Do(func() {
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescData)
|
|
})
|
|
return file_github_com_hhhapz_codequest_api_v1_all_proto_rawDescData
|
|
}
|
|
|
|
var (
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_goTypes = []interface{}{
|
|
(Difficulty)(0), // 0: hhhapz.codequest.v1.Difficulty
|
|
(*Token)(nil), // 1: hhhapz.codequest.v1.Token
|
|
(*OAuthCodeRequest)(nil), // 2: hhhapz.codequest.v1.OAuthCodeRequest
|
|
(*OAuthCodeResponse)(nil), // 3: hhhapz.codequest.v1.OAuthCodeResponse
|
|
(*TokenRequest)(nil), // 4: hhhapz.codequest.v1.TokenRequest
|
|
(*DeleteTokenRequest)(nil), // 5: hhhapz.codequest.v1.DeleteTokenRequest
|
|
(*DeleteTokenResponse)(nil), // 6: hhhapz.codequest.v1.DeleteTokenResponse
|
|
(*Info)(nil), // 7: hhhapz.codequest.v1.Info
|
|
(*User)(nil), // 8: hhhapz.codequest.v1.User
|
|
(*QuestionsRequest)(nil), // 9: hhhapz.codequest.v1.QuestionsRequest
|
|
(*PartData)(nil), // 10: hhhapz.codequest.v1.PartData
|
|
(*Question)(nil), // 11: hhhapz.codequest.v1.Question
|
|
(*QuestionsResponse)(nil), // 12: hhhapz.codequest.v1.QuestionsResponse
|
|
(*QuestionByIDRequest)(nil), // 13: hhhapz.codequest.v1.QuestionByIDRequest
|
|
(*QuestionInputRequest)(nil), // 14: hhhapz.codequest.v1.QuestionInputRequest
|
|
(*QuestionInput)(nil), // 15: hhhapz.codequest.v1.QuestionInput
|
|
(*SubmitRequestData)(nil), // 16: hhhapz.codequest.v1.SubmitRequestData
|
|
(*SubmitRequest)(nil), // 17: hhhapz.codequest.v1.SubmitRequest
|
|
(*SubmitResponse)(nil), // 18: hhhapz.codequest.v1.SubmitResponse
|
|
(*LeaderboardRequest)(nil), // 19: hhhapz.codequest.v1.LeaderboardRequest
|
|
(*LeaderboardResponse)(nil), // 20: hhhapz.codequest.v1.LeaderboardResponse
|
|
(*LeaderboardEntry)(nil), // 21: hhhapz.codequest.v1.LeaderboardEntry
|
|
(*InfoRequest)(nil), // 22: hhhapz.codequest.v1.InfoRequest
|
|
(*UpdateFields)(nil), // 23: hhhapz.codequest.v1.UpdateFields
|
|
(*AdminUpdateFields)(nil), // 24: hhhapz.codequest.v1.AdminUpdateFields
|
|
(*UpdateUserRequest)(nil), // 25: hhhapz.codequest.v1.UpdateUserRequest
|
|
(*AdminUpdateUserRequest)(nil), // 26: hhhapz.codequest.v1.AdminUpdateUserRequest
|
|
(*UserByEmailRequest)(nil), // 27: hhhapz.codequest.v1.UserByEmailRequest
|
|
(*DeleteUserRequest)(nil), // 28: hhhapz.codequest.v1.DeleteUserRequest
|
|
(*AllUsersRequest)(nil), // 29: hhhapz.codequest.v1.AllUsersRequest
|
|
(*AllUsersResponse)(nil), // 30: hhhapz.codequest.v1.AllUsersResponse
|
|
}
|
|
)
|
|
var file_github_com_hhhapz_codequest_api_v1_all_proto_depIdxs = []int32{
|
|
1, // 0: hhhapz.codequest.v1.DeleteTokenRequest.Token:type_name -> hhhapz.codequest.v1.Token
|
|
8, // 1: hhhapz.codequest.v1.Info.CurrentUser:type_name -> hhhapz.codequest.v1.User
|
|
0, // 2: hhhapz.codequest.v1.Question.Difficulty:type_name -> hhhapz.codequest.v1.Difficulty
|
|
10, // 3: hhhapz.codequest.v1.Question.Part1:type_name -> hhhapz.codequest.v1.PartData
|
|
10, // 4: hhhapz.codequest.v1.Question.Part2:type_name -> hhhapz.codequest.v1.PartData
|
|
11, // 5: hhhapz.codequest.v1.QuestionsResponse.Questions:type_name -> hhhapz.codequest.v1.Question
|
|
16, // 6: hhhapz.codequest.v1.SubmitRequest.Body:type_name -> hhhapz.codequest.v1.SubmitRequestData
|
|
21, // 7: hhhapz.codequest.v1.LeaderboardResponse.Leaderboard:type_name -> hhhapz.codequest.v1.LeaderboardEntry
|
|
23, // 8: hhhapz.codequest.v1.UpdateUserRequest.Body:type_name -> hhhapz.codequest.v1.UpdateFields
|
|
24, // 9: hhhapz.codequest.v1.AdminUpdateUserRequest.Body:type_name -> hhhapz.codequest.v1.AdminUpdateFields
|
|
8, // 10: hhhapz.codequest.v1.AllUsersResponse.Users:type_name -> hhhapz.codequest.v1.User
|
|
2, // 11: hhhapz.codequest.v1.AuthService.OAuthCode:input_type -> hhhapz.codequest.v1.OAuthCodeRequest
|
|
4, // 12: hhhapz.codequest.v1.AuthService.Token:input_type -> hhhapz.codequest.v1.TokenRequest
|
|
5, // 13: hhhapz.codequest.v1.AuthService.DeleteToken:input_type -> hhhapz.codequest.v1.DeleteTokenRequest
|
|
9, // 14: hhhapz.codequest.v1.QuestService.Questions:input_type -> hhhapz.codequest.v1.QuestionsRequest
|
|
13, // 15: hhhapz.codequest.v1.QuestService.QuestionByID:input_type -> hhhapz.codequest.v1.QuestionByIDRequest
|
|
14, // 16: hhhapz.codequest.v1.QuestService.QuestionInput:input_type -> hhhapz.codequest.v1.QuestionInputRequest
|
|
17, // 17: hhhapz.codequest.v1.QuestService.Submit:input_type -> hhhapz.codequest.v1.SubmitRequest
|
|
19, // 18: hhhapz.codequest.v1.QuestService.Leaderboard:input_type -> hhhapz.codequest.v1.LeaderboardRequest
|
|
22, // 19: hhhapz.codequest.v1.UserService.Info:input_type -> hhhapz.codequest.v1.InfoRequest
|
|
27, // 20: hhhapz.codequest.v1.UserService.UserByEmail:input_type -> hhhapz.codequest.v1.UserByEmailRequest
|
|
29, // 21: hhhapz.codequest.v1.UserService.AllUsers:input_type -> hhhapz.codequest.v1.AllUsersRequest
|
|
25, // 22: hhhapz.codequest.v1.UserService.UpdateUser:input_type -> hhhapz.codequest.v1.UpdateUserRequest
|
|
26, // 23: hhhapz.codequest.v1.UserService.AdminUpdateUser:input_type -> hhhapz.codequest.v1.AdminUpdateUserRequest
|
|
28, // 24: hhhapz.codequest.v1.UserService.DeleteUser:input_type -> hhhapz.codequest.v1.DeleteUserRequest
|
|
3, // 25: hhhapz.codequest.v1.AuthService.OAuthCode:output_type -> hhhapz.codequest.v1.OAuthCodeResponse
|
|
1, // 26: hhhapz.codequest.v1.AuthService.Token:output_type -> hhhapz.codequest.v1.Token
|
|
6, // 27: hhhapz.codequest.v1.AuthService.DeleteToken:output_type -> hhhapz.codequest.v1.DeleteTokenResponse
|
|
12, // 28: hhhapz.codequest.v1.QuestService.Questions:output_type -> hhhapz.codequest.v1.QuestionsResponse
|
|
11, // 29: hhhapz.codequest.v1.QuestService.QuestionByID:output_type -> hhhapz.codequest.v1.Question
|
|
15, // 30: hhhapz.codequest.v1.QuestService.QuestionInput:output_type -> hhhapz.codequest.v1.QuestionInput
|
|
18, // 31: hhhapz.codequest.v1.QuestService.Submit:output_type -> hhhapz.codequest.v1.SubmitResponse
|
|
20, // 32: hhhapz.codequest.v1.QuestService.Leaderboard:output_type -> hhhapz.codequest.v1.LeaderboardResponse
|
|
7, // 33: hhhapz.codequest.v1.UserService.Info:output_type -> hhhapz.codequest.v1.Info
|
|
8, // 34: hhhapz.codequest.v1.UserService.UserByEmail:output_type -> hhhapz.codequest.v1.User
|
|
30, // 35: hhhapz.codequest.v1.UserService.AllUsers:output_type -> hhhapz.codequest.v1.AllUsersResponse
|
|
8, // 36: hhhapz.codequest.v1.UserService.UpdateUser:output_type -> hhhapz.codequest.v1.User
|
|
8, // 37: hhhapz.codequest.v1.UserService.AdminUpdateUser:output_type -> hhhapz.codequest.v1.User
|
|
8, // 38: hhhapz.codequest.v1.UserService.DeleteUser:output_type -> hhhapz.codequest.v1.User
|
|
25, // [25:39] is the sub-list for method output_type
|
|
11, // [11:25] is the sub-list for method input_type
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
0, // [0:11] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_github_com_hhhapz_codequest_api_v1_all_proto_init() }
|
|
func file_github_com_hhhapz_codequest_api_v1_all_proto_init() {
|
|
if File_github_com_hhhapz_codequest_api_v1_all_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Token); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OAuthCodeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OAuthCodeResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TokenRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteTokenRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteTokenResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Info); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*User); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QuestionsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PartData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Question); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QuestionsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QuestionByIDRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QuestionInputRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QuestionInput); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubmitRequestData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubmitRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubmitResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LeaderboardRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LeaderboardResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LeaderboardEntry); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateFields); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AdminUpdateFields); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AdminUpdateUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UserByEmailRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AllUsersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AllUsersResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_github_com_hhhapz_codequest_api_v1_all_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 30,
|
|
NumExtensions: 0,
|
|
NumServices: 3,
|
|
},
|
|
GoTypes: file_github_com_hhhapz_codequest_api_v1_all_proto_goTypes,
|
|
DependencyIndexes: file_github_com_hhhapz_codequest_api_v1_all_proto_depIdxs,
|
|
EnumInfos: file_github_com_hhhapz_codequest_api_v1_all_proto_enumTypes,
|
|
MessageInfos: file_github_com_hhhapz_codequest_api_v1_all_proto_msgTypes,
|
|
}.Build()
|
|
File_github_com_hhhapz_codequest_api_v1_all_proto = out.File
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_rawDesc = nil
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_goTypes = nil
|
|
file_github_com_hhhapz_codequest_api_v1_all_proto_depIdxs = nil
|
|
}
|