pb

package
v0.0.0-...-7f180d0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-stmp. DO NOT EDIT. source: examples/gomoku/gomoku_pb/gomoku.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGomoku        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGomoku          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGomoku = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ApplyModel_Kind_name = map[int32]string{
	0: "Reserved",
	1: "GiveUp",
	2: "Draw",
}
View Source
var ApplyModel_Kind_value = map[string]int32{
	"Reserved": 0,
	"GiveUp":   1,
	"Draw":     2,
}
View Source
var GomokuModel_Result_name = map[int32]string{
	0: "Playing",
	1: "Win",
	2: "Draw",
	3: "ApplyGiveUp",
	4: "ApplyDraw",
	5: "UserStepTimeout",
	6: "UserTotalTimeout",
}
View Source
var GomokuModel_Result_value = map[string]int32{
	"Playing":          0,
	"Win":              1,
	"Draw":             2,
	"ApplyGiveUp":      3,
	"ApplyDraw":        4,
	"UserStepTimeout":  5,
	"UserTotalTimeout": 6,
}
View Source
var PlayerModel_Status_name = map[int32]string{
	0: "Reserved",
	1: "Free",
	2: "Standby",
	3: "Unready",
	4: "Ready",
	5: "Playing",
}
View Source
var PlayerModel_Status_value = map[string]int32{
	"Reserved": 0,
	"Free":     1,
	"Standby":  2,
	"Unready":  3,
	"Ready":    4,
	"Playing":  5,
}
View Source
var RoomModel_Reasons_name = map[int32]string{
	0: "Reserved",
	1: "InRoomAlready",
}
View Source
var RoomModel_Reasons_value = map[string]int32{
	"Reserved":      0,
	"InRoomAlready": 1,
}

Functions

func STMPAttachGomokuEventsListener

func STMPAttachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)

func STMPAttachPlayerEventsListener

func STMPAttachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)

func STMPAttachRoomEventsListener

func STMPAttachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)

func STMPDetachGomokuEventsListener

func STMPDetachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)

func STMPDetachPlayerEventsListener

func STMPDetachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)

func STMPDetachRoomEventsListener

func STMPDetachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)

func STMPRegisterGomokuServiceServer

func STMPRegisterGomokuServiceServer(srv *stmp.Server, s STMPGomokuServiceServer)

func STMPRegisterPlayerServiceServer

func STMPRegisterPlayerServiceServer(srv *stmp.Server, s STMPPlayerServiceServer)

func STMPRegisterRoomServiceServer

func STMPRegisterRoomServiceServer(srv *stmp.Server, s STMPRoomServiceServer)

Types

type ApplyInput

type ApplyInput struct {
	Kind                 ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ApplyInput) Descriptor

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

func (*ApplyInput) GetKind

func (m *ApplyInput) GetKind() ApplyModel_Kind

func (*ApplyInput) Marshal

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

func (*ApplyInput) MarshalTo

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

func (*ApplyInput) MarshalToSizedBuffer

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

func (*ApplyInput) ProtoMessage

func (*ApplyInput) ProtoMessage()

func (*ApplyInput) Reset

func (m *ApplyInput) Reset()

func (*ApplyInput) Size

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

func (*ApplyInput) String

func (m *ApplyInput) String() string

func (*ApplyInput) Unmarshal

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

func (*ApplyInput) Validate

func (m *ApplyInput) Validate() error

Validate checks the field values on ApplyInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ApplyInput) XXX_DiscardUnknown

func (m *ApplyInput) XXX_DiscardUnknown()

func (*ApplyInput) XXX_Marshal

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

func (*ApplyInput) XXX_Merge

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

func (*ApplyInput) XXX_Size

func (m *ApplyInput) XXX_Size() int

func (*ApplyInput) XXX_Unmarshal

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

type ApplyInputValidationError

type ApplyInputValidationError struct {
	// contains filtered or unexported fields
}

ApplyInputValidationError is the validation error returned by ApplyInput.Validate if the designated constraints aren't met.

func (ApplyInputValidationError) Cause

func (e ApplyInputValidationError) Cause() error

Cause function returns cause value.

func (ApplyInputValidationError) Error

Error satisfies the builtin error interface

func (ApplyInputValidationError) ErrorName

func (e ApplyInputValidationError) ErrorName() string

ErrorName returns error name.

func (ApplyInputValidationError) Field

Field function returns field value.

func (ApplyInputValidationError) Key

Key function returns key value.

func (ApplyInputValidationError) Reason

func (e ApplyInputValidationError) Reason() string

Reason function returns reason value.

type ApplyModel

type ApplyModel struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ApplyModel) Descriptor

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

func (*ApplyModel) Marshal

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

func (*ApplyModel) MarshalTo

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

func (*ApplyModel) MarshalToSizedBuffer

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

func (*ApplyModel) ProtoMessage

func (*ApplyModel) ProtoMessage()

func (*ApplyModel) Reset

func (m *ApplyModel) Reset()

func (*ApplyModel) Size

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

func (*ApplyModel) String

func (m *ApplyModel) String() string

func (*ApplyModel) Unmarshal

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

func (*ApplyModel) Validate

func (m *ApplyModel) Validate() error

Validate checks the field values on ApplyModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ApplyModel) XXX_DiscardUnknown

func (m *ApplyModel) XXX_DiscardUnknown()

func (*ApplyModel) XXX_Marshal

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

func (*ApplyModel) XXX_Merge

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

func (*ApplyModel) XXX_Size

func (m *ApplyModel) XXX_Size() int

func (*ApplyModel) XXX_Unmarshal

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

type ApplyModelValidationError

type ApplyModelValidationError struct {
	// contains filtered or unexported fields
}

ApplyModelValidationError is the validation error returned by ApplyModel.Validate if the designated constraints aren't met.

func (ApplyModelValidationError) Cause

func (e ApplyModelValidationError) Cause() error

Cause function returns cause value.

func (ApplyModelValidationError) Error

Error satisfies the builtin error interface

func (ApplyModelValidationError) ErrorName

func (e ApplyModelValidationError) ErrorName() string

ErrorName returns error name.

func (ApplyModelValidationError) Field

Field function returns field value.

func (ApplyModelValidationError) Key

Key function returns key value.

func (ApplyModelValidationError) Reason

func (e ApplyModelValidationError) Reason() string

Reason function returns reason value.

type ApplyModel_Kind

type ApplyModel_Kind int32
const (
	ApplyModel_Reserved ApplyModel_Kind = 0
	ApplyModel_GiveUp   ApplyModel_Kind = 1
	ApplyModel_Draw     ApplyModel_Kind = 2
)

func (ApplyModel_Kind) EnumDescriptor

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

func (ApplyModel_Kind) String

func (x ApplyModel_Kind) String() string

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) Marshal

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

func (*Empty) MarshalTo

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

func (*Empty) MarshalToSizedBuffer

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

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

func (*Empty) String

func (m *Empty) String() string

func (*Empty) Unmarshal

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

func (*Empty) Validate

func (m *Empty) Validate() error

Validate checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type EmptyValidationError

type EmptyValidationError struct {
	// contains filtered or unexported fields
}

EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.

func (EmptyValidationError) Cause

func (e EmptyValidationError) Cause() error

Cause function returns cause value.

func (EmptyValidationError) Error

func (e EmptyValidationError) Error() string

Error satisfies the builtin error interface

func (EmptyValidationError) ErrorName

func (e EmptyValidationError) ErrorName() string

ErrorName returns error name.

func (EmptyValidationError) Field

func (e EmptyValidationError) Field() string

Field function returns field value.

func (EmptyValidationError) Key

func (e EmptyValidationError) Key() bool

Key function returns key value.

func (EmptyValidationError) Reason

func (e EmptyValidationError) Reason() string

Reason function returns reason value.

type FullRoomModel

