pb

package
v0.0.0-...-a2552a4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCup = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCup   = fmt.Errorf("proto: integer overflow")
)
View Source
var SignInEventType_name = map[int32]string{
	0: "SE_SEARCHING_NAME",
	1: "SE_SELECTING_USER",
	2: "SE_SIGNING_IN",
	3: "SE_SIGNED_IN",
	4: "SE_FAILED",
}
View Source
var SignInEventType_value = map[string]int32{
	"SE_SEARCHING_NAME": 0,
	"SE_SELECTING_USER": 1,
	"SE_SIGNING_IN":     2,
	"SE_SIGNED_IN":      3,
	"SE_FAILED":         4,
}

Functions

func RegisterCUPServer

func RegisterCUPServer(s *grpc.Server, srv CUPServer)

Types

type Appointment

type Appointment struct {
	Fixed     bool             `protobuf:"varint,1,opt,name=fixed,proto3" json:"fixed,omitempty"`
	Slot      int32            `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	StartDate *types.Timestamp `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate   *types.Timestamp `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	Selected  *Option          `protobuf:"bytes,5,opt,name=selected,proto3" json:"selected,omitempty"`
	Choices   []*Choice        `protobuf:"bytes,6,rep,name=choices,proto3" json:"choices,omitempty"`
}

func (*Appointment) Descriptor

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

func (*Appointment) Equal

func (this *Appointment) Equal(that interface{}) bool

func (*Appointment) GetChoices

func (m *Appointment) GetChoices() []*Choice

func (*Appointment) GetEndDate

func (m *Appointment) GetEndDate() *types.Timestamp

func (*Appointment) GetFixed

func (m *Appointment) GetFixed() bool

func (*Appointment) GetSelected

func (m *Appointment) GetSelected() *Option

func (*Appointment) GetSlot

func (m *Appointment) GetSlot() int32

func (*Appointment) GetStartDate

func (m *Appointment) GetStartDate() *types.Timestamp

func (*Appointment) GoString

func (this *Appointment) GoString() string

func (*Appointment) Marshal

func (m *Appointment) Marshal() (dAtA []byte, err error)

func (*Appointment) MarshalTo

func (m *Appointment) MarshalTo(dAtA []byte) (int, error)

func (*Appointment) MarshalToSizedBuffer

func (m *Appointment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Appointment) ProtoMessage

func (*Appointment) ProtoMessage()

func (*Appointment) Reset

func (m *Appointment) Reset()

func (*Appointment) Size

func (m *Appointment) Size() (n int)

func (*Appointment) String

func (this *Appointment) String() string

func (*Appointment) Unmarshal

func (m *Appointment) Unmarshal(dAtA []byte) error

func (*Appointment) XXX_DiscardUnknown

func (m *Appointment) XXX_DiscardUnknown()

func (*Appointment) XXX_Marshal

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

func (*Appointment) XXX_Merge

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

func (*Appointment) XXX_Size

func (m *Appointment) XXX_Size() int

func (*Appointment) XXX_Unmarshal

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

type CUPClient

CUPClient is the client API for CUP service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCUPClient

func NewCUPClient(cc *grpc.ClientConn) CUPClient

type CUP_SignInClient

type CUP_SignInClient interface {
	Recv() (*SignInEvent, error)
	grpc.ClientStream
}

type CUP_SignInRetryClient

type CUP_SignInRetryClient interface {
	Recv() (*SignInEvent, error)
	grpc.ClientStream
}

type CUP_SignInRetryServer

type CUP_SignInRetryServer interface {
	Send(*SignInEvent) error
	grpc.ServerStream
}

type CUP_SignInServer

type CUP_SignInServer interface {
	Send(*SignInEvent) error
	grpc.ServerStream
}

type Choice

type Choice struct {
	Option     *Option `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"`
	Full       bool    `protobuf:"varint,2,opt,name=full,proto3" json:"full,omitempty"`
	InternalId int32   `protobuf:"varint,3,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"`
}

func (*Choice) Descriptor

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

func (*Choice) Equal

func (this *Choice) Equal(that interface{}) bool

func (*Choice) GetFull

func (m *Choice) GetFull() bool

func (*Choice) GetInternalId

func (m *Choice) GetInternalId() int32

func (*Choice) GetOption

func (m *Choice) GetOption() *Option

func (*Choice) GoString

func (this *Choice) GoString() string

func (*Choice) Marshal

func (m *Choice) Marshal() (dAtA []byte, err error)

func (*Choice) MarshalTo

func (m *Choice) MarshalTo(dAtA []byte) (int, error)

func (*Choice) MarshalToSizedBuffer

func (m *Choice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Choice) ProtoMessage

func (*Choice) ProtoMessage()

