diff --git a/chat_completion/chat_completion.pb.go b/chat_completion/chat_completion.pb.go index f1a0ad9..3bcb207 100644 --- a/chat_completion/chat_completion.pb.go +++ b/chat_completion/chat_completion.pb.go @@ -91,6 +91,297 @@ func (x *ChatMessage) GetStage() uint32 { return 0 } +type QueryExamAnswerListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PaperIds []string `protobuf:"bytes,1,rep,name=paperIds,proto3" json:"paperIds,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` +} + +func (x *QueryExamAnswerListRequest) Reset() { + *x = QueryExamAnswerListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_chat_completion_chat_completion_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryExamAnswerListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryExamAnswerListRequest) ProtoMessage() {} + +func (x *QueryExamAnswerListRequest) ProtoReflect() protoreflect.Message { + mi := &file_chat_completion_chat_completion_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 QueryExamAnswerListRequest.ProtoReflect.Descriptor instead. +func (*QueryExamAnswerListRequest) Descriptor() ([]byte, []int) { + return file_chat_completion_chat_completion_proto_rawDescGZIP(), []int{1} +} + +func (x *QueryExamAnswerListRequest) GetPaperIds() []string { + if x != nil { + return x.PaperIds + } + return nil +} + +func (x *QueryExamAnswerListRequest) GetUsername() string { + if x != nil { + return x.Username + } + return "" +} + +type QuestionAndAnswerPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"` + Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` +} + +func (x *QuestionAndAnswerPair) Reset() { + *x = QuestionAndAnswerPair{} + if protoimpl.UnsafeEnabled { + mi := &file_chat_completion_chat_completion_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuestionAndAnswerPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuestionAndAnswerPair) ProtoMessage() {} + +func (x *QuestionAndAnswerPair) ProtoReflect() protoreflect.Message { + mi := &file_chat_completion_chat_completion_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 QuestionAndAnswerPair.ProtoReflect.Descriptor instead. +func (*QuestionAndAnswerPair) Descriptor() ([]byte, []int) { + return file_chat_completion_chat_completion_proto_rawDescGZIP(), []int{2} +} + +func (x *QuestionAndAnswerPair) GetQuestion() string { + if x != nil { + return x.Question + } + return "" +} + +func (x *QuestionAndAnswerPair) GetAnswer() string { + if x != nil { + return x.Answer + } + return "" +} + +type QueryExamAnswerListResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnswerList []*QuestionAndAnswerPair `protobuf:"bytes,1,rep,name=answerList,proto3" json:"answerList,omitempty"` +} + +func (x *QueryExamAnswerListResponse) Reset() { + *x = QueryExamAnswerListResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_chat_completion_chat_completion_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryExamAnswerListResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryExamAnswerListResponse) ProtoMessage() {} + +func (x *QueryExamAnswerListResponse) ProtoReflect() protoreflect.Message { + mi := &file_chat_completion_chat_completion_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 QueryExamAnswerListResponse.ProtoReflect.Descriptor instead. +func (*QueryExamAnswerListResponse) Descriptor() ([]byte, []int) { + return file_chat_completion_chat_completion_proto_rawDescGZIP(), []int{3} +} + +func (x *QueryExamAnswerListResponse) GetAnswerList() []*QuestionAndAnswerPair { + if x != nil { + return x.AnswerList + } + return nil +} + +type TalkReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OverallScore string `protobuf:"bytes,1,opt,name=overall_score,json=overallScore,proto3" json:"overall_score,omitempty"` + FluencyCoherence *TalkReport_ScoreAndComment `protobuf:"bytes,2,opt,name=fluency_coherence,json=fluencyCoherence,proto3" json:"fluency_coherence,omitempty"` + Pronunciation *TalkReport_ScoreAndComment `protobuf:"bytes,3,opt,name=pronunciation,proto3" json:"pronunciation,omitempty"` + Grammer *TalkReport_ScoreAndComment `protobuf:"bytes,4,opt,name=grammer,proto3" json:"grammer,omitempty"` + Vocabulary *TalkReport_ScoreAndComment `protobuf:"bytes,5,opt,name=vocabulary,proto3" json:"vocabulary,omitempty"` +} + +func (x *TalkReport) Reset() { + *x = TalkReport{} + if protoimpl.UnsafeEnabled { + mi := &file_chat_completion_chat_completion_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TalkReport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TalkReport) ProtoMessage() {} + +func (x *TalkReport) ProtoReflect() protoreflect.Message { + mi := &file_chat_completion_chat_completion_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 TalkReport.ProtoReflect.Descriptor instead. +func (*TalkReport) Descriptor() ([]byte, []int) { + return file_chat_completion_chat_completion_proto_rawDescGZIP(), []int{4} +} + +func (x *TalkReport) GetOverallScore() string { + if x != nil { + return x.OverallScore + } + return "" +} + +func (x *TalkReport) GetFluencyCoherence() *TalkReport_ScoreAndComment { + if x != nil { + return x.FluencyCoherence + } + return nil +} + +func (x *TalkReport) GetPronunciation() *TalkReport_ScoreAndComment { + if x != nil { + return x.Pronunciation + } + return nil +} + +func (x *TalkReport) GetGrammer() *TalkReport_ScoreAndComment { + if x != nil { + return x.Grammer + } + return nil +} + +func (x *TalkReport) GetVocabulary() *TalkReport_ScoreAndComment { + if x != nil { + return x.Vocabulary + } + return nil +} + +type TalkReport_ScoreAndComment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DetailedScore string `protobuf:"bytes,1,opt,name=detailed_score,json=detailedScore,proto3" json:"detailed_score,omitempty"` + Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` +} + +func (x *TalkReport_ScoreAndComment) Reset() { + *x = TalkReport_ScoreAndComment{} + if protoimpl.UnsafeEnabled { + mi := &file_chat_completion_chat_completion_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TalkReport_ScoreAndComment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TalkReport_ScoreAndComment) ProtoMessage() {} + +func (x *TalkReport_ScoreAndComment) ProtoReflect() protoreflect.Message { + mi := &file_chat_completion_chat_completion_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 TalkReport_ScoreAndComment.ProtoReflect.Descriptor instead. +func (*TalkReport_ScoreAndComment) Descriptor() ([]byte, []int) { + return file_chat_completion_chat_completion_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *TalkReport_ScoreAndComment) GetDetailedScore() string { + if x != nil { + return x.DetailedScore + } + return "" +} + +func (x *TalkReport_ScoreAndComment) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + var File_chat_completion_chat_completion_proto protoreflect.FileDescriptor var file_chat_completion_chat_completion_proto_rawDesc = []byte{ @@ -104,213 +395,265 @@ var file_chat_completion_chat_completion_proto_rawDesc = []byte{ 0x73, 0x65, 0x72, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x73, 0x74, 0x61, 0x67, 0x65, 0x32, 0x97, 0x19, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, - 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x04, 0x63, 0x68, - 0x61, 0x74, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x28, 0x01, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1c, + 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x54, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, + 0x61, 0x6d, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x70, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x70, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x51, + 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, + 0x50, 0x61, 0x69, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x65, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x45, 0x78, 0x61, 0x6d, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x68, + 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, + 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x50, + 0x61, 0x69, 0x72, 0x52, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0xc6, 0x03, 0x0a, 0x0a, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x6c, 0x6c, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x66, 0x6c, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, + 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x50, - 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x5f, 0x6a, 0x75, 0x64, - 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x4e, 0x0a, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x70, 0x65, 0x65, - 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, - 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, - 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, - 0x0a, 0x18, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, - 0x5f, 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, - 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, - 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x18, 0x69, 0x65, 0x6c, 0x74, - 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, - 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, + 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x41, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x66, 0x6c, 0x75, + 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x51, 0x0a, + 0x0d, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x45, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, + 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x12, 0x4b, 0x0a, 0x0a, 0x76, 0x6f, 0x63, 0x61, 0x62, + 0x75, 0x6c, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x68, + 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, + 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6e, + 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x76, 0x6f, 0x63, 0x61, 0x62, 0x75, + 0x6c, 0x61, 0x72, 0x79, 0x1a, 0x52, 0x0a, 0x0f, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6e, 0x64, + 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x8c, 0x1a, 0x0a, 0x0b, 0x43, 0x68, 0x61, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, - 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, - 0x67, 0x5f, 0x70, 0x33, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, + 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, + 0x04, 0x63, 0x68, 0x61, 0x74, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x77, 0x72, 0x69, 0x74, 0x65, + 0x5f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x50, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x5f, + 0x6a, 0x75, 0x64, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x73, + 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, + 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x5a, 0x0a, 0x18, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, - 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, - 0x18, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, - 0x70, 0x33, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x69, 0x65, 0x6c, - 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x31, 0x5f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, - 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5b, - 0x0a, 0x19, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, - 0x74, 0x32, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, + 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, 0x0a, + 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, + 0x70, 0x32, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x69, - 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x32, 0x5f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, - 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x32, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x18, 0x69, + 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, + 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x69, 0x65, 0x6c, 0x74, 0x73, + 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, + 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x33, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x12, 0x5f, 0x0a, 0x1d, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, - 0x6e, 0x67, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, - 0x73, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, - 0x01, 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, - 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, - 0x5b, 0x0a, 0x19, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x63, + 0x12, 0x5a, 0x0a, 0x18, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, + 0x6e, 0x67, 0x5f, 0x70, 0x33, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5e, 0x0a, 0x1c, - 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, - 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x1f, - 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, + 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x31, + 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x65, 0x6c, 0x74, 0x73, + 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, - 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, - 0x5c, 0x0a, 0x1a, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, - 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, - 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, - 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, - 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5a, 0x0a, - 0x18, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, - 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x5b, 0x0a, 0x19, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x74, 0x32, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, + 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, + 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, + 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, + 0x0a, 0x17, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x74, 0x32, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x74, 0x6f, 0x65, - 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x73, - 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x65, 0x6c, + 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x32, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x1d, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, + 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x79, 0x6e, 0x6f, + 0x6e, 0x79, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x1a, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, + 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x5b, 0x0a, 0x19, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, - 0x58, 0x0a, 0x16, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x70, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x74, 0x6f, 0x65, - 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x5e, 0x0a, 0x1c, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x12, + 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, + 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, + 0x61, 0x0a, 0x1f, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, + 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x1a, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, + 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, + 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, + 0x12, 0x5a, 0x0a, 0x18, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, + 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, - 0x0a, 0x17, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, - 0x70, 0x33, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, + 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, + 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, + 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, + 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5b, 0x0a, 0x19, 0x74, 0x6f, 0x65, - 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x33, 0x5f, 0x67, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x08, 0x63, 0x6e, 0x5f, 0x74, 0x6f, 0x5f, - 0x65, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, 0x74, 0x6f, 0x65, 0x66, 0x6c, + 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x65, 0x6e, 0x72, 0x69, + 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x08, 0x65, 0x6e, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6e, 0x12, 0x1c, - 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, + 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x57, - 0x0a, 0x17, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, - 0x5f, 0x65, 0x78, 0x65, 0x72, 0x63, 0x69, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, + 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, + 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x17, + 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, + 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x58, 0x0a, 0x16, 0x74, 0x6f, 0x65, 0x66, 0x6c, + 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x32, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x59, 0x0a, 0x17, 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x70, 0x33, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x63, + 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, + 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, + 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x5b, 0x0a, 0x19, + 0x74, 0x6f, 0x65, 0x66, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x33, + 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x13, 0x69, 0x65, 0x6c, 0x74, 0x73, - 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x12, 0x1c, - 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x08, 0x63, 0x6e, 0x5f, + 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x08, 0x65, 0x6e, 0x5f, 0x74, 0x6f, 0x5f, 0x63, + 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, + 0x01, 0x12, 0x57, 0x0a, 0x17, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, + 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x65, 0x72, 0x63, 0x69, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x11, - 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, + 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x13, 0x69, 0x65, + 0x6c, 0x74, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x61, + 0x6d, 0x12, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x42, - 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6b, - 0x75, 0x73, 0x75, 0x6e, 0x6a, 0x79, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x69, 0x2d, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, + 0x5f, 0x0a, 0x11, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x72, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x61, 0x6d, + 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x00, + 0x12, 0x65, 0x0a, 0x16, 0x69, 0x65, 0x6c, 0x74, 0x73, 0x5f, 0x74, 0x61, 0x6c, 0x6b, 0x5f, 0x72, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x6d, 0x70, 0x6c, 0x12, 0x2c, 0x2e, 0x63, 0x68, 0x61, + 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x45, 0x78, 0x61, 0x6d, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x1b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x00, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6b, 0x75, 0x73, 0x75, 0x6e, 0x6a, 0x79, 0x2f, 0x6f, + 0x70, 0x65, 0x6e, 0x61, 0x69, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2d, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, + 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -325,88 +668,100 @@ func file_chat_completion_chat_completion_proto_rawDescGZIP() []byte { return file_chat_completion_chat_completion_proto_rawDescData } -var file_chat_completion_chat_completion_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_chat_completion_chat_completion_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_chat_completion_chat_completion_proto_goTypes = []any{ - (*ChatMessage)(nil), // 0: chat_completion.ChatMessage + (*ChatMessage)(nil), // 0: chat_completion.ChatMessage + (*QueryExamAnswerListRequest)(nil), // 1: chat_completion.QueryExamAnswerListRequest + (*QuestionAndAnswerPair)(nil), // 2: chat_completion.QuestionAndAnswerPair + (*QueryExamAnswerListResponse)(nil), // 3: chat_completion.QueryExamAnswerListResponse + (*TalkReport)(nil), // 4: chat_completion.TalkReport + (*TalkReport_ScoreAndComment)(nil), // 5: chat_completion.TalkReport.ScoreAndComment } var file_chat_completion_chat_completion_proto_depIdxs = []int32{ - 0, // 0: chat_completion.ChatService.ask:input_type -> chat_completion.ChatMessage - 0, // 1: chat_completion.ChatService.chat:input_type -> chat_completion.ChatMessage - 0, // 2: chat_completion.ChatService.write_article_by_title:input_type -> chat_completion.ChatMessage - 0, // 3: chat_completion.ChatService.transcribe_judge:input_type -> chat_completion.ChatMessage - 0, // 4: chat_completion.ChatService.text_to_speech:input_type -> chat_completion.ChatMessage - 0, // 5: chat_completion.ChatService.ielts_speaking_p1_generate:input_type -> chat_completion.ChatMessage - 0, // 6: chat_completion.ChatService.ielts_speaking_p1_enrich:input_type -> chat_completion.ChatMessage - 0, // 7: chat_completion.ChatService.ielts_speaking_p2_generate:input_type -> chat_completion.ChatMessage - 0, // 8: chat_completion.ChatService.ielts_speaking_p2_enrich:input_type -> chat_completion.ChatMessage - 0, // 9: chat_completion.ChatService.ielts_speaking_p2_score:input_type -> chat_completion.ChatMessage - 0, // 10: chat_completion.ChatService.ielts_speaking_p3_generate:input_type -> chat_completion.ChatMessage - 0, // 11: chat_completion.ChatService.ielts_speaking_p3_enrich:input_type -> chat_completion.ChatMessage - 0, // 12: chat_completion.ChatService.ielts_writing_t1_enrich:input_type -> chat_completion.ChatMessage - 0, // 13: chat_completion.ChatService.ielts_writing_t1_score:input_type -> chat_completion.ChatMessage - 0, // 14: chat_completion.ChatService.ielts_writing_t2_generate:input_type -> chat_completion.ChatMessage - 0, // 15: chat_completion.ChatService.ielts_writing_t2_enrich:input_type -> chat_completion.ChatMessage - 0, // 16: chat_completion.ChatService.ielts_writing_t2_score:input_type -> chat_completion.ChatMessage - 0, // 17: chat_completion.ChatService.ielts_speaking_words_synonyms:input_type -> chat_completion.ChatMessage - 0, // 18: chat_completion.ChatService.ielts_speaking_words_usage:input_type -> chat_completion.ChatMessage - 0, // 19: chat_completion.ChatService.ielts_writing_words_theme:input_type -> chat_completion.ChatMessage - 0, // 20: chat_completion.ChatService.ielts_writing_words_synonyms:input_type -> chat_completion.ChatMessage - 0, // 21: chat_completion.ChatService.ielts_writing_words_combination:input_type -> chat_completion.ChatMessage - 0, // 22: chat_completion.ChatService.toefl_speaking_p1_generate:input_type -> chat_completion.ChatMessage - 0, // 23: chat_completion.ChatService.toefl_speaking_p1_enrich:input_type -> chat_completion.ChatMessage - 0, // 24: chat_completion.ChatService.toefl_speaking_p1_score:input_type -> chat_completion.ChatMessage - 0, // 25: chat_completion.ChatService.toefl_writing_p1_enrich:input_type -> chat_completion.ChatMessage - 0, // 26: chat_completion.ChatService.toefl_writing_p1_score:input_type -> chat_completion.ChatMessage - 0, // 27: chat_completion.ChatService.toefl_writing_p2_enrich:input_type -> chat_completion.ChatMessage - 0, // 28: chat_completion.ChatService.toefl_writing_p2_score:input_type -> chat_completion.ChatMessage - 0, // 29: chat_completion.ChatService.toefl_writing_p3_enrich:input_type -> chat_completion.ChatMessage - 0, // 30: chat_completion.ChatService.toefl_writing_p3_generate:input_type -> chat_completion.ChatMessage - 0, // 31: chat_completion.ChatService.cn_to_en:input_type -> chat_completion.ChatMessage - 0, // 32: chat_completion.ChatService.en_to_cn:input_type -> chat_completion.ChatMessage - 0, // 33: chat_completion.ChatService.ielts_speaking_exercise:input_type -> chat_completion.ChatMessage - 0, // 34: chat_completion.ChatService.ielts_speaking_exam:input_type -> chat_completion.ChatMessage - 0, // 35: chat_completion.ChatService.ielts_talk_report:input_type -> chat_completion.ChatMessage - 0, // 36: chat_completion.ChatService.ask:output_type -> chat_completion.ChatMessage - 0, // 37: chat_completion.ChatService.chat:output_type -> chat_completion.ChatMessage - 0, // 38: chat_completion.ChatService.write_article_by_title:output_type -> chat_completion.ChatMessage - 0, // 39: chat_completion.ChatService.transcribe_judge:output_type -> chat_completion.ChatMessage - 0, // 40: chat_completion.ChatService.text_to_speech:output_type -> chat_completion.ChatMessage - 0, // 41: chat_completion.ChatService.ielts_speaking_p1_generate:output_type -> chat_completion.ChatMessage - 0, // 42: chat_completion.ChatService.ielts_speaking_p1_enrich:output_type -> chat_completion.ChatMessage - 0, // 43: chat_completion.ChatService.ielts_speaking_p2_generate:output_type -> chat_completion.ChatMessage - 0, // 44: chat_completion.ChatService.ielts_speaking_p2_enrich:output_type -> chat_completion.ChatMessage - 0, // 45: chat_completion.ChatService.ielts_speaking_p2_score:output_type -> chat_completion.ChatMessage - 0, // 46: chat_completion.ChatService.ielts_speaking_p3_generate:output_type -> chat_completion.ChatMessage - 0, // 47: chat_completion.ChatService.ielts_speaking_p3_enrich:output_type -> chat_completion.ChatMessage - 0, // 48: chat_completion.ChatService.ielts_writing_t1_enrich:output_type -> chat_completion.ChatMessage - 0, // 49: chat_completion.ChatService.ielts_writing_t1_score:output_type -> chat_completion.ChatMessage - 0, // 50: chat_completion.ChatService.ielts_writing_t2_generate:output_type -> chat_completion.ChatMessage - 0, // 51: chat_completion.ChatService.ielts_writing_t2_enrich:output_type -> chat_completion.ChatMessage - 0, // 52: chat_completion.ChatService.ielts_writing_t2_score:output_type -> chat_completion.ChatMessage - 0, // 53: chat_completion.ChatService.ielts_speaking_words_synonyms:output_type -> chat_completion.ChatMessage - 0, // 54: chat_completion.ChatService.ielts_speaking_words_usage:output_type -> chat_completion.ChatMessage - 0, // 55: chat_completion.ChatService.ielts_writing_words_theme:output_type -> chat_completion.ChatMessage - 0, // 56: chat_completion.ChatService.ielts_writing_words_synonyms:output_type -> chat_completion.ChatMessage - 0, // 57: chat_completion.ChatService.ielts_writing_words_combination:output_type -> chat_completion.ChatMessage - 0, // 58: chat_completion.ChatService.toefl_speaking_p1_generate:output_type -> chat_completion.ChatMessage - 0, // 59: chat_completion.ChatService.toefl_speaking_p1_enrich:output_type -> chat_completion.ChatMessage - 0, // 60: chat_completion.ChatService.toefl_speaking_p1_score:output_type -> chat_completion.ChatMessage - 0, // 61: chat_completion.ChatService.toefl_writing_p1_enrich:output_type -> chat_completion.ChatMessage - 0, // 62: chat_completion.ChatService.toefl_writing_p1_score:output_type -> chat_completion.ChatMessage - 0, // 63: chat_completion.ChatService.toefl_writing_p2_enrich:output_type -> chat_completion.ChatMessage - 0, // 64: chat_completion.ChatService.toefl_writing_p2_score:output_type -> chat_completion.ChatMessage - 0, // 65: chat_completion.ChatService.toefl_writing_p3_enrich:output_type -> chat_completion.ChatMessage - 0, // 66: chat_completion.ChatService.toefl_writing_p3_generate:output_type -> chat_completion.ChatMessage - 0, // 67: chat_completion.ChatService.cn_to_en:output_type -> chat_completion.ChatMessage - 0, // 68: chat_completion.ChatService.en_to_cn:output_type -> chat_completion.ChatMessage - 0, // 69: chat_completion.ChatService.ielts_speaking_exercise:output_type -> chat_completion.ChatMessage - 0, // 70: chat_completion.ChatService.ielts_speaking_exam:output_type -> chat_completion.ChatMessage - 0, // 71: chat_completion.ChatService.ielts_talk_report:output_type -> chat_completion.ChatMessage - 36, // [36:72] is the sub-list for method output_type - 0, // [0:36] 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 + 2, // 0: chat_completion.QueryExamAnswerListResponse.answerList:type_name -> chat_completion.QuestionAndAnswerPair + 5, // 1: chat_completion.TalkReport.fluency_coherence:type_name -> chat_completion.TalkReport.ScoreAndComment + 5, // 2: chat_completion.TalkReport.pronunciation:type_name -> chat_completion.TalkReport.ScoreAndComment + 5, // 3: chat_completion.TalkReport.grammer:type_name -> chat_completion.TalkReport.ScoreAndComment + 5, // 4: chat_completion.TalkReport.vocabulary:type_name -> chat_completion.TalkReport.ScoreAndComment + 0, // 5: chat_completion.ChatService.ask:input_type -> chat_completion.ChatMessage + 0, // 6: chat_completion.ChatService.chat:input_type -> chat_completion.ChatMessage + 0, // 7: chat_completion.ChatService.write_article_by_title:input_type -> chat_completion.ChatMessage + 0, // 8: chat_completion.ChatService.transcribe_judge:input_type -> chat_completion.ChatMessage + 0, // 9: chat_completion.ChatService.text_to_speech:input_type -> chat_completion.ChatMessage + 0, // 10: chat_completion.ChatService.ielts_speaking_p1_generate:input_type -> chat_completion.ChatMessage + 0, // 11: chat_completion.ChatService.ielts_speaking_p1_enrich:input_type -> chat_completion.ChatMessage + 0, // 12: chat_completion.ChatService.ielts_speaking_p2_generate:input_type -> chat_completion.ChatMessage + 0, // 13: chat_completion.ChatService.ielts_speaking_p2_enrich:input_type -> chat_completion.ChatMessage + 0, // 14: chat_completion.ChatService.ielts_speaking_p2_score:input_type -> chat_completion.ChatMessage + 0, // 15: chat_completion.ChatService.ielts_speaking_p3_generate:input_type -> chat_completion.ChatMessage + 0, // 16: chat_completion.ChatService.ielts_speaking_p3_enrich:input_type -> chat_completion.ChatMessage + 0, // 17: chat_completion.ChatService.ielts_writing_t1_enrich:input_type -> chat_completion.ChatMessage + 0, // 18: chat_completion.ChatService.ielts_writing_t1_score:input_type -> chat_completion.ChatMessage + 0, // 19: chat_completion.ChatService.ielts_writing_t2_generate:input_type -> chat_completion.ChatMessage + 0, // 20: chat_completion.ChatService.ielts_writing_t2_enrich:input_type -> chat_completion.ChatMessage + 0, // 21: chat_completion.ChatService.ielts_writing_t2_score:input_type -> chat_completion.ChatMessage + 0, // 22: chat_completion.ChatService.ielts_speaking_words_synonyms:input_type -> chat_completion.ChatMessage + 0, // 23: chat_completion.ChatService.ielts_speaking_words_usage:input_type -> chat_completion.ChatMessage + 0, // 24: chat_completion.ChatService.ielts_writing_words_theme:input_type -> chat_completion.ChatMessage + 0, // 25: chat_completion.ChatService.ielts_writing_words_synonyms:input_type -> chat_completion.ChatMessage + 0, // 26: chat_completion.ChatService.ielts_writing_words_combination:input_type -> chat_completion.ChatMessage + 0, // 27: chat_completion.ChatService.toefl_speaking_p1_generate:input_type -> chat_completion.ChatMessage + 0, // 28: chat_completion.ChatService.toefl_speaking_p1_enrich:input_type -> chat_completion.ChatMessage + 0, // 29: chat_completion.ChatService.toefl_speaking_p1_score:input_type -> chat_completion.ChatMessage + 0, // 30: chat_completion.ChatService.toefl_writing_p1_enrich:input_type -> chat_completion.ChatMessage + 0, // 31: chat_completion.ChatService.toefl_writing_p1_score:input_type -> chat_completion.ChatMessage + 0, // 32: chat_completion.ChatService.toefl_writing_p2_enrich:input_type -> chat_completion.ChatMessage + 0, // 33: chat_completion.ChatService.toefl_writing_p2_score:input_type -> chat_completion.ChatMessage + 0, // 34: chat_completion.ChatService.toefl_writing_p3_enrich:input_type -> chat_completion.ChatMessage + 0, // 35: chat_completion.ChatService.toefl_writing_p3_generate:input_type -> chat_completion.ChatMessage + 0, // 36: chat_completion.ChatService.cn_to_en:input_type -> chat_completion.ChatMessage + 0, // 37: chat_completion.ChatService.en_to_cn:input_type -> chat_completion.ChatMessage + 0, // 38: chat_completion.ChatService.ielts_speaking_exercise:input_type -> chat_completion.ChatMessage + 0, // 39: chat_completion.ChatService.ielts_speaking_exam:input_type -> chat_completion.ChatMessage + 1, // 40: chat_completion.ChatService.ielts_talk_report:input_type -> chat_completion.QueryExamAnswerListRequest + 3, // 41: chat_completion.ChatService.ielts_talk_report_impl:input_type -> chat_completion.QueryExamAnswerListResponse + 0, // 42: chat_completion.ChatService.ask:output_type -> chat_completion.ChatMessage + 0, // 43: chat_completion.ChatService.chat:output_type -> chat_completion.ChatMessage + 0, // 44: chat_completion.ChatService.write_article_by_title:output_type -> chat_completion.ChatMessage + 0, // 45: chat_completion.ChatService.transcribe_judge:output_type -> chat_completion.ChatMessage + 0, // 46: chat_completion.ChatService.text_to_speech:output_type -> chat_completion.ChatMessage + 0, // 47: chat_completion.ChatService.ielts_speaking_p1_generate:output_type -> chat_completion.ChatMessage + 0, // 48: chat_completion.ChatService.ielts_speaking_p1_enrich:output_type -> chat_completion.ChatMessage + 0, // 49: chat_completion.ChatService.ielts_speaking_p2_generate:output_type -> chat_completion.ChatMessage + 0, // 50: chat_completion.ChatService.ielts_speaking_p2_enrich:output_type -> chat_completion.ChatMessage + 0, // 51: chat_completion.ChatService.ielts_speaking_p2_score:output_type -> chat_completion.ChatMessage + 0, // 52: chat_completion.ChatService.ielts_speaking_p3_generate:output_type -> chat_completion.ChatMessage + 0, // 53: chat_completion.ChatService.ielts_speaking_p3_enrich:output_type -> chat_completion.ChatMessage + 0, // 54: chat_completion.ChatService.ielts_writing_t1_enrich:output_type -> chat_completion.ChatMessage + 0, // 55: chat_completion.ChatService.ielts_writing_t1_score:output_type -> chat_completion.ChatMessage + 0, // 56: chat_completion.ChatService.ielts_writing_t2_generate:output_type -> chat_completion.ChatMessage + 0, // 57: chat_completion.ChatService.ielts_writing_t2_enrich:output_type -> chat_completion.ChatMessage + 0, // 58: chat_completion.ChatService.ielts_writing_t2_score:output_type -> chat_completion.ChatMessage + 0, // 59: chat_completion.ChatService.ielts_speaking_words_synonyms:output_type -> chat_completion.ChatMessage + 0, // 60: chat_completion.ChatService.ielts_speaking_words_usage:output_type -> chat_completion.ChatMessage + 0, // 61: chat_completion.ChatService.ielts_writing_words_theme:output_type -> chat_completion.ChatMessage + 0, // 62: chat_completion.ChatService.ielts_writing_words_synonyms:output_type -> chat_completion.ChatMessage + 0, // 63: chat_completion.ChatService.ielts_writing_words_combination:output_type -> chat_completion.ChatMessage + 0, // 64: chat_completion.ChatService.toefl_speaking_p1_generate:output_type -> chat_completion.ChatMessage + 0, // 65: chat_completion.ChatService.toefl_speaking_p1_enrich:output_type -> chat_completion.ChatMessage + 0, // 66: chat_completion.ChatService.toefl_speaking_p1_score:output_type -> chat_completion.ChatMessage + 0, // 67: chat_completion.ChatService.toefl_writing_p1_enrich:output_type -> chat_completion.ChatMessage + 0, // 68: chat_completion.ChatService.toefl_writing_p1_score:output_type -> chat_completion.ChatMessage + 0, // 69: chat_completion.ChatService.toefl_writing_p2_enrich:output_type -> chat_completion.ChatMessage + 0, // 70: chat_completion.ChatService.toefl_writing_p2_score:output_type -> chat_completion.ChatMessage + 0, // 71: chat_completion.ChatService.toefl_writing_p3_enrich:output_type -> chat_completion.ChatMessage + 0, // 72: chat_completion.ChatService.toefl_writing_p3_generate:output_type -> chat_completion.ChatMessage + 0, // 73: chat_completion.ChatService.cn_to_en:output_type -> chat_completion.ChatMessage + 0, // 74: chat_completion.ChatService.en_to_cn:output_type -> chat_completion.ChatMessage + 0, // 75: chat_completion.ChatService.ielts_speaking_exercise:output_type -> chat_completion.ChatMessage + 0, // 76: chat_completion.ChatService.ielts_speaking_exam:output_type -> chat_completion.ChatMessage + 4, // 77: chat_completion.ChatService.ielts_talk_report:output_type -> chat_completion.TalkReport + 4, // 78: chat_completion.ChatService.ielts_talk_report_impl:output_type -> chat_completion.TalkReport + 42, // [42:79] is the sub-list for method output_type + 5, // [5:42] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_chat_completion_chat_completion_proto_init() } @@ -427,6 +782,66 @@ func file_chat_completion_chat_completion_proto_init() { return nil } } + file_chat_completion_chat_completion_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*QueryExamAnswerListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chat_completion_chat_completion_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*QuestionAndAnswerPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chat_completion_chat_completion_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*QueryExamAnswerListResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chat_completion_chat_completion_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*TalkReport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chat_completion_chat_completion_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*TalkReport_ScoreAndComment); 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{ @@ -434,7 +849,7 @@ func file_chat_completion_chat_completion_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_chat_completion_chat_completion_proto_rawDesc, NumEnums: 0, - NumMessages: 1, + NumMessages: 6, NumExtensions: 0, NumServices: 1, }, diff --git a/chat_completion/chat_completion.pb.gw.go b/chat_completion/chat_completion.pb.gw.go index 029125f..e947b07 100644 --- a/chat_completion/chat_completion.pb.gw.go +++ b/chat_completion/chat_completion.pb.gw.go @@ -814,7 +814,7 @@ func local_request_ChatService_IeltsSpeakingExam_0(ctx context.Context, marshale } func request_ChatService_IeltsTalkReport_0(ctx context.Context, marshaler runtime.Marshaler, client ChatServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ChatMessage + var protoReq QueryExamAnswerListRequest var metadata runtime.ServerMetadata if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { @@ -827,7 +827,7 @@ func request_ChatService_IeltsTalkReport_0(ctx context.Context, marshaler runtim } func local_request_ChatService_IeltsTalkReport_0(ctx context.Context, marshaler runtime.Marshaler, server ChatServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ChatMessage + var protoReq QueryExamAnswerListRequest var metadata runtime.ServerMetadata if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { @@ -839,6 +839,32 @@ func local_request_ChatService_IeltsTalkReport_0(ctx context.Context, marshaler } +func request_ChatService_IeltsTalkReportImpl_0(ctx context.Context, marshaler runtime.Marshaler, client ChatServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryExamAnswerListResponse + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.IeltsTalkReportImpl(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ChatService_IeltsTalkReportImpl_0(ctx context.Context, marshaler runtime.Marshaler, server ChatServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryExamAnswerListResponse + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.IeltsTalkReportImpl(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterChatServiceHandlerServer registers the http handlers for service ChatService to "mux". // UnaryRPC :call ChatServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -1206,6 +1232,31 @@ func RegisterChatServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux }) + mux.Handle("POST", pattern_ChatService_IeltsTalkReportImpl_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/chat_completion.ChatService/IeltsTalkReportImpl", runtime.WithHTTPPathPattern("/chat_completion.ChatService/ielts_talk_report_impl")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ChatService_IeltsTalkReportImpl_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ChatService_IeltsTalkReportImpl_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2039,6 +2090,28 @@ func RegisterChatServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux }) + mux.Handle("POST", pattern_ChatService_IeltsTalkReportImpl_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/chat_completion.ChatService/IeltsTalkReportImpl", runtime.WithHTTPPathPattern("/chat_completion.ChatService/ielts_talk_report_impl")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ChatService_IeltsTalkReportImpl_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ChatService_IeltsTalkReportImpl_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2114,6 +2187,8 @@ var ( pattern_ChatService_IeltsSpeakingExam_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"chat_completion.ChatService", "ielts_speaking_exam"}, "")) pattern_ChatService_IeltsTalkReport_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"chat_completion.ChatService", "ielts_talk_report"}, "")) + + pattern_ChatService_IeltsTalkReportImpl_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"chat_completion.ChatService", "ielts_talk_report_impl"}, "")) ) var ( @@ -2188,4 +2263,6 @@ var ( forward_ChatService_IeltsSpeakingExam_0 = runtime.ForwardResponseMessage forward_ChatService_IeltsTalkReport_0 = runtime.ForwardResponseMessage + + forward_ChatService_IeltsTalkReportImpl_0 = runtime.ForwardResponseMessage ) diff --git a/chat_completion/chat_completion.proto b/chat_completion/chat_completion.proto index b0aef28..6360dd1 100644 --- a/chat_completion/chat_completion.proto +++ b/chat_completion/chat_completion.proto @@ -51,8 +51,10 @@ service ChatService { rpc ielts_speaking_exercise (ChatMessage) returns (ChatMessage) {} // 雅思口语模考 rpc ielts_speaking_exam (ChatMessage) returns (ChatMessage) {} - // 雅思对话报告 - rpc ielts_talk_report (ChatMessage) returns (ChatMessage) {} + // 雅思对话报告-for gateway + rpc ielts_talk_report (QueryExamAnswerListRequest) returns (TalkReport) {} + // 雅思对话报告-for grpc + rpc ielts_talk_report_impl (QueryExamAnswerListResponse) returns (TalkReport) {} }; message ChatMessage { @@ -62,3 +64,28 @@ message ChatMessage { uint32 stage = 4; }; +message QueryExamAnswerListRequest { + repeated string paperIds = 1; + string username = 2; +}; + +message QuestionAndAnswerPair { + string question = 1; + string answer = 2; +}; + +message QueryExamAnswerListResponse { + repeated QuestionAndAnswerPair answerList = 1; +} + +message TalkReport { + string overall_score = 1; + message ScoreAndComment { + string detailed_score = 1; + string comment = 2; + }; + ScoreAndComment fluency_coherence = 2; + ScoreAndComment pronunciation = 3; + ScoreAndComment grammer = 4; + ScoreAndComment vocabulary = 5; +}; diff --git a/chat_completion/chat_completion_grpc.pb.go b/chat_completion/chat_completion_grpc.pb.go index da1c748..39eedce 100644 --- a/chat_completion/chat_completion_grpc.pb.go +++ b/chat_completion/chat_completion_grpc.pb.go @@ -55,6 +55,7 @@ const ( ChatService_IeltsSpeakingExercise_FullMethodName = "/chat_completion.ChatService/ielts_speaking_exercise" ChatService_IeltsSpeakingExam_FullMethodName = "/chat_completion.ChatService/ielts_speaking_exam" ChatService_IeltsTalkReport_FullMethodName = "/chat_completion.ChatService/ielts_talk_report" + ChatService_IeltsTalkReportImpl_FullMethodName = "/chat_completion.ChatService/ielts_talk_report_impl" ) // ChatServiceClient is the client API for ChatService service. @@ -109,8 +110,10 @@ type ChatServiceClient interface { IeltsSpeakingExercise(ctx context.Context, in *ChatMessage, opts ...grpc.CallOption) (*ChatMessage, error) // 雅思口语模考 IeltsSpeakingExam(ctx context.Context, in *ChatMessage, opts ...grpc.CallOption) (*ChatMessage, error) - // 雅思对话报告 - IeltsTalkReport(ctx context.Context, in *ChatMessage, opts ...grpc.CallOption) (*ChatMessage, error) + // 雅思对话报告-for gateway + IeltsTalkReport(ctx context.Context, in *QueryExamAnswerListRequest, opts ...grpc.CallOption) (*TalkReport, error) + // 雅思对话报告-for grpc + IeltsTalkReportImpl(ctx context.Context, in *QueryExamAnswerListResponse, opts ...grpc.CallOption) (*TalkReport, error) } type chatServiceClient struct { @@ -735,9 +738,9 @@ func (c *chatServiceClient) IeltsSpeakingExam(ctx context.Context, in *ChatMessa return out, nil } -func (c *chatServiceClient) IeltsTalkReport(ctx context.Context, in *ChatMessage, opts ...grpc.CallOption) (*ChatMessage, error) { +func (c *chatServiceClient) IeltsTalkReport(ctx context.Context, in *QueryExamAnswerListRequest, opts ...grpc.CallOption) (*TalkReport, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ChatMessage) + out := new(TalkReport) err := c.cc.Invoke(ctx, ChatService_IeltsTalkReport_FullMethodName, in, out, cOpts...) if err != nil { return nil, err @@ -745,6 +748,16 @@ func (c *chatServiceClient) IeltsTalkReport(ctx context.Context, in *ChatMessage return out, nil } +func (c *chatServiceClient) IeltsTalkReportImpl(ctx context.Context, in *QueryExamAnswerListResponse, opts ...grpc.CallOption) (*TalkReport, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(TalkReport) + err := c.cc.Invoke(ctx, ChatService_IeltsTalkReportImpl_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + // ChatServiceServer is the server API for ChatService service. // All implementations must embed UnimplementedChatServiceServer // for forward compatibility. @@ -797,8 +810,10 @@ type ChatServiceServer interface { IeltsSpeakingExercise(context.Context, *ChatMessage) (*ChatMessage, error) // 雅思口语模考 IeltsSpeakingExam(context.Context, *ChatMessage) (*ChatMessage, error) - // 雅思对话报告 - IeltsTalkReport(context.Context, *ChatMessage) (*ChatMessage, error) + // 雅思对话报告-for gateway + IeltsTalkReport(context.Context, *QueryExamAnswerListRequest) (*TalkReport, error) + // 雅思对话报告-for grpc + IeltsTalkReportImpl(context.Context, *QueryExamAnswerListResponse) (*TalkReport, error) mustEmbedUnimplementedChatServiceServer() } @@ -914,9 +929,12 @@ func (UnimplementedChatServiceServer) IeltsSpeakingExercise(context.Context, *Ch func (UnimplementedChatServiceServer) IeltsSpeakingExam(context.Context, *ChatMessage) (*ChatMessage, error) { return nil, status.Errorf(codes.Unimplemented, "method IeltsSpeakingExam not implemented") } -func (UnimplementedChatServiceServer) IeltsTalkReport(context.Context, *ChatMessage) (*ChatMessage, error) { +func (UnimplementedChatServiceServer) IeltsTalkReport(context.Context, *QueryExamAnswerListRequest) (*TalkReport, error) { return nil, status.Errorf(codes.Unimplemented, "method IeltsTalkReport not implemented") } +func (UnimplementedChatServiceServer) IeltsTalkReportImpl(context.Context, *QueryExamAnswerListResponse) (*TalkReport, error) { + return nil, status.Errorf(codes.Unimplemented, "method IeltsTalkReportImpl not implemented") +} func (UnimplementedChatServiceServer) mustEmbedUnimplementedChatServiceServer() {} func (UnimplementedChatServiceServer) testEmbeddedByValue() {} @@ -1355,7 +1373,7 @@ func _ChatService_IeltsSpeakingExam_Handler(srv interface{}, ctx context.Context } func _ChatService_IeltsTalkReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChatMessage) + in := new(QueryExamAnswerListRequest) if err := dec(in); err != nil { return nil, err } @@ -1367,7 +1385,25 @@ func _ChatService_IeltsTalkReport_Handler(srv interface{}, ctx context.Context, FullMethod: ChatService_IeltsTalkReport_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChatServiceServer).IeltsTalkReport(ctx, req.(*ChatMessage)) + return srv.(ChatServiceServer).IeltsTalkReport(ctx, req.(*QueryExamAnswerListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChatService_IeltsTalkReportImpl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryExamAnswerListResponse) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChatServiceServer).IeltsTalkReportImpl(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ChatService_IeltsTalkReportImpl_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChatServiceServer).IeltsTalkReportImpl(ctx, req.(*QueryExamAnswerListResponse)) } return interceptor(ctx, in, info, handler) } @@ -1403,6 +1439,10 @@ var ChatService_ServiceDesc = grpc.ServiceDesc{ MethodName: "ielts_talk_report", Handler: _ChatService_IeltsTalkReport_Handler, }, + { + MethodName: "ielts_talk_report_impl", + Handler: _ChatService_IeltsTalkReportImpl_Handler, + }, }, Streams: []grpc.StreamDesc{ {