type FullRoomModel struct {
	Room                 *RoomModel             `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"`
	Players              map[int64]*PlayerModel `` /* 156-byte string literal not displayed */
	Game                 *GomokuModel           `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*FullRoomModel) Descriptor

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

func (*FullRoomModel) GetGame

func (m *FullRoomModel) GetGame() *GomokuModel

func (*FullRoomModel) GetPlayers

func (m *FullRoomModel) GetPlayers() map[int64]*PlayerModel

func (*FullRoomModel) GetRoom

func (m *FullRoomModel) GetRoom() *RoomModel

func (*FullRoomModel) Marshal

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

func (*FullRoomModel) MarshalTo

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

func (*FullRoomModel) MarshalToSizedBuffer

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

func (*FullRoomModel) ProtoMessage

func (*FullRoomModel) ProtoMessage()

func (*FullRoomModel) Reset

func (m *FullRoomModel) Reset()

func (*FullRoomModel) Size

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

func (*FullRoomModel) String

func (m *FullRoomModel) String() string

func (*FullRoomModel) Unmarshal

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

func (*FullRoomModel) Validate

func (m *FullRoomModel) Validate() error

Validate checks the field values on FullRoomModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FullRoomModel) XXX_DiscardUnknown

func (m *FullRoomModel) XXX_DiscardUnknown()

func (*FullRoomModel) XXX_Marshal

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

func (*FullRoomModel) XXX_Merge

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

func (*FullRoomModel) XXX_Size

func (m *FullRoomModel) XXX_Size() int

func (*FullRoomModel) XXX_Unmarshal

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

type FullRoomModelValidationError

type FullRoomModelValidationError struct {
	// contains filtered or unexported fields
}

FullRoomModelValidationError is the validation error returned by FullRoomModel.Validate if the designated constraints aren't met.

func (FullRoomModelValidationError) Cause

Cause function returns cause value.

func (FullRoomModelValidationError) Error

Error satisfies the builtin error interface

func (FullRoomModelValidationError) ErrorName

func (e FullRoomModelValidationError) ErrorName() string

ErrorName returns error name.

func (FullRoomModelValidationError) Field

Field function returns field value.

func (FullRoomModelValidationError) Key

Key function returns key value.

func (FullRoomModelValidationError) Reason

Reason function returns reason value.

type GomokuModel

type GomokuModel struct {
	Id                   int64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RoomId               int64              `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
	PlayerBlack          int64              `protobuf:"varint,3,opt,name=playerBlack,proto3" json:"playerBlack,omitempty"`
	PlayerWhite          int64              `protobuf:"varint,4,opt,name=playerWhite,proto3" json:"playerWhite,omitempty"`
	SeatBlack            int32              `protobuf:"varint,5,opt,name=seatBlack,proto3" json:"seatBlack,omitempty"`
	SeatWhite            int32              `protobuf:"varint,6,opt,name=seatWhite,proto3" json:"seatWhite,omitempty"`
	History              []*HandModel       `protobuf:"bytes,7,rep,name=history,proto3" json:"history,omitempty"`
	CreatedAt            int64              `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Result               GomokuModel_Result `protobuf:"varint,9,opt,name=result,proto3,enum=stmp.examples.gomoku.GomokuModel_Result" json:"result,omitempty"`
	Winner               int64              `protobuf:"varint,10,opt,name=winner,proto3" json:"winner,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GomokuModel) Descriptor

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

func (*GomokuModel) GetCreatedAt

func (m *GomokuModel) GetCreatedAt() int64

func (*GomokuModel) GetHistory

func (m *GomokuModel) GetHistory() []*HandModel

func (*GomokuModel) GetId

func (m *GomokuModel) GetId() int64

func (*GomokuModel) GetPlayerBlack

func (m *GomokuModel) GetPlayerBlack() int64

func (*GomokuModel) GetPlayerWhite

func (m *GomokuModel) GetPlayerWhite() int64

func (*GomokuModel) GetResult

func (m *GomokuModel) GetResult() GomokuModel_Result

func (*GomokuModel) GetRoomId

func (m *GomokuModel) GetRoomId() int64

func (*GomokuModel) GetSeatBlack

func (m *GomokuModel) GetSeatBlack() int32

func (*GomokuModel) GetSeatWhite

func (m *GomokuModel) GetSeatWhite() int32

func (*GomokuModel) GetWinner

func (m *GomokuModel) GetWinner() int64

func (*GomokuModel) Marshal

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

func (*GomokuModel) MarshalTo

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

func (*GomokuModel) MarshalToSizedBuffer

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

func (*GomokuModel) ProtoMessage

func (*GomokuModel) ProtoMessage()

func (*GomokuModel) Reset

func (m *GomokuModel) Reset()

func (*GomokuModel) Size

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

func (*GomokuModel) String

func (m *GomokuModel) String() string

func (*GomokuModel) Unmarshal

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

func (*GomokuModel) Validate

func (m *GomokuModel) Validate() error

Validate checks the field values on GomokuModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GomokuModel) XXX_DiscardUnknown

func (m *GomokuModel) XXX_DiscardUnknown()

func (*GomokuModel) XXX_Marshal

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

func (*GomokuModel) XXX_Merge

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

func (*GomokuModel) XXX_Size

func (m *GomokuModel) XXX_Size() int

func (*GomokuModel) XXX_Unmarshal

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

type GomokuModelValidationError

type GomokuModelValidationError struct {
	// contains filtered or unexported fields
}

GomokuModelValidationError is the validation error returned by GomokuModel.Validate if the designated constraints aren't met.

func (GomokuModelValidationError) Cause

Cause function returns cause value.

func (GomokuModelValidationError) Error

Error satisfies the builtin error interface

func (GomokuModelValidationError) ErrorName

func (e GomokuModelValidationError) ErrorName() string

ErrorName returns error name.

func (GomokuModelValidationError) Field

Field function returns field value.

func (GomokuModelValidationError) Key

Key function returns key value.

func (GomokuModelValidationError) Reason

Reason function returns reason value.

type GomokuModel_Result

type GomokuModel_Result int32
const (
	GomokuModel_Playing          GomokuModel_Result = 0
	GomokuModel_Win              GomokuModel_Result = 1
	GomokuModel_Draw             GomokuModel_Result = 2
	GomokuModel_ApplyGiveUp      GomokuModel_Result = 3
	GomokuModel_ApplyDraw        GomokuModel_Result = 4
	GomokuModel_UserStepTimeout  GomokuModel_Result = 5
	GomokuModel_UserTotalTimeout GomokuModel_Result = 6
)

func (GomokuModel_Result) EnumDescriptor

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

func (GomokuModel_Result) String

func (x GomokuModel_Result) String() string

type HandModel

type HandModel struct {
	Row                  uint32   `protobuf:"varint,1,opt,name=row,proto3" json:"row,omitempty"`
	Col                  uint32   `protobuf:"varint,2,opt,name=col,proto3" json:"col,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandModel) Descriptor

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

func (*HandModel) GetCol

func (m *HandModel) GetCol() uint32

func (*HandModel) GetRow

func (m *HandModel) GetRow() uint32

func (*HandModel) Marshal

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

func (*HandModel) MarshalTo

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

func (*HandModel) MarshalToSizedBuffer

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

func (*HandModel) ProtoMessage

func (*HandModel) ProtoMessage()

func (*HandModel) Reset

func (m *HandModel) Reset()

func (*HandModel) Size

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

func (*HandModel) String

func (m *HandModel) String() string

func (*HandModel) Unmarshal

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

func (*HandModel) Validate

func (m *HandModel) Validate() error

Validate checks the field values on HandModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HandModel) XXX_DiscardUnknown

func (m *HandModel) XXX_DiscardUnknown()

func (*HandModel) XXX_Marshal

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

func (*HandModel) XXX_Merge

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

func (*HandModel) XXX_Size

func (m *HandModel) XXX_Size() int

func (*HandModel) XXX_Unmarshal

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

type HandModelValidationError

type HandModelValidationError struct {
	// contains filtered or unexported fields
}

HandModelValidationError is the validation error returned by HandModel.Validate if the designated constraints aren't met.

func (HandModelValidationError) Cause

func (e HandModelValidationError) Cause() error

Cause function returns cause value.

func (HandModelValidationError) Error

func (e HandModelValidationError) Error() string

Error satisfies the builtin error interface

func (HandModelValidationError) ErrorName

func (e HandModelValidationError) ErrorName() string

ErrorName returns error name.

func (HandModelValidationError) Field

func (e HandModelValidationError) Field() string

Field function returns field value.

func (HandModelValidationError) Key

Key function returns key value.

func (HandModelValidationError) Reason

func (e HandModelValidationError) Reason() string

Reason function returns reason value.

type JoinRoomInput

type JoinRoomInput struct {
	RoomId               int64    `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	PreferSeat           int32    `protobuf:"varint,2,opt,name=preferSeat,proto3" json:"preferSeat,omitempty"`
	Seat                 int32    `protobuf:"varint,3,opt,name=seat,proto3" json:"seat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JoinRoomInput) Descriptor

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

func (*JoinRoomInput) GetPreferSeat

func (m *JoinRoomInput) GetPreferSeat() int32

func (*JoinRoomInput) GetRoomId

func (m *JoinRoomInput) GetRoomId() int64

func (*JoinRoomInput) GetSeat

func (m *JoinRoomInput) GetSeat() int32

func (*JoinRoomInput) Marshal

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

func (*JoinRoomInput) MarshalTo

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

func (*JoinRoomInput) MarshalToSizedBuffer

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

func (*JoinRoomInput) ProtoMessage

func (*JoinRoomInput) ProtoMessage()

func (*JoinRoomInput) Reset

func (m *JoinRoomInput) Reset()

func (*JoinRoomInput) Size

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

func (*JoinRoomInput) String

func (m *JoinRoomInput) String() string

func (*JoinRoomInput) Unmarshal

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

func (*JoinRoomInput) Validate

func (m *JoinRoomInput) Validate() error

Validate checks the field values on JoinRoomInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*JoinRoomInput) XXX_DiscardUnknown

func (m *JoinRoomInput) XXX_DiscardUnknown()

func (*JoinRoomInput) XXX_Marshal

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

func (*JoinRoomInput) XXX_Merge

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

func (*JoinRoomInput) XXX_Size

func (m *JoinRoomInput) XXX_Size() int

func (*JoinRoomInput) XXX_Unmarshal

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

type JoinRoomInputValidationError

type JoinRoomInputValidationError struct {
	// contains filtered or unexported fields
}

JoinRoomInputValidationError is the validation error returned by JoinRoomInput.Validate if the designated constraints aren't met.

func (JoinRoomInputValidationError) Cause

Cause function returns cause value.

func (JoinRoomInputValidationError) Error

Error satisfies the builtin error interface

func (JoinRoomInputValidationError) ErrorName

func (e JoinRoomInputValidationError) ErrorName() string

ErrorName returns error name.

func (JoinRoomInputValidationError) Field

Field function returns field value.

func (JoinRoomInputValidationError) Key

Key function returns key value.

func (JoinRoomInputValidationError) Reason

Reason function returns reason value.

type ListInput

type ListInput struct {
	Limit                int64    `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               int64    `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListInput) Descriptor

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

func (*ListInput) GetLimit

func (m *ListInput) GetLimit() int64

func (*ListInput) GetOffset

func (m *ListInput) GetOffset() int64

func (*ListInput) Marshal

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

func (*ListInput) MarshalTo

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

func (*ListInput) MarshalToSizedBuffer

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

func (*ListInput) ProtoMessage

func (*ListInput) ProtoMessage()

func (*ListInput) Reset

func (m *ListInput) Reset()

func (*ListInput) Size

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

func (*ListInput) String

func (m *ListInput) String() string

func (*ListInput) Unmarshal

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

func (*ListInput) Validate

func (m *ListInput) Validate() error

Validate checks the field values on ListInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListInput) XXX_DiscardUnknown

func (m *ListInput) XXX_DiscardUnknown()

func (*ListInput) XXX_Marshal

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

func (*ListInput) XXX_Merge

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

func (*ListInput) XXX_Size

func (m *ListInput) XXX_Size() int

func (*ListInput) XXX_Unmarshal

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

type ListInputValidationError

type ListInputValidationError struct {
	// contains filtered or unexported fields
}

ListInputValidationError is the validation error returned by ListInput.Validate if the designated constraints aren't met.

func (ListInputValidationError) Cause

func (e ListInputValidationError) Cause() error

Cause function returns cause value.

func (ListInputValidationError) Error

func (e ListInputValidationError) Error() string

Error satisfies the builtin error interface

func (ListInputValidationError) ErrorName

func (e ListInputValidationError) ErrorName() string

ErrorName returns error name.

func (ListInputValidationError) Field

func (e ListInputValidationError) Field() string

Field function returns field value.

func (ListInputValidationError) Key

Key function returns key value.

func (ListInputValidationError) Reason

func (e ListInputValidationError) Reason() string

Reason function returns reason value.

type ListPlayerInput

type ListPlayerInput struct {
	Limit                int64    `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               int64    `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Ids                  []int64  `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPlayerInput) Descriptor

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