func (*Choice) Reset

func (m *Choice) Reset()

func (*Choice) Size

func (m *Choice) Size() (n int)

func (*Choice) String

func (this *Choice) String() string

func (*Choice) Unmarshal

func (m *Choice) Unmarshal(dAtA []byte) error

func (*Choice) XXX_DiscardUnknown

func (m *Choice) XXX_DiscardUnknown()

func (*Choice) XXX_Marshal

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

func (*Choice) XXX_Merge

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

func (*Choice) XXX_Size

func (m *Choice) XXX_Size() int

func (*Choice) XXX_Unmarshal

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

type ChooseRequest

type ChooseRequest struct {
	Session    *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	InternalId int32    `protobuf:"varint,2,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"`
}

func (*ChooseRequest) Descriptor

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

func (*ChooseRequest) Equal

func (this *ChooseRequest) Equal(that interface{}) bool

func (*ChooseRequest) GetInternalId

func (m *ChooseRequest) GetInternalId() int32

func (*ChooseRequest) GetSession

func (m *ChooseRequest) GetSession() *Session

func (*ChooseRequest) GoString

func (this *ChooseRequest) GoString() string

func (*ChooseRequest) Marshal

func (m *ChooseRequest) Marshal() (dAtA []byte, err error)

func (*ChooseRequest) MarshalTo

func (m *ChooseRequest) MarshalTo(dAtA []byte) (int, error)

func (*ChooseRequest) MarshalToSizedBuffer

func (m *ChooseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChooseRequest) ProtoMessage

func (*ChooseRequest) ProtoMessage()

func (*ChooseRequest) Reset

func (m *ChooseRequest) Reset()

func (*ChooseRequest) Size

func (m *ChooseRequest) Size() (n int)

func (*ChooseRequest) String

func (this *ChooseRequest) String() string

func (*ChooseRequest) Unmarshal

func (m *ChooseRequest) Unmarshal(dAtA []byte) error

func (*ChooseRequest) XXX_DiscardUnknown

func (m *ChooseRequest) XXX_DiscardUnknown()

func (*ChooseRequest) XXX_Marshal

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

func (*ChooseRequest) XXX_Merge

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

func (*ChooseRequest) XXX_Size

func (m *ChooseRequest) XXX_Size() int

func (*ChooseRequest) XXX_Unmarshal

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

type ChooseResponse

type ChooseResponse struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}

func (*ChooseResponse) Descriptor

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

func (*ChooseResponse) Equal

func (this *ChooseResponse) Equal(that interface{}) bool

func (*ChooseResponse) GetSession

func (m *ChooseResponse) GetSession() *Session

func (*ChooseResponse) GoString

func (this *ChooseResponse) GoString() string

func (*ChooseResponse) Marshal

func (m *ChooseResponse) Marshal() (dAtA []byte, err error)

func (*ChooseResponse) MarshalTo

func (m *ChooseResponse) MarshalTo(dAtA []byte) (int, error)

func (*ChooseResponse) MarshalToSizedBuffer

func (m *ChooseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChooseResponse) ProtoMessage

func (*ChooseResponse) ProtoMessage()

func (*ChooseResponse) Reset

func (m *ChooseResponse) Reset()

func (*ChooseResponse) Size

func (m *ChooseResponse) Size() (n int)

func (*ChooseResponse) String

func (this *ChooseResponse) String() string

func (*ChooseResponse) Unmarshal

func (m *ChooseResponse) Unmarshal(dAtA []byte) error

func (*ChooseResponse) XXX_DiscardUnknown

func (m *ChooseResponse) XXX_DiscardUnknown()

func (*ChooseResponse) XXX_Marshal

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

func (*ChooseResponse) XXX_Merge

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

func (*ChooseResponse) XXX_Size

func (m *ChooseResponse) XXX_Size() int

func (*ChooseResponse) XXX_Unmarshal

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

type GetUserRequest

type GetUserRequest struct {
	TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"`
}

func (*GetUserRequest) Descriptor

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

func (*GetUserRequest) Equal

func (this *GetUserRequest) Equal(that interface{}) bool

func (*GetUserRequest) GetTtSessionId

func (m *GetUserRequest) GetTtSessionId() string

func (*GetUserRequest) GoString

func (this *GetUserRequest) GoString() string

func (*GetUserRequest) Marshal

func (m *GetUserRequest) Marshal() (dAtA []byte, err error)

func (*GetUserRequest) MarshalTo

func (m *GetUserRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetUserRequest) MarshalToSizedBuffer

func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) Reset

func (m *GetUserRequest) Reset()

func (*GetUserRequest) Size

func (m *GetUserRequest) Size() (n int)

func (*GetUserRequest) String

