mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-23 00:01:37 +00:00
4358 lines
138 KiB
Go
4358 lines
138 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.23.0
|
|
// protoc v3.17.3
|
|
// source: chat/v1/guilds.proto
|
|
|
|
package chatv1
|
|
|
|
import (
|
|
proto "github.com/golang/protobuf/proto"
|
|
v1 "github.com/harmony-development/shibshib/gen/harmonytypes/v1"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
// of the legacy proto package is being used.
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
// A reason for why a user has left a guild.
|
|
type LeaveReason int32
|
|
|
|
const (
|
|
// The user left the guild willingly.
|
|
LeaveReason_LEAVE_REASON_WILLINGLY_UNSPECIFIED LeaveReason = 0
|
|
// The user was banned from the guild.
|
|
LeaveReason_LEAVE_REASON_BANNED LeaveReason = 1
|
|
// The user was kicked from the guild.
|
|
LeaveReason_LEAVE_REASON_KICKED LeaveReason = 2
|
|
)
|
|
|
|
// Enum value maps for LeaveReason.
|
|
var (
|
|
LeaveReason_name = map[int32]string{
|
|
0: "LEAVE_REASON_WILLINGLY_UNSPECIFIED",
|
|
1: "LEAVE_REASON_BANNED",
|
|
2: "LEAVE_REASON_KICKED",
|
|
}
|
|
LeaveReason_value = map[string]int32{
|
|
"LEAVE_REASON_WILLINGLY_UNSPECIFIED": 0,
|
|
"LEAVE_REASON_BANNED": 1,
|
|
"LEAVE_REASON_KICKED": 2,
|
|
}
|
|
)
|
|
|
|
func (x LeaveReason) Enum() *LeaveReason {
|
|
p := new(LeaveReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x LeaveReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (LeaveReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_chat_v1_guilds_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (LeaveReason) Type() protoreflect.EnumType {
|
|
return &file_chat_v1_guilds_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x LeaveReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaveReason.Descriptor instead.
|
|
func (LeaveReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// The kind of a guild.
|
|
type GuildKind struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The kind. If this is empty, assume it is `Normal`.
|
|
//
|
|
// Types that are assignable to Kind:
|
|
// *GuildKind_Normal_
|
|
// *GuildKind_Room_
|
|
// *GuildKind_DirectMessage_
|
|
Kind isGuildKind_Kind `protobuf_oneof:"kind"`
|
|
}
|
|
|
|
func (x *GuildKind) Reset() {
|
|
*x = GuildKind{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildKind) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildKind) ProtoMessage() {}
|
|
|
|
func (x *GuildKind) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildKind.ProtoReflect.Descriptor instead.
|
|
func (*GuildKind) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (m *GuildKind) GetKind() isGuildKind_Kind {
|
|
if m != nil {
|
|
return m.Kind
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GuildKind) GetNormal() *GuildKind_Normal {
|
|
if x, ok := x.GetKind().(*GuildKind_Normal_); ok {
|
|
return x.Normal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GuildKind) GetRoom() *GuildKind_Room {
|
|
if x, ok := x.GetKind().(*GuildKind_Room_); ok {
|
|
return x.Room
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GuildKind) GetDirectMessage() *GuildKind_DirectMessage {
|
|
if x, ok := x.GetKind().(*GuildKind_DirectMessage_); ok {
|
|
return x.DirectMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGuildKind_Kind interface {
|
|
isGuildKind_Kind()
|
|
}
|
|
|
|
type GuildKind_Normal_ struct {
|
|
// A "normal" guild.
|
|
Normal *GuildKind_Normal `protobuf:"bytes,1,opt,name=normal,proto3,oneof"`
|
|
}
|
|
|
|
type GuildKind_Room_ struct {
|
|
// A "room" guild.
|
|
Room *GuildKind_Room `protobuf:"bytes,2,opt,name=room,proto3,oneof"`
|
|
}
|
|
|
|
type GuildKind_DirectMessage_ struct {
|
|
// A "direct message" guild.
|
|
DirectMessage *GuildKind_DirectMessage `protobuf:"bytes,3,opt,name=direct_message,json=directMessage,proto3,oneof"`
|
|
}
|
|
|
|
func (*GuildKind_Normal_) isGuildKind_Kind() {}
|
|
|
|
func (*GuildKind_Room_) isGuildKind_Kind() {}
|
|
|
|
func (*GuildKind_DirectMessage_) isGuildKind_Kind() {}
|
|
|
|
// Object representing a guild without the ID part.
|
|
type Guild struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The name of the guild.
|
|
//
|
|
// This will be empty if the guild kind is "direct message". See
|
|
// the documentation of "direct message" guild kind on how to display
|
|
// a name for those guilds.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The picture HMC of the guild.
|
|
Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
|
|
// User ID of the owners of the guild.
|
|
OwnerIds []uint64 `protobuf:"varint,3,rep,packed,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
|
|
// The kind of this guild.
|
|
Kind *GuildKind `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
// Metadata of the guild.
|
|
Metadata *v1.Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Guild) Reset() {
|
|
*x = Guild{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Guild) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Guild) ProtoMessage() {}
|
|
|
|
func (x *Guild) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Guild.ProtoReflect.Descriptor instead.
|
|
func (*Guild) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Guild) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Guild) GetPicture() string {
|
|
if x != nil && x.Picture != nil {
|
|
return *x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Guild) GetOwnerIds() []uint64 {
|
|
if x != nil {
|
|
return x.OwnerIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Guild) GetKind() *GuildKind {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Guild) GetMetadata() *v1.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Object representing a guild with the ID part.
|
|
type GuildWithId struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the guild.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The guild.
|
|
Guild *Guild `protobuf:"bytes,2,opt,name=guild,proto3" json:"guild,omitempty"`
|
|
}
|
|
|
|
func (x *GuildWithId) Reset() {
|
|
*x = GuildWithId{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildWithId) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildWithId) ProtoMessage() {}
|
|
|
|
func (x *GuildWithId) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildWithId.ProtoReflect.Descriptor instead.
|
|
func (*GuildWithId) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GuildWithId) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GuildWithId) GetGuild() *Guild {
|
|
if x != nil {
|
|
return x.Guild
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Object representing an invite without the ID part.
|
|
type Invite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Possible uses of this invite. A use of `0` means infinite uses.
|
|
PossibleUses uint32 `protobuf:"varint,1,opt,name=possible_uses,json=possibleUses,proto3" json:"possible_uses,omitempty"`
|
|
// Total use count of this invite.
|
|
UseCount uint32 `protobuf:"varint,2,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"`
|
|
}
|
|
|
|
func (x *Invite) Reset() {
|
|
*x = Invite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Invite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Invite) ProtoMessage() {}
|
|
|
|
func (x *Invite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Invite.ProtoReflect.Descriptor instead.
|
|
func (*Invite) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Invite) GetPossibleUses() uint32 {
|
|
if x != nil {
|
|
return x.PossibleUses
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invite) GetUseCount() uint32 {
|
|
if x != nil {
|
|
return x.UseCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Invite with ID.
|
|
type InviteWithId struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ID of the invite.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
// The invite data.
|
|
Invite *Invite `protobuf:"bytes,2,opt,name=invite,proto3" json:"invite,omitempty"`
|
|
}
|
|
|
|
func (x *InviteWithId) Reset() {
|
|
*x = InviteWithId{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InviteWithId) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InviteWithId) ProtoMessage() {}
|
|
|
|
func (x *InviteWithId) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InviteWithId.ProtoReflect.Descriptor instead.
|
|
func (*InviteWithId) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *InviteWithId) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InviteWithId) GetInvite() *Invite {
|
|
if x != nil {
|
|
return x.Invite
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// A pending invite.
|
|
type PendingInvite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Invite ID of the invite.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
// Server ID of the server the inviter is on.
|
|
ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
|
|
// User ID of the inviter.
|
|
InviterId uint64 `protobuf:"varint,3,opt,name=inviter_id,json=inviterId,proto3" json:"inviter_id,omitempty"`
|
|
}
|
|
|
|
func (x *PendingInvite) Reset() {
|
|
*x = PendingInvite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingInvite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingInvite) ProtoMessage() {}
|
|
|
|
func (x *PendingInvite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PendingInvite.ProtoReflect.Descriptor instead.
|
|
func (*PendingInvite) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *PendingInvite) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingInvite) GetServerId() string {
|
|
if x != nil && x.ServerId != nil {
|
|
return *x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingInvite) GetInviterId() uint64 {
|
|
if x != nil {
|
|
return x.InviterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Object representing a guild list entry.
|
|
type GuildListEntry struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of this guild entry.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// Server ID of the homeserver of this guild.
|
|
ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
|
|
}
|
|
|
|
func (x *GuildListEntry) Reset() {
|
|
*x = GuildListEntry{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildListEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildListEntry) ProtoMessage() {}
|
|
|
|
func (x *GuildListEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildListEntry.ProtoReflect.Descriptor instead.
|
|
func (*GuildListEntry) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GuildListEntry) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GuildListEntry) GetServerId() string {
|
|
if x != nil {
|
|
return x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Request type used in `CreateGuild` endpoint.
|
|
type CreateGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The name of the guild.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The picture HMC of the guild.
|
|
Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
|
|
// Metadata of the guild.
|
|
Metadata *v1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *CreateGuildRequest) Reset() {
|
|
*x = CreateGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CreateGuildRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateGuildRequest) GetPicture() string {
|
|
if x != nil && x.Picture != nil {
|
|
return *x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateGuildRequest) GetMetadata() *v1.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `CreateGuild` endpoint.
|
|
type CreateGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild that was created.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateGuildResponse) Reset() {
|
|
*x = CreateGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CreateGuildResponse) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Request type used in `CreateRoom` endpoint.
|
|
type CreateRoomRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The name of the guild.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The picture HMC of the guild.
|
|
Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
|
|
// Metadata of the guild.
|
|
Metadata *v1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *CreateRoomRequest) Reset() {
|
|
*x = CreateRoomRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateRoomRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRoomRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateRoomRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *CreateRoomRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRoomRequest) GetPicture() string {
|
|
if x != nil && x.Picture != nil {
|
|
return *x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRoomRequest) GetMetadata() *v1.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `CreateRoom` endpoint.
|
|
type CreateRoomResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild that was created.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateRoomResponse) Reset() {
|
|
*x = CreateRoomResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateRoomResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRoomResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateRoomResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CreateRoomResponse) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `CreateDirectMessage` endpoint.
|
|
type CreateDirectMessageRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The user name of the user to DM with.
|
|
UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
// The server ID of the server the user is on.
|
|
//
|
|
// Should be left unspecified if it's a user on the homeserver.
|
|
ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateDirectMessageRequest) Reset() {
|
|
*x = CreateDirectMessageRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateDirectMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateDirectMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateDirectMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateDirectMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateDirectMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *CreateDirectMessageRequest) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateDirectMessageRequest) GetServerId() string {
|
|
if x != nil && x.ServerId != nil {
|
|
return *x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in the `CreateDirectMessage` endpoint.
|
|
type CreateDirectMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the just created "direct message" guild.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateDirectMessageResponse) Reset() {
|
|
*x = CreateDirectMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateDirectMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateDirectMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateDirectMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateDirectMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateDirectMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *CreateDirectMessageResponse) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `CreateInvite` endpoint.
|
|
type CreateInviteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild to create an invite in.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The name of the invite.
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The possible uses of the invite.
|
|
//
|
|
// A possible use of `0` means that the invite can be used infinitely many times.
|
|
PossibleUses uint32 `protobuf:"varint,3,opt,name=possible_uses,json=possibleUses,proto3" json:"possible_uses,omitempty"`
|
|
}
|
|
|
|
func (x *CreateInviteRequest) Reset() {
|
|
*x = CreateInviteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateInviteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateInviteRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateInviteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateInviteRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateInviteRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CreateInviteRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateInviteRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateInviteRequest) GetPossibleUses() uint32 {
|
|
if x != nil {
|
|
return x.PossibleUses
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `CreateInvite` endpoint.
|
|
type CreateInviteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The invite ID of the invite that was created.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateInviteResponse) Reset() {
|
|
*x = CreateInviteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateInviteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateInviteResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateInviteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateInviteResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateInviteResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CreateInviteResponse) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in the `GetGuildList` endpoint.
|
|
type GetGuildListRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetGuildListRequest) Reset() {
|
|
*x = GetGuildListRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildListRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildListRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGuildListRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildListRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildListRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
// Used in the `GetGuildList` endpoint.
|
|
type GetGuildListResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild list returned by the server.
|
|
Guilds []*GuildListEntry `protobuf:"bytes,1,rep,name=guilds,proto3" json:"guilds,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildListResponse) Reset() {
|
|
*x = GetGuildListResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildListResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildListResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGuildListResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildListResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildListResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetGuildListResponse) GetGuilds() []*GuildListEntry {
|
|
if x != nil {
|
|
return x.Guilds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `GetGuild` endpoint.
|
|
type GetGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild to get information about.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildRequest) Reset() {
|
|
*x = GetGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetGuildRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `GetGuild` endpoint.
|
|
type GetGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The information of the guild requested.
|
|
Guild *Guild `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildResponse) Reset() {
|
|
*x = GetGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetGuildResponse) GetGuild() *Guild {
|
|
if x != nil {
|
|
return x.Guild
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `GetGuildInvites` endpoint.
|
|
type GetGuildInvitesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you want to get invites of.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildInvitesRequest) Reset() {
|
|
*x = GetGuildInvitesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildInvitesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildInvitesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGuildInvitesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildInvitesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildInvitesRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetGuildInvitesRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `GetGuildInvites` endpoint.
|
|
type GetGuildInvitesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The invites of the guild, with IDs.
|
|
Invites []*InviteWithId `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildInvitesResponse) Reset() {
|
|
*x = GetGuildInvitesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildInvitesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildInvitesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGuildInvitesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildInvitesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildInvitesResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetGuildInvitesResponse) GetInvites() []*InviteWithId {
|
|
if x != nil {
|
|
return x.Invites
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `GetGuildMembers` endpoint.
|
|
type GetGuildMembersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you want to get members of.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildMembersRequest) Reset() {
|
|
*x = GetGuildMembersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildMembersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildMembersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetGuildMembersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildMembersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildMembersRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetGuildMembersRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `GetGuildMembers` endpoint.
|
|
type GetGuildMembersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// User IDs of all the guild members.
|
|
Members []uint64 `protobuf:"varint,1,rep,packed,name=members,proto3" json:"members,omitempty"`
|
|
}
|
|
|
|
func (x *GetGuildMembersResponse) Reset() {
|
|
*x = GetGuildMembersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetGuildMembersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetGuildMembersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetGuildMembersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetGuildMembersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetGuildMembersResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *GetGuildMembersResponse) GetMembers() []uint64 {
|
|
if x != nil {
|
|
return x.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `UpdateGuildInformation` endpoint.
|
|
type UpdateGuildInformationRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you want to update the information of.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// New name for the guild.
|
|
NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"`
|
|
// New picture for the guild.
|
|
NewPicture *string `protobuf:"bytes,3,opt,name=new_picture,json=newPicture,proto3,oneof" json:"new_picture,omitempty"`
|
|
// New metadata for the guild.
|
|
NewMetadata *v1.Metadata `protobuf:"bytes,4,opt,name=new_metadata,json=newMetadata,proto3,oneof" json:"new_metadata,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) Reset() {
|
|
*x = UpdateGuildInformationRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGuildInformationRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateGuildInformationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGuildInformationRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGuildInformationRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) GetNewName() string {
|
|
if x != nil && x.NewName != nil {
|
|
return *x.NewName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) GetNewPicture() string {
|
|
if x != nil && x.NewPicture != nil {
|
|
return *x.NewPicture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateGuildInformationRequest) GetNewMetadata() *v1.Metadata {
|
|
if x != nil {
|
|
return x.NewMetadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in the `UpdateGuildInformation` endpoint.
|
|
type UpdateGuildInformationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *UpdateGuildInformationResponse) Reset() {
|
|
*x = UpdateGuildInformationResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateGuildInformationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateGuildInformationResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateGuildInformationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[24]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateGuildInformationResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateGuildInformationResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
// Used in the `UpgradeRoomToGuild` endpoint.
|
|
type UpgradeRoomToGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the "room" guild to upgrade to a "normal" guild.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *UpgradeRoomToGuildRequest) Reset() {
|
|
*x = UpgradeRoomToGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpgradeRoomToGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpgradeRoomToGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *UpgradeRoomToGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpgradeRoomToGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpgradeRoomToGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *UpgradeRoomToGuildRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `UpgradeRoomToGuild` endpoint.
|
|
type UpgradeRoomToGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *UpgradeRoomToGuildResponse) Reset() {
|
|
*x = UpgradeRoomToGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpgradeRoomToGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpgradeRoomToGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *UpgradeRoomToGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpgradeRoomToGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpgradeRoomToGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
// Used in the `DeleteGuild` endpoint.
|
|
type DeleteGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you want to delete.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteGuildRequest) Reset() {
|
|
*x = DeleteGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[27]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *DeleteGuildRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `DeleteGuild` endpoint.
|
|
type DeleteGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteGuildResponse) Reset() {
|
|
*x = DeleteGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[28]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
// Used in the `DeleteInvite` endpoint.
|
|
type DeleteInviteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild where the invite is located.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// Invite ID of the invite you want to delete.
|
|
InviteId string `protobuf:"bytes,2,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteInviteRequest) Reset() {
|
|
*x = DeleteInviteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteInviteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteInviteRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteInviteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[29]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteInviteRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteInviteRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *DeleteInviteRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteInviteRequest) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in the `DeleteInvite` endpoint.
|
|
type DeleteInviteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteInviteResponse) Reset() {
|
|
*x = DeleteInviteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteInviteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteInviteResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteInviteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[30]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteInviteResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteInviteResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
// Used in the `JoinGuild` endpoint.
|
|
type JoinGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Invite ID of the guild you want to join.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
}
|
|
|
|
func (x *JoinGuildRequest) Reset() {
|
|
*x = JoinGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *JoinGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JoinGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *JoinGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[31]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use JoinGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*JoinGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *JoinGuildRequest) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in the `JoinGuild` endpoint.
|
|
type JoinGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you joined.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *JoinGuildResponse) Reset() {
|
|
*x = JoinGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *JoinGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JoinGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *JoinGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[32]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use JoinGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*JoinGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *JoinGuildResponse) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `PreviewGuild` endpoint.
|
|
type PreviewGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Invite ID of the guild you want to get information from.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
}
|
|
|
|
func (x *PreviewGuildRequest) Reset() {
|
|
*x = PreviewGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PreviewGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PreviewGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *PreviewGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[33]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PreviewGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*PreviewGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *PreviewGuildRequest) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in the `PreviewGuild` endpoint.
|
|
type PreviewGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Name of the guild requested.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Picture of the guild requested.
|
|
Picture *string `protobuf:"bytes,2,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
|
|
// Member count of the guild requested.
|
|
MemberCount uint64 `protobuf:"varint,3,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
|
|
}
|
|
|
|
func (x *PreviewGuildResponse) Reset() {
|
|
*x = PreviewGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PreviewGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PreviewGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *PreviewGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[34]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PreviewGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*PreviewGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *PreviewGuildResponse) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PreviewGuildResponse) GetPicture() string {
|
|
if x != nil && x.Picture != nil {
|
|
return *x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PreviewGuildResponse) GetMemberCount() uint64 {
|
|
if x != nil {
|
|
return x.MemberCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `LeaveGuild` endpoint.
|
|
type LeaveGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild you want to leave.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *LeaveGuildRequest) Reset() {
|
|
*x = LeaveGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LeaveGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LeaveGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *LeaveGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[35]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaveGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*LeaveGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *LeaveGuildRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in the `LeaveGuild` endpoint.
|
|
type LeaveGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *LeaveGuildResponse) Reset() {
|
|
*x = LeaveGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LeaveGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LeaveGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *LeaveGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[36]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LeaveGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*LeaveGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
// Used in `BanUser` endpoint.
|
|
type BanUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The guild ID of the guild to ban the user from.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The ID of the user to ban.
|
|
UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
}
|
|
|
|
func (x *BanUserRequest) Reset() {
|
|
*x = BanUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BanUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BanUserRequest) ProtoMessage() {}
|
|
|
|
func (x *BanUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[37]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BanUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*BanUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *BanUserRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BanUserRequest) GetUserId() uint64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in `BanUser` endpoint.
|
|
type BanUserResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BanUserResponse) Reset() {
|
|
*x = BanUserResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BanUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BanUserResponse) ProtoMessage() {}
|
|
|
|
func (x *BanUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[38]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BanUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*BanUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
// Used in `KickUser` endpoint.
|
|
type KickUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The guild ID of the guild to kick the user from.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The user ID of the user to kick.
|
|
UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
}
|
|
|
|
func (x *KickUserRequest) Reset() {
|
|
*x = KickUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *KickUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KickUserRequest) ProtoMessage() {}
|
|
|
|
func (x *KickUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[39]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KickUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*KickUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *KickUserRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KickUserRequest) GetUserId() uint64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in `KickUser` endpoint.
|
|
type KickUserResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *KickUserResponse) Reset() {
|
|
*x = KickUserResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *KickUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KickUserResponse) ProtoMessage() {}
|
|
|
|
func (x *KickUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[40]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KickUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*KickUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
// Used in `UnbanUser` endpoint.
|
|
type UnbanUserRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The guild ID of the guild to unban the user from.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The user ID of the user to unban.
|
|
UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
}
|
|
|
|
func (x *UnbanUserRequest) Reset() {
|
|
*x = UnbanUserRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UnbanUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnbanUserRequest) ProtoMessage() {}
|
|
|
|
func (x *UnbanUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[41]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnbanUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*UnbanUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *UnbanUserRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UnbanUserRequest) GetUserId() uint64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in `UnbanUser` endpoint.
|
|
type UnbanUserResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *UnbanUserResponse) Reset() {
|
|
*x = UnbanUserResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UnbanUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnbanUserResponse) ProtoMessage() {}
|
|
|
|
func (x *UnbanUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[42]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnbanUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*UnbanUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
// Used in `GetBannedUsers` endpoint.
|
|
type GetBannedUsersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID to get banned users for.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetBannedUsersRequest) Reset() {
|
|
*x = GetBannedUsersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBannedUsersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBannedUsersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBannedUsersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[43]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBannedUsersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBannedUsersRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *GetBannedUsersRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in `GetBannedUsers` endpoint.
|
|
type GetBannedUsersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The user IDs of banned users.
|
|
BannedUsers []uint64 `protobuf:"varint,1,rep,packed,name=banned_users,json=bannedUsers,proto3" json:"banned_users,omitempty"`
|
|
}
|
|
|
|
func (x *GetBannedUsersResponse) Reset() {
|
|
*x = GetBannedUsersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBannedUsersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBannedUsersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetBannedUsersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[44]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBannedUsersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetBannedUsersResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *GetBannedUsersResponse) GetBannedUsers() []uint64 {
|
|
if x != nil {
|
|
return x.BannedUsers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Request for GrantOwnership
|
|
type GrantOwnershipRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID of the guild to give a user ownership on.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
// The ID of the new owner to add.
|
|
NewOwnerId uint64 `protobuf:"varint,2,opt,name=new_owner_id,json=newOwnerId,proto3" json:"new_owner_id,omitempty"`
|
|
}
|
|
|
|
func (x *GrantOwnershipRequest) Reset() {
|
|
*x = GrantOwnershipRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrantOwnershipRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrantOwnershipRequest) ProtoMessage() {}
|
|
|
|
func (x *GrantOwnershipRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[45]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrantOwnershipRequest.ProtoReflect.Descriptor instead.
|
|
func (*GrantOwnershipRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *GrantOwnershipRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GrantOwnershipRequest) GetNewOwnerId() uint64 {
|
|
if x != nil {
|
|
return x.NewOwnerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Response for GrantOwnership
|
|
type GrantOwnershipResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GrantOwnershipResponse) Reset() {
|
|
*x = GrantOwnershipResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GrantOwnershipResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GrantOwnershipResponse) ProtoMessage() {}
|
|
|
|
func (x *GrantOwnershipResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[46]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GrantOwnershipResponse.ProtoReflect.Descriptor instead.
|
|
func (*GrantOwnershipResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
// Request for GiveUpOwnership
|
|
type GiveUpOwnershipRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Guild ID to give up your ownership on.
|
|
GuildId uint64 `protobuf:"varint,1,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *GiveUpOwnershipRequest) Reset() {
|
|
*x = GiveUpOwnershipRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GiveUpOwnershipRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GiveUpOwnershipRequest) ProtoMessage() {}
|
|
|
|
func (x *GiveUpOwnershipRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[47]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GiveUpOwnershipRequest.ProtoReflect.Descriptor instead.
|
|
func (*GiveUpOwnershipRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *GiveUpOwnershipRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Response for GiveUpOwnership
|
|
type GiveUpOwnershipResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GiveUpOwnershipResponse) Reset() {
|
|
*x = GiveUpOwnershipResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GiveUpOwnershipResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GiveUpOwnershipResponse) ProtoMessage() {}
|
|
|
|
func (x *GiveUpOwnershipResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[48]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GiveUpOwnershipResponse.ProtoReflect.Descriptor instead.
|
|
func (*GiveUpOwnershipResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
// Used in `GetPendingInvites` endpoint.
|
|
type GetPendingInvitesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetPendingInvitesRequest) Reset() {
|
|
*x = GetPendingInvitesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPendingInvitesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPendingInvitesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPendingInvitesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[49]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPendingInvitesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPendingInvitesRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
// Used in `GetPendingInvites` endpoint.
|
|
type GetPendingInvitesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending invite(s).
|
|
PendingInvites []*PendingInvite `protobuf:"bytes,1,rep,name=pending_invites,json=pendingInvites,proto3" json:"pending_invites,omitempty"`
|
|
}
|
|
|
|
func (x *GetPendingInvitesResponse) Reset() {
|
|
*x = GetPendingInvitesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPendingInvitesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPendingInvitesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPendingInvitesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[50]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPendingInvitesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPendingInvitesResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *GetPendingInvitesResponse) GetPendingInvites() []*PendingInvite {
|
|
if x != nil {
|
|
return x.PendingInvites
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Used in `RejectPendingInvite` endpoint.
|
|
type RejectPendingInviteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Invite ID of the pending invite to reject.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
// Server ID of the pending invite to reject.
|
|
ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
|
|
}
|
|
|
|
func (x *RejectPendingInviteRequest) Reset() {
|
|
*x = RejectPendingInviteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RejectPendingInviteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RejectPendingInviteRequest) ProtoMessage() {}
|
|
|
|
func (x *RejectPendingInviteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[51]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RejectPendingInviteRequest.ProtoReflect.Descriptor instead.
|
|
func (*RejectPendingInviteRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *RejectPendingInviteRequest) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RejectPendingInviteRequest) GetServerId() string {
|
|
if x != nil && x.ServerId != nil {
|
|
return *x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in `RejectPendingInvite` endpoint.
|
|
type RejectPendingInviteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RejectPendingInviteResponse) Reset() {
|
|
*x = RejectPendingInviteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RejectPendingInviteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RejectPendingInviteResponse) ProtoMessage() {}
|
|
|
|
func (x *RejectPendingInviteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[52]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RejectPendingInviteResponse.ProtoReflect.Descriptor instead.
|
|
func (*RejectPendingInviteResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
// Used in `IgnorePendingInvite` endpoint.
|
|
type IgnorePendingInviteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ID of the pending invite to ignore.
|
|
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"invite_id,omitempty"`
|
|
// Server ID of the pending invite to reject.
|
|
ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
|
|
}
|
|
|
|
func (x *IgnorePendingInviteRequest) Reset() {
|
|
*x = IgnorePendingInviteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IgnorePendingInviteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IgnorePendingInviteRequest) ProtoMessage() {}
|
|
|
|
func (x *IgnorePendingInviteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[53]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IgnorePendingInviteRequest.ProtoReflect.Descriptor instead.
|
|
func (*IgnorePendingInviteRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *IgnorePendingInviteRequest) GetInviteId() string {
|
|
if x != nil {
|
|
return x.InviteId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IgnorePendingInviteRequest) GetServerId() string {
|
|
if x != nil && x.ServerId != nil {
|
|
return *x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Used in `IgnorePendingInvite` endpoint.
|
|
type IgnorePendingInviteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *IgnorePendingInviteResponse) Reset() {
|
|
*x = IgnorePendingInviteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IgnorePendingInviteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IgnorePendingInviteResponse) ProtoMessage() {}
|
|
|
|
func (x *IgnorePendingInviteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[54]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IgnorePendingInviteResponse.ProtoReflect.Descriptor instead.
|
|
func (*IgnorePendingInviteResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
// Used in `InviteUserToGuild` endpoint.
|
|
type InviteUserToGuildRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// User name of the user to invite.
|
|
UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
// Server ID of the user if they are on another server.
|
|
ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
|
|
// Guild ID of the guild to invite to.
|
|
GuildId uint64 `protobuf:"varint,3,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"`
|
|
}
|
|
|
|
func (x *InviteUserToGuildRequest) Reset() {
|
|
*x = InviteUserToGuildRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InviteUserToGuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InviteUserToGuildRequest) ProtoMessage() {}
|
|
|
|
func (x *InviteUserToGuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[55]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InviteUserToGuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*InviteUserToGuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *InviteUserToGuildRequest) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InviteUserToGuildRequest) GetServerId() string {
|
|
if x != nil && x.ServerId != nil {
|
|
return *x.ServerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InviteUserToGuildRequest) GetGuildId() uint64 {
|
|
if x != nil {
|
|
return x.GuildId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Used in `InviteUserToGuild` endpoint.
|
|
type InviteUserToGuildResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *InviteUserToGuildResponse) Reset() {
|
|
*x = InviteUserToGuildResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InviteUserToGuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InviteUserToGuildResponse) ProtoMessage() {}
|
|
|
|
func (x *InviteUserToGuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[56]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InviteUserToGuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*InviteUserToGuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
// A "normal" guild as in a guild that allows multiple channels.
|
|
type GuildKind_Normal struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GuildKind_Normal) Reset() {
|
|
*x = GuildKind_Normal{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildKind_Normal) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildKind_Normal) ProtoMessage() {}
|
|
|
|
func (x *GuildKind_Normal) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[57]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildKind_Normal.ProtoReflect.Descriptor instead.
|
|
func (*GuildKind_Normal) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
// A "room" guild as in a guild that only has one channel.
|
|
//
|
|
// - Clients should not show a channel list for guilds of this type.
|
|
type GuildKind_Room struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GuildKind_Room) Reset() {
|
|
*x = GuildKind_Room{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildKind_Room) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildKind_Room) ProtoMessage() {}
|
|
|
|
func (x *GuildKind_Room) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[58]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildKind_Room.ProtoReflect.Descriptor instead.
|
|
func (*GuildKind_Room) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
// A "direct message" guild as in a guild that has at most two members,
|
|
// and has only one channel.
|
|
//
|
|
// - Clients should not show a channel list for guilds of this type.
|
|
// - Clients should show this guild in the guild list with the profile picture
|
|
// and the username of the other user.
|
|
// - Servers should "upgrade" this guild to a "room" guild if another
|
|
// user joins the guild. A name should be crafted using the algorithm
|
|
// described below:
|
|
// - Get at most 3 members' usernames, by their
|
|
// - Concat them with ", " as a seperator.
|
|
type GuildKind_DirectMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether this direct message was rejected by the invitee or not.
|
|
Rejected bool `protobuf:"varint,1,opt,name=rejected,proto3" json:"rejected,omitempty"`
|
|
}
|
|
|
|
func (x *GuildKind_DirectMessage) Reset() {
|
|
*x = GuildKind_DirectMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuildKind_DirectMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuildKind_DirectMessage) ProtoMessage() {}
|
|
|
|
func (x *GuildKind_DirectMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chat_v1_guilds_proto_msgTypes[59]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuildKind_DirectMessage.ProtoReflect.Descriptor instead.
|
|
func (*GuildKind_DirectMessage) Descriptor() ([]byte, []int) {
|
|
return file_chat_v1_guilds_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
func (x *GuildKind_DirectMessage) GetRejected() bool {
|
|
if x != nil {
|
|
return x.Rejected
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_chat_v1_guilds_proto protoreflect.FileDescriptor
|
|
|
|
var file_chat_v1_guilds_proto_rawDesc = []byte{
|
|
0x0a, 0x14, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x73,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e,
|
|
0x79, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x02, 0x0a, 0x09, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4b,
|
|
0x69, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63,
|
|
0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x69, 0x6e, 0x64,
|
|
0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61,
|
|
0x6c, 0x12, 0x36, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x52, 0x6f, 0x6f,
|
|
0x6d, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x52, 0x0a, 0x0e, 0x64, 0x69, 0x72,
|
|
0x65, 0x63, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61,
|
|
0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x44,
|
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0d,
|
|
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x08, 0x0a,
|
|
0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x1a, 0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x1a,
|
|
0x2b, 0x0a, 0x0d, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x06, 0x0a, 0x04,
|
|
0x6b, 0x69, 0x6e, 0x64, 0x22, 0xe6, 0x01, 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x12,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88, 0x01,
|
|
0x01, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03,
|
|
0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x2f,
|
|
0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x47, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12,
|
|
0x43, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x68, 0x61, 0x72,
|
|
0x6d, 0x6f, 0x6e, 0x79, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x01, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
0x61, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65,
|
|
0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x57, 0x0a,
|
|
0x0b, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
|
|
0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07,
|
|
0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
|
|
0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52,
|
|
0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x4a, 0x0a, 0x06, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x75, 0x73, 0x65,
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c,
|
|
0x65, 0x55, 0x73, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x22, 0x5d, 0x0a, 0x0c, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x57, 0x69, 0x74, 0x68,
|
|
0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12,
|
|
0x30, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74,
|
|
0x65, 0x22, 0x7b, 0x0a, 0x0d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69,
|
|
0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12,
|
|
0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01,
|
|
0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x48,
|
|
0x0a, 0x0e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88,
|
|
0x01, 0x01, 0x12, 0x43, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e,
|
|
0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x01, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x69, 0x63, 0x74,
|
|
0x75, 0x72, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
|
0x22, 0x30, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x49, 0x64, 0x22, 0xa4, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f,
|
|
0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07,
|
|
0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
|
|
0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12, 0x43, 0x0a, 0x08, 0x6d,
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79,
|
|
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
0x61, 0x48, 0x01, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01,
|
|
0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0b, 0x0a, 0x09,
|
|
0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x12, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x1a, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
|
|
0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
|
|
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,
|
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22,
|
|
0x69, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49,
|
|
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c,
|
|
0x65, 0x5f, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x6f,
|
|
0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x14, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22,
|
|
0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38,
|
|
0x0a, 0x06, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x06, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47,
|
|
0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67,
|
|
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67,
|
|
0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x67, 0x75,
|
|
0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x52, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74,
|
|
0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x53,
|
|
0x0a, 0x17, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x69, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
|
|
0x76, 0x69, 0x74, 0x65, 0x57, 0x69, 0x74, 0x68, 0x49, 0x64, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x69,
|
|
0x74, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d,
|
|
0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a,
|
|
0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x47,
|
|
0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xfa, 0x01,
|
|
0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6e, 0x65,
|
|
0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07,
|
|
0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x6e, 0x65,
|
|
0x77, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
|
|
0x01, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88, 0x01, 0x01,
|
|
0x12, 0x4a, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
|
|
0x6c, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x02, 0x52, 0x0b, 0x6e, 0x65,
|
|
0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09,
|
|
0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6e, 0x65,
|
|
0x77, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x6e, 0x65,
|
|
0x77, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x19,
|
|
0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x6f, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69,
|
|
0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69,
|
|
0x6c, 0x64, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52,
|
|
0x6f, 0x6f, 0x6d, 0x54, 0x6f, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x2f, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x75, 0x69, 0x6c,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c,
|
|
0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c,
|
|
0x64, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x13, 0x44, 0x65,
|
|
0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x22, 0x2f, 0x0a, 0x10, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65,
|
|
0x49, 0x64, 0x22, 0x2e, 0x0a, 0x11, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
|
0x49, 0x64, 0x22, 0x32, 0x0a, 0x13, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x47, 0x75, 0x69,
|
|
0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e,
|
|
0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22, 0x78, 0x0a, 0x14, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
|
|
0x77, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88, 0x01,
|
|
0x01, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65,
|
|
0x22, 0x2e, 0x0a, 0x11, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64,
|
|
0x22, 0x14, 0x0a, 0x12, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x0a, 0x0e, 0x42, 0x61, 0x6e, 0x55, 0x73, 0x65,
|
|
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c,
|
|
0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c,
|
|
0x64, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f,
|
|
0x42, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
0x45, 0x0a, 0x0f, 0x4b, 0x69, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x17, 0x0a,
|
|
0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
|
|
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x4b, 0x69, 0x63, 0x6b, 0x55, 0x73,
|
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x10, 0x55, 0x6e,
|
|
0x62, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19,
|
|
0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65,
|
|
0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x6e, 0x62, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x16, 0x47,
|
|
0x65, 0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f,
|
|
0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x22, 0x54, 0x0a, 0x15, 0x47, 0x72, 0x61, 0x6e,
|
|
0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c,
|
|
0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x22, 0x18,
|
|
0x0a, 0x16, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x69, 0x76, 0x65,
|
|
0x55, 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x19, 0x0a,
|
|
0x17, 0x47, 0x69, 0x76, 0x65, 0x55, 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x22, 0x65, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x48, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x0e, 0x70, 0x65, 0x6e,
|
|
0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x22, 0x69, 0x0a, 0x1a, 0x52,
|
|
0x65, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69,
|
|
0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76,
|
|
0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e,
|
|
0x76, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74,
|
|
0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x1a, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x64,
|
|
0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88,
|
|
0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
|
0x22, 0x1d, 0x0a, 0x1b, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
0x82, 0x01, 0x0a, 0x18, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f,
|
|
0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08,
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x08, 0x67,
|
|
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67,
|
|
0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65,
|
|
0x72, 0x5f, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73,
|
|
0x65, 0x72, 0x54, 0x6f, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x2a, 0x67, 0x0a, 0x0b, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e,
|
|
0x12, 0x26, 0x0a, 0x22, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e,
|
|
0x5f, 0x57, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x4c, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
|
|
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x45, 0x41, 0x56,
|
|
0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x10,
|
|
0x01, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f,
|
|
0x4e, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x02, 0x42, 0xc1, 0x01, 0x0a, 0x14, 0x63,
|
|
0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x74,
|
|
0x2e, 0x76, 0x31, 0x42, 0x0b, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68,
|
|
0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2d, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x2f, 0x73, 0x68, 0x69, 0x62, 0x73, 0x68, 0x69, 0x62, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
|
|
0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x76, 0x31, 0xa2, 0x02,
|
|
0x03, 0x50, 0x43, 0x58, 0xaa, 0x02, 0x10, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e,
|
|
0x43, 0x68, 0x61, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
|
|
0x6f, 0x6c, 0x5c, 0x43, 0x68, 0x61, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x50, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5c, 0x43, 0x68, 0x61, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
|
|
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x50, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x63, 0x6f, 0x6c, 0x3a, 0x3a, 0x43, 0x68, 0x61, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_chat_v1_guilds_proto_rawDescOnce sync.Once
|
|
file_chat_v1_guilds_proto_rawDescData = file_chat_v1_guilds_proto_rawDesc
|
|
)
|
|
|
|
func file_chat_v1_guilds_proto_rawDescGZIP() []byte {
|
|
file_chat_v1_guilds_proto_rawDescOnce.Do(func() {
|
|
file_chat_v1_guilds_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_v1_guilds_proto_rawDescData)
|
|
})
|
|
return file_chat_v1_guilds_proto_rawDescData
|
|
}
|
|
|
|
var file_chat_v1_guilds_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_chat_v1_guilds_proto_msgTypes = make([]protoimpl.MessageInfo, 60)
|
|
var file_chat_v1_guilds_proto_goTypes = []interface{}{
|
|
(LeaveReason)(0), // 0: protocol.chat.v1.LeaveReason
|
|
(*GuildKind)(nil), // 1: protocol.chat.v1.GuildKind
|
|
(*Guild)(nil), // 2: protocol.chat.v1.Guild
|
|
(*GuildWithId)(nil), // 3: protocol.chat.v1.GuildWithId
|
|
(*Invite)(nil), // 4: protocol.chat.v1.Invite
|
|
(*InviteWithId)(nil), // 5: protocol.chat.v1.InviteWithId
|
|
(*PendingInvite)(nil), // 6: protocol.chat.v1.PendingInvite
|
|
(*GuildListEntry)(nil), // 7: protocol.chat.v1.GuildListEntry
|
|
(*CreateGuildRequest)(nil), // 8: protocol.chat.v1.CreateGuildRequest
|
|
(*CreateGuildResponse)(nil), // 9: protocol.chat.v1.CreateGuildResponse
|
|
(*CreateRoomRequest)(nil), // 10: protocol.chat.v1.CreateRoomRequest
|
|
(*CreateRoomResponse)(nil), // 11: protocol.chat.v1.CreateRoomResponse
|
|
(*CreateDirectMessageRequest)(nil), // 12: protocol.chat.v1.CreateDirectMessageRequest
|
|
(*CreateDirectMessageResponse)(nil), // 13: protocol.chat.v1.CreateDirectMessageResponse
|
|
(*CreateInviteRequest)(nil), // 14: protocol.chat.v1.CreateInviteRequest
|
|
(*CreateInviteResponse)(nil), // 15: protocol.chat.v1.CreateInviteResponse
|
|
(*GetGuildListRequest)(nil), // 16: protocol.chat.v1.GetGuildListRequest
|
|
(*GetGuildListResponse)(nil), // 17: protocol.chat.v1.GetGuildListResponse
|
|
(*GetGuildRequest)(nil), // 18: protocol.chat.v1.GetGuildRequest
|
|
(*GetGuildResponse)(nil), // 19: protocol.chat.v1.GetGuildResponse
|
|
(*GetGuildInvitesRequest)(nil), // 20: protocol.chat.v1.GetGuildInvitesRequest
|
|
(*GetGuildInvitesResponse)(nil), // 21: protocol.chat.v1.GetGuildInvitesResponse
|
|
(*GetGuildMembersRequest)(nil), // 22: protocol.chat.v1.GetGuildMembersRequest
|
|
(*GetGuildMembersResponse)(nil), // 23: protocol.chat.v1.GetGuildMembersResponse
|
|
(*UpdateGuildInformationRequest)(nil), // 24: protocol.chat.v1.UpdateGuildInformationRequest
|
|
(*UpdateGuildInformationResponse)(nil), // 25: protocol.chat.v1.UpdateGuildInformationResponse
|
|
(*UpgradeRoomToGuildRequest)(nil), // 26: protocol.chat.v1.UpgradeRoomToGuildRequest
|
|
(*UpgradeRoomToGuildResponse)(nil), // 27: protocol.chat.v1.UpgradeRoomToGuildResponse
|
|
(*DeleteGuildRequest)(nil), // 28: protocol.chat.v1.DeleteGuildRequest
|
|
(*DeleteGuildResponse)(nil), // 29: protocol.chat.v1.DeleteGuildResponse
|
|
(*DeleteInviteRequest)(nil), // 30: protocol.chat.v1.DeleteInviteRequest
|
|
(*DeleteInviteResponse)(nil), // 31: protocol.chat.v1.DeleteInviteResponse
|
|
(*JoinGuildRequest)(nil), // 32: protocol.chat.v1.JoinGuildRequest
|
|
(*JoinGuildResponse)(nil), // 33: protocol.chat.v1.JoinGuildResponse
|
|
(*PreviewGuildRequest)(nil), // 34: protocol.chat.v1.PreviewGuildRequest
|
|
(*PreviewGuildResponse)(nil), // 35: protocol.chat.v1.PreviewGuildResponse
|
|
(*LeaveGuildRequest)(nil), // 36: protocol.chat.v1.LeaveGuildRequest
|
|
(*LeaveGuildResponse)(nil), // 37: protocol.chat.v1.LeaveGuildResponse
|
|
(*BanUserRequest)(nil), // 38: protocol.chat.v1.BanUserRequest
|
|
(*BanUserResponse)(nil), // 39: protocol.chat.v1.BanUserResponse
|
|
(*KickUserRequest)(nil), // 40: protocol.chat.v1.KickUserRequest
|
|
(*KickUserResponse)(nil), // 41: protocol.chat.v1.KickUserResponse
|
|
(*UnbanUserRequest)(nil), // 42: protocol.chat.v1.UnbanUserRequest
|
|
(*UnbanUserResponse)(nil), // 43: protocol.chat.v1.UnbanUserResponse
|
|
(*GetBannedUsersRequest)(nil), // 44: protocol.chat.v1.GetBannedUsersRequest
|
|
(*GetBannedUsersResponse)(nil), // 45: protocol.chat.v1.GetBannedUsersResponse
|
|
(*GrantOwnershipRequest)(nil), // 46: protocol.chat.v1.GrantOwnershipRequest
|
|
(*GrantOwnershipResponse)(nil), // 47: protocol.chat.v1.GrantOwnershipResponse
|
|
(*GiveUpOwnershipRequest)(nil), // 48: protocol.chat.v1.GiveUpOwnershipRequest
|
|
(*GiveUpOwnershipResponse)(nil), // 49: protocol.chat.v1.GiveUpOwnershipResponse
|
|
(*GetPendingInvitesRequest)(nil), // 50: protocol.chat.v1.GetPendingInvitesRequest
|
|
(*GetPendingInvitesResponse)(nil), // 51: protocol.chat.v1.GetPendingInvitesResponse
|
|
(*RejectPendingInviteRequest)(nil), // 52: protocol.chat.v1.RejectPendingInviteRequest
|
|
(*RejectPendingInviteResponse)(nil), // 53: protocol.chat.v1.RejectPendingInviteResponse
|
|
(*IgnorePendingInviteRequest)(nil), // 54: protocol.chat.v1.IgnorePendingInviteRequest
|
|
(*IgnorePendingInviteResponse)(nil), // 55: protocol.chat.v1.IgnorePendingInviteResponse
|
|
(*InviteUserToGuildRequest)(nil), // 56: protocol.chat.v1.InviteUserToGuildRequest
|
|
(*InviteUserToGuildResponse)(nil), // 57: protocol.chat.v1.InviteUserToGuildResponse
|
|
(*GuildKind_Normal)(nil), // 58: protocol.chat.v1.GuildKind.Normal
|
|
(*GuildKind_Room)(nil), // 59: protocol.chat.v1.GuildKind.Room
|
|
(*GuildKind_DirectMessage)(nil), // 60: protocol.chat.v1.GuildKind.DirectMessage
|
|
(*v1.Metadata)(nil), // 61: protocol.harmonytypes.v1.Metadata
|
|
}
|
|
var file_chat_v1_guilds_proto_depIdxs = []int32{
|
|
58, // 0: protocol.chat.v1.GuildKind.normal:type_name -> protocol.chat.v1.GuildKind.Normal
|
|
59, // 1: protocol.chat.v1.GuildKind.room:type_name -> protocol.chat.v1.GuildKind.Room
|
|
60, // 2: protocol.chat.v1.GuildKind.direct_message:type_name -> protocol.chat.v1.GuildKind.DirectMessage
|
|
1, // 3: protocol.chat.v1.Guild.kind:type_name -> protocol.chat.v1.GuildKind
|
|
61, // 4: protocol.chat.v1.Guild.metadata:type_name -> protocol.harmonytypes.v1.Metadata
|
|
2, // 5: protocol.chat.v1.GuildWithId.guild:type_name -> protocol.chat.v1.Guild
|
|
4, // 6: protocol.chat.v1.InviteWithId.invite:type_name -> protocol.chat.v1.Invite
|
|
61, // 7: protocol.chat.v1.CreateGuildRequest.metadata:type_name -> protocol.harmonytypes.v1.Metadata
|
|
61, // 8: protocol.chat.v1.CreateRoomRequest.metadata:type_name -> protocol.harmonytypes.v1.Metadata
|
|
7, // 9: protocol.chat.v1.GetGuildListResponse.guilds:type_name -> protocol.chat.v1.GuildListEntry
|
|
2, // 10: protocol.chat.v1.GetGuildResponse.guild:type_name -> protocol.chat.v1.Guild
|
|
5, // 11: protocol.chat.v1.GetGuildInvitesResponse.invites:type_name -> protocol.chat.v1.InviteWithId
|
|
61, // 12: protocol.chat.v1.UpdateGuildInformationRequest.new_metadata:type_name -> protocol.harmonytypes.v1.Metadata
|
|
6, // 13: protocol.chat.v1.GetPendingInvitesResponse.pending_invites:type_name -> protocol.chat.v1.PendingInvite
|
|
14, // [14:14] is the sub-list for method output_type
|
|
14, // [14:14] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_chat_v1_guilds_proto_init() }
|
|
func file_chat_v1_guilds_proto_init() {
|
|
if File_chat_v1_guilds_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_chat_v1_guilds_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildKind); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Guild); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildWithId); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Invite); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InviteWithId); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingInvite); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildListEntry); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateRoomRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateRoomResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateDirectMessageRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateDirectMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateInviteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateInviteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildListRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildListResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildInvitesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildInvitesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildMembersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetGuildMembersResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateGuildInformationRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateGuildInformationResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpgradeRoomToGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpgradeRoomToGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteInviteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteInviteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*JoinGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*JoinGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PreviewGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PreviewGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LeaveGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LeaveGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BanUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BanUserResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*KickUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*KickUserResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UnbanUserRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UnbanUserResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBannedUsersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBannedUsersResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrantOwnershipRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GrantOwnershipResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GiveUpOwnershipRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GiveUpOwnershipResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPendingInvitesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPendingInvitesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RejectPendingInviteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RejectPendingInviteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IgnorePendingInviteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IgnorePendingInviteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InviteUserToGuildRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InviteUserToGuildResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildKind_Normal); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildKind_Room); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuildKind_DirectMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
(*GuildKind_Normal_)(nil),
|
|
(*GuildKind_Room_)(nil),
|
|
(*GuildKind_DirectMessage_)(nil),
|
|
}
|
|
file_chat_v1_guilds_proto_msgTypes[1].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[5].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[7].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[9].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[11].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[23].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[34].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[51].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[53].OneofWrappers = []interface{}{}
|
|
file_chat_v1_guilds_proto_msgTypes[55].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_chat_v1_guilds_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 60,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_chat_v1_guilds_proto_goTypes,
|
|
DependencyIndexes: file_chat_v1_guilds_proto_depIdxs,
|
|
EnumInfos: file_chat_v1_guilds_proto_enumTypes,
|
|
MessageInfos: file_chat_v1_guilds_proto_msgTypes,
|
|
}.Build()
|
|
File_chat_v1_guilds_proto = out.File
|
|
file_chat_v1_guilds_proto_rawDesc = nil
|
|
file_chat_v1_guilds_proto_goTypes = nil
|
|
file_chat_v1_guilds_proto_depIdxs = nil
|
|
}
|