func (*ListPlayerInput) GetIds

func (m *ListPlayerInput) GetIds() []int64

func (*ListPlayerInput) GetLimit

func (m *ListPlayerInput) GetLimit() int64

func (*ListPlayerInput) GetOffset

func (m *ListPlayerInput) GetOffset() int64

func (*ListPlayerInput) Marshal

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

func (*ListPlayerInput) MarshalTo

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

func (*ListPlayerInput) MarshalToSizedBuffer

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

func (*ListPlayerInput) ProtoMessage

func (*ListPlayerInput) ProtoMessage()

func (*ListPlayerInput) Reset

func (m *ListPlayerInput) Reset()

func (*ListPlayerInput) Size

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

func (*ListPlayerInput) String

func (m *ListPlayerInput) String() string

func (*ListPlayerInput) Unmarshal

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

func (*ListPlayerInput) Validate

func (m *ListPlayerInput) Validate() error

Validate checks the field values on ListPlayerInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListPlayerInput) XXX_DiscardUnknown

func (m *ListPlayerInput) XXX_DiscardUnknown()

func (*ListPlayerInput) XXX_Marshal

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

func (*ListPlayerInput) XXX_Merge

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

func (*ListPlayerInput) XXX_Size

func (m *ListPlayerInput) XXX_Size() int

func (*ListPlayerInput) XXX_Unmarshal

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

type ListPlayerInputValidationError

type ListPlayerInputValidationError struct {
	// contains filtered or unexported fields
}

ListPlayerInputValidationError is the validation error returned by ListPlayerInput.Validate if the designated constraints aren't met.

func (ListPlayerInputValidationError) Cause

Cause function returns cause value.

func (ListPlayerInputValidationError) Error

Error satisfies the builtin error interface

func (ListPlayerInputValidationError) ErrorName

func (e ListPlayerInputValidationError) ErrorName() string

ErrorName returns error name.

func (ListPlayerInputValidationError) Field

Field function returns field value.

func (ListPlayerInputValidationError) Key

Key function returns key value.

func (ListPlayerInputValidationError) Reason

Reason function returns reason value.

type ListPlayerOutput

type ListPlayerOutput struct {
	Total                int64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Players              []*PlayerModel `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListPlayerOutput) Descriptor

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

func (*ListPlayerOutput) GetPlayers

func (m *ListPlayerOutput) GetPlayers() []*PlayerModel

func (*ListPlayerOutput) GetTotal

func (m *ListPlayerOutput) GetTotal() int64

func (*ListPlayerOutput) Marshal

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

func (*ListPlayerOutput) MarshalTo

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

func (*ListPlayerOutput) MarshalToSizedBuffer

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

func (*ListPlayerOutput) ProtoMessage

func (*ListPlayerOutput) ProtoMessage()

func (*ListPlayerOutput) Reset

func (m *ListPlayerOutput) Reset()

func (*ListPlayerOutput) Size

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

func (*ListPlayerOutput) String

func (m *ListPlayerOutput) String() string

func (*ListPlayerOutput) Unmarshal

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

func (*ListPlayerOutput) Validate

func (m *ListPlayerOutput) Validate() error

Validate checks the field values on ListPlayerOutput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListPlayerOutput) XXX_DiscardUnknown

func (m *ListPlayerOutput) XXX_DiscardUnknown()

func (*ListPlayerOutput) XXX_Marshal

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

func (*ListPlayerOutput) XXX_Merge

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

func (*ListPlayerOutput) XXX_Size

func (m *ListPlayerOutput) XXX_Size() int

func (*ListPlayerOutput) XXX_Unmarshal

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

type ListPlayerOutputValidationError

type ListPlayerOutputValidationError struct {
	// contains filtered or unexported fields
}

ListPlayerOutputValidationError is the validation error returned by ListPlayerOutput.Validate if the designated constraints aren't met.

func (ListPlayerOutputValidationError) Cause

Cause function returns cause value.

func (ListPlayerOutputValidationError) Error

Error satisfies the builtin error interface

func (ListPlayerOutputValidationError) ErrorName

ErrorName returns error name.

func (ListPlayerOutputValidationError) Field

Field function returns field value.

func (ListPlayerOutputValidationError) Key

Key function returns key value.

func (ListPlayerOutputValidationError) Reason

Reason function returns reason value.

type ListRoomOutput

type ListRoomOutput struct {
	Total                int64        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Rooms                []*RoomModel `protobuf:"bytes,2,rep,name=rooms,proto3" json:"rooms,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListRoomOutput) Descriptor

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

func (*ListRoomOutput) GetRooms

func (m *ListRoomOutput) GetRooms() []*RoomModel

func (*ListRoomOutput) GetTotal

func (m *ListRoomOutput) GetTotal() int64

func (*ListRoomOutput) Marshal

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

func (*ListRoomOutput) MarshalTo

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

func (*ListRoomOutput) MarshalToSizedBuffer

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

func (*ListRoomOutput) ProtoMessage

func (*ListRoomOutput) ProtoMessage()

func (*ListRoomOutput) Reset

func (m *ListRoomOutput) Reset()

func (*ListRoomOutput) Size

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

func (*ListRoomOutput) String

func (m *ListRoomOutput) String() string

func (*ListRoomOutput) Unmarshal

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

func (*ListRoomOutput) Validate

func (m *ListRoomOutput) Validate() error

Validate checks the field values on ListRoomOutput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListRoomOutput) XXX_DiscardUnknown

func (m *ListRoomOutput) XXX_DiscardUnknown()

func (*ListRoomOutput) XXX_Marshal

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

func (*ListRoomOutput) XXX_Merge

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

func (*ListRoomOutput) XXX_Size

func (m *ListRoomOutput) XXX_Size() int

func (*ListRoomOutput) XXX_Unmarshal

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

type ListRoomOutputValidationError

type ListRoomOutputValidationError struct {
	// contains filtered or unexported fields
}

ListRoomOutputValidationError is the validation error returned by ListRoomOutput.Validate if the designated constraints aren't met.

func (ListRoomOutputValidationError) Cause

Cause function returns cause value.

func (ListRoomOutputValidationError) Error

Error satisfies the builtin error interface