func (this *GetUserRequest) String() string

func (*GetUserRequest) Unmarshal

func (m *GetUserRequest) Unmarshal(dAtA []byte) error

func (*GetUserRequest) XXX_DiscardUnknown

func (m *GetUserRequest) XXX_DiscardUnknown()

func (*GetUserRequest) XXX_Marshal

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

func (*GetUserRequest) XXX_Merge

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

func (*GetUserRequest) XXX_Size

func (m *GetUserRequest) XXX_Size() int

func (*GetUserRequest) XXX_Unmarshal

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

type GetUserResponse

type GetUserResponse struct {
	CupName string `protobuf:"bytes,1,opt,name=cup_name,json=cupName,proto3" json:"cup_name,omitempty"`
}

func (*GetUserResponse) Descriptor

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

func (*GetUserResponse) Equal

func (this *GetUserResponse) Equal(that interface{}) bool

func (*GetUserResponse) GetCupName

func (m *GetUserResponse) GetCupName() string

func (*GetUserResponse) GoString

func (this *GetUserResponse) GoString() string

func (*GetUserResponse) Marshal

func (m *GetUserResponse) Marshal() (dAtA []byte, err error)

func (*GetUserResponse) MarshalTo

func (m *GetUserResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetUserResponse) MarshalToSizedBuffer

func (m *GetUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) Reset

func (m *GetUserResponse) Reset()

func (*GetUserResponse) Size

func (m *GetUserResponse) Size() (n int)

func (*GetUserResponse) String

func (this *GetUserResponse) String() string

func (*GetUserResponse) Unmarshal

func (m *GetUserResponse) Unmarshal(dAtA []byte) error

func (*GetUserResponse) XXX_DiscardUnknown

func (m *GetUserResponse) XXX_DiscardUnknown()

func (*GetUserResponse) XXX_Marshal

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

func (*GetUserResponse) XXX_Merge

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

func (*GetUserResponse) XXX_Size

func (m *GetUserResponse) XXX_Size() int

func (*GetUserResponse) XXX_Unmarshal

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

type HistoryOption

type HistoryOption struct {
	Option *Option          `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"`
	Date   *types.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	Slot   int32            `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
}

func (*HistoryOption) Descriptor

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

func (*HistoryOption) Equal

func (this *HistoryOption) Equal(that interface{}) bool

func (*HistoryOption) GetDate

func (m *HistoryOption) GetDate() *types.Timestamp

func (*HistoryOption) GetOption

func (m *HistoryOption) GetOption() *Option

func (*HistoryOption) GetSlot

func (m *HistoryOption) GetSlot() int32

func (*HistoryOption) GoString

func (this *HistoryOption) GoString() string

func (*HistoryOption) Marshal

func (m *HistoryOption) Marshal() (dAtA []byte, err error)

func (*HistoryOption) MarshalTo

func (m *HistoryOption) MarshalTo(dAtA []byte) (int, error)

func (*HistoryOption) MarshalToSizedBuffer

func (m *HistoryOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HistoryOption) ProtoMessage

func (*HistoryOption) ProtoMessage()

func (*HistoryOption) Reset

func (m *HistoryOption) Reset()

func (*HistoryOption) Size

func (m *HistoryOption) Size() (n int)

func (*HistoryOption) String

func (this *HistoryOption) String() string

func (*HistoryOption) Unmarshal

func (m *HistoryOption) Unmarshal(dAtA []byte) error

func (*HistoryOption) XXX_DiscardUnknown

func (m *HistoryOption) XXX_DiscardUnknown()

func (*HistoryOption) XXX_Marshal

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

func (*HistoryOption) XXX_Merge

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

func (*HistoryOption) XXX_Size

func (m *HistoryOption) XXX_Size() int

func (*HistoryOption) XXX_Unmarshal

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

type Option

type Option struct {
	Info            string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Text            string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	AvailablePlaces int32  `protobuf:"varint,3,opt,name=available_places,json=availablePlaces,proto3" json:"available_places,omitempty"`
}

func (*Option) Descriptor

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

func (*Option) Equal

func (this *Option) Equal(that interface{}) bool

func (*Option) GetAvailablePlaces

func (m *Option) GetAvailablePlaces() int32

func (*Option) GetInfo

func (m *Option) GetInfo() string

func (*Option) GetText

func (m *Option) GetText() string

func (*Option) GoString

func (this *Option) GoString() string

func (*Option) Marshal

func (m *Option) Marshal() (dAtA []byte, err error)

func (*Option) MarshalTo

func (m *Option) MarshalTo(dAtA []byte) (int, error)

func (*Option) MarshalToSizedBuffer

func (m *Option) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) Reset

func (m *Option) Reset()

func (*Option) Size

func (m *Option) Size() (n int)

func (*Option) String

func (this *Option) String() string

func (*Option) Unmarshal

func (m *Option) Unmarshal(dAtA []byte) error

func (*Option) XXX_DiscardUnknown

func (m *Option) XXX_DiscardUnknown()

func (*Option) XXX_Marshal

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

func (*Option) XXX_Merge

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

func (*Option) XXX_Size

func (m *Option) XXX_Size() int

func (*Option) XXX_Unmarshal

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

type PendingAppointmentsRequest

type PendingAppointmentsRequest struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}

func (*PendingAppointmentsRequest) Descriptor

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

func (*PendingAppointmentsRequest) Equal

func (this *PendingAppointmentsRequest) Equal(that interface{}) bool

func (*PendingAppointmentsRequest) GetSession

func (m *PendingAppointmentsRequest) GetSession() *Session

func (*PendingAppointmentsRequest) GoString

func (this *PendingAppointmentsRequest) GoString() string

func (*PendingAppointmentsRequest) Marshal

func (m *PendingAppointmentsRequest) Marshal() (dAtA []byte, err error)

func (*PendingAppointmentsRequest) MarshalTo

func (m *PendingAppointmentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*PendingAppointmentsRequest) MarshalToSizedBuffer

func (m *PendingAppointmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingAppointmentsRequest) ProtoMessage

func (*PendingAppointmentsRequest) ProtoMessage()

func (*PendingAppointmentsRequest) Reset

func (m *PendingAppointmentsRequest) Reset()

func (*PendingAppointmentsRequest) Size

func (m *PendingAppointmentsRequest) Size() (n int)

func (*PendingAppointmentsRequest) String

func (this *PendingAppointmentsRequest) String() string

func (*PendingAppointmentsRequest) Unmarshal

func (m *PendingAppointmentsRequest) Unmarshal(dAtA []byte) error

func (*PendingAppointmentsRequest) XXX_DiscardUnknown

func (m *PendingAppointmentsRequest) XXX_DiscardUnknown()

func (*PendingAppointmentsRequest) XXX_Marshal

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

func (*PendingAppointmentsRequest) XXX_Merge

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

func (*PendingAppointmentsRequest) XXX_Size

func (m *PendingAppointmentsRequest) XXX_Size() int

func (*PendingAppointmentsRequest) XXX_Unmarshal

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

type PendingAppointmentsResponse

type PendingAppointmentsResponse struct {
	Session      *Session       `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Appointments []*Appointment `protobuf:"bytes,2,rep,name=appointments,proto3" json:"appointments,omitempty"`
}

