1555 lines
51 KiB
Go
1555 lines
51 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v5.29.2
|
|
// source: proto/robot/v1/robot.proto
|
|
|
|
package robotv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// RequestMeta 是 robot-service 内部 RPC 的租户和追踪上下文;不要把 app_code 放到业务字段里绕过统一鉴权链路。
|
|
type RequestMeta struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"`
|
|
ActorUserId int64 `protobuf:"varint,3,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"`
|
|
SentAtMs int64 `protobuf:"varint,4,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`
|
|
AppCode string `protobuf:"bytes,5,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestMeta) Reset() {
|
|
*x = RequestMeta{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestMeta) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestMeta) ProtoMessage() {}
|
|
|
|
func (x *RequestMeta) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequestMeta.ProtoReflect.Descriptor instead.
|
|
func (*RequestMeta) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *RequestMeta) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RequestMeta) GetCaller() string {
|
|
if x != nil {
|
|
return x.Caller
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RequestMeta) GetActorUserId() int64 {
|
|
if x != nil {
|
|
return x.ActorUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RequestMeta) GetSentAtMs() int64 {
|
|
if x != nil {
|
|
return x.SentAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RequestMeta) GetAppCode() string {
|
|
if x != nil {
|
|
return x.AppCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Robot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
|
RobotScope string `protobuf:"bytes,2,opt,name=robot_scope,json=robotScope,proto3" json:"robot_scope,omitempty"`
|
|
GameId string `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
RoomScene string `protobuf:"bytes,4,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
CreatedByAdminId int64 `protobuf:"varint,7,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
|
|
CreatedAtMs int64 `protobuf:"varint,8,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
|
UpdatedAtMs int64 `protobuf:"varint,9,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
|
LastUsedAtMs int64 `protobuf:"varint,10,opt,name=last_used_at_ms,json=lastUsedAtMs,proto3" json:"last_used_at_ms,omitempty"`
|
|
UsedCount int64 `protobuf:"varint,11,opt,name=used_count,json=usedCount,proto3" json:"used_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Robot) Reset() {
|
|
*x = Robot{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Robot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Robot) ProtoMessage() {}
|
|
|
|
func (x *Robot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Robot.ProtoReflect.Descriptor instead.
|
|
func (*Robot) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Robot) GetAppCode() string {
|
|
if x != nil {
|
|
return x.AppCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Robot) GetRobotScope() string {
|
|
if x != nil {
|
|
return x.RobotScope
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Robot) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Robot) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Robot) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Robot) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Robot) GetCreatedByAdminId() int64 {
|
|
if x != nil {
|
|
return x.CreatedByAdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Robot) GetCreatedAtMs() int64 {
|
|
if x != nil {
|
|
return x.CreatedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Robot) GetUpdatedAtMs() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Robot) GetLastUsedAtMs() int64 {
|
|
if x != nil {
|
|
return x.LastUsedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Robot) GetUsedCount() int64 {
|
|
if x != nil {
|
|
return x.UsedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListGameRobotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) Reset() {
|
|
*x = ListGameRobotsRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListGameRobotsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListGameRobotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListGameRobotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListGameRobotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListGameRobotsRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListGameRobotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robots []*Robot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
|
|
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListGameRobotsResponse) Reset() {
|
|
*x = ListGameRobotsResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListGameRobotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListGameRobotsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListGameRobotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListGameRobotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListGameRobotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListGameRobotsResponse) GetRobots() []*Robot {
|
|
if x != nil {
|
|
return x.Robots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListGameRobotsResponse) GetNextCursor() string {
|
|
if x != nil {
|
|
return x.NextCursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListGameRobotsResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RegisterGameRobotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
UserIds []int64 `protobuf:"varint,3,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterGameRobotsRequest) Reset() {
|
|
*x = RegisterGameRobotsRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterGameRobotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterGameRobotsRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterGameRobotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterGameRobotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterGameRobotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *RegisterGameRobotsRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterGameRobotsRequest) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterGameRobotsRequest) GetUserIds() []int64 {
|
|
if x != nil {
|
|
return x.UserIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterGameRobotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robots []*Robot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterGameRobotsResponse) Reset() {
|
|
*x = RegisterGameRobotsResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterGameRobotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterGameRobotsResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterGameRobotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterGameRobotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterGameRobotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RegisterGameRobotsResponse) GetRobots() []*Robot {
|
|
if x != nil {
|
|
return x.Robots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterGameRobotsResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PickGameRobotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
MatchId string `protobuf:"bytes,3,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
|
|
SelectedAtMs int64 `protobuf:"varint,4,opt,name=selected_at_ms,json=selectedAtMs,proto3" json:"selected_at_ms,omitempty"`
|
|
ExcludeUserIds []int64 `protobuf:"varint,5,rep,packed,name=exclude_user_ids,json=excludeUserIds,proto3" json:"exclude_user_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) Reset() {
|
|
*x = PickGameRobotRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PickGameRobotRequest) ProtoMessage() {}
|
|
|
|
func (x *PickGameRobotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PickGameRobotRequest.ProtoReflect.Descriptor instead.
|
|
func (*PickGameRobotRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) GetMatchId() string {
|
|
if x != nil {
|
|
return x.MatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) GetSelectedAtMs() int64 {
|
|
if x != nil {
|
|
return x.SelectedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PickGameRobotRequest) GetExcludeUserIds() []int64 {
|
|
if x != nil {
|
|
return x.ExcludeUserIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GameRobotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robot *Robot `protobuf:"bytes,1,opt,name=robot,proto3" json:"robot,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GameRobotResponse) Reset() {
|
|
*x = GameRobotResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GameRobotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GameRobotResponse) ProtoMessage() {}
|
|
|
|
func (x *GameRobotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GameRobotResponse.ProtoReflect.Descriptor instead.
|
|
func (*GameRobotResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GameRobotResponse) GetRobot() *Robot {
|
|
if x != nil {
|
|
return x.Robot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GameRobotResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetGameRobotStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) Reset() {
|
|
*x = SetGameRobotStatusRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetGameRobotStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *SetGameRobotStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetGameRobotStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetGameRobotStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetGameRobotStatusRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteGameRobotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGameRobotRequest) Reset() {
|
|
*x = DeleteGameRobotRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGameRobotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGameRobotRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteGameRobotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGameRobotRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGameRobotRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DeleteGameRobotRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeleteGameRobotRequest) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteGameRobotRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteGameRobotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteGameRobotResponse) Reset() {
|
|
*x = DeleteGameRobotResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteGameRobotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGameRobotResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteGameRobotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGameRobotResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGameRobotResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DeleteGameRobotResponse) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteGameRobotResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListRoomRobotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
RoomScene string `protobuf:"bytes,2,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) Reset() {
|
|
*x = ListRoomRobotsRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRoomRobotsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRoomRobotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRoomRobotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRoomRobotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRoomRobotsRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListRoomRobotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robots []*Robot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
|
|
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRoomRobotsResponse) Reset() {
|
|
*x = ListRoomRobotsResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRoomRobotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRoomRobotsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListRoomRobotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRoomRobotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListRoomRobotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ListRoomRobotsResponse) GetRobots() []*Robot {
|
|
if x != nil {
|
|
return x.Robots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListRoomRobotsResponse) GetNextCursor() string {
|
|
if x != nil {
|
|
return x.NextCursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRoomRobotsResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RegisterRoomRobotsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
RoomScene string `protobuf:"bytes,2,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
UserIds []int64 `protobuf:"varint,3,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsRequest) Reset() {
|
|
*x = RegisterRoomRobotsRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRoomRobotsRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterRoomRobotsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterRoomRobotsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRoomRobotsRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsRequest) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsRequest) GetUserIds() []int64 {
|
|
if x != nil {
|
|
return x.UserIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterRoomRobotsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robots []*Robot `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsResponse) Reset() {
|
|
*x = RegisterRoomRobotsResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRoomRobotsResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterRoomRobotsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterRoomRobotsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRoomRobotsResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsResponse) GetRobots() []*Robot {
|
|
if x != nil {
|
|
return x.Robots
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RegisterRoomRobotsResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetRoomRobotStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
RoomScene string `protobuf:"bytes,2,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) Reset() {
|
|
*x = SetRoomRobotStatusRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRoomRobotStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *SetRoomRobotStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetRoomRobotStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetRoomRobotStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetRoomRobotStatusRequest) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteRoomRobotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
RoomScene string `protobuf:"bytes,2,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRoomRobotRequest) Reset() {
|
|
*x = DeleteRoomRobotRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRoomRobotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRoomRobotRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteRoomRobotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteRoomRobotRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRoomRobotRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *DeleteRoomRobotRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeleteRoomRobotRequest) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteRoomRobotRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteRoomRobotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRoomRobotResponse) Reset() {
|
|
*x = DeleteRoomRobotResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRoomRobotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRoomRobotResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteRoomRobotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteRoomRobotResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRoomRobotResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *DeleteRoomRobotResponse) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteRoomRobotResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PickRoomRobotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
RoomScene string `protobuf:"bytes,2,opt,name=room_scene,json=roomScene,proto3" json:"room_scene,omitempty"`
|
|
RoomId string `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
|
SelectedAtMs int64 `protobuf:"varint,4,opt,name=selected_at_ms,json=selectedAtMs,proto3" json:"selected_at_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) Reset() {
|
|
*x = PickRoomRobotRequest{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PickRoomRobotRequest) ProtoMessage() {}
|
|
|
|
func (x *PickRoomRobotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PickRoomRobotRequest.ProtoReflect.Descriptor instead.
|
|
func (*PickRoomRobotRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) GetMeta() *RequestMeta {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) GetRoomScene() string {
|
|
if x != nil {
|
|
return x.RoomScene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) GetRoomId() string {
|
|
if x != nil {
|
|
return x.RoomId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickRoomRobotRequest) GetSelectedAtMs() int64 {
|
|
if x != nil {
|
|
return x.SelectedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RoomRobotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Robot *Robot `protobuf:"bytes,1,opt,name=robot,proto3" json:"robot,omitempty"`
|
|
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoomRobotResponse) Reset() {
|
|
*x = RoomRobotResponse{}
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoomRobotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoomRobotResponse) ProtoMessage() {}
|
|
|
|
func (x *RoomRobotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_robot_v1_robot_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoomRobotResponse.ProtoReflect.Descriptor instead.
|
|
func (*RoomRobotResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_robot_v1_robot_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *RoomRobotResponse) GetRobot() *Robot {
|
|
if x != nil {
|
|
return x.Robot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RoomRobotResponse) GetServerTimeMs() int64 {
|
|
if x != nil {
|
|
return x.ServerTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_proto_robot_v1_robot_proto protoreflect.FileDescriptor
|
|
|
|
const file_proto_robot_v1_robot_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1aproto/robot/v1/robot.proto\x12\x0ehyapp.robot.v1\"\xa1\x01\n" +
|
|
"\vRequestMeta\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId\x12\x16\n" +
|
|
"\x06caller\x18\x02 \x01(\tR\x06caller\x12\"\n" +
|
|
"\ractor_user_id\x18\x03 \x01(\x03R\vactorUserId\x12\x1c\n" +
|
|
"\n" +
|
|
"sent_at_ms\x18\x04 \x01(\x03R\bsentAtMs\x12\x19\n" +
|
|
"\bapp_code\x18\x05 \x01(\tR\aappCode\"\xe9\x02\n" +
|
|
"\x05Robot\x12\x19\n" +
|
|
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x1f\n" +
|
|
"\vrobot_scope\x18\x02 \x01(\tR\n" +
|
|
"robotScope\x12\x17\n" +
|
|
"\agame_id\x18\x03 \x01(\tR\x06gameId\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x04 \x01(\tR\troomScene\x12\x17\n" +
|
|
"\auser_id\x18\x05 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\x12-\n" +
|
|
"\x13created_by_admin_id\x18\a \x01(\x03R\x10createdByAdminId\x12\"\n" +
|
|
"\rcreated_at_ms\x18\b \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
|
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\x12%\n" +
|
|
"\x0flast_used_at_ms\x18\n" +
|
|
" \x01(\x03R\flastUsedAtMs\x12\x1d\n" +
|
|
"\n" +
|
|
"used_count\x18\v \x01(\x03R\tusedCount\"\xae\x01\n" +
|
|
"\x15ListGameRobotsRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1b\n" +
|
|
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x16\n" +
|
|
"\x06cursor\x18\x05 \x01(\tR\x06cursor\"\x8e\x01\n" +
|
|
"\x16ListGameRobotsResponse\x12-\n" +
|
|
"\x06robots\x18\x01 \x03(\v2\x15.hyapp.robot.v1.RobotR\x06robots\x12\x1f\n" +
|
|
"\vnext_cursor\x18\x02 \x01(\tR\n" +
|
|
"nextCursor\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\x80\x01\n" +
|
|
"\x19RegisterGameRobotsRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x19\n" +
|
|
"\buser_ids\x18\x03 \x03(\x03R\auserIds\"q\n" +
|
|
"\x1aRegisterGameRobotsResponse\x12-\n" +
|
|
"\x06robots\x18\x01 \x03(\v2\x15.hyapp.robot.v1.RobotR\x06robots\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xcb\x01\n" +
|
|
"\x14PickGameRobotRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x19\n" +
|
|
"\bmatch_id\x18\x03 \x01(\tR\amatchId\x12$\n" +
|
|
"\x0eselected_at_ms\x18\x04 \x01(\x03R\fselectedAtMs\x12(\n" +
|
|
"\x10exclude_user_ids\x18\x05 \x03(\x03R\x0eexcludeUserIds\"f\n" +
|
|
"\x11GameRobotResponse\x12+\n" +
|
|
"\x05robot\x18\x01 \x01(\v2\x15.hyapp.robot.v1.RobotR\x05robot\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x96\x01\n" +
|
|
"\x19SetGameRobotStatusRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\"{\n" +
|
|
"\x16DeleteGameRobotRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\x03R\x06userId\"Y\n" +
|
|
"\x17DeleteGameRobotResponse\x12\x18\n" +
|
|
"\adeleted\x18\x01 \x01(\bR\adeleted\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xb4\x01\n" +
|
|
"\x15ListRoomRobotsRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x02 \x01(\tR\troomScene\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1b\n" +
|
|
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x16\n" +
|
|
"\x06cursor\x18\x05 \x01(\tR\x06cursor\"\x8e\x01\n" +
|
|
"\x16ListRoomRobotsResponse\x12-\n" +
|
|
"\x06robots\x18\x01 \x03(\v2\x15.hyapp.robot.v1.RobotR\x06robots\x12\x1f\n" +
|
|
"\vnext_cursor\x18\x02 \x01(\tR\n" +
|
|
"nextCursor\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\x86\x01\n" +
|
|
"\x19RegisterRoomRobotsRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x02 \x01(\tR\troomScene\x12\x19\n" +
|
|
"\buser_ids\x18\x03 \x03(\x03R\auserIds\"q\n" +
|
|
"\x1aRegisterRoomRobotsResponse\x12-\n" +
|
|
"\x06robots\x18\x01 \x03(\v2\x15.hyapp.robot.v1.RobotR\x06robots\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\x9c\x01\n" +
|
|
"\x19SetRoomRobotStatusRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x02 \x01(\tR\troomScene\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\"\x81\x01\n" +
|
|
"\x16DeleteRoomRobotRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x02 \x01(\tR\troomScene\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\x03R\x06userId\"Y\n" +
|
|
"\x17DeleteRoomRobotResponse\x12\x18\n" +
|
|
"\adeleted\x18\x01 \x01(\bR\adeleted\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"\xa5\x01\n" +
|
|
"\x14PickRoomRobotRequest\x12/\n" +
|
|
"\x04meta\x18\x01 \x01(\v2\x1b.hyapp.robot.v1.RequestMetaR\x04meta\x12\x1d\n" +
|
|
"\n" +
|
|
"room_scene\x18\x02 \x01(\tR\troomScene\x12\x17\n" +
|
|
"\aroom_id\x18\x03 \x01(\tR\x06roomId\x12$\n" +
|
|
"\x0eselected_at_ms\x18\x04 \x01(\x03R\fselectedAtMs\"f\n" +
|
|
"\x11RoomRobotResponse\x12+\n" +
|
|
"\x05robot\x18\x01 \x01(\v2\x15.hyapp.robot.v1.RobotR\x05robot\x12$\n" +
|
|
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs2\x82\x04\n" +
|
|
"\x10GameRobotService\x12_\n" +
|
|
"\x0eListGameRobots\x12%.hyapp.robot.v1.ListGameRobotsRequest\x1a&.hyapp.robot.v1.ListGameRobotsResponse\x12k\n" +
|
|
"\x12RegisterGameRobots\x12).hyapp.robot.v1.RegisterGameRobotsRequest\x1a*.hyapp.robot.v1.RegisterGameRobotsResponse\x12X\n" +
|
|
"\rPickGameRobot\x12$.hyapp.robot.v1.PickGameRobotRequest\x1a!.hyapp.robot.v1.GameRobotResponse\x12b\n" +
|
|
"\x12SetGameRobotStatus\x12).hyapp.robot.v1.SetGameRobotStatusRequest\x1a!.hyapp.robot.v1.GameRobotResponse\x12b\n" +
|
|
"\x0fDeleteGameRobot\x12&.hyapp.robot.v1.DeleteGameRobotRequest\x1a'.hyapp.robot.v1.DeleteGameRobotResponse2\x82\x04\n" +
|
|
"\x10RoomRobotService\x12_\n" +
|
|
"\x0eListRoomRobots\x12%.hyapp.robot.v1.ListRoomRobotsRequest\x1a&.hyapp.robot.v1.ListRoomRobotsResponse\x12k\n" +
|
|
"\x12RegisterRoomRobots\x12).hyapp.robot.v1.RegisterRoomRobotsRequest\x1a*.hyapp.robot.v1.RegisterRoomRobotsResponse\x12X\n" +
|
|
"\rPickRoomRobot\x12$.hyapp.robot.v1.PickRoomRobotRequest\x1a!.hyapp.robot.v1.RoomRobotResponse\x12b\n" +
|
|
"\x12SetRoomRobotStatus\x12).hyapp.robot.v1.SetRoomRobotStatusRequest\x1a!.hyapp.robot.v1.RoomRobotResponse\x12b\n" +
|
|
"\x0fDeleteRoomRobot\x12&.hyapp.robot.v1.DeleteRoomRobotRequest\x1a'.hyapp.robot.v1.DeleteRoomRobotResponseB(Z&hyapp.local/api/proto/robot/v1;robotv1b\x06proto3"
|
|
|
|
var (
|
|
file_proto_robot_v1_robot_proto_rawDescOnce sync.Once
|
|
file_proto_robot_v1_robot_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_proto_robot_v1_robot_proto_rawDescGZIP() []byte {
|
|
file_proto_robot_v1_robot_proto_rawDescOnce.Do(func() {
|
|
file_proto_robot_v1_robot_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_robot_v1_robot_proto_rawDesc), len(file_proto_robot_v1_robot_proto_rawDesc)))
|
|
})
|
|
return file_proto_robot_v1_robot_proto_rawDescData
|
|
}
|
|
|
|
var file_proto_robot_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
var file_proto_robot_v1_robot_proto_goTypes = []any{
|
|
(*RequestMeta)(nil), // 0: hyapp.robot.v1.RequestMeta
|
|
(*Robot)(nil), // 1: hyapp.robot.v1.Robot
|
|
(*ListGameRobotsRequest)(nil), // 2: hyapp.robot.v1.ListGameRobotsRequest
|
|
(*ListGameRobotsResponse)(nil), // 3: hyapp.robot.v1.ListGameRobotsResponse
|
|
(*RegisterGameRobotsRequest)(nil), // 4: hyapp.robot.v1.RegisterGameRobotsRequest
|
|
(*RegisterGameRobotsResponse)(nil), // 5: hyapp.robot.v1.RegisterGameRobotsResponse
|
|
(*PickGameRobotRequest)(nil), // 6: hyapp.robot.v1.PickGameRobotRequest
|
|
(*GameRobotResponse)(nil), // 7: hyapp.robot.v1.GameRobotResponse
|
|
(*SetGameRobotStatusRequest)(nil), // 8: hyapp.robot.v1.SetGameRobotStatusRequest
|
|
(*DeleteGameRobotRequest)(nil), // 9: hyapp.robot.v1.DeleteGameRobotRequest
|
|
(*DeleteGameRobotResponse)(nil), // 10: hyapp.robot.v1.DeleteGameRobotResponse
|
|
(*ListRoomRobotsRequest)(nil), // 11: hyapp.robot.v1.ListRoomRobotsRequest
|
|
(*ListRoomRobotsResponse)(nil), // 12: hyapp.robot.v1.ListRoomRobotsResponse
|
|
(*RegisterRoomRobotsRequest)(nil), // 13: hyapp.robot.v1.RegisterRoomRobotsRequest
|
|
(*RegisterRoomRobotsResponse)(nil), // 14: hyapp.robot.v1.RegisterRoomRobotsResponse
|
|
(*SetRoomRobotStatusRequest)(nil), // 15: hyapp.robot.v1.SetRoomRobotStatusRequest
|
|
(*DeleteRoomRobotRequest)(nil), // 16: hyapp.robot.v1.DeleteRoomRobotRequest
|
|
(*DeleteRoomRobotResponse)(nil), // 17: hyapp.robot.v1.DeleteRoomRobotResponse
|
|
(*PickRoomRobotRequest)(nil), // 18: hyapp.robot.v1.PickRoomRobotRequest
|
|
(*RoomRobotResponse)(nil), // 19: hyapp.robot.v1.RoomRobotResponse
|
|
}
|
|
var file_proto_robot_v1_robot_proto_depIdxs = []int32{
|
|
0, // 0: hyapp.robot.v1.ListGameRobotsRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 1: hyapp.robot.v1.ListGameRobotsResponse.robots:type_name -> hyapp.robot.v1.Robot
|
|
0, // 2: hyapp.robot.v1.RegisterGameRobotsRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 3: hyapp.robot.v1.RegisterGameRobotsResponse.robots:type_name -> hyapp.robot.v1.Robot
|
|
0, // 4: hyapp.robot.v1.PickGameRobotRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 5: hyapp.robot.v1.GameRobotResponse.robot:type_name -> hyapp.robot.v1.Robot
|
|
0, // 6: hyapp.robot.v1.SetGameRobotStatusRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
0, // 7: hyapp.robot.v1.DeleteGameRobotRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
0, // 8: hyapp.robot.v1.ListRoomRobotsRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 9: hyapp.robot.v1.ListRoomRobotsResponse.robots:type_name -> hyapp.robot.v1.Robot
|
|
0, // 10: hyapp.robot.v1.RegisterRoomRobotsRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 11: hyapp.robot.v1.RegisterRoomRobotsResponse.robots:type_name -> hyapp.robot.v1.Robot
|
|
0, // 12: hyapp.robot.v1.SetRoomRobotStatusRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
0, // 13: hyapp.robot.v1.DeleteRoomRobotRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
0, // 14: hyapp.robot.v1.PickRoomRobotRequest.meta:type_name -> hyapp.robot.v1.RequestMeta
|
|
1, // 15: hyapp.robot.v1.RoomRobotResponse.robot:type_name -> hyapp.robot.v1.Robot
|
|
2, // 16: hyapp.robot.v1.GameRobotService.ListGameRobots:input_type -> hyapp.robot.v1.ListGameRobotsRequest
|
|
4, // 17: hyapp.robot.v1.GameRobotService.RegisterGameRobots:input_type -> hyapp.robot.v1.RegisterGameRobotsRequest
|
|
6, // 18: hyapp.robot.v1.GameRobotService.PickGameRobot:input_type -> hyapp.robot.v1.PickGameRobotRequest
|
|
8, // 19: hyapp.robot.v1.GameRobotService.SetGameRobotStatus:input_type -> hyapp.robot.v1.SetGameRobotStatusRequest
|
|
9, // 20: hyapp.robot.v1.GameRobotService.DeleteGameRobot:input_type -> hyapp.robot.v1.DeleteGameRobotRequest
|
|
11, // 21: hyapp.robot.v1.RoomRobotService.ListRoomRobots:input_type -> hyapp.robot.v1.ListRoomRobotsRequest
|
|
13, // 22: hyapp.robot.v1.RoomRobotService.RegisterRoomRobots:input_type -> hyapp.robot.v1.RegisterRoomRobotsRequest
|
|
18, // 23: hyapp.robot.v1.RoomRobotService.PickRoomRobot:input_type -> hyapp.robot.v1.PickRoomRobotRequest
|
|
15, // 24: hyapp.robot.v1.RoomRobotService.SetRoomRobotStatus:input_type -> hyapp.robot.v1.SetRoomRobotStatusRequest
|
|
16, // 25: hyapp.robot.v1.RoomRobotService.DeleteRoomRobot:input_type -> hyapp.robot.v1.DeleteRoomRobotRequest
|
|
3, // 26: hyapp.robot.v1.GameRobotService.ListGameRobots:output_type -> hyapp.robot.v1.ListGameRobotsResponse
|
|
5, // 27: hyapp.robot.v1.GameRobotService.RegisterGameRobots:output_type -> hyapp.robot.v1.RegisterGameRobotsResponse
|
|
7, // 28: hyapp.robot.v1.GameRobotService.PickGameRobot:output_type -> hyapp.robot.v1.GameRobotResponse
|
|
7, // 29: hyapp.robot.v1.GameRobotService.SetGameRobotStatus:output_type -> hyapp.robot.v1.GameRobotResponse
|
|
10, // 30: hyapp.robot.v1.GameRobotService.DeleteGameRobot:output_type -> hyapp.robot.v1.DeleteGameRobotResponse
|
|
12, // 31: hyapp.robot.v1.RoomRobotService.ListRoomRobots:output_type -> hyapp.robot.v1.ListRoomRobotsResponse
|
|
14, // 32: hyapp.robot.v1.RoomRobotService.RegisterRoomRobots:output_type -> hyapp.robot.v1.RegisterRoomRobotsResponse
|
|
19, // 33: hyapp.robot.v1.RoomRobotService.PickRoomRobot:output_type -> hyapp.robot.v1.RoomRobotResponse
|
|
19, // 34: hyapp.robot.v1.RoomRobotService.SetRoomRobotStatus:output_type -> hyapp.robot.v1.RoomRobotResponse
|
|
17, // 35: hyapp.robot.v1.RoomRobotService.DeleteRoomRobot:output_type -> hyapp.robot.v1.DeleteRoomRobotResponse
|
|
26, // [26:36] is the sub-list for method output_type
|
|
16, // [16:26] is the sub-list for method input_type
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
0, // [0:16] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_proto_robot_v1_robot_proto_init() }
|
|
func file_proto_robot_v1_robot_proto_init() {
|
|
if File_proto_robot_v1_robot_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_robot_v1_robot_proto_rawDesc), len(file_proto_robot_v1_robot_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 20,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_proto_robot_v1_robot_proto_goTypes,
|
|
DependencyIndexes: file_proto_robot_v1_robot_proto_depIdxs,
|
|
MessageInfos: file_proto_robot_v1_robot_proto_msgTypes,
|
|
}.Build()
|
|
File_proto_robot_v1_robot_proto = out.File
|
|
file_proto_robot_v1_robot_proto_goTypes = nil
|
|
file_proto_robot_v1_robot_proto_depIdxs = nil
|
|
}
|