func (ListRoomOutputValidationError) ErrorName

func (e ListRoomOutputValidationError) ErrorName() string

ErrorName returns error name.

func (ListRoomOutputValidationError) Field

Field function returns field value.

func (ListRoomOutputValidationError) Key

Key function returns key value.

func (ListRoomOutputValidationError) Reason

Reason function returns reason value.

type LoginInput

type LoginInput struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginInput) Descriptor

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

func (*LoginInput) GetName

func (m *LoginInput) GetName() string

func (*LoginInput) Marshal

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

func (*LoginInput) MarshalTo

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

func (*LoginInput) MarshalToSizedBuffer

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

func (*LoginInput) ProtoMessage

func (*LoginInput) ProtoMessage()

func (*LoginInput) Reset

func (m *LoginInput) Reset()

func (*LoginInput) Size

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

func (*LoginInput) String

func (m *LoginInput) String() string

func (*LoginInput) Unmarshal

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

func (*LoginInput) Validate

func (m *LoginInput) Validate() error

Validate checks the field values on LoginInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LoginInput) XXX_DiscardUnknown

func (m *LoginInput) XXX_DiscardUnknown()

func (*LoginInput) XXX_Marshal

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

func (*LoginInput) XXX_Merge

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

func (*LoginInput) XXX_Size

func (m *LoginInput) XXX_Size() int

func (*LoginInput) XXX_Unmarshal

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

type LoginInputValidationError

type LoginInputValidationError struct {
	// contains filtered or unexported fields
}

LoginInputValidationError is the validation error returned by LoginInput.Validate if the designated constraints aren't met.

func (LoginInputValidationError) Cause

func (e LoginInputValidationError) Cause() error

Cause function returns cause value.

func (LoginInputValidationError) Error

Error satisfies the builtin error interface

func (LoginInputValidationError) ErrorName

func (e LoginInputValidationError) ErrorName() string

ErrorName returns error name.

func (LoginInputValidationError) Field

Field function returns field value.

func (LoginInputValidationError) Key

Key function returns key value.

func (LoginInputValidationError) Reason

func (e LoginInputValidationError) Reason() string

Reason function returns reason value.

type LookonRoomInput

type LookonRoomInput struct {
	RoomId               int64    `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookonRoomInput) Descriptor

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

func (*LookonRoomInput) GetRoomId

func (m *LookonRoomInput) GetRoomId() int64

func (*LookonRoomInput) Marshal

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

func (*LookonRoomInput) MarshalTo

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

func (*LookonRoomInput) MarshalToSizedBuffer

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

func (*LookonRoomInput) ProtoMessage

func (*LookonRoomInput) ProtoMessage()

func (*LookonRoomInput) Reset

func (m *LookonRoomInput) Reset()

func (*LookonRoomInput) Size

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

func (*LookonRoomInput) String

func (m *LookonRoomInput) String() string

func (*LookonRoomInput) Unmarshal

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

func (*LookonRoomInput) Validate

func (m *LookonRoomInput) Validate() error

Validate checks the field values on LookonRoomInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LookonRoomInput) XXX_DiscardUnknown

func (m *LookonRoomInput) XXX_DiscardUnknown()

func (*LookonRoomInput) XXX_Marshal

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

func (*LookonRoomInput) XXX_Merge

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

func (*LookonRoomInput) XXX_Size

func (m *LookonRoomInput) XXX_Size() int

func (*LookonRoomInput) XXX_Unmarshal

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

type LookonRoomInputValidationError

type LookonRoomInputValidationError struct {
	// contains filtered or unexported fields
}

LookonRoomInputValidationError is the validation error returned by LookonRoomInput.Validate if the designated constraints aren't met.

func (LookonRoomInputValidationError) Cause

Cause function returns cause value.

func (LookonRoomInputValidationError) Error

Error satisfies the builtin error interface

func (LookonRoomInputValidationError) ErrorName

func (e LookonRoomInputValidationError) ErrorName() string

ErrorName returns error name.

func (LookonRoomInputValidationError) Field

Field function returns field value.

func (LookonRoomInputValidationError) Key

Key function returns key value.

func (LookonRoomInputValidationError) Reason

Reason function returns reason value.

type PlayerModel

type PlayerModel struct {
	Id                   int64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status               PlayerModel_Status `protobuf:"varint,3,opt,name=status,proto3,enum=stmp.examples.gomoku.PlayerModel_Status" json:"status,omitempty"`
	RoomId               int64              `protobuf:"varint,4,opt,name=roomId,proto3" json:"roomId,omitempty"`
	Seat                 int32              `protobuf:"varint,5,opt,name=seat,proto3" json:"seat,omitempty"`
	GameId               int64              `protobuf:"varint,6,opt,name=gameId,proto3" json:"gameId,omitempty"`
	ReadyTimeout         int64              `protobuf:"varint,7,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*PlayerModel) Descriptor

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

func (*PlayerModel) GetGameId

func (m *PlayerModel) GetGameId() int64

func (*PlayerModel) GetId

func (m *PlayerModel) GetId() int64

func (*PlayerModel) GetName

func (m *PlayerModel) GetName() string

func (*PlayerModel) GetReadyTimeout

func (m *PlayerModel) GetReadyTimeout() int64

func (*PlayerModel) GetRoomId

func (m *PlayerModel) GetRoomId() int64

func (*PlayerModel) GetSeat

func (m *PlayerModel) GetSeat() int32

func (*PlayerModel) GetStatus

func (m *PlayerModel) GetStatus() PlayerModel_Status

func (*PlayerModel) Marshal

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

func (*PlayerModel) MarshalTo

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

func (*PlayerModel) MarshalToSizedBuffer

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

func (*PlayerModel) ProtoMessage

func (*PlayerModel) ProtoMessage()

func (*PlayerModel) Reset

func (m *PlayerModel) Reset()

func (*PlayerModel) Size

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

func (*PlayerModel) String

func (m *PlayerModel) String() string

func (*PlayerModel) Unmarshal

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

func (*PlayerModel) Validate

func (m *PlayerModel) Validate() error

Validate checks the field values on PlayerModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PlayerModel) XXX_DiscardUnknown

func (m *PlayerModel) XXX_DiscardUnknown()

func (*PlayerModel) XXX_Marshal

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

func (*PlayerModel) XXX_Merge

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

func (*PlayerModel) XXX_Size

func (m *PlayerModel) XXX_Size() int

func (*PlayerModel) XXX_Unmarshal

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

type PlayerModelValidationError

type PlayerModelValidationError struct {
	// contains filtered or unexported fields
}

PlayerModelValidationError is the validation error returned by PlayerModel.Validate if the designated constraints aren't met.

func (PlayerModelValidationError) Cause

Cause function returns cause value.

func (PlayerModelValidationError) Error

Error satisfies the builtin error interface

func (PlayerModelValidationError) ErrorName

func (e PlayerModelValidationError) ErrorName() string

ErrorName returns error name.

func (PlayerModelValidationError) Field

Field function returns field value.

func (PlayerModelValidationError) Key

Key function returns key value.

func (PlayerModelValidationError) Reason

Reason function returns reason value.

type PlayerModel_Status

type PlayerModel_Status int32
const (
	PlayerModel_Reserved PlayerModel_Status = 0
	PlayerModel_Free     PlayerModel_Status = 1
	PlayerModel_Standby  PlayerModel_Status = 2
	PlayerModel_Unready  PlayerModel_Status = 3
	PlayerModel_Ready    PlayerModel_Status = 4
	PlayerModel_Playing  PlayerModel_Status = 5
)

func (PlayerModel_Status) EnumDescriptor

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

func (PlayerModel_Status) String

func (x PlayerModel_Status) String() string

type ReplyInput