func (*PendingAppointmentsResponse) Descriptor

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

func (*PendingAppointmentsResponse) Equal

func (this *PendingAppointmentsResponse) Equal(that interface{}) bool

func (*PendingAppointmentsResponse) GetAppointments

func (m *PendingAppointmentsResponse) GetAppointments() []*Appointment

func (*PendingAppointmentsResponse) GetSession

func (m *PendingAppointmentsResponse) GetSession() *Session

func (*PendingAppointmentsResponse) GoString

func (this *PendingAppointmentsResponse) GoString() string

func (*PendingAppointmentsResponse) Marshal

func (m *PendingAppointmentsResponse) Marshal() (dAtA []byte, err error)

func (*PendingAppointmentsResponse) MarshalTo

func (m *PendingAppointmentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*PendingAppointmentsResponse) MarshalToSizedBuffer

func (m *PendingAppointmentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PendingAppointmentsResponse) ProtoMessage

func (*PendingAppointmentsResponse) ProtoMessage()

func (*PendingAppointmentsResponse) Reset

func (m *PendingAppointmentsResponse) Reset()

func (*PendingAppointmentsResponse) Size

func (m *PendingAppointmentsResponse) Size() (n int)

func (*PendingAppointmentsResponse) String

func (this *PendingAppointmentsResponse) String() string

func (*PendingAppointmentsResponse) Unmarshal

func (m *PendingAppointmentsResponse) Unmarshal(dAtA []byte) error

func (*PendingAppointmentsResponse) XXX_DiscardUnknown

func (m *PendingAppointmentsResponse) XXX_DiscardUnknown()

func (*PendingAppointmentsResponse) XXX_Marshal

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

func (*PendingAppointmentsResponse) XXX_Merge

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

func (*PendingAppointmentsResponse) XXX_Size

func (m *PendingAppointmentsResponse) XXX_Size() int

func (*PendingAppointmentsResponse) XXX_Unmarshal

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

type SearchUsersRequest

type SearchUsersRequest struct {
	FirstLetters string `protobuf:"bytes,1,opt,name=first_letters,json=firstLetters,proto3" json:"first_letters,omitempty"`
}

