package room

import (
	proto "github.com/golang/protobuf/proto"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (

	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)

	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

const _ = proto.ProtoPackageIsVersion4

type GrantHostRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	HostID int32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
}

func (x *GrantHostRequest) Reset() {
	*x = GrantHostRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GrantHostRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GrantHostRequest) ProtoMessage() {}

func (x *GrantHostRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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)
}

func (*GrantHostRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{0}
}

func (x *GrantHostRequest) GetHostID() int32 {
	if x != nil {
		return x.HostID
	}
	return 0
}

type JoinRoomRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RoomID     int32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
	RoomSecret int32 `protobuf:"varint,2,opt,name=RoomSecret,proto3" json:"RoomSecret,omitempty"`
}

func (x *JoinRoomRequest) Reset() {
	*x = JoinRoomRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *JoinRoomRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*JoinRoomRequest) ProtoMessage() {}

func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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)
}

func (*JoinRoomRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{1}
}

func (x *JoinRoomRequest) GetRoomID() int32 {
	if x != nil {
		return x.RoomID
	}
	return 0
}

func (x *JoinRoomRequest) GetRoomSecret() int32 {
	if x != nil {
		return x.RoomSecret
	}
	return 0
}

type RejoinRoomRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RoomID       int32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
	RoomSecret   int32 `protobuf:"varint,2,opt,name=RoomSecret,proto3" json:"RoomSecret,omitempty"`
	ClientID     int32 `protobuf:"varint,3,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	ClientSecret int32 `protobuf:"varint,4,opt,name=ClientSecret,proto3" json:"ClientSecret,omitempty"`
}

func (x *RejoinRoomRequest) Reset() {
	*x = RejoinRoomRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RejoinRoomRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RejoinRoomRequest) ProtoMessage() {}

func (x *RejoinRoomRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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)
}

func (*RejoinRoomRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{2}
}

func (x *RejoinRoomRequest) GetRoomID() int32 {
	if x != nil {
		return x.RoomID
	}
	return 0
}

func (x *RejoinRoomRequest) GetRoomSecret() int32 {
	if x != nil {
		return x.RoomSecret
	}
	return 0
}

func (x *RejoinRoomRequest) GetClientID() int32 {
	if x != nil {
		return x.ClientID
	}
	return 0
}

func (x *RejoinRoomRequest) GetClientSecret() int32 {
	if x != nil {
		return x.ClientSecret
	}
	return 0
}

type FinishHostMigrationResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	HostID int32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
}

func (x *FinishHostMigrationResponse) Reset() {
	*x = FinishHostMigrationResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *FinishHostMigrationResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FinishHostMigrationResponse) ProtoMessage() {}

func (x *FinishHostMigrationResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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)
}

func (*FinishHostMigrationResponse) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{3}
}

func (x *FinishHostMigrationResponse) GetHostID() int32 {
	if x != nil {
		return x.HostID
	}
	return 0
}

var File_v1_room_room_proto protoreflect.FileDescriptor

var file_v1_room_room_proto_rawDesc = []byte{
	0x0a, 0x12, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x22, 0x2a, 0x0a,
	0x10, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x05, 0x52, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x22, 0x49, 0x0a, 0x0f, 0x4a, 0x6f, 0x69,
	0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
	0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f,
	0x6f, 0x6d, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65,
	0x63, 0x72, 0x65, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6a, 0x6f, 0x69, 0x6e, 0x52,
	0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f,
	0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d,
	0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x22,
	0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x04,
	0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x22, 0x35, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x48, 0x6f, 0x73, 0x74,
	0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x05, 0x52, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74,
	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x61, 0x6d, 0x6a, 0x61, 0x72, 0x6c, 0x61,
	0x62, 0x73, 0x2f, 0x6a, 0x61, 0x6d, 0x6a, 0x61, 0x72, 0x2d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2d,
	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x2f,
	0x72, 0x6f, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_v1_room_room_proto_rawDescOnce sync.Once
	file_v1_room_room_proto_rawDescData = file_v1_room_room_proto_rawDesc
)

func file_v1_room_room_proto_rawDescGZIP() []byte {
	file_v1_room_room_proto_rawDescOnce.Do(func() {
		file_v1_room_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_room_room_proto_rawDescData)
	})
	return file_v1_room_room_proto_rawDescData
}

var file_v1_room_room_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_v1_room_room_proto_goTypes = []interface{}{
	(*GrantHostRequest)(nil),            
	(*JoinRoomRequest)(nil),             
	(*RejoinRoomRequest)(nil),           
	(*FinishHostMigrationResponse)(nil), 
}
var file_v1_room_room_proto_depIdxs = []int32{
	0, 
	0, 
	0, 
	0, 
	0, 
}

func init() { file_v1_room_room_proto_init() }
func file_v1_room_room_proto_init() {
	if File_v1_room_room_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_v1_room_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GrantHostRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*JoinRoomRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RejoinRoomRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FinishHostMigrationResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_v1_room_room_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_v1_room_room_proto_goTypes,
		DependencyIndexes: file_v1_room_room_proto_depIdxs,
		MessageInfos:      file_v1_room_room_proto_msgTypes,
	}.Build()
	File_v1_room_room_proto = out.File
	file_v1_room_room_proto_rawDesc = nil
	file_v1_room_room_proto_goTypes = nil
	file_v1_room_room_proto_depIdxs = nil
}
//
//Copyright 2021 The JamJar Relay Server Authors.
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.25.0
// 	protoc        v3.15.6
// source: v1/room/room.proto

package room

import (
	proto "github.com/golang/protobuf/proto"
	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

type GrantHostRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	HostID int32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
}

func (x *GrantHostRequest) Reset() {
	*x = GrantHostRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GrantHostRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GrantHostRequest) ProtoMessage() {}

func (x *GrantHostRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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 GrantHostRequest.ProtoReflect.Descriptor instead.
func (*GrantHostRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{0}
}

func (x *GrantHostRequest) GetHostID() int32 {
	if x != nil {
		return x.HostID
	}
	return 0
}

type JoinRoomRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RoomID     int32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
	RoomSecret int32 `protobuf:"varint,2,opt,name=RoomSecret,proto3" json:"RoomSecret,omitempty"`
}

func (x *JoinRoomRequest) Reset() {
	*x = JoinRoomRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *JoinRoomRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*JoinRoomRequest) ProtoMessage() {}

func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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 JoinRoomRequest.ProtoReflect.Descriptor instead.
func (*JoinRoomRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{1}
}

func (x *JoinRoomRequest) GetRoomID() int32 {
	if x != nil {
		return x.RoomID
	}
	return 0
}

func (x *JoinRoomRequest) GetRoomSecret() int32 {
	if x != nil {
		return x.RoomSecret
	}
	return 0
}

type RejoinRoomRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RoomID       int32 `protobuf:"varint,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
	RoomSecret   int32 `protobuf:"varint,2,opt,name=RoomSecret,proto3" json:"RoomSecret,omitempty"`
	ClientID     int32 `protobuf:"varint,3,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	ClientSecret int32 `protobuf:"varint,4,opt,name=ClientSecret,proto3" json:"ClientSecret,omitempty"`
}

func (x *RejoinRoomRequest) Reset() {
	*x = RejoinRoomRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RejoinRoomRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RejoinRoomRequest) ProtoMessage() {}

func (x *RejoinRoomRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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 RejoinRoomRequest.ProtoReflect.Descriptor instead.
func (*RejoinRoomRequest) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{2}
}

func (x *RejoinRoomRequest) GetRoomID() int32 {
	if x != nil {
		return x.RoomID
	}
	return 0
}

func (x *RejoinRoomRequest) GetRoomSecret() int32 {
	if x != nil {
		return x.RoomSecret
	}
	return 0
}

func (x *RejoinRoomRequest) GetClientID() int32 {
	if x != nil {
		return x.ClientID
	}
	return 0
}

func (x *RejoinRoomRequest) GetClientSecret() int32 {
	if x != nil {
		return x.ClientSecret
	}
	return 0
}

type FinishHostMigrationResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	HostID int32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
}

func (x *FinishHostMigrationResponse) Reset() {
	*x = FinishHostMigrationResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_v1_room_room_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *FinishHostMigrationResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FinishHostMigrationResponse) ProtoMessage() {}

func (x *FinishHostMigrationResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_room_room_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 FinishHostMigrationResponse.ProtoReflect.Descriptor instead.
func (*FinishHostMigrationResponse) Descriptor() ([]byte, []int) {
	return file_v1_room_room_proto_rawDescGZIP(), []int{3}
}

func (x *FinishHostMigrationResponse) GetHostID() int32 {
	if x != nil {
		return x.HostID
	}
	return 0
}

var File_v1_room_room_proto protoreflect.FileDescriptor

var file_v1_room_room_proto_rawDesc = []byte{
	0x0a, 0x12, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x76, 0x31, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x22, 0x2a, 0x0a,
	0x10, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x05, 0x52, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x22, 0x49, 0x0a, 0x0f, 0x4a, 0x6f, 0x69,
	0x6e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
	0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f,
	0x6f, 0x6d, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65,
	0x63, 0x72, 0x65, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6a, 0x6f, 0x69, 0x6e, 0x52,
	0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f,
	0x6f, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d,
	0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x22,
	0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x04,
	0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72,
	0x65, 0x74, 0x22, 0x35, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x48, 0x6f, 0x73, 0x74,
	0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x05, 0x52, 0x06, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x44, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74,
	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x61, 0x6d, 0x6a, 0x61, 0x72, 0x6c, 0x61,
	0x62, 0x73, 0x2f, 0x6a, 0x61, 0x6d, 0x6a, 0x61, 0x72, 0x2d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2d,
	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x2f,
	0x72, 0x6f, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_v1_room_room_proto_rawDescOnce sync.Once
	file_v1_room_room_proto_rawDescData = file_v1_room_room_proto_rawDesc
)

func file_v1_room_room_proto_rawDescGZIP() []byte {
	file_v1_room_room_proto_rawDescOnce.Do(func() {
		file_v1_room_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_room_room_proto_rawDescData)
	})
	return file_v1_room_room_proto_rawDescData
}

var file_v1_room_room_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_v1_room_room_proto_goTypes = []interface{}{
	(*GrantHostRequest)(nil),            // 0: v1_room.GrantHostRequest
	(*JoinRoomRequest)(nil),             // 1: v1_room.JoinRoomRequest
	(*RejoinRoomRequest)(nil),           // 2: v1_room.RejoinRoomRequest
	(*FinishHostMigrationResponse)(nil), // 3: v1_room.FinishHostMigrationResponse
}
var file_v1_room_room_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_v1_room_room_proto_init() }
func file_v1_room_room_proto_init() {
	if File_v1_room_room_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_v1_room_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GrantHostRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*JoinRoomRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RejoinRoomRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_v1_room_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*FinishHostMigrationResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_v1_room_room_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_v1_room_room_proto_goTypes,
		DependencyIndexes: file_v1_room_room_proto_depIdxs,
		MessageInfos:      file_v1_room_room_proto_msgTypes,
	}.Build()
	File_v1_room_room_proto = out.File
	file_v1_room_room_proto_rawDesc = nil
	file_v1_room_room_proto_goTypes = nil
	file_v1_room_room_proto_depIdxs = nil
}