type ReplyInput struct {
	Kind                 ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"`
	Accept               bool            `protobuf:"varint,2,opt,name=accept,proto3" json:"accept,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReplyInput) Descriptor

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

func (*ReplyInput) GetAccept

func (m *ReplyInput) GetAccept() bool

func (*ReplyInput) GetKind

func (m *ReplyInput) GetKind() ApplyModel_Kind

func (*ReplyInput) Marshal

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

func (*ReplyInput) MarshalTo

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

func (*ReplyInput) MarshalToSizedBuffer

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

func (*ReplyInput) ProtoMessage

func (*ReplyInput) ProtoMessage()

func (*ReplyInput) Reset

func (m *ReplyInput) Reset()

func (*ReplyInput) Size

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

func (*ReplyInput) String

func (m *ReplyInput) String() string

func (*ReplyInput) Unmarshal

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

func (*ReplyInput) Validate

func (m *ReplyInput) Validate() error

Validate checks the field values on ReplyInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReplyInput) XXX_DiscardUnknown

func (m *ReplyInput) XXX_DiscardUnknown()

func (*ReplyInput) XXX_Marshal

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

func (*ReplyInput) XXX_Merge

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

func (*ReplyInput) XXX_Size

func (m *ReplyInput) XXX_Size() int

func (*ReplyInput) XXX_Unmarshal

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

type ReplyInputValidationError

type ReplyInputValidationError struct {
	// contains filtered or unexported fields
}

ReplyInputValidationError is the validation error returned by ReplyInput.Validate if the designated constraints aren't met.

func (ReplyInputValidationError) Cause

func (e ReplyInputValidationError) Cause() error

Cause function returns cause value.

func (ReplyInputValidationError) Error

Error satisfies the builtin error interface

func (ReplyInputValidationError) ErrorName

func (e ReplyInputValidationError) ErrorName() string

ErrorName returns error name.

func (ReplyInputValidationError) Field

Field function returns field value.

func (ReplyInputValidationError) Key

Key function returns key value.

func (ReplyInputValidationError) Reason

func (e ReplyInputValidationError) Reason() string

Reason function returns reason value.

type RoomModel

type RoomModel struct {
	Id                   int64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Players              map[int32]int64 `` /* 157-byte string literal not displayed */
	GameId               int64           `protobuf:"varint,3,opt,name=gameId,proto3" json:"gameId,omitempty"`
	Spectators           []int64         `protobuf:"varint,4,rep,packed,name=spectators,proto3" json:"spectators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RoomModel) Descriptor

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

func (*RoomModel) GetGameId

func (m *RoomModel) GetGameId() int64

func (*RoomModel) GetId

func (m *RoomModel) GetId() int64

func (*RoomModel) GetPlayers

func (m *RoomModel) GetPlayers() map[int32]int64

func (*RoomModel) GetSpectators

func (m *RoomModel) GetSpectators() []int64

func (*RoomModel) Marshal

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

func (*RoomModel) MarshalTo

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

func (*RoomModel) MarshalToSizedBuffer

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

func (*RoomModel) ProtoMessage

func (*RoomModel) ProtoMessage()

func (*RoomModel) Reset

func (m *RoomModel) Reset()

func (*RoomModel) Size

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

func (*RoomModel) String

func (m *RoomModel) String() string

func (*RoomModel) Unmarshal

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

func (*RoomModel) Validate

func (m *RoomModel) Validate() error

Validate checks the field values on RoomModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RoomModel) XXX_DiscardUnknown

func (m *RoomModel) XXX_DiscardUnknown()

func (*RoomModel) XXX_Marshal

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

func (*RoomModel) XXX_Merge

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

func (*RoomModel) XXX_Size

func (m *RoomModel) XXX_Size() int

func (*RoomModel) XXX_Unmarshal

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

type RoomModelValidationError

type RoomModelValidationError struct {
	// contains filtered or unexported fields
}

RoomModelValidationError is the validation error returned by RoomModel.Validate if the designated constraints aren't met.

func (RoomModelValidationError) Cause

func (e RoomModelValidationError) Cause() error

Cause function returns cause value.

func (RoomModelValidationError) Error

func (e RoomModelValidationError) Error() string

Error satisfies the builtin error interface

func (RoomModelValidationError) ErrorName

func (e RoomModelValidationError) ErrorName() string

ErrorName returns error name.

func (RoomModelValidationError) Field

func (e RoomModelValidationError) Field() string

Field function returns field value.

func (RoomModelValidationError) Key

Key function returns key value.

func (RoomModelValidationError) Reason

func (e RoomModelValidationError) Reason() string

Reason function returns reason value.

type RoomModel_Reasons

type RoomModel_Reasons int32
const (
	RoomModel_Reserved      RoomModel_Reasons = 0
	RoomModel_InRoomAlready RoomModel_Reasons = 1
)

func (RoomModel_Reasons) EnumDescriptor

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

func (RoomModel_Reasons) String

func (x RoomModel_Reasons) String() string

type STMPGomokuEventsBroadcaster

type STMPGomokuEventsBroadcaster struct{}

func (STMPGomokuEventsBroadcaster) GameOver

func (s STMPGomokuEventsBroadcaster) GameOver(ctx context.Context, in *GomokuModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) GameOverToAll

func (s STMPGomokuEventsBroadcaster) GameOverToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) GameOverToList

func (s STMPGomokuEventsBroadcaster) GameOverToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) GameOverToSet

func (s STMPGomokuEventsBroadcaster) GameOverToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) GameStart

func (s STMPGomokuEventsBroadcaster) GameStart(ctx context.Context, in *GomokuModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) GameStartToAll

func (s STMPGomokuEventsBroadcaster) GameStartToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) GameStartToList

func (s STMPGomokuEventsBroadcaster) GameStartToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) GameStartToSet

func (s STMPGomokuEventsBroadcaster) GameStartToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserApply

func (s STMPGomokuEventsBroadcaster) UserApply(ctx context.Context, in *UserApplyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) UserApplyToAll

func (s STMPGomokuEventsBroadcaster) UserApplyToAll(ctx context.Context, in *UserApplyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) UserApplyToList