func (*SearchUsersRequest) Descriptor

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

func (*SearchUsersRequest) Equal

func (this *SearchUsersRequest) Equal(that interface{}) bool

func (*SearchUsersRequest) GetFirstLetters

func (m *SearchUsersRequest) GetFirstLetters() string

func (*SearchUsersRequest) GoString

func (this *SearchUsersRequest) GoString() string

func (*SearchUsersRequest) Marshal

func (m *SearchUsersRequest) Marshal() (dAtA []byte, err error)

func (*SearchUsersRequest) MarshalTo

func (m *SearchUsersRequest) MarshalTo(dAtA []byte) (int, error)

func (*SearchUsersRequest) MarshalToSizedBuffer

func (m *SearchUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchUsersRequest) ProtoMessage

func (*SearchUsersRequest) ProtoMessage()

func (*SearchUsersRequest) Reset

func (m *SearchUsersRequest) Reset()

func (*SearchUsersRequest) Size

func (m *SearchUsersRequest) Size() (n int)

func (*SearchUsersRequest) String

func (this *SearchUsersRequest) String() string

func (*SearchUsersRequest) Unmarshal

func (m *SearchUsersRequest) Unmarshal(dAtA []byte) error

func (*SearchUsersRequest) XXX_DiscardUnknown

func (m *SearchUsersRequest) XXX_DiscardUnknown()

func (*SearchUsersRequest) XXX_Marshal

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

func (*SearchUsersRequest) XXX_Merge

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

func (*SearchUsersRequest) XXX_Size

func (m *SearchUsersRequest) XXX_Size() int

func (*SearchUsersRequest) XXX_Unmarshal

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

type SearchUsersResponse

type SearchUsersResponse struct {
	Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
}

func (*SearchUsersResponse) Descriptor

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

func (*SearchUsersResponse) Equal

func (this *SearchUsersResponse) Equal(that interface{}) bool

func (*SearchUsersResponse) GetUsers

func (m *SearchUsersResponse) GetUsers() []string

func (*SearchUsersResponse) GoString

func (this *SearchUsersResponse) GoString() string

func (*SearchUsersResponse) Marshal

func (m *SearchUsersResponse) Marshal() (dAtA []byte, err error)

func (*SearchUsersResponse) MarshalTo

func (m *SearchUsersResponse) MarshalTo(dAtA []byte) (int, error)

func (*SearchUsersResponse) MarshalToSizedBuffer

func (m *SearchUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchUsersResponse) ProtoMessage

func (*SearchUsersResponse) ProtoMessage()

func (*SearchUsersResponse) Reset

func (m *SearchUsersResponse) Reset()

func (*SearchUsersResponse) Size

func (m *SearchUsersResponse) Size() (n int)

func (*SearchUsersResponse) String

func (this *SearchUsersResponse) String() string

func (*SearchUsersResponse) Unmarshal

func (m *SearchUsersResponse) Unmarshal(dAtA []byte) error

func (*SearchUsersResponse) XXX_DiscardUnknown

func (m *SearchUsersResponse) XXX_DiscardUnknown()

func (*SearchUsersResponse) XXX_Marshal

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

func (*SearchUsersResponse) XXX_Merge

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

func (*SearchUsersResponse) XXX_Size

func (m *SearchUsersResponse) XXX_Size() int

func (*SearchUsersResponse) XXX_Unmarshal

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

type Session

type Session struct {
	Token       string            `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	AspFields   map[string]string `` /* 176-byte string literal not displayed */
	ExtraFields map[string]string `` /* 182-byte string literal not displayed */
	LastRequest *types.Timestamp  `protobuf:"bytes,4,opt,name=last_request,json=lastRequest,proto3" json:"last_request,omitempty"`
}

func (*Session) Descriptor

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

func (*Session) Equal

func (this *Session) Equal(that interface{}) bool

func (*Session) GetAspFields

func (m *Session) GetAspFields() map[string]string

func (*Session) GetExtraFields

func (m *Session) GetExtraFields() map[string]string

func (*Session) GetLastRequest

func (m *Session) GetLastRequest() *types.Timestamp

func (*Session) GetToken

func (m *Session) GetToken() string

func (*Session) GoString

func (this *Session) GoString() string

func (*Session) Marshal

func (m *Session) Marshal() (dAtA []byte, err error)

func (*Session) MarshalTo

func (m *Session) MarshalTo(dAtA []byte) (int, error)

func (*Session) MarshalToSizedBuffer

func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) Reset

func (m *Session) Reset()

func (*Session) Size

func (m *Session) Size() (n int)

func (*Session) String

func (this *Session) String() string

func (*Session) Unmarshal

func (m *Session) Unmarshal(dAtA []byte) error

func (*Session) XXX_DiscardUnknown

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal

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

func (*Session) XXX_Merge

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

func (*Session) XXX_Size

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal

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

type SetUserRequest

type SetUserRequest struct {
	TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"`
	CupName     string `protobuf:"bytes,2,opt,name=cup_name,json=cupName,proto3" json:"cup_name,omitempty"`
}

