// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc v5.29.2 // source: api/proto/im/v1/im.proto package imv1 import ( 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) ) // RoomEvent 是 room-service 发给 im-service 的统一房间事件。 // 这里刻意保持扁平字段,是为了让 room-service 同步广播时不需要再依赖复杂业务结构。 type RoomEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` ActorUserId int64 `protobuf:"varint,4,opt,name=actor_user_id,json=actorUserId,proto3" json:"actor_user_id,omitempty"` TargetUserId int64 `protobuf:"varint,5,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` SeatNo int32 `protobuf:"varint,6,opt,name=seat_no,json=seatNo,proto3" json:"seat_no,omitempty"` GiftValue int64 `protobuf:"varint,7,opt,name=gift_value,json=giftValue,proto3" json:"gift_value,omitempty"` RoomHeat int64 `protobuf:"varint,8,opt,name=room_heat,json=roomHeat,proto3" json:"room_heat,omitempty"` RoomVersion int64 `protobuf:"varint,9,opt,name=room_version,json=roomVersion,proto3" json:"room_version,omitempty"` Text string `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty"` Attributes map[string]string `protobuf:"bytes,11,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *RoomEvent) Reset() { *x = RoomEvent{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoomEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomEvent) ProtoMessage() {} func (x *RoomEvent) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 RoomEvent.ProtoReflect.Descriptor instead. func (*RoomEvent) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{0} } func (x *RoomEvent) GetEventId() string { if x != nil { return x.EventId } return "" } func (x *RoomEvent) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *RoomEvent) GetEventType() string { if x != nil { return x.EventType } return "" } func (x *RoomEvent) GetActorUserId() int64 { if x != nil { return x.ActorUserId } return 0 } func (x *RoomEvent) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *RoomEvent) GetSeatNo() int32 { if x != nil { return x.SeatNo } return 0 } func (x *RoomEvent) GetGiftValue() int64 { if x != nil { return x.GiftValue } return 0 } func (x *RoomEvent) GetRoomHeat() int64 { if x != nil { return x.RoomHeat } return 0 } func (x *RoomEvent) GetRoomVersion() int64 { if x != nil { return x.RoomVersion } return 0 } func (x *RoomEvent) GetText() string { if x != nil { return x.Text } return "" } func (x *RoomEvent) GetAttributes() map[string]string { if x != nil { return x.Attributes } return nil } // PublishRoomEventRequest 要求 im-service 立即把房间系统事件转成消息时间线。 type PublishRoomEventRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Event *RoomEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` } func (x *PublishRoomEventRequest) Reset() { *x = PublishRoomEventRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PublishRoomEventRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PublishRoomEventRequest) ProtoMessage() {} func (x *PublishRoomEventRequest) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 PublishRoomEventRequest.ProtoReflect.Descriptor instead. func (*PublishRoomEventRequest) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{1} } func (x *PublishRoomEventRequest) GetEvent() *RoomEvent { if x != nil { return x.Event } return nil } // PublishRoomEventResponse 返回 im-service 分配的房间顺序号。 type PublishRoomEventResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` RoomSeq int64 `protobuf:"varint,2,opt,name=room_seq,json=roomSeq,proto3" json:"room_seq,omitempty"` MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` } func (x *PublishRoomEventResponse) Reset() { *x = PublishRoomEventResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PublishRoomEventResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PublishRoomEventResponse) ProtoMessage() {} func (x *PublishRoomEventResponse) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 PublishRoomEventResponse.ProtoReflect.Descriptor instead. func (*PublishRoomEventResponse) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{2} } func (x *PublishRoomEventResponse) GetAccepted() bool { if x != nil { return x.Accepted } return false } func (x *PublishRoomEventResponse) GetRoomSeq() int64 { if x != nil { return x.RoomSeq } return 0 } func (x *PublishRoomEventResponse) GetMessageId() string { if x != nil { return x.MessageId } return "" } // PushSystemNoticeRequest 负责向指定用户投递系统通知。 type PushSystemNoticeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NoticeId string `protobuf:"bytes,1,opt,name=notice_id,json=noticeId,proto3" json:"notice_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` Attributes map[string]string `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *PushSystemNoticeRequest) Reset() { *x = PushSystemNoticeRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PushSystemNoticeRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PushSystemNoticeRequest) ProtoMessage() {} func (x *PushSystemNoticeRequest) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 PushSystemNoticeRequest.ProtoReflect.Descriptor instead. func (*PushSystemNoticeRequest) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{3} } func (x *PushSystemNoticeRequest) GetNoticeId() string { if x != nil { return x.NoticeId } return "" } func (x *PushSystemNoticeRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *PushSystemNoticeRequest) GetTitle() string { if x != nil { return x.Title } return "" } func (x *PushSystemNoticeRequest) GetBody() string { if x != nil { return x.Body } return "" } func (x *PushSystemNoticeRequest) GetAttributes() map[string]string { if x != nil { return x.Attributes } return nil } // PushSystemNoticeResponse 返回系统通知是否已入投递链路。 type PushSystemNoticeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` } func (x *PushSystemNoticeResponse) Reset() { *x = PushSystemNoticeResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PushSystemNoticeResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PushSystemNoticeResponse) ProtoMessage() {} func (x *PushSystemNoticeResponse) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 PushSystemNoticeResponse.ProtoReflect.Descriptor instead. func (*PushSystemNoticeResponse) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{4} } func (x *PushSystemNoticeResponse) GetAccepted() bool { if x != nil { return x.Accepted } return false } func (x *PushSystemNoticeResponse) GetMessageId() string { if x != nil { return x.MessageId } return "" } // ForceRoomResyncRequest 让 im-service 主动要求客户端重新拉房间状态。 type ForceRoomResyncRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` } func (x *ForceRoomResyncRequest) Reset() { *x = ForceRoomResyncRequest{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ForceRoomResyncRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ForceRoomResyncRequest) ProtoMessage() {} func (x *ForceRoomResyncRequest) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 ForceRoomResyncRequest.ProtoReflect.Descriptor instead. func (*ForceRoomResyncRequest) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{5} } func (x *ForceRoomResyncRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *ForceRoomResyncRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ForceRoomResyncRequest) GetReason() string { if x != nil { return x.Reason } return "" } // ForceRoomResyncResponse 返回触发结果。 type ForceRoomResyncResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` } func (x *ForceRoomResyncResponse) Reset() { *x = ForceRoomResyncResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_im_v1_im_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ForceRoomResyncResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ForceRoomResyncResponse) ProtoMessage() {} func (x *ForceRoomResyncResponse) ProtoReflect() protoreflect.Message { mi := &file_api_proto_im_v1_im_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 ForceRoomResyncResponse.ProtoReflect.Descriptor instead. func (*ForceRoomResyncResponse) Descriptor() ([]byte, []int) { return file_api_proto_im_v1_im_proto_rawDescGZIP(), []int{6} } func (x *ForceRoomResyncResponse) GetAccepted() bool { if x != nil { return x.Accepted } return false } var File_api_proto_im_v1_im_proto protoreflect.FileDescriptor var file_api_proto_im_v1_im_proto_rawDesc = []byte{ 0x0a, 0x18, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0xbb, 0x03, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x65, 0x61, 0x74, 0x5f, 0x6e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65, 0x61, 0x74, 0x4e, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x69, 0x66, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x68, 0x65, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x6f, 0x6f, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x17, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x70, 0x0a, 0x18, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x53, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x8e, 0x02, 0x0a, 0x17, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x54, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x55, 0x0a, 0x18, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x32, 0xb3, 0x02, 0x0a, 0x11, 0x52, 0x6f, 0x6f, 0x6d, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x23, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2e, 0x69, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1c, 0x5a, 0x1a, 0x68, 0x79, 0x61, 0x70, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6d, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_api_proto_im_v1_im_proto_rawDescOnce sync.Once file_api_proto_im_v1_im_proto_rawDescData = file_api_proto_im_v1_im_proto_rawDesc ) func file_api_proto_im_v1_im_proto_rawDescGZIP() []byte { file_api_proto_im_v1_im_proto_rawDescOnce.Do(func() { file_api_proto_im_v1_im_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_im_v1_im_proto_rawDescData) }) return file_api_proto_im_v1_im_proto_rawDescData } var file_api_proto_im_v1_im_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_api_proto_im_v1_im_proto_goTypes = []any{ (*RoomEvent)(nil), // 0: hyapp.im.v1.RoomEvent (*PublishRoomEventRequest)(nil), // 1: hyapp.im.v1.PublishRoomEventRequest (*PublishRoomEventResponse)(nil), // 2: hyapp.im.v1.PublishRoomEventResponse (*PushSystemNoticeRequest)(nil), // 3: hyapp.im.v1.PushSystemNoticeRequest (*PushSystemNoticeResponse)(nil), // 4: hyapp.im.v1.PushSystemNoticeResponse (*ForceRoomResyncRequest)(nil), // 5: hyapp.im.v1.ForceRoomResyncRequest (*ForceRoomResyncResponse)(nil), // 6: hyapp.im.v1.ForceRoomResyncResponse nil, // 7: hyapp.im.v1.RoomEvent.AttributesEntry nil, // 8: hyapp.im.v1.PushSystemNoticeRequest.AttributesEntry } var file_api_proto_im_v1_im_proto_depIdxs = []int32{ 7, // 0: hyapp.im.v1.RoomEvent.attributes:type_name -> hyapp.im.v1.RoomEvent.AttributesEntry 0, // 1: hyapp.im.v1.PublishRoomEventRequest.event:type_name -> hyapp.im.v1.RoomEvent 8, // 2: hyapp.im.v1.PushSystemNoticeRequest.attributes:type_name -> hyapp.im.v1.PushSystemNoticeRequest.AttributesEntry 1, // 3: hyapp.im.v1.RoomBridgeService.PublishRoomEvent:input_type -> hyapp.im.v1.PublishRoomEventRequest 3, // 4: hyapp.im.v1.RoomBridgeService.PushSystemNotice:input_type -> hyapp.im.v1.PushSystemNoticeRequest 5, // 5: hyapp.im.v1.RoomBridgeService.ForceRoomResync:input_type -> hyapp.im.v1.ForceRoomResyncRequest 2, // 6: hyapp.im.v1.RoomBridgeService.PublishRoomEvent:output_type -> hyapp.im.v1.PublishRoomEventResponse 4, // 7: hyapp.im.v1.RoomBridgeService.PushSystemNotice:output_type -> hyapp.im.v1.PushSystemNoticeResponse 6, // 8: hyapp.im.v1.RoomBridgeService.ForceRoomResync:output_type -> hyapp.im.v1.ForceRoomResyncResponse 6, // [6:9] is the sub-list for method output_type 3, // [3:6] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_api_proto_im_v1_im_proto_init() } func file_api_proto_im_v1_im_proto_init() { if File_api_proto_im_v1_im_proto != nil { return } if !protoimpl.UnsafeEnabled { file_api_proto_im_v1_im_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoomEvent); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PublishRoomEventRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PublishRoomEventResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*PushSystemNoticeRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*PushSystemNoticeResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ForceRoomResyncRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_im_v1_im_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ForceRoomResyncResponse); 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_api_proto_im_v1_im_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_api_proto_im_v1_im_proto_goTypes, DependencyIndexes: file_api_proto_im_v1_im_proto_depIdxs, MessageInfos: file_api_proto_im_v1_im_proto_msgTypes, }.Build() File_api_proto_im_v1_im_proto = out.File file_api_proto_im_v1_im_proto_rawDesc = nil file_api_proto_im_v1_im_proto_goTypes = nil file_api_proto_im_v1_im_proto_depIdxs = nil }