// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.14.0 // source: pkg/proto/tencent_nlp_skill.proto package proto import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type TextItem struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` Text string `protobuf:"bytes,2,opt,name=Text,proto3" json:"Text,omitempty"` PlaceholderList []string `protobuf:"bytes,3,rep,name=PlaceholderList,proto3" json:"PlaceholderList,omitempty"` } func (x *TextItem) Reset() { *x = TextItem{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TextItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*TextItem) ProtoMessage() {} func (x *TextItem) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 TextItem.ProtoReflect.Descriptor instead. func (*TextItem) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{0} } func (x *TextItem) GetStatus() string { if x != nil { return x.Status } return "" } func (x *TextItem) GetText() string { if x != nil { return x.Text } return "" } func (x *TextItem) GetPlaceholderList() []string { if x != nil { return x.PlaceholderList } return nil } type Command struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Param map[string]string `protobuf:"bytes,2,rep,name=Param,proto3" json:"Param,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` TextList []*TextItem `protobuf:"bytes,3,rep,name=TextList,proto3" json:"TextList,omitempty"` } func (x *Command) Reset() { *x = Command{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Command) String() string { return protoimpl.X.MessageStringOf(x) } func (*Command) ProtoMessage() {} func (x *Command) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 Command.ProtoReflect.Descriptor instead. func (*Command) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{1} } func (x *Command) GetName() string { if x != nil { return x.Name } return "" } func (x *Command) GetParam() map[string]string { if x != nil { return x.Param } return nil } func (x *Command) GetTextList() []*TextItem { if x != nil { return x.TextList } return nil } // 腾讯识别的技能 type TencentNlpSkillRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AppInfo *TencentNlpSkillRequest_AppInfo `protobuf:"bytes,1,opt,name=appInfo,proto3" json:"appInfo,omitempty"` DevInfo *TencentNlpSkillRequest_DevInfo `protobuf:"bytes,2,opt,name=devInfo,proto3" json:"devInfo,omitempty"` UserInfo *TencentNlpSkillRequest_UserInfo `protobuf:"bytes,3,opt,name=userInfo,proto3" json:"userInfo,omitempty"` Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` } func (x *TencentNlpSkillRequest) Reset() { *x = TencentNlpSkillRequest{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillRequest) ProtoMessage() {} func (x *TencentNlpSkillRequest) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 TencentNlpSkillRequest.ProtoReflect.Descriptor instead. func (*TencentNlpSkillRequest) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{2} } func (x *TencentNlpSkillRequest) GetAppInfo() *TencentNlpSkillRequest_AppInfo { if x != nil { return x.AppInfo } return nil } func (x *TencentNlpSkillRequest) GetDevInfo() *TencentNlpSkillRequest_DevInfo { if x != nil { return x.DevInfo } return nil } func (x *TencentNlpSkillRequest) GetUserInfo() *TencentNlpSkillRequest_UserInfo { if x != nil { return x.UserInfo } return nil } func (x *TencentNlpSkillRequest) GetCommand() *Command { if x != nil { return x.Command } return nil } type TencentNlpSkillResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status *TencentNlpSkillResponse_Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Response *TencentNlpSkillResponse_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` Result []*anypb.Any `protobuf:"bytes,3,rep,name=result,proto3" json:"result,omitempty"` IsMultiRound bool `protobuf:"varint,4,opt,name=isMultiRound,proto3" json:"isMultiRound,omitempty"` } func (x *TencentNlpSkillResponse) Reset() { *x = TencentNlpSkillResponse{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillResponse) ProtoMessage() {} func (x *TencentNlpSkillResponse) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 TencentNlpSkillResponse.ProtoReflect.Descriptor instead. func (*TencentNlpSkillResponse) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{3} } func (x *TencentNlpSkillResponse) GetStatus() *TencentNlpSkillResponse_Status { if x != nil { return x.Status } return nil } func (x *TencentNlpSkillResponse) GetResponse() *TencentNlpSkillResponse_Response { if x != nil { return x.Response } return nil } func (x *TencentNlpSkillResponse) GetResult() []*anypb.Any { if x != nil { return x.Result } return nil } func (x *TencentNlpSkillResponse) GetIsMultiRound() bool { if x != nil { return x.IsMultiRound } return false } type TencentNlpSkillRequest_AppInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"` } func (x *TencentNlpSkillRequest_AppInfo) Reset() { *x = TencentNlpSkillRequest_AppInfo{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillRequest_AppInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillRequest_AppInfo) ProtoMessage() {} func (x *TencentNlpSkillRequest_AppInfo) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 TencentNlpSkillRequest_AppInfo.ProtoReflect.Descriptor instead. func (*TencentNlpSkillRequest_AppInfo) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{2, 0} } func (x *TencentNlpSkillRequest_AppInfo) GetAppId() string { if x != nil { return x.AppId } return "" } func (x *TencentNlpSkillRequest_AppInfo) GetRequestId() string { if x != nil { return x.RequestId } return "" } type TencentNlpSkillRequest_UserInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Hid string `protobuf:"bytes,2,opt,name=hid,proto3" json:"hid,omitempty"` } func (x *TencentNlpSkillRequest_UserInfo) Reset() { *x = TencentNlpSkillRequest_UserInfo{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillRequest_UserInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillRequest_UserInfo) ProtoMessage() {} func (x *TencentNlpSkillRequest_UserInfo) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_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 TencentNlpSkillRequest_UserInfo.ProtoReflect.Descriptor instead. func (*TencentNlpSkillRequest_UserInfo) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{2, 1} } func (x *TencentNlpSkillRequest_UserInfo) GetUid() string { if x != nil { return x.Uid } return "" } func (x *TencentNlpSkillRequest_UserInfo) GetHid() string { if x != nil { return x.Hid } return "" } type TencentNlpSkillRequest_DevInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` TarMac string `protobuf:"bytes,2,opt,name=tarMac,proto3" json:"tarMac,omitempty"` } func (x *TencentNlpSkillRequest_DevInfo) Reset() { *x = TencentNlpSkillRequest_DevInfo{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillRequest_DevInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillRequest_DevInfo) ProtoMessage() {} func (x *TencentNlpSkillRequest_DevInfo) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TencentNlpSkillRequest_DevInfo.ProtoReflect.Descriptor instead. func (*TencentNlpSkillRequest_DevInfo) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{2, 2} } func (x *TencentNlpSkillRequest_DevInfo) GetMac() string { if x != nil { return x.Mac } return "" } func (x *TencentNlpSkillRequest_DevInfo) GetTarMac() string { if x != nil { return x.TarMac } return "" } type TencentNlpSkillResponse_Status struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` } func (x *TencentNlpSkillResponse_Status) Reset() { *x = TencentNlpSkillResponse_Status{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillResponse_Status) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillResponse_Status) ProtoMessage() {} func (x *TencentNlpSkillResponse_Status) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TencentNlpSkillResponse_Status.ProtoReflect.Descriptor instead. func (*TencentNlpSkillResponse_Status) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{3, 0} } func (x *TencentNlpSkillResponse_Status) GetCode() int32 { if x != nil { return x.Code } return 0 } func (x *TencentNlpSkillResponse_Status) GetMsg() string { if x != nil { return x.Msg } return "" } type TencentNlpSkillResponse_Response struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Hint string `protobuf:"bytes,3,opt,name=hint,proto3" json:"hint,omitempty"` Suffix string `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"` } func (x *TencentNlpSkillResponse_Response) Reset() { *x = TencentNlpSkillResponse_Response{} if protoimpl.UnsafeEnabled { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TencentNlpSkillResponse_Response) String() string { return protoimpl.X.MessageStringOf(x) } func (*TencentNlpSkillResponse_Response) ProtoMessage() {} func (x *TencentNlpSkillResponse_Response) ProtoReflect() protoreflect.Message { mi := &file_pkg_proto_tencent_nlp_skill_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TencentNlpSkillResponse_Response.ProtoReflect.Descriptor instead. func (*TencentNlpSkillResponse_Response) Descriptor() ([]byte, []int) { return file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP(), []int{3, 1} } func (x *TencentNlpSkillResponse_Response) GetPrefix() string { if x != nil { return x.Prefix } return "" } func (x *TencentNlpSkillResponse_Response) GetText() string { if x != nil { return x.Text } return "" } func (x *TencentNlpSkillResponse_Response) GetHint() string { if x != nil { return x.Hint } return "" } func (x *TencentNlpSkillResponse_Response) GetSuffix() string { if x != nil { return x.Suffix } return "" } var File_pkg_proto_tencent_nlp_skill_proto protoreflect.FileDescriptor var file_pkg_proto_tencent_nlp_skill_proto_rawDesc = []byte{ 0x0a, 0x21, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6c, 0x70, 0x5f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x2b, 0x0a, 0x08, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x38, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0xac, 0x03, 0x0a, 0x16, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x61, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x76, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x64, 0x65, 0x76, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x3d, 0x0a, 0x07, 0x41, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x1a, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x68, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x68, 0x69, 0x64, 0x1a, 0x33, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x61, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x4d, 0x61, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x4d, 0x61, 0x63, 0x22, 0x83, 0x03, 0x0a, 0x17, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x43, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x2e, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0x62, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x32, 0x5b, 0x0a, 0x0f, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x48, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x4e, 0x6c, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x13, 0x5a, 0x11, 0x2e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_pkg_proto_tencent_nlp_skill_proto_rawDescOnce sync.Once file_pkg_proto_tencent_nlp_skill_proto_rawDescData = file_pkg_proto_tencent_nlp_skill_proto_rawDesc ) func file_pkg_proto_tencent_nlp_skill_proto_rawDescGZIP() []byte { file_pkg_proto_tencent_nlp_skill_proto_rawDescOnce.Do(func() { file_pkg_proto_tencent_nlp_skill_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_proto_tencent_nlp_skill_proto_rawDescData) }) return file_pkg_proto_tencent_nlp_skill_proto_rawDescData } var file_pkg_proto_tencent_nlp_skill_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_pkg_proto_tencent_nlp_skill_proto_goTypes = []interface{}{ (*TextItem)(nil), // 0: proto.TextItem (*Command)(nil), // 1: proto.Command (*TencentNlpSkillRequest)(nil), // 2: proto.TencentNlpSkillRequest (*TencentNlpSkillResponse)(nil), // 3: proto.TencentNlpSkillResponse nil, // 4: proto.Command.ParamEntry (*TencentNlpSkillRequest_AppInfo)(nil), // 5: proto.TencentNlpSkillRequest.AppInfo (*TencentNlpSkillRequest_UserInfo)(nil), // 6: proto.TencentNlpSkillRequest.UserInfo (*TencentNlpSkillRequest_DevInfo)(nil), // 7: proto.TencentNlpSkillRequest.DevInfo (*TencentNlpSkillResponse_Status)(nil), // 8: proto.TencentNlpSkillResponse.Status (*TencentNlpSkillResponse_Response)(nil), // 9: proto.TencentNlpSkillResponse.Response (*anypb.Any)(nil), // 10: google.protobuf.Any } var file_pkg_proto_tencent_nlp_skill_proto_depIdxs = []int32{ 4, // 0: proto.Command.Param:type_name -> proto.Command.ParamEntry 0, // 1: proto.Command.TextList:type_name -> proto.TextItem 5, // 2: proto.TencentNlpSkillRequest.appInfo:type_name -> proto.TencentNlpSkillRequest.AppInfo 7, // 3: proto.TencentNlpSkillRequest.devInfo:type_name -> proto.TencentNlpSkillRequest.DevInfo 6, // 4: proto.TencentNlpSkillRequest.userInfo:type_name -> proto.TencentNlpSkillRequest.UserInfo 1, // 5: proto.TencentNlpSkillRequest.command:type_name -> proto.Command 8, // 6: proto.TencentNlpSkillResponse.status:type_name -> proto.TencentNlpSkillResponse.Status 9, // 7: proto.TencentNlpSkillResponse.response:type_name -> proto.TencentNlpSkillResponse.Response 10, // 8: proto.TencentNlpSkillResponse.result:type_name -> google.protobuf.Any 2, // 9: proto.TencentNlpSkill.Process:input_type -> proto.TencentNlpSkillRequest 3, // 10: proto.TencentNlpSkill.Process:output_type -> proto.TencentNlpSkillResponse 10, // [10:11] is the sub-list for method output_type 9, // [9:10] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name 9, // [9:9] is the sub-list for extension extendee 0, // [0:9] is the sub-list for field type_name } func init() { file_pkg_proto_tencent_nlp_skill_proto_init() } func file_pkg_proto_tencent_nlp_skill_proto_init() { if File_pkg_proto_tencent_nlp_skill_proto != nil { return } if !protoimpl.UnsafeEnabled { file_pkg_proto_tencent_nlp_skill_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TextItem); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Command); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillRequest_AppInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillRequest_UserInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillRequest_DevInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillResponse_Status); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pkg_proto_tencent_nlp_skill_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TencentNlpSkillResponse_Response); 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_pkg_proto_tencent_nlp_skill_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_pkg_proto_tencent_nlp_skill_proto_goTypes, DependencyIndexes: file_pkg_proto_tencent_nlp_skill_proto_depIdxs, MessageInfos: file_pkg_proto_tencent_nlp_skill_proto_msgTypes, }.Build() File_pkg_proto_tencent_nlp_skill_proto = out.File file_pkg_proto_tencent_nlp_skill_proto_rawDesc = nil file_pkg_proto_tencent_nlp_skill_proto_goTypes = nil file_pkg_proto_tencent_nlp_skill_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // TencentNlpSkillClient is the client API for TencentNlpSkill service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type TencentNlpSkillClient interface { Process(ctx context.Context, in *TencentNlpSkillRequest, opts ...grpc.CallOption) (*TencentNlpSkillResponse, error) } type tencentNlpSkillClient struct { cc grpc.ClientConnInterface } func NewTencentNlpSkillClient(cc grpc.ClientConnInterface) TencentNlpSkillClient { return &tencentNlpSkillClient{cc} } func (c *tencentNlpSkillClient) Process(ctx context.Context, in *TencentNlpSkillRequest, opts ...grpc.CallOption) (*TencentNlpSkillResponse, error) { out := new(TencentNlpSkillResponse) err := c.cc.Invoke(ctx, "/proto.TencentNlpSkill/Process", in, out, opts...) if err != nil { return nil, err } return out, nil } // TencentNlpSkillServer is the server API for TencentNlpSkill service. type TencentNlpSkillServer interface { Process(context.Context, *TencentNlpSkillRequest) (*TencentNlpSkillResponse, error) } // UnimplementedTencentNlpSkillServer can be embedded to have forward compatible implementations. type UnimplementedTencentNlpSkillServer struct { } func (*UnimplementedTencentNlpSkillServer) Process(context.Context, *TencentNlpSkillRequest) (*TencentNlpSkillResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Process not implemented") } func RegisterTencentNlpSkillServer(s *grpc.Server, srv TencentNlpSkillServer) { s.RegisterService(&_TencentNlpSkill_serviceDesc, srv) } func _TencentNlpSkill_Process_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(TencentNlpSkillRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(TencentNlpSkillServer).Process(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/proto.TencentNlpSkill/Process", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TencentNlpSkillServer).Process(ctx, req.(*TencentNlpSkillRequest)) } return interceptor(ctx, in, info, handler) } var _TencentNlpSkill_serviceDesc = grpc.ServiceDesc{ ServiceName: "proto.TencentNlpSkill", HandlerType: (*TencentNlpSkillServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Process", Handler: _TencentNlpSkill_Process_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/proto/tencent_nlp_skill.proto", }