func (*SetUserRequest) Descriptor

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

func (*SetUserRequest) Equal

func (this *SetUserRequest) Equal(that interface{}) bool

func (*SetUserRequest) GetCupName

func (m *SetUserRequest) GetCupName() string

func (*SetUserRequest) GetTtSessionId

func (m *SetUserRequest) GetTtSessionId() string

func (*SetUserRequest) GoString

func (this *SetUserRequest) GoString() string

func (*SetUserRequest) Marshal

func (m *SetUserRequest) Marshal() (dAtA []byte, err error)

func (*SetUserRequest) MarshalTo

func (m *SetUserRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetUserRequest) MarshalToSizedBuffer

func (m *SetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetUserRequest) ProtoMessage

func (*SetUserRequest) ProtoMessage()

func (*SetUserRequest) Reset

func (m *SetUserRequest) Reset()

func (*SetUserRequest) Size

func (m *SetUserRequest) Size() (n int)

func (*SetUserRequest) String

func (this *SetUserRequest) String() string

func (*SetUserRequest) Unmarshal

func (m *SetUserRequest) Unmarshal(dAtA []byte) error

func (*SetUserRequest) XXX_DiscardUnknown

func (m *SetUserRequest) XXX_DiscardUnknown()

func (*SetUserRequest) XXX_Marshal

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

func (*SetUserRequest) XXX_Merge

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

func (*SetUserRequest) XXX_Size

func (m *SetUserRequest) XXX_Size() int

func (*SetUserRequest) XXX_Unmarshal

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

type SignInEvent

type SignInEvent struct {
	Type        SignInEventType `protobuf:"varint,1,opt,name=type,proto3,enum=timeterm_cup.SignInEventType" json:"type,omitempty"`
	Session     *Session        `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	SelectedOpt string          `protobuf:"bytes,3,opt,name=selected_opt,json=selectedOpt,proto3" json:"selected_opt,omitempty"`
}

func (*SignInEvent) Descriptor

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

func (*SignInEvent) Equal

func (this *SignInEvent) Equal(that interface{}) bool

func (*SignInEvent) GetSelectedOpt

func (m *SignInEvent) GetSelectedOpt() string

func (*SignInEvent) GetSession

func (m *SignInEvent) GetSession() *Session

func (*SignInEvent) GetType

func (m *SignInEvent) GetType() SignInEventType

func (*SignInEvent) GoString

func (this *SignInEvent) GoString() string

func (*SignInEvent) Marshal

func (m *SignInEvent) Marshal() (dAtA []byte, err error)

func (*SignInEvent) MarshalTo

func (m *SignInEvent) MarshalTo(dAtA []byte) (int, error)

func (*SignInEvent) MarshalToSizedBuffer

func (m *SignInEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInEvent) ProtoMessage

func (*SignInEvent) ProtoMessage()

func (*SignInEvent) Reset

func (m *SignInEvent) Reset()

func (*SignInEvent) Size

func (m *SignInEvent) Size() (n int)

func (*SignInEvent) String

func (this *SignInEvent) String() string

func (*SignInEvent) Unmarshal

func (m *SignInEvent) Unmarshal(dAtA []byte) error

func (*SignInEvent) XXX_DiscardUnknown

func (m *SignInEvent) XXX_DiscardUnknown()

func (*SignInEvent) XXX_Marshal

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

func (*SignInEvent) XXX_Merge

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

func (*SignInEvent) XXX_Size

func (m *SignInEvent) XXX_Size() int

func (*SignInEvent) XXX_Unmarshal

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

type SignInEventType

type SignInEventType int32
const (
	SE_SEARCHING_NAME SignInEventType = 0
	SE_SELECTING_USER SignInEventType = 1
	SE_SIGNING_IN     SignInEventType = 2
	SE_SIGNED_IN      SignInEventType = 3
	SE_FAILED         SignInEventType = 4
)

func (SignInEventType) EnumDescriptor

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

func (SignInEventType) String

func (x SignInEventType) String() string

type SignInRequest

type SignInRequest struct {
	TtSessionId string `protobuf:"bytes,1,opt,name=tt_session_id,json=ttSessionId,proto3" json:"tt_session_id,omitempty"`
	Pin         string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
}

func (*SignInRequest) Descriptor

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

func (*SignInRequest) Equal

func (this *SignInRequest) Equal(that interface{}) bool

func (*SignInRequest) GetPin

func (m *SignInRequest) GetPin() string

func (*SignInRequest) GetTtSessionId

func (m *SignInRequest) GetTtSessionId() string

func (*SignInRequest) GoString

func (this *SignInRequest) GoString() string

func (*SignInRequest) Marshal

func (m *SignInRequest) Marshal() (dAtA []byte, err error)

func (*SignInRequest) MarshalTo

func (m *SignInRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignInRequest) MarshalToSizedBuffer

func (m *SignInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) Reset

func (m *SignInRequest) Reset()

func (*SignInRequest) Size

func (m *SignInRequest) Size() (n int)

func (*SignInRequest) String

func (this *SignInRequest) String() string

func (*SignInRequest) Unmarshal

func (m *SignInRequest) Unmarshal(dAtA []byte) error

func (*SignInRequest) XXX_DiscardUnknown

func (m *SignInRequest) XXX_DiscardUnknown()

func (*SignInRequest) XXX_Marshal

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

func (*SignInRequest) XXX_Merge

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

func (*SignInRequest) XXX_Size

func (m *SignInRequest) XXX_Size() int

func (*SignInRequest) XXX_Unmarshal

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

type SignInRetryRequest

type SignInRetryRequest struct {
	Session     *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Pin         string   `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
	CaptchaText string   `protobuf:"bytes,3,opt,name=captcha_text,json=captchaText,proto3" json:"captcha_text,omitempty"`
	SelectedOpt string   `protobuf:"bytes,4,opt,name=selected_opt,json=selectedOpt,proto3" json:"selected_opt,omitempty"`
}

