Documentation
¶
Index ¶
- Variables
- type AddBotRequest
- func (*AddBotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddBotRequest) GetGuildId() uint64
- func (x *AddBotRequest) GetInviteCode() string
- func (m *AddBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddBotRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddBotRequest) MarshalVT() (dAtA []byte, err error)
- func (*AddBotRequest) ProtoMessage()
- func (x *AddBotRequest) ProtoReflect() protoreflect.Message
- func (x *AddBotRequest) Reset()
- func (m *AddBotRequest) SizeVT() (n int)
- func (x *AddBotRequest) String() string
- func (m *AddBotRequest) UnmarshalVT(dAtA []byte) error
- type AddBotResponse
- func (*AddBotResponse) Descriptor() ([]byte, []int)deprecated
- func (m *AddBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddBotResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddBotResponse) MarshalVT() (dAtA []byte, err error)
- func (*AddBotResponse) ProtoMessage()
- func (x *AddBotResponse) ProtoReflect() protoreflect.Message
- func (x *AddBotResponse) Reset()
- func (m *AddBotResponse) SizeVT() (n int)
- func (x *AddBotResponse) String() string
- func (m *AddBotResponse) UnmarshalVT(dAtA []byte) error
- type Bot
- func (*Bot) Descriptor() ([]byte, []int)deprecated
- func (x *Bot) GetAvatarUrl() string
- func (x *Bot) GetBotId() uint64
- func (x *Bot) GetDisplayName() string
- func (x *Bot) GetInvite() string
- func (m *Bot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Bot) MarshalToVT(dAtA []byte) (int, error)
- func (m *Bot) MarshalVT() (dAtA []byte, err error)
- func (*Bot) ProtoMessage()
- func (x *Bot) ProtoReflect() protoreflect.Message
- func (x *Bot) Reset()
- func (m *Bot) SizeVT() (n int)
- func (x *Bot) String() string
- func (m *Bot) UnmarshalVT(dAtA []byte) error
- type BotsService
- type BotsServiceHandler
- type CreateBotRequest
- func (*CreateBotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBotRequest) GetAvatarUrl() string
- func (x *CreateBotRequest) GetDisplayName() string
- func (x *CreateBotRequest) GetInvite() string
- func (m *CreateBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateBotRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateBotRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateBotRequest) ProtoMessage()
- func (x *CreateBotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBotRequest) Reset()
- func (m *CreateBotRequest) SizeVT() (n int)
- func (x *CreateBotRequest) String() string
- func (m *CreateBotRequest) UnmarshalVT(dAtA []byte) error
- type CreateBotResponse
- func (*CreateBotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBotResponse) GetBotId() uint64
- func (m *CreateBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateBotResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateBotResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateBotResponse) ProtoMessage()
- func (x *CreateBotResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBotResponse) Reset()
- func (m *CreateBotResponse) SizeVT() (n int)
- func (x *CreateBotResponse) String() string
- func (m *CreateBotResponse) UnmarshalVT(dAtA []byte) error
- type DeleteBotRequest
- func (*DeleteBotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBotRequest) GetBotId() uint64
- func (m *DeleteBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteBotRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteBotRequest) MarshalVT() (dAtA []byte, err error)
- func (*DeleteBotRequest) ProtoMessage()
- func (x *DeleteBotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBotRequest) Reset()
- func (m *DeleteBotRequest) SizeVT() (n int)
- func (x *DeleteBotRequest) String() string
- func (m *DeleteBotRequest) UnmarshalVT(dAtA []byte) error
- type DeleteBotResponse
- func (*DeleteBotResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DeleteBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteBotResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteBotResponse) MarshalVT() (dAtA []byte, err error)
- func (*DeleteBotResponse) ProtoMessage()
- func (x *DeleteBotResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBotResponse) Reset()
- func (m *DeleteBotResponse) SizeVT() (n int)
- func (x *DeleteBotResponse) String() string
- func (m *DeleteBotResponse) UnmarshalVT(dAtA []byte) error
- type EditBotRequest
- func (*EditBotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditBotRequest) GetBotId() uint64
- func (x *EditBotRequest) GetInvite() string
- func (x *EditBotRequest) GetNewAvatarUrl() string
- func (x *EditBotRequest) GetNewDisplayName() string
- func (m *EditBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EditBotRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *EditBotRequest) MarshalVT() (dAtA []byte, err error)
- func (*EditBotRequest) ProtoMessage()
- func (x *EditBotRequest) ProtoReflect() protoreflect.Message
- func (x *EditBotRequest) Reset()
- func (m *EditBotRequest) SizeVT() (n int)
- func (x *EditBotRequest) String() string
- func (m *EditBotRequest) UnmarshalVT(dAtA []byte) error
- type EditBotResponse
- func (*EditBotResponse) Descriptor() ([]byte, []int)deprecated
- func (m *EditBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EditBotResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *EditBotResponse) MarshalVT() (dAtA []byte, err error)
- func (*EditBotResponse) ProtoMessage()
- func (x *EditBotResponse) ProtoReflect() protoreflect.Message
- func (x *EditBotResponse) Reset()
- func (m *EditBotResponse) SizeVT() (n int)
- func (x *EditBotResponse) String() string
- func (m *EditBotResponse) UnmarshalVT(dAtA []byte) error
- type GetBotRequest
- func (*GetBotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBotRequest) GetBotId() uint64
- func (m *GetBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBotRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBotRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetBotRequest) ProtoMessage()
- func (x *GetBotRequest) ProtoReflect() protoreflect.Message
- func (x *GetBotRequest) Reset()
- func (m *GetBotRequest) SizeVT() (n int)
- func (x *GetBotRequest) String() string
- func (m *GetBotRequest) UnmarshalVT(dAtA []byte) error
- type GetBotResponse
- func (*GetBotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBotResponse) GetBot() *Bot
- func (m *GetBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetBotResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetBotResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetBotResponse) ProtoMessage()
- func (x *GetBotResponse) ProtoReflect() protoreflect.Message
- func (x *GetBotResponse) Reset()
- func (m *GetBotResponse) SizeVT() (n int)
- func (x *GetBotResponse) String() string
- func (m *GetBotResponse) UnmarshalVT(dAtA []byte) error
- type MyBotsRequest
- func (*MyBotsRequest) Descriptor() ([]byte, []int)deprecated
- func (m *MyBotsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MyBotsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *MyBotsRequest) MarshalVT() (dAtA []byte, err error)
- func (*MyBotsRequest) ProtoMessage()
- func (x *MyBotsRequest) ProtoReflect() protoreflect.Message
- func (x *MyBotsRequest) Reset()
- func (m *MyBotsRequest) SizeVT() (n int)
- func (x *MyBotsRequest) String() string
- func (m *MyBotsRequest) UnmarshalVT(dAtA []byte) error
- type MyBotsResponse
- func (*MyBotsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MyBotsResponse) GetBots() []*Bot
- func (m *MyBotsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MyBotsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *MyBotsResponse) MarshalVT() (dAtA []byte, err error)
- func (*MyBotsResponse) ProtoMessage()
- func (x *MyBotsResponse) ProtoReflect() protoreflect.Message
- func (x *MyBotsResponse) Reset()
- func (m *MyBotsResponse) SizeVT() (n int)
- func (x *MyBotsResponse) String() string
- func (m *MyBotsResponse) UnmarshalVT(dAtA []byte) error
- type PoliciesRequest
- func (*PoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *PoliciesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PoliciesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PoliciesRequest) MarshalVT() (dAtA []byte, err error)
- func (*PoliciesRequest) ProtoMessage()
- func (x *PoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *PoliciesRequest) Reset()
- func (m *PoliciesRequest) SizeVT() (n int)
- func (x *PoliciesRequest) String() string
- func (m *PoliciesRequest) UnmarshalVT(dAtA []byte) error
- type PoliciesResponse
- func (*PoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PoliciesResponse) GetMaxBots() uint32
- func (m *PoliciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PoliciesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PoliciesResponse) MarshalVT() (dAtA []byte, err error)
- func (*PoliciesResponse) ProtoMessage()
- func (x *PoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *PoliciesResponse) Reset()
- func (m *PoliciesResponse) SizeVT() (n int)
- func (x *PoliciesResponse) String() string
- func (m *PoliciesResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_bots_v1_bots_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddBotRequest ¶
type AddBotRequest struct { // The guild to add the bot to. GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` // The bot's invite code. InviteCode string `protobuf:"bytes,2,opt,name=invite_code,json=inviteCode,proto3" json:"invite_code,omitempty"` // contains filtered or unexported fields }
Request type for AddBot.
func (*AddBotRequest) Descriptor
deprecated
func (*AddBotRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddBotRequest.ProtoReflect.Descriptor instead.
func (*AddBotRequest) GetGuildId ¶
func (x *AddBotRequest) GetGuildId() uint64
func (*AddBotRequest) GetInviteCode ¶
func (x *AddBotRequest) GetInviteCode() string
func (*AddBotRequest) MarshalToSizedBufferVT ¶
func (m *AddBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddBotRequest) MarshalToVT ¶
func (m *AddBotRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AddBotRequest) MarshalVT ¶
func (m *AddBotRequest) MarshalVT() (dAtA []byte, err error)
func (*AddBotRequest) ProtoMessage ¶
func (*AddBotRequest) ProtoMessage()
func (*AddBotRequest) ProtoReflect ¶
func (x *AddBotRequest) ProtoReflect() protoreflect.Message
func (*AddBotRequest) Reset ¶
func (x *AddBotRequest) Reset()
func (*AddBotRequest) SizeVT ¶
func (m *AddBotRequest) SizeVT() (n int)
func (*AddBotRequest) String ¶
func (x *AddBotRequest) String() string
func (*AddBotRequest) UnmarshalVT ¶
func (m *AddBotRequest) UnmarshalVT(dAtA []byte) error
type AddBotResponse ¶
type AddBotResponse struct {
// contains filtered or unexported fields
}
Response type for AddBot.
func (*AddBotResponse) Descriptor
deprecated
func (*AddBotResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddBotResponse.ProtoReflect.Descriptor instead.
func (*AddBotResponse) MarshalToSizedBufferVT ¶
func (m *AddBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddBotResponse) MarshalToVT ¶
func (m *AddBotResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AddBotResponse) MarshalVT ¶
func (m *AddBotResponse) MarshalVT() (dAtA []byte, err error)
func (*AddBotResponse) ProtoMessage ¶
func (*AddBotResponse) ProtoMessage()
func (*AddBotResponse) ProtoReflect ¶
func (x *AddBotResponse) ProtoReflect() protoreflect.Message
func (*AddBotResponse) Reset ¶
func (x *AddBotResponse) Reset()
func (*AddBotResponse) SizeVT ¶
func (m *AddBotResponse) SizeVT() (n int)
func (*AddBotResponse) String ¶
func (x *AddBotResponse) String() string
func (*AddBotResponse) UnmarshalVT ¶
func (m *AddBotResponse) UnmarshalVT(dAtA []byte) error
type Bot ¶
type Bot struct { // The ID of the bot. BotId uint64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // The bot's display name. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The bot's avatar. This must be a HMC that points to an image. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // The bot's invite code, if it has one. Invite *string `protobuf:"bytes,4,opt,name=invite,proto3,oneof" json:"invite,omitempty"` // contains filtered or unexported fields }
A description of a bot account.
func (*Bot) Descriptor
deprecated
func (*Bot) GetAvatarUrl ¶
func (*Bot) GetDisplayName ¶
func (*Bot) ProtoMessage ¶
func (*Bot) ProtoMessage()
func (*Bot) ProtoReflect ¶
func (x *Bot) ProtoReflect() protoreflect.Message
func (*Bot) UnmarshalVT ¶
type BotsService ¶
type BotsService[T context.Context] interface { MyBots(T, *MyBotsRequest) (*MyBotsResponse, error) GetBot(T, *GetBotRequest) (*GetBotResponse, error) CreateBot(T, *CreateBotRequest) (*CreateBotResponse, error) EditBot(T, *EditBotRequest) (*EditBotResponse, error) DeleteBot(T, *DeleteBotRequest) (*DeleteBotResponse, error) Policies(T, *PoliciesRequest) (*PoliciesResponse, error) AddBot(T, *AddBotRequest) (*AddBotResponse, error) }
type BotsServiceHandler ¶
type BotsServiceHandler[T context.Context] struct { Impl BotsService[T] }
func (*BotsServiceHandler[T]) Routes ¶
func (h *BotsServiceHandler[T]) Routes() map[string]goserver.UnaryMethodData[T]
func (*BotsServiceHandler[T]) StreamRoutes ¶
func (h *BotsServiceHandler[T]) StreamRoutes() map[string]goserver.StreamMethodData[T]
type CreateBotRequest ¶
type CreateBotRequest struct { // The bot's display name. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The bot's avatar. This must be a HMC that points to an image. AvatarUrl *string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` // The bot's invite code, if it has one. Invite *string `protobuf:"bytes,3,opt,name=invite,proto3,oneof" json:"invite,omitempty"` // contains filtered or unexported fields }
Request type for CreateBot.
func (*CreateBotRequest) Descriptor
deprecated
func (*CreateBotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBotRequest.ProtoReflect.Descriptor instead.
func (*CreateBotRequest) GetAvatarUrl ¶
func (x *CreateBotRequest) GetAvatarUrl() string
func (*CreateBotRequest) GetDisplayName ¶
func (x *CreateBotRequest) GetDisplayName() string
func (*CreateBotRequest) GetInvite ¶
func (x *CreateBotRequest) GetInvite() string
func (*CreateBotRequest) MarshalToSizedBufferVT ¶
func (m *CreateBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateBotRequest) MarshalToVT ¶
func (m *CreateBotRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateBotRequest) MarshalVT ¶
func (m *CreateBotRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateBotRequest) ProtoMessage ¶
func (*CreateBotRequest) ProtoMessage()
func (*CreateBotRequest) ProtoReflect ¶
func (x *CreateBotRequest) ProtoReflect() protoreflect.Message
func (*CreateBotRequest) Reset ¶
func (x *CreateBotRequest) Reset()
func (*CreateBotRequest) SizeVT ¶
func (m *CreateBotRequest) SizeVT() (n int)
func (*CreateBotRequest) String ¶
func (x *CreateBotRequest) String() string
func (*CreateBotRequest) UnmarshalVT ¶
func (m *CreateBotRequest) UnmarshalVT(dAtA []byte) error
type CreateBotResponse ¶
type CreateBotResponse struct { // The newly generated ID of the bot. BotId uint64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // contains filtered or unexported fields }
Response type for CreateBot.
func (*CreateBotResponse) Descriptor
deprecated
func (*CreateBotResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBotResponse.ProtoReflect.Descriptor instead.
func (*CreateBotResponse) GetBotId ¶
func (x *CreateBotResponse) GetBotId() uint64
func (*CreateBotResponse) MarshalToSizedBufferVT ¶
func (m *CreateBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateBotResponse) MarshalToVT ¶
func (m *CreateBotResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateBotResponse) MarshalVT ¶
func (m *CreateBotResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateBotResponse) ProtoMessage ¶
func (*CreateBotResponse) ProtoMessage()
func (*CreateBotResponse) ProtoReflect ¶
func (x *CreateBotResponse) ProtoReflect() protoreflect.Message
func (*CreateBotResponse) Reset ¶
func (x *CreateBotResponse) Reset()
func (*CreateBotResponse) SizeVT ¶
func (m *CreateBotResponse) SizeVT() (n int)
func (*CreateBotResponse) String ¶
func (x *CreateBotResponse) String() string
func (*CreateBotResponse) UnmarshalVT ¶
func (m *CreateBotResponse) UnmarshalVT(dAtA []byte) error
type DeleteBotRequest ¶
type DeleteBotRequest struct { // The ID of the bot to delete. BotId uint64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // contains filtered or unexported fields }
Request type for DeleteBot.
func (*DeleteBotRequest) Descriptor
deprecated
func (*DeleteBotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBotRequest.ProtoReflect.Descriptor instead.
func (*DeleteBotRequest) GetBotId ¶
func (x *DeleteBotRequest) GetBotId() uint64
func (*DeleteBotRequest) MarshalToSizedBufferVT ¶
func (m *DeleteBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteBotRequest) MarshalToVT ¶
func (m *DeleteBotRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteBotRequest) MarshalVT ¶
func (m *DeleteBotRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteBotRequest) ProtoMessage ¶
func (*DeleteBotRequest) ProtoMessage()
func (*DeleteBotRequest) ProtoReflect ¶
func (x *DeleteBotRequest) ProtoReflect() protoreflect.Message
func (*DeleteBotRequest) Reset ¶
func (x *DeleteBotRequest) Reset()
func (*DeleteBotRequest) SizeVT ¶
func (m *DeleteBotRequest) SizeVT() (n int)
func (*DeleteBotRequest) String ¶
func (x *DeleteBotRequest) String() string
func (*DeleteBotRequest) UnmarshalVT ¶
func (m *DeleteBotRequest) UnmarshalVT(dAtA []byte) error
type DeleteBotResponse ¶
type DeleteBotResponse struct {
// contains filtered or unexported fields
}
Response type for DeleteBot.
func (*DeleteBotResponse) Descriptor
deprecated
func (*DeleteBotResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBotResponse.ProtoReflect.Descriptor instead.
func (*DeleteBotResponse) MarshalToSizedBufferVT ¶
func (m *DeleteBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteBotResponse) MarshalToVT ¶
func (m *DeleteBotResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteBotResponse) MarshalVT ¶
func (m *DeleteBotResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteBotResponse) ProtoMessage ¶
func (*DeleteBotResponse) ProtoMessage()
func (*DeleteBotResponse) ProtoReflect ¶
func (x *DeleteBotResponse) ProtoReflect() protoreflect.Message
func (*DeleteBotResponse) Reset ¶
func (x *DeleteBotResponse) Reset()
func (*DeleteBotResponse) SizeVT ¶
func (m *DeleteBotResponse) SizeVT() (n int)
func (*DeleteBotResponse) String ¶
func (x *DeleteBotResponse) String() string
func (*DeleteBotResponse) UnmarshalVT ¶
func (m *DeleteBotResponse) UnmarshalVT(dAtA []byte) error
type EditBotRequest ¶
type EditBotRequest struct { // The ID of the bot to edit. BotId uint64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // The bot's new display name. NewDisplayName *string `protobuf:"bytes,2,opt,name=new_display_name,json=newDisplayName,proto3,oneof" json:"new_display_name,omitempty"` // The bot's new avatar. If provided, it must be a HMC // that points to an image. NewAvatarUrl *string `protobuf:"bytes,3,opt,name=new_avatar_url,json=newAvatarUrl,proto3,oneof" json:"new_avatar_url,omitempty"` // The bot's new invite code. Invite *string `protobuf:"bytes,4,opt,name=invite,proto3,oneof" json:"invite,omitempty"` // contains filtered or unexported fields }
Request type for EditBot.
func (*EditBotRequest) Descriptor
deprecated
func (*EditBotRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditBotRequest.ProtoReflect.Descriptor instead.
func (*EditBotRequest) GetBotId ¶
func (x *EditBotRequest) GetBotId() uint64
func (*EditBotRequest) GetInvite ¶
func (x *EditBotRequest) GetInvite() string
func (*EditBotRequest) GetNewAvatarUrl ¶
func (x *EditBotRequest) GetNewAvatarUrl() string
func (*EditBotRequest) GetNewDisplayName ¶
func (x *EditBotRequest) GetNewDisplayName() string
func (*EditBotRequest) MarshalToSizedBufferVT ¶
func (m *EditBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EditBotRequest) MarshalToVT ¶
func (m *EditBotRequest) MarshalToVT(dAtA []byte) (int, error)
func (*EditBotRequest) MarshalVT ¶
func (m *EditBotRequest) MarshalVT() (dAtA []byte, err error)
func (*EditBotRequest) ProtoMessage ¶
func (*EditBotRequest) ProtoMessage()
func (*EditBotRequest) ProtoReflect ¶
func (x *EditBotRequest) ProtoReflect() protoreflect.Message
func (*EditBotRequest) Reset ¶
func (x *EditBotRequest) Reset()
func (*EditBotRequest) SizeVT ¶
func (m *EditBotRequest) SizeVT() (n int)
func (*EditBotRequest) String ¶
func (x *EditBotRequest) String() string
func (*EditBotRequest) UnmarshalVT ¶
func (m *EditBotRequest) UnmarshalVT(dAtA []byte) error
type EditBotResponse ¶
type EditBotResponse struct {
// contains filtered or unexported fields
}
Response type for EditBot.
func (*EditBotResponse) Descriptor
deprecated
func (*EditBotResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditBotResponse.ProtoReflect.Descriptor instead.
func (*EditBotResponse) MarshalToSizedBufferVT ¶
func (m *EditBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EditBotResponse) MarshalToVT ¶
func (m *EditBotResponse) MarshalToVT(dAtA []byte) (int, error)
func (*EditBotResponse) MarshalVT ¶
func (m *EditBotResponse) MarshalVT() (dAtA []byte, err error)
func (*EditBotResponse) ProtoMessage ¶
func (*EditBotResponse) ProtoMessage()
func (*EditBotResponse) ProtoReflect ¶
func (x *EditBotResponse) ProtoReflect() protoreflect.Message
func (*EditBotResponse) Reset ¶
func (x *EditBotResponse) Reset()
func (*EditBotResponse) SizeVT ¶
func (m *EditBotResponse) SizeVT() (n int)
func (*EditBotResponse) String ¶
func (x *EditBotResponse) String() string
func (*EditBotResponse) UnmarshalVT ¶
func (m *EditBotResponse) UnmarshalVT(dAtA []byte) error
type GetBotRequest ¶
type GetBotRequest struct { // The ID of the bot to get the information of. BotId uint64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // contains filtered or unexported fields }
Request type for GetBot.
func (*GetBotRequest) Descriptor
deprecated
func (*GetBotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBotRequest.ProtoReflect.Descriptor instead.
func (*GetBotRequest) GetBotId ¶
func (x *GetBotRequest) GetBotId() uint64
func (*GetBotRequest) MarshalToSizedBufferVT ¶
func (m *GetBotRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBotRequest) MarshalToVT ¶
func (m *GetBotRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetBotRequest) MarshalVT ¶
func (m *GetBotRequest) MarshalVT() (dAtA []byte, err error)
func (*GetBotRequest) ProtoMessage ¶
func (*GetBotRequest) ProtoMessage()
func (*GetBotRequest) ProtoReflect ¶
func (x *GetBotRequest) ProtoReflect() protoreflect.Message
func (*GetBotRequest) Reset ¶
func (x *GetBotRequest) Reset()
func (*GetBotRequest) SizeVT ¶
func (m *GetBotRequest) SizeVT() (n int)
func (*GetBotRequest) String ¶
func (x *GetBotRequest) String() string
func (*GetBotRequest) UnmarshalVT ¶
func (m *GetBotRequest) UnmarshalVT(dAtA []byte) error
type GetBotResponse ¶
type GetBotResponse struct { // The requested bot. Bot *Bot `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"` // contains filtered or unexported fields }
Response type for GetBot.
func (*GetBotResponse) Descriptor
deprecated
func (*GetBotResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBotResponse.ProtoReflect.Descriptor instead.
func (*GetBotResponse) GetBot ¶
func (x *GetBotResponse) GetBot() *Bot
func (*GetBotResponse) MarshalToSizedBufferVT ¶
func (m *GetBotResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetBotResponse) MarshalToVT ¶
func (m *GetBotResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetBotResponse) MarshalVT ¶
func (m *GetBotResponse) MarshalVT() (dAtA []byte, err error)
func (*GetBotResponse) ProtoMessage ¶
func (*GetBotResponse) ProtoMessage()
func (*GetBotResponse) ProtoReflect ¶
func (x *GetBotResponse) ProtoReflect() protoreflect.Message
func (*GetBotResponse) Reset ¶
func (x *GetBotResponse) Reset()
func (*GetBotResponse) SizeVT ¶
func (m *GetBotResponse) SizeVT() (n int)
func (*GetBotResponse) String ¶
func (x *GetBotResponse) String() string
func (*GetBotResponse) UnmarshalVT ¶
func (m *GetBotResponse) UnmarshalVT(dAtA []byte) error
type MyBotsRequest ¶
type MyBotsRequest struct {
// contains filtered or unexported fields
}
Request type for MyBots.
func (*MyBotsRequest) Descriptor
deprecated
func (*MyBotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MyBotsRequest.ProtoReflect.Descriptor instead.
func (*MyBotsRequest) MarshalToSizedBufferVT ¶
func (m *MyBotsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MyBotsRequest) MarshalToVT ¶
func (m *MyBotsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*MyBotsRequest) MarshalVT ¶
func (m *MyBotsRequest) MarshalVT() (dAtA []byte, err error)
func (*MyBotsRequest) ProtoMessage ¶
func (*MyBotsRequest) ProtoMessage()
func (*MyBotsRequest) ProtoReflect ¶
func (x *MyBotsRequest) ProtoReflect() protoreflect.Message
func (*MyBotsRequest) Reset ¶
func (x *MyBotsRequest) Reset()
func (*MyBotsRequest) SizeVT ¶
func (m *MyBotsRequest) SizeVT() (n int)
func (*MyBotsRequest) String ¶
func (x *MyBotsRequest) String() string
func (*MyBotsRequest) UnmarshalVT ¶
func (m *MyBotsRequest) UnmarshalVT(dAtA []byte) error
type MyBotsResponse ¶
type MyBotsResponse struct { // The list of owned bots. Bots []*Bot `protobuf:"bytes,1,rep,name=bots,proto3" json:"bots,omitempty"` // contains filtered or unexported fields }
Response type for MyBots.
func (*MyBotsResponse) Descriptor
deprecated
func (*MyBotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MyBotsResponse.ProtoReflect.Descriptor instead.
func (*MyBotsResponse) GetBots ¶
func (x *MyBotsResponse) GetBots() []*Bot
func (*MyBotsResponse) MarshalToSizedBufferVT ¶
func (m *MyBotsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MyBotsResponse) MarshalToVT ¶
func (m *MyBotsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*MyBotsResponse) MarshalVT ¶
func (m *MyBotsResponse) MarshalVT() (dAtA []byte, err error)
func (*MyBotsResponse) ProtoMessage ¶
func (*MyBotsResponse) ProtoMessage()
func (*MyBotsResponse) ProtoReflect ¶
func (x *MyBotsResponse) ProtoReflect() protoreflect.Message
func (*MyBotsResponse) Reset ¶
func (x *MyBotsResponse) Reset()
func (*MyBotsResponse) SizeVT ¶
func (m *MyBotsResponse) SizeVT() (n int)
func (*MyBotsResponse) String ¶
func (x *MyBotsResponse) String() string
func (*MyBotsResponse) UnmarshalVT ¶
func (m *MyBotsResponse) UnmarshalVT(dAtA []byte) error
type PoliciesRequest ¶
type PoliciesRequest struct {
// contains filtered or unexported fields
}
Request type for Policies.
func (*PoliciesRequest) Descriptor
deprecated
func (*PoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PoliciesRequest.ProtoReflect.Descriptor instead.
func (*PoliciesRequest) MarshalToSizedBufferVT ¶
func (m *PoliciesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PoliciesRequest) MarshalToVT ¶
func (m *PoliciesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PoliciesRequest) MarshalVT ¶
func (m *PoliciesRequest) MarshalVT() (dAtA []byte, err error)
func (*PoliciesRequest) ProtoMessage ¶
func (*PoliciesRequest) ProtoMessage()
func (*PoliciesRequest) ProtoReflect ¶
func (x *PoliciesRequest) ProtoReflect() protoreflect.Message
func (*PoliciesRequest) Reset ¶
func (x *PoliciesRequest) Reset()
func (*PoliciesRequest) SizeVT ¶
func (m *PoliciesRequest) SizeVT() (n int)
func (*PoliciesRequest) String ¶
func (x *PoliciesRequest) String() string
func (*PoliciesRequest) UnmarshalVT ¶
func (m *PoliciesRequest) UnmarshalVT(dAtA []byte) error
type PoliciesResponse ¶
type PoliciesResponse struct { // How many bots an individual account is allowed to own. MaxBots uint32 `protobuf:"varint,1,opt,name=max_bots,json=maxBots,proto3" json:"max_bots,omitempty"` // contains filtered or unexported fields }
Response type for Policies.
func (*PoliciesResponse) Descriptor
deprecated
func (*PoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PoliciesResponse.ProtoReflect.Descriptor instead.
func (*PoliciesResponse) GetMaxBots ¶
func (x *PoliciesResponse) GetMaxBots() uint32
func (*PoliciesResponse) MarshalToSizedBufferVT ¶
func (m *PoliciesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PoliciesResponse) MarshalToVT ¶
func (m *PoliciesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PoliciesResponse) MarshalVT ¶
func (m *PoliciesResponse) MarshalVT() (dAtA []byte, err error)
func (*PoliciesResponse) ProtoMessage ¶
func (*PoliciesResponse) ProtoMessage()
func (*PoliciesResponse) ProtoReflect ¶
func (x *PoliciesResponse) ProtoReflect() protoreflect.Message
func (*PoliciesResponse) Reset ¶
func (x *PoliciesResponse) Reset()
func (*PoliciesResponse) SizeVT ¶
func (m *PoliciesResponse) SizeVT() (n int)
func (*PoliciesResponse) String ¶
func (x *PoliciesResponse) String() string
func (*PoliciesResponse) UnmarshalVT ¶
func (m *PoliciesResponse) UnmarshalVT(dAtA []byte) error