func (s STMPGomokuEventsBroadcaster) UserApplyToList(ctx context.Context, in *UserApplyEvent, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserApplyToSet

func (s STMPGomokuEventsBroadcaster) UserApplyToSet(ctx context.Context, in *UserApplyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserConnected

func (s STMPGomokuEventsBroadcaster) UserConnected(ctx context.Context, in *UserConnectedEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) UserConnectedToAll

func (s STMPGomokuEventsBroadcaster) UserConnectedToAll(ctx context.Context, in *UserConnectedEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) UserConnectedToList

func (s STMPGomokuEventsBroadcaster) UserConnectedToList(ctx context.Context, in *UserConnectedEvent, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserConnectedToSet

func (s STMPGomokuEventsBroadcaster) UserConnectedToSet(ctx context.Context, in *UserConnectedEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserDisconnected

func (s STMPGomokuEventsBroadcaster) UserDisconnected(ctx context.Context, in *UserDisconnectedEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) UserDisconnectedToAll

func (s STMPGomokuEventsBroadcaster) UserDisconnectedToAll(ctx context.Context, in *UserDisconnectedEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) UserDisconnectedToList

func (s STMPGomokuEventsBroadcaster) UserDisconnectedToList(ctx context.Context, in *UserDisconnectedEvent, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserDisconnectedToSet

func (s STMPGomokuEventsBroadcaster) UserDisconnectedToSet(ctx context.Context, in *UserDisconnectedEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserPlay

func (s STMPGomokuEventsBroadcaster) UserPlay(ctx context.Context, in *UserPlayEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) UserPlayToAll

func (s STMPGomokuEventsBroadcaster) UserPlayToAll(ctx context.Context, in *UserPlayEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) UserPlayToList

func (s STMPGomokuEventsBroadcaster) UserPlayToList(ctx context.Context, in *UserPlayEvent, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserPlayToSet

func (s STMPGomokuEventsBroadcaster) UserPlayToSet(ctx context.Context, in *UserPlayEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserReply

func (s STMPGomokuEventsBroadcaster) UserReply(ctx context.Context, in *UserReplyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPGomokuEventsBroadcaster) UserReplyToAll

func (s STMPGomokuEventsBroadcaster) UserReplyToAll(ctx context.Context, in *UserReplyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPGomokuEventsBroadcaster) UserReplyToList

func (s STMPGomokuEventsBroadcaster) UserReplyToList(ctx context.Context, in *UserReplyEvent, conns ...*stmp.Conn)

func (STMPGomokuEventsBroadcaster) UserReplyToSet

func (s STMPGomokuEventsBroadcaster) UserReplyToSet(ctx context.Context, in *UserReplyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

type STMPGomokuEventsListener

type STMPGomokuEventsListener interface {
	HandleGameStart(ctx context.Context, in *GomokuModel)
	HandleUserPlay(ctx context.Context, in *UserPlayEvent)
	HandleUserApply(ctx context.Context, in *UserApplyEvent)
	HandleUserReply(ctx context.Context, in *UserReplyEvent)
	HandleUserDisconnected(ctx context.Context, in *UserDisconnectedEvent)
	HandleUserConnected(ctx context.Context, in *UserConnectedEvent)
	HandleGameOver(ctx context.Context, in *GomokuModel)
}

type STMPGomokuServiceClient

type STMPGomokuServiceClient interface {
	Play(ctx context.Context, in *HandModel, opts ...*stmp.CallOptions) (*Empty, error)
	Apply(ctx context.Context, in *ApplyInput, opts ...*stmp.CallOptions) (*Empty, error)
	Reply(ctx context.Context, in *ReplyInput, opts ...*stmp.CallOptions) (*Empty, error)
}

func STMPNewGomokuServiceClient

func STMPNewGomokuServiceClient(c *stmp.Client) STMPGomokuServiceClient

type STMPGomokuServiceServer

type STMPGomokuServiceServer interface {
	Play(ctx context.Context, in *HandModel) (out *Empty, err error)
	Apply(ctx context.Context, in *ApplyInput) (out *Empty, err error)
	Reply(ctx context.Context, in *ReplyInput) (out *Empty, err error)
}

type STMPPlayerEventsBroadcaster

type STMPPlayerEventsBroadcaster struct{}

func (STMPPlayerEventsBroadcaster) StatusUpdated

func (s STMPPlayerEventsBroadcaster) StatusUpdated(ctx context.Context, in *PlayerModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPPlayerEventsBroadcaster) StatusUpdatedToAll

func (s STMPPlayerEventsBroadcaster) StatusUpdatedToAll(ctx context.Context, in *PlayerModel, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPPlayerEventsBroadcaster) StatusUpdatedToList

func (s STMPPlayerEventsBroadcaster) StatusUpdatedToList(ctx context.Context, in *PlayerModel, conns ...*stmp.Conn)

func (STMPPlayerEventsBroadcaster) StatusUpdatedToSet

func (s STMPPlayerEventsBroadcaster) StatusUpdatedToSet(ctx context.Context, in *PlayerModel, conns stmp.ConnSet, exclude ...*stmp.Conn)

type STMPPlayerEventsListener

type STMPPlayerEventsListener interface {
	HandleStatusUpdated(ctx context.Context, in *PlayerModel)
}

type STMPPlayerServiceClient

type STMPPlayerServiceClient interface {
	Login(ctx context.Context, in *LoginInput, opts ...*stmp.CallOptions) (*PlayerModel, error)
	ListUser(ctx context.Context, in *ListPlayerInput, opts ...*stmp.CallOptions) (*ListPlayerOutput, error)
}

func STMPNewPlayerServiceClient

func STMPNewPlayerServiceClient(c *stmp.Client) STMPPlayerServiceClient

type STMPPlayerServiceServer

type STMPPlayerServiceServer interface {
	Login(ctx context.Context, in *LoginInput) (out *PlayerModel, err error)
	ListUser(ctx context.Context, in *ListPlayerInput) (out *ListPlayerOutput, err error)
}

type STMPRoomEventsBroadcaster

type STMPRoomEventsBroadcaster struct{}

func (STMPRoomEventsBroadcaster) UserExit

func (s STMPRoomEventsBroadcaster) UserExit(ctx context.Context, in *UserExitEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPRoomEventsBroadcaster) UserExitToAll

func (s STMPRoomEventsBroadcaster) UserExitToAll(ctx context.Context, in *UserExitEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPRoomEventsBroadcaster) UserExitToList

func (s STMPRoomEventsBroadcaster) UserExitToList(ctx context.Context, in *UserExitEvent, conns ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserExitToSet

func (s STMPRoomEventsBroadcaster) UserExitToSet(ctx context.Context, in *UserExitEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserJoin

func (s STMPRoomEventsBroadcaster) UserJoin(ctx context.Context, in *UserJoinEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPRoomEventsBroadcaster) UserJoinToAll

func (s STMPRoomEventsBroadcaster) UserJoinToAll(ctx context.Context, in *UserJoinEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPRoomEventsBroadcaster) UserJoinToList

func (s STMPRoomEventsBroadcaster) UserJoinToList(ctx context.Context, in *UserJoinEvent, conns ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserJoinToSet

func (s STMPRoomEventsBroadcaster) UserJoinToSet(ctx context.Context, in *UserJoinEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserLookon

func (s STMPRoomEventsBroadcaster) UserLookon(ctx context.Context, in *UserLookonEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPRoomEventsBroadcaster) UserLookonToAll

func (s STMPRoomEventsBroadcaster) UserLookonToAll(ctx context.Context, in *UserLookonEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPRoomEventsBroadcaster) UserLookonToList

func (s STMPRoomEventsBroadcaster) UserLookonToList(ctx context.Context, in *UserLookonEvent, conns ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserLookonToSet

func (s STMPRoomEventsBroadcaster) UserLookonToSet(ctx context.Context, in *UserLookonEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserReady

func (s STMPRoomEventsBroadcaster) UserReady(ctx context.Context, in *UserReadyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPRoomEventsBroadcaster) UserReadyToAll

func (s STMPRoomEventsBroadcaster) UserReadyToAll(ctx context.Context, in *UserReadyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPRoomEventsBroadcaster) UserReadyToList

func (s STMPRoomEventsBroadcaster) UserReadyToList(ctx context.Context, in *UserReadyEvent, conns ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserReadyToSet

func (s STMPRoomEventsBroadcaster) UserReadyToSet(ctx context.Context, in *UserReadyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserUnready

func (s STMPRoomEventsBroadcaster) UserUnready(ctx context.Context, in *UserUnreadyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error

func (STMPRoomEventsBroadcaster) UserUnreadyToAll

func (s STMPRoomEventsBroadcaster) UserUnreadyToAll(ctx context.Context, in *UserUnreadyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)

func (STMPRoomEventsBroadcaster) UserUnreadyToList

func (s STMPRoomEventsBroadcaster) UserUnreadyToList(ctx context.Context, in *UserUnreadyEvent, conns ...*stmp.Conn)

func (STMPRoomEventsBroadcaster) UserUnreadyToSet

func (s STMPRoomEventsBroadcaster) UserUnreadyToSet(ctx context.Context, in *UserUnreadyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)

type STMPRoomEventsListener

type STMPRoomEventsListener interface {
	HandleUserJoin(ctx context.Context, in *UserJoinEvent)
	HandleUserReady(ctx context.Context, in *UserReadyEvent)
	HandleUserUnready(ctx context.Context, in *UserUnreadyEvent)
	HandleUserLookon(ctx context.Context, in *UserLookonEvent)
	HandleUserExit(ctx context.Context, in *UserExitEvent)
}

type STMPRoomServiceClient

type STMPRoomServiceClient interface {
	MatchRoom(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*FullRoomModel, error)
	ListRoom(ctx context.Context, in *ListInput, opts ...*stmp.CallOptions) (*ListRoomOutput, error)
	LookonRoom(ctx context.Context, in *LookonRoomInput, opts ...*stmp.CallOptions) (*FullRoomModel, error)
	JoinRoom(ctx context.Context, in *JoinRoomInput, opts ...*stmp.CallOptions) (*FullRoomModel, error)
	Ready(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error)
	Unready(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error)
	ExitRoom(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error)
}

func STMPNewRoomServiceClient

func STMPNewRoomServiceClient(c *stmp.Client) STMPRoomServiceClient

type STMPRoomServiceServer

type STMPRoomServiceServer interface {
	MatchRoom(ctx context.Context, in *Empty) (out *FullRoomModel, err error)
	ListRoom(ctx context.Context, in *ListInput) (out *ListRoomOutput, err error)
	LookonRoom(ctx context.Context, in *LookonRoomInput) (out *FullRoomModel, err error)
	JoinRoom(ctx context.Context, in *JoinRoomInput) (out *FullRoomModel, err error)
	Ready(ctx context.Context, in *Empty) (out *Empty, err error)
	Unready(ctx context.Context, in *Empty) (out *Empty, err error)
	ExitRoom(ctx context.Context, in *Empty) (out *Empty, err error)
}

type UserApplyEvent

type UserApplyEvent struct {
	Kind                 ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UserApplyEvent) Descriptor

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

func (*UserApplyEvent) GetKind

func (m *UserApplyEvent) GetKind() ApplyModel_Kind

func (*UserApplyEvent) Marshal

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

func (*UserApplyEvent) MarshalTo

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

func (*UserApplyEvent) MarshalToSizedBuffer

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

func (*UserApplyEvent) ProtoMessage

func (*UserApplyEvent) ProtoMessage()

func (*UserApplyEvent) Reset

func (m *UserApplyEvent) Reset()

func (*UserApplyEvent) Size

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

func (*UserApplyEvent) String

func (m *UserApplyEvent) String() string

func (*UserApplyEvent) Unmarshal

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

func (*UserApplyEvent) Validate

func (m *UserApplyEvent) Validate() error

Validate checks the field values on UserApplyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserApplyEvent) XXX_DiscardUnknown

func (m *UserApplyEvent) XXX_DiscardUnknown()

func (*UserApplyEvent) XXX_Marshal

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

func (*UserApplyEvent) XXX_Merge

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

func (*UserApplyEvent) XXX_Size

func (m *UserApplyEvent) XXX_Size() int

func (*UserApplyEvent) XXX_Unmarshal

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

type UserApplyEventValidationError

type UserApplyEventValidationError struct {
	// contains filtered or unexported fields
}

UserApplyEventValidationError is the validation error returned by UserApplyEvent.Validate if the designated constraints aren't met.

func (UserApplyEventValidationError) Cause

Cause function returns cause value.

func (UserApplyEventValidationError) Error

Error satisfies the builtin error interface

func (UserApplyEventValidationError) ErrorName

func (e UserApplyEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserApplyEventValidationError) Field

Field function returns field value.

func (UserApplyEventValidationError) Key

Key function returns key value.

func (UserApplyEventValidationError) Reason

Reason function returns reason value.

type UserConnectedEvent

type UserConnectedEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserConnectedEvent) Descriptor

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

func (*UserConnectedEvent) GetUserId

func (m *UserConnectedEvent) GetUserId() int64

func (*UserConnectedEvent) Marshal

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

func (*UserConnectedEvent) MarshalTo

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

func (*UserConnectedEvent) MarshalToSizedBuffer

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

func (*UserConnectedEvent) ProtoMessage

func (*UserConnectedEvent) ProtoMessage()

func (*UserConnectedEvent) Reset

func (m *UserConnectedEvent) Reset()

func (*UserConnectedEvent) Size

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

func (*UserConnectedEvent) String

func (m *UserConnectedEvent) String() string

func (*UserConnectedEvent) Unmarshal

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

func (*UserConnectedEvent) Validate

func (m *UserConnectedEvent) Validate() error

Validate checks the field values on UserConnectedEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserConnectedEvent) XXX_DiscardUnknown

func (m *UserConnectedEvent) XXX_DiscardUnknown()

func (*UserConnectedEvent) XXX_Marshal

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

func (*UserConnectedEvent) XXX_Merge

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

func (*UserConnectedEvent) XXX_Size

func (m *UserConnectedEvent) XXX_Size() int

func (*UserConnectedEvent) XXX_Unmarshal

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

type UserConnectedEventValidationError

type UserConnectedEventValidationError struct {
	// contains filtered or unexported fields
}

UserConnectedEventValidationError is the validation error returned by UserConnectedEvent.Validate if the designated constraints aren't met.

func (UserConnectedEventValidationError) Cause

Cause function returns cause value.

func (UserConnectedEventValidationError) Error

Error satisfies the builtin error interface

func (UserConnectedEventValidationError) ErrorName

ErrorName returns error name.

func (UserConnectedEventValidationError) Field

Field function returns field value.

func (UserConnectedEventValidationError) Key

Key function returns key value.

func (UserConnectedEventValidationError) Reason

Reason function returns reason value.

type UserDisconnectedEvent

type UserDisconnectedEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	WaitTimeout          int32    `protobuf:"varint,2,opt,name=waitTimeout,proto3" json:"waitTimeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserDisconnectedEvent) Descriptor

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

func (*UserDisconnectedEvent) GetUserId

func (m *UserDisconnectedEvent) GetUserId() int64

func (*UserDisconnectedEvent) GetWaitTimeout

func (m *UserDisconnectedEvent) GetWaitTimeout() int32

func (*UserDisconnectedEvent) Marshal

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

func (*UserDisconnectedEvent) MarshalTo

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

func (*UserDisconnectedEvent) MarshalToSizedBuffer

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

func (*UserDisconnectedEvent) ProtoMessage

func (*UserDisconnectedEvent) ProtoMessage()

func (*UserDisconnectedEvent) Reset

func (m *UserDisconnectedEvent) Reset()

func (*UserDisconnectedEvent) Size

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

func (*UserDisconnectedEvent) String

func (m *UserDisconnectedEvent) String() string

func (*UserDisconnectedEvent) Unmarshal

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

func (*UserDisconnectedEvent) Validate

func (m *UserDisconnectedEvent) Validate() error

Validate checks the field values on UserDisconnectedEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserDisconnectedEvent) XXX_DiscardUnknown

func (m *UserDisconnectedEvent) XXX_DiscardUnknown()

func (*UserDisconnectedEvent) XXX_Marshal

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

func (*UserDisconnectedEvent) XXX_Merge

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

func (*UserDisconnectedEvent) XXX_Size

func (m *UserDisconnectedEvent) XXX_Size() int

func (*UserDisconnectedEvent) XXX_Unmarshal

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

type UserDisconnectedEventValidationError

type UserDisconnectedEventValidationError struct {
	// contains filtered or unexported fields
}

UserDisconnectedEventValidationError is the validation error returned by UserDisconnectedEvent.Validate if the designated constraints aren't met.

func (UserDisconnectedEventValidationError) Cause

Cause function returns cause value.

func (UserDisconnectedEventValidationError) Error

Error satisfies the builtin error interface

func (UserDisconnectedEventValidationError) ErrorName

ErrorName returns error name.

func (UserDisconnectedEventValidationError) Field

Field function returns field value.

func (UserDisconnectedEventValidationError) Key

Key function returns key value.

func (UserDisconnectedEventValidationError) Reason

Reason function returns reason value.

type UserExitEvent

type UserExitEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserExitEvent) Descriptor

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

func (*UserExitEvent) GetUserId

func (m *UserExitEvent) GetUserId() int64

func (*UserExitEvent) Marshal

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

func (*UserExitEvent) MarshalTo

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

func (*UserExitEvent) MarshalToSizedBuffer

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

func (*UserExitEvent) ProtoMessage

func (*UserExitEvent) ProtoMessage()

func (*UserExitEvent) Reset

func (m *UserExitEvent) Reset()

func (*UserExitEvent) Size

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

func (*UserExitEvent) String

func (m *UserExitEvent) String() string

func (*UserExitEvent) Unmarshal

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

func (*UserExitEvent) Validate

func (m *UserExitEvent) Validate() error

Validate checks the field values on UserExitEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserExitEvent) XXX_DiscardUnknown

func (m *UserExitEvent) XXX_DiscardUnknown()

func (*UserExitEvent) XXX_Marshal

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

func (*UserExitEvent) XXX_Merge

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

func (*UserExitEvent) XXX_Size

func (m *UserExitEvent) XXX_Size() int

func (*UserExitEvent) XXX_Unmarshal

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

type UserExitEventValidationError

type UserExitEventValidationError struct {
	// contains filtered or unexported fields
}

UserExitEventValidationError is the validation error returned by UserExitEvent.Validate if the designated constraints aren't met.

func (UserExitEventValidationError) Cause

Cause function returns cause value.

func (UserExitEventValidationError) Error

Error satisfies the builtin error interface

func (UserExitEventValidationError) ErrorName

func (e UserExitEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserExitEventValidationError) Field

Field function returns field value.

func (UserExitEventValidationError) Key

Key function returns key value.

func (UserExitEventValidationError) Reason

Reason function returns reason value.

type UserJoinEvent

type UserJoinEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Seat                 int32    `protobuf:"varint,2,opt,name=seat,proto3" json:"seat,omitempty"`
	ReadyTimeout         int32    `protobuf:"varint,3,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserJoinEvent) Descriptor

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

func (*UserJoinEvent) GetReadyTimeout

func (m *UserJoinEvent) GetReadyTimeout() int32

func (*UserJoinEvent) GetSeat

func (m *UserJoinEvent) GetSeat() int32

func (*UserJoinEvent) GetUserId

func (m *UserJoinEvent) GetUserId() int64

func (*UserJoinEvent) Marshal

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

func (*UserJoinEvent) MarshalTo

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

func (*UserJoinEvent) MarshalToSizedBuffer

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

func (*UserJoinEvent) ProtoMessage

func (*UserJoinEvent) ProtoMessage()

func (*UserJoinEvent) Reset

func (m *UserJoinEvent) Reset()

func (*UserJoinEvent) Size

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

func (*UserJoinEvent) String

func (m *UserJoinEvent) String() string

func (*UserJoinEvent) Unmarshal

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

func (*UserJoinEvent) Validate

func (m *UserJoinEvent) Validate() error

Validate checks the field values on UserJoinEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserJoinEvent) XXX_DiscardUnknown

func (m *UserJoinEvent) XXX_DiscardUnknown()

func (*UserJoinEvent) XXX_Marshal

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

func (*UserJoinEvent) XXX_Merge

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

func (*UserJoinEvent) XXX_Size

func (m *UserJoinEvent) XXX_Size() int

func (*UserJoinEvent) XXX_Unmarshal

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

type UserJoinEventValidationError

type UserJoinEventValidationError struct {
	// contains filtered or unexported fields
}

UserJoinEventValidationError is the validation error returned by UserJoinEvent.Validate if the designated constraints aren't met.

func (UserJoinEventValidationError) Cause

Cause function returns cause value.

func (UserJoinEventValidationError) Error

Error satisfies the builtin error interface

func (UserJoinEventValidationError) ErrorName

func (e UserJoinEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserJoinEventValidationError) Field

Field function returns field value.

func (UserJoinEventValidationError) Key

Key function returns key value.

func (UserJoinEventValidationError) Reason

Reason function returns reason value.

type UserLookonEvent

type UserLookonEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserLookonEvent) Descriptor

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

func (*UserLookonEvent) GetUserId

func (m *UserLookonEvent) GetUserId() int64

func (*UserLookonEvent) Marshal

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

func (*UserLookonEvent) MarshalTo

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

func (*UserLookonEvent) MarshalToSizedBuffer

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

func (*UserLookonEvent) ProtoMessage

func (*UserLookonEvent) ProtoMessage()

func (*UserLookonEvent) Reset

func (m *UserLookonEvent) Reset()

func (*UserLookonEvent) Size

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

func (*UserLookonEvent) String

func (m *UserLookonEvent) String() string

func (*UserLookonEvent) Unmarshal

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

func (*UserLookonEvent) Validate

func (m *UserLookonEvent) Validate() error

Validate checks the field values on UserLookonEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserLookonEvent) XXX_DiscardUnknown

func (m *UserLookonEvent) XXX_DiscardUnknown()

func (*UserLookonEvent) XXX_Marshal

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

func (*UserLookonEvent) XXX_Merge

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

func (*UserLookonEvent) XXX_Size

func (m *UserLookonEvent) XXX_Size() int

func (*UserLookonEvent) XXX_Unmarshal

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

type UserLookonEventValidationError

type UserLookonEventValidationError struct {
	// contains filtered or unexported fields
}

UserLookonEventValidationError is the validation error returned by UserLookonEvent.Validate if the designated constraints aren't met.

func (UserLookonEventValidationError) Cause

Cause function returns cause value.

func (UserLookonEventValidationError) Error

Error satisfies the builtin error interface

func (UserLookonEventValidationError) ErrorName

func (e UserLookonEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserLookonEventValidationError) Field

Field function returns field value.

func (UserLookonEventValidationError) Key

Key function returns key value.

func (UserLookonEventValidationError) Reason

Reason function returns reason value.

type UserPlayEvent

type UserPlayEvent struct {
	UserId               int64      `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Hand                 *HandModel `protobuf:"bytes,2,opt,name=hand,proto3" json:"hand,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UserPlayEvent) Descriptor

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

func (*UserPlayEvent) GetHand

func (m *UserPlayEvent) GetHand() *HandModel

func (*UserPlayEvent) GetUserId

func (m *UserPlayEvent) GetUserId() int64

func (*UserPlayEvent) Marshal

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

func (*UserPlayEvent) MarshalTo

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

func (*UserPlayEvent) MarshalToSizedBuffer

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

func (*UserPlayEvent) ProtoMessage

func (*UserPlayEvent) ProtoMessage()

func (*UserPlayEvent) Reset

func (m *UserPlayEvent) Reset()

func (*UserPlayEvent) Size

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

func (*UserPlayEvent) String

func (m *UserPlayEvent) String() string

func (*UserPlayEvent) Unmarshal

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

func (*UserPlayEvent) Validate

func (m *UserPlayEvent) Validate() error

Validate checks the field values on UserPlayEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserPlayEvent) XXX_DiscardUnknown

func (m *UserPlayEvent) XXX_DiscardUnknown()

func (*UserPlayEvent) XXX_Marshal

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

func (*UserPlayEvent) XXX_Merge

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

func (*UserPlayEvent) XXX_Size

func (m *UserPlayEvent) XXX_Size() int

func (*UserPlayEvent) XXX_Unmarshal

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

type UserPlayEventValidationError

type UserPlayEventValidationError struct {
	// contains filtered or unexported fields
}

UserPlayEventValidationError is the validation error returned by UserPlayEvent.Validate if the designated constraints aren't met.

func (UserPlayEventValidationError) Cause

Cause function returns cause value.

func (UserPlayEventValidationError) Error

Error satisfies the builtin error interface

func (UserPlayEventValidationError) ErrorName

func (e UserPlayEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserPlayEventValidationError) Field

Field function returns field value.

func (UserPlayEventValidationError) Key

Key function returns key value.

func (UserPlayEventValidationError) Reason

Reason function returns reason value.

type UserReadyEvent

type UserReadyEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserReadyEvent) Descriptor

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

func (*UserReadyEvent) GetUserId

func (m *UserReadyEvent) GetUserId() int64

func (*UserReadyEvent) Marshal

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

func (*UserReadyEvent) MarshalTo

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

func (*UserReadyEvent) MarshalToSizedBuffer

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

func (*UserReadyEvent) ProtoMessage

func (*UserReadyEvent) ProtoMessage()

func (*UserReadyEvent) Reset

func (m *UserReadyEvent) Reset()

func (*UserReadyEvent) Size

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

func (*UserReadyEvent) String

func (m *UserReadyEvent) String() string

func (*UserReadyEvent) Unmarshal

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

func (*UserReadyEvent) Validate

func (m *UserReadyEvent) Validate() error

Validate checks the field values on UserReadyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserReadyEvent) XXX_DiscardUnknown

func (m *UserReadyEvent) XXX_DiscardUnknown()

func (*UserReadyEvent) XXX_Marshal

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

func (*UserReadyEvent) XXX_Merge

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

func (*UserReadyEvent) XXX_Size

func (m *UserReadyEvent) XXX_Size() int

func (*UserReadyEvent) XXX_Unmarshal

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

type UserReadyEventValidationError

type UserReadyEventValidationError struct {
	// contains filtered or unexported fields
}

UserReadyEventValidationError is the validation error returned by UserReadyEvent.Validate if the designated constraints aren't met.

func (UserReadyEventValidationError) Cause

Cause function returns cause value.

func (UserReadyEventValidationError) Error

Error satisfies the builtin error interface

func (UserReadyEventValidationError) ErrorName

func (e UserReadyEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserReadyEventValidationError) Field

Field function returns field value.

func (UserReadyEventValidationError) Key

Key function returns key value.

func (UserReadyEventValidationError) Reason

Reason function returns reason value.

type UserReplyEvent

type UserReplyEvent struct {
	Kind                 ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"`
	Accepted             bool            `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UserReplyEvent) Descriptor

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

func (*UserReplyEvent) GetAccepted

func (m *UserReplyEvent) GetAccepted() bool

func (*UserReplyEvent) GetKind

func (m *UserReplyEvent) GetKind() ApplyModel_Kind

func (*UserReplyEvent) Marshal

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

func (*UserReplyEvent) MarshalTo

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

func (*UserReplyEvent) MarshalToSizedBuffer

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

func (*UserReplyEvent) ProtoMessage

func (*UserReplyEvent) ProtoMessage()

func (*UserReplyEvent) Reset

func (m *UserReplyEvent) Reset()

func (*UserReplyEvent) Size

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

func (*UserReplyEvent) String

func (m *UserReplyEvent) String() string

func (*UserReplyEvent) Unmarshal

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

func (*UserReplyEvent) Validate

func (m *UserReplyEvent) Validate() error

Validate checks the field values on UserReplyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserReplyEvent) XXX_DiscardUnknown

func (m *UserReplyEvent) XXX_DiscardUnknown()

func (*UserReplyEvent) XXX_Marshal

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

func (*UserReplyEvent) XXX_Merge

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

func (*UserReplyEvent) XXX_Size

func (m *UserReplyEvent) XXX_Size() int

func (*UserReplyEvent) XXX_Unmarshal

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

type UserReplyEventValidationError

type UserReplyEventValidationError struct {
	// contains filtered or unexported fields
}

UserReplyEventValidationError is the validation error returned by UserReplyEvent.Validate if the designated constraints aren't met.

func (UserReplyEventValidationError) Cause

Cause function returns cause value.

func (UserReplyEventValidationError) Error

Error satisfies the builtin error interface

func (UserReplyEventValidationError) ErrorName

func (e UserReplyEventValidationError) ErrorName() string

ErrorName returns error name.

func (UserReplyEventValidationError) Field

Field function returns field value.

func (UserReplyEventValidationError) Key

Key function returns key value.

func (UserReplyEventValidationError) Reason

Reason function returns reason value.

type UserUnreadyEvent

type UserUnreadyEvent struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	ReadyTimeout         int32    `protobuf:"varint,2,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserUnreadyEvent) Descriptor

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

func (*UserUnreadyEvent) GetReadyTimeout

func (m *UserUnreadyEvent) GetReadyTimeout() int32

func (*UserUnreadyEvent) GetUserId

func (m *UserUnreadyEvent) GetUserId() int64

func (*UserUnreadyEvent) Marshal

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

func (*UserUnreadyEvent) MarshalTo

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

func (*UserUnreadyEvent) MarshalToSizedBuffer

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

func (*UserUnreadyEvent) ProtoMessage

func (*UserUnreadyEvent) ProtoMessage()

func (*UserUnreadyEvent) Reset

func (m *UserUnreadyEvent) Reset()

func (*UserUnreadyEvent) Size

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

func (*UserUnreadyEvent) String

func (m *UserUnreadyEvent) String() string

func (*UserUnreadyEvent) Unmarshal

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

func (*UserUnreadyEvent) Validate

func (m *UserUnreadyEvent) Validate() error

Validate checks the field values on UserUnreadyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UserUnreadyEvent) XXX_DiscardUnknown

func (m *UserUnreadyEvent) XXX_DiscardUnknown()

func (*UserUnreadyEvent) XXX_Marshal

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

func (*UserUnreadyEvent) XXX_Merge

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

func (*UserUnreadyEvent) XXX_Size

func (m *UserUnreadyEvent) XXX_Size() int

func (*UserUnreadyEvent) XXX_Unmarshal

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

type UserUnreadyEventValidationError

type UserUnreadyEventValidationError struct {
	// contains filtered or unexported fields
}

UserUnreadyEventValidationError is the validation error returned by UserUnreadyEvent.Validate if the designated constraints aren't met.

func (UserUnreadyEventValidationError) Cause

Cause function returns cause value.

func (UserUnreadyEventValidationError) Error

Error satisfies the builtin error interface

func (UserUnreadyEventValidationError) ErrorName

ErrorName returns error name.

func (UserUnreadyEventValidationError) Field

Field function returns field value.

func (UserUnreadyEventValidationError) Key

Key function returns key value.

func (UserUnreadyEventValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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