func (*SignInRetryRequest) Descriptor

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

func (*SignInRetryRequest) Equal

func (this *SignInRetryRequest) Equal(that interface{}) bool

func (*SignInRetryRequest) GetCaptchaText

func (m *SignInRetryRequest) GetCaptchaText() string

func (*SignInRetryRequest) GetPin

func (m *SignInRetryRequest) GetPin() string

func (*SignInRetryRequest) GetSelectedOpt

func (m *SignInRetryRequest) GetSelectedOpt() string

func (*SignInRetryRequest) GetSession

func (m *SignInRetryRequest) GetSession() *Session

func (*SignInRetryRequest) GoString

func (this *SignInRetryRequest) GoString() string

func (*SignInRetryRequest) Marshal

func (m *SignInRetryRequest) Marshal() (dAtA []byte, err error)

func (*SignInRetryRequest) MarshalTo

func (m *SignInRetryRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignInRetryRequest) MarshalToSizedBuffer

func (m *SignInRetryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInRetryRequest) ProtoMessage

func (*SignInRetryRequest) ProtoMessage()

func (*SignInRetryRequest) Reset

func (m *SignInRetryRequest) Reset()

func (*SignInRetryRequest) Size

func (m *SignInRetryRequest) Size() (n int)

func (*SignInRetryRequest) String

func (this *SignInRetryRequest) String() string

func (*SignInRetryRequest) Unmarshal

func (m *SignInRetryRequest) Unmarshal(dAtA []byte) error

func (*SignInRetryRequest) XXX_DiscardUnknown

func (m *SignInRetryRequest) XXX_DiscardUnknown()

func (*SignInRetryRequest) XXX_Marshal

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

func (*SignInRetryRequest) XXX_Merge

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

func (*SignInRetryRequest) XXX_Size

func (m *SignInRetryRequest) XXX_Size() int

func (*SignInRetryRequest) XXX_Unmarshal

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

type TimetableRequest

type TimetableRequest struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
}

func (*TimetableRequest) Descriptor

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

func (*TimetableRequest) Equal

func (this *TimetableRequest) Equal(that interface{}) bool

func (*TimetableRequest) GetSession

func (m *TimetableRequest) GetSession() *Session

func (*TimetableRequest) GoString

func (this *TimetableRequest) GoString() string

func (*TimetableRequest) Marshal

func (m *TimetableRequest) Marshal() (dAtA []byte, err error)

func (*TimetableRequest) MarshalTo

func (m *TimetableRequest) MarshalTo(dAtA []byte) (int, error)

func (*TimetableRequest) MarshalToSizedBuffer

func (m *TimetableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimetableRequest) ProtoMessage

func (*TimetableRequest) ProtoMessage()

func (*TimetableRequest) Reset

func (m *TimetableRequest) Reset()

func (*TimetableRequest) Size

func (m *TimetableRequest) Size() (n int)

func (*TimetableRequest) String

func (this *TimetableRequest) String() string

func (*TimetableRequest) Unmarshal

func (m *TimetableRequest) Unmarshal(dAtA []byte) error

func (*TimetableRequest) XXX_DiscardUnknown

func (m *TimetableRequest) XXX_DiscardUnknown()

func (*TimetableRequest) XXX_Marshal

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

func (*TimetableRequest) XXX_Merge

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

func (*TimetableRequest) XXX_Size

func (m *TimetableRequest) XXX_Size() int

func (*TimetableRequest) XXX_Unmarshal

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

type TimetableResponse

type TimetableResponse struct {
	Session *Session         `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Weeks   []*TimetableWeek `protobuf:"bytes,2,rep,name=weeks,proto3" json:"weeks,omitempty"`
}

func (*TimetableResponse) Descriptor

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

func (*TimetableResponse) Equal

func (this *TimetableResponse) Equal(that interface{}) bool

func (*TimetableResponse) GetSession

func (m *TimetableResponse) GetSession() *Session

func (*TimetableResponse) GetWeeks

func (m *TimetableResponse) GetWeeks() []*TimetableWeek

func (*TimetableResponse) GoString

func (this *TimetableResponse) GoString() string

func (*TimetableResponse) Marshal

func (m *TimetableResponse) Marshal() (dAtA []byte, err error)

func (*TimetableResponse) MarshalTo

func (m *TimetableResponse) MarshalTo(dAtA []byte) (int, error)

func (*TimetableResponse) MarshalToSizedBuffer

func (m *TimetableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimetableResponse) ProtoMessage

func (*TimetableResponse) ProtoMessage()

func (*TimetableResponse) Reset

func (m *TimetableResponse) Reset()

func (*TimetableResponse) Size

func (m *TimetableResponse) Size() (n int)

func (*TimetableResponse) String

func (this *TimetableResponse) String() string

func (*TimetableResponse) Unmarshal

func (m *TimetableResponse) Unmarshal(dAtA []byte) error

func (*TimetableResponse) XXX_DiscardUnknown

func (m *TimetableResponse) XXX_DiscardUnknown()

func (*TimetableResponse) XXX_Marshal

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

func (*TimetableResponse) XXX_Merge

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

func (*TimetableResponse) XXX_Size

func (m *TimetableResponse) XXX_Size() int

func (*TimetableResponse) XXX_Unmarshal

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

type TimetableWeek

type TimetableWeek struct {
	Week         int32            `protobuf:"varint,1,opt,name=week,proto3" json:"week,omitempty"`
	Appointments []*HistoryOption `protobuf:"bytes,2,rep,name=appointments,proto3" json:"appointments,omitempty"`
}

func (*TimetableWeek) Descriptor

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

func (*TimetableWeek) Equal

func (this *TimetableWeek) Equal(that interface{}) bool

func (*TimetableWeek) GetAppointments

func (m *TimetableWeek) GetAppointments() []*HistoryOption

func (*TimetableWeek) GetWeek

func (m *TimetableWeek) GetWeek() int32

func (*TimetableWeek) GoString

func (this *TimetableWeek) GoString() string

func (*TimetableWeek) Marshal

func (m *TimetableWeek) Marshal() (dAtA []byte, err error)

func (*TimetableWeek) MarshalTo

func (m *TimetableWeek) MarshalTo(dAtA []byte) (int, error)

func (*TimetableWeek) MarshalToSizedBuffer

func (m *TimetableWeek) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimetableWeek) ProtoMessage

func (*TimetableWeek) ProtoMessage()

func (*TimetableWeek) Reset

func (m *TimetableWeek) Reset()

func (*TimetableWeek) Size

func (m *TimetableWeek) Size() (n int)

func (*TimetableWeek) String

func (this *TimetableWeek) String() string

func (*TimetableWeek) Unmarshal

func (m *TimetableWeek) Unmarshal(dAtA []byte) error

func (*TimetableWeek) XXX_DiscardUnknown

func (m *TimetableWeek) XXX_DiscardUnknown()

func (*TimetableWeek) XXX_Marshal

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

func (*TimetableWeek) XXX_Merge

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

func (*TimetableWeek) XXX_Size

func (m *TimetableWeek) XXX_Size() int

func (*TimetableWeek) XXX_Unmarshal

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

type UnimplementedCUPServer

type UnimplementedCUPServer struct {
}

UnimplementedCUPServer can be embedded to have forward compatible implementations.

func (*UnimplementedCUPServer) Choose

func (*UnimplementedCUPServer) GetUser

func (*UnimplementedCUPServer) PendingAppointments

func (*UnimplementedCUPServer) SearchUsers

func (*UnimplementedCUPServer) SetUser

func (*UnimplementedCUPServer) SignIn

func (*UnimplementedCUPServer) SignInRetry

func (*UnimplementedCUPServer) Timetable

Jump to

Keyboard shortcuts

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