| // Copyright 2022 Google LLC |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.33.0 |
| // protoc v4.25.3 |
| // source: google/cloud/discoveryengine/v1beta/conversation.proto |
| |
| package discoveryenginepb |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| ) |
| |
| 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) |
| ) |
| |
| // Enumeration of the state of the conversation. |
| type Conversation_State int32 |
| |
| const ( |
| // Unknown. |
| Conversation_STATE_UNSPECIFIED Conversation_State = 0 |
| // Conversation is currently open. |
| Conversation_IN_PROGRESS Conversation_State = 1 |
| // Conversation has been completed. |
| Conversation_COMPLETED Conversation_State = 2 |
| ) |
| |
| // Enum value maps for Conversation_State. |
| var ( |
| Conversation_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "IN_PROGRESS", |
| 2: "COMPLETED", |
| } |
| Conversation_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "IN_PROGRESS": 1, |
| "COMPLETED": 2, |
| } |
| ) |
| |
| func (x Conversation_State) Enum() *Conversation_State { |
| p := new(Conversation_State) |
| *p = x |
| return p |
| } |
| |
| func (x Conversation_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Conversation_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Conversation_State) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_conversation_proto_enumTypes[0] |
| } |
| |
| func (x Conversation_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Conversation_State.Descriptor instead. |
| func (Conversation_State) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| // External conversation proto definition. |
| type Conversation struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Immutable. Fully qualified name |
| // `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` |
| // or |
| // `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // The state of the Conversation. |
| State Conversation_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.discoveryengine.v1beta.Conversation_State" json:"state,omitempty"` |
| // A unique identifier for tracking users. |
| UserPseudoId string `protobuf:"bytes,3,opt,name=user_pseudo_id,json=userPseudoId,proto3" json:"user_pseudo_id,omitempty"` |
| // Conversation messages. |
| Messages []*ConversationMessage `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"` |
| // Output only. The time the conversation started. |
| StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| // Output only. The time the conversation finished. |
| EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| } |
| |
| func (x *Conversation) Reset() { |
| *x = Conversation{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Conversation) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Conversation) ProtoMessage() {} |
| |
| func (x *Conversation) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 Conversation.ProtoReflect.Descriptor instead. |
| func (*Conversation) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Conversation) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Conversation) GetState() Conversation_State { |
| if x != nil { |
| return x.State |
| } |
| return Conversation_STATE_UNSPECIFIED |
| } |
| |
| func (x *Conversation) GetUserPseudoId() string { |
| if x != nil { |
| return x.UserPseudoId |
| } |
| return "" |
| } |
| |
| func (x *Conversation) GetMessages() []*ConversationMessage { |
| if x != nil { |
| return x.Messages |
| } |
| return nil |
| } |
| |
| func (x *Conversation) GetStartTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.StartTime |
| } |
| return nil |
| } |
| |
| func (x *Conversation) GetEndTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.EndTime |
| } |
| return nil |
| } |
| |
| // Defines a reply message to user. |
| type Reply struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // DEPRECATED: use `summary` instead. |
| // Text reply. |
| // |
| // Deprecated: Marked as deprecated in google/cloud/discoveryengine/v1beta/conversation.proto. |
| Reply string `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` |
| // References in the reply. |
| // |
| // Deprecated: Marked as deprecated in google/cloud/discoveryengine/v1beta/conversation.proto. |
| References []*Reply_Reference `protobuf:"bytes,2,rep,name=references,proto3" json:"references,omitempty"` |
| // Summary based on search results. |
| Summary *SearchResponse_Summary `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` |
| } |
| |
| func (x *Reply) Reset() { |
| *x = Reply{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Reply) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Reply) ProtoMessage() {} |
| |
| func (x *Reply) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 Reply.ProtoReflect.Descriptor instead. |
| func (*Reply) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{1} |
| } |
| |
| // Deprecated: Marked as deprecated in google/cloud/discoveryengine/v1beta/conversation.proto. |
| func (x *Reply) GetReply() string { |
| if x != nil { |
| return x.Reply |
| } |
| return "" |
| } |
| |
| // Deprecated: Marked as deprecated in google/cloud/discoveryengine/v1beta/conversation.proto. |
| func (x *Reply) GetReferences() []*Reply_Reference { |
| if x != nil { |
| return x.References |
| } |
| return nil |
| } |
| |
| func (x *Reply) GetSummary() *SearchResponse_Summary { |
| if x != nil { |
| return x.Summary |
| } |
| return nil |
| } |
| |
| // Defines context of the conversation |
| type ConversationContext struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The current list of documents the user is seeing. |
| // It contains the document resource references. |
| ContextDocuments []string `protobuf:"bytes,1,rep,name=context_documents,json=contextDocuments,proto3" json:"context_documents,omitempty"` |
| // The current active document the user opened. |
| // It contains the document resource reference. |
| ActiveDocument string `protobuf:"bytes,2,opt,name=active_document,json=activeDocument,proto3" json:"active_document,omitempty"` |
| } |
| |
| func (x *ConversationContext) Reset() { |
| *x = ConversationContext{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ConversationContext) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ConversationContext) ProtoMessage() {} |
| |
| func (x *ConversationContext) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 ConversationContext.ProtoReflect.Descriptor instead. |
| func (*ConversationContext) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *ConversationContext) GetContextDocuments() []string { |
| if x != nil { |
| return x.ContextDocuments |
| } |
| return nil |
| } |
| |
| func (x *ConversationContext) GetActiveDocument() string { |
| if x != nil { |
| return x.ActiveDocument |
| } |
| return "" |
| } |
| |
| // Defines text input. |
| type TextInput struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Text input. |
| Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` |
| // Conversation context of the input. |
| Context *ConversationContext `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` |
| } |
| |
| func (x *TextInput) Reset() { |
| *x = TextInput{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *TextInput) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*TextInput) ProtoMessage() {} |
| |
| func (x *TextInput) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 TextInput.ProtoReflect.Descriptor instead. |
| func (*TextInput) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *TextInput) GetInput() string { |
| if x != nil { |
| return x.Input |
| } |
| return "" |
| } |
| |
| func (x *TextInput) GetContext() *ConversationContext { |
| if x != nil { |
| return x.Context |
| } |
| return nil |
| } |
| |
| // Defines a conversation message. |
| type ConversationMessage struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Types that are assignable to Message: |
| // |
| // *ConversationMessage_UserInput |
| // *ConversationMessage_Reply |
| Message isConversationMessage_Message `protobuf_oneof:"message"` |
| // Output only. Message creation timestamp. |
| CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| } |
| |
| func (x *ConversationMessage) Reset() { |
| *x = ConversationMessage{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ConversationMessage) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ConversationMessage) ProtoMessage() {} |
| |
| func (x *ConversationMessage) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 ConversationMessage.ProtoReflect.Descriptor instead. |
| func (*ConversationMessage) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (m *ConversationMessage) GetMessage() isConversationMessage_Message { |
| if m != nil { |
| return m.Message |
| } |
| return nil |
| } |
| |
| func (x *ConversationMessage) GetUserInput() *TextInput { |
| if x, ok := x.GetMessage().(*ConversationMessage_UserInput); ok { |
| return x.UserInput |
| } |
| return nil |
| } |
| |
| func (x *ConversationMessage) GetReply() *Reply { |
| if x, ok := x.GetMessage().(*ConversationMessage_Reply); ok { |
| return x.Reply |
| } |
| return nil |
| } |
| |
| func (x *ConversationMessage) GetCreateTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.CreateTime |
| } |
| return nil |
| } |
| |
| type isConversationMessage_Message interface { |
| isConversationMessage_Message() |
| } |
| |
| type ConversationMessage_UserInput struct { |
| // User text input. |
| UserInput *TextInput `protobuf:"bytes,1,opt,name=user_input,json=userInput,proto3,oneof"` |
| } |
| |
| type ConversationMessage_Reply struct { |
| // Search reply. |
| Reply *Reply `protobuf:"bytes,2,opt,name=reply,proto3,oneof"` |
| } |
| |
| func (*ConversationMessage_UserInput) isConversationMessage_Message() {} |
| |
| func (*ConversationMessage_Reply) isConversationMessage_Message() {} |
| |
| // Defines reference in reply. |
| // |
| // Deprecated: Marked as deprecated in google/cloud/discoveryengine/v1beta/conversation.proto. |
| type Reply_Reference struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // URI link reference. |
| Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` |
| // Anchor text. |
| AnchorText string `protobuf:"bytes,2,opt,name=anchor_text,json=anchorText,proto3" json:"anchor_text,omitempty"` |
| // Anchor text start index. |
| Start int32 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` |
| // Anchor text end index. |
| End int32 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"` |
| } |
| |
| func (x *Reply_Reference) Reset() { |
| *x = Reply_Reference{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Reply_Reference) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Reply_Reference) ProtoMessage() {} |
| |
| func (x *Reply_Reference) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_conversation_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 Reply_Reference.ProtoReflect.Descriptor instead. |
| func (*Reply_Reference) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP(), []int{1, 0} |
| } |
| |
| func (x *Reply_Reference) GetUri() string { |
| if x != nil { |
| return x.Uri |
| } |
| return "" |
| } |
| |
| func (x *Reply_Reference) GetAnchorText() string { |
| if x != nil { |
| return x.AnchorText |
| } |
| return "" |
| } |
| |
| func (x *Reply_Reference) GetStart() int32 { |
| if x != nil { |
| return x.Start |
| } |
| return 0 |
| } |
| |
| func (x *Reply_Reference) GetEnd() int32 { |
| if x != nil { |
| return x.End |
| } |
| return 0 |
| } |
| |
| var File_google_cloud_discoveryengine_v1beta_conversation_proto protoreflect.FileDescriptor |
| |
| var file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDesc = []byte{ |
| 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, |
| 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, |
| 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, |
| 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, |
| 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, |
| 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, |
| 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x06, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, |
| 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, |
| 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, |
| 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, |
| 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, |
| 0x0e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x73, 0x65, 0x75, 0x64, 0x6f, 0x5f, 0x69, 0x64, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x50, 0x73, 0x65, 0x75, 0x64, |
| 0x6f, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, |
| 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, |
| 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x76, |
| 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, |
| 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, |
| 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, |
| 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, |
| 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, |
| 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, |
| 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, |
| 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, |
| 0x54, 0x45, 0x44, 0x10, 0x02, 0x3a, 0xf6, 0x02, 0xea, 0x41, 0xf2, 0x02, 0x0a, 0x2b, 0x64, 0x69, |
| 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, |
| 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, |
| 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x64, |
| 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, |
| 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, |
| 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x75, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, |
| 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, |
| 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, |
| 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, |
| 0x6f, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, |
| 0x7b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x6e, |
| 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, |
| 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, |
| 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x7d, |
| 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, |
| 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, |
| 0x7b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xbe, |
| 0x02, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6c, |
| 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x72, 0x65, 0x70, |
| 0x6c, 0x79, 0x12, 0x58, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, |
| 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, |
| 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x70, |
| 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x02, 0x18, 0x01, |
| 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x07, |
| 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, |
| 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, |
| 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, |
| 0x61, 0x72, 0x79, 0x1a, 0x6a, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, |
| 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, |
| 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x74, 0x65, 0x78, |
| 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x54, |
| 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, |
| 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, |
| 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, |
| 0x6b, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, |
| 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, |
| 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 0x6e, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x6f, |
| 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, |
| 0x74, 0x69, 0x76, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x75, 0x0a, 0x09, |
| 0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x70, |
| 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, |
| 0x52, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, |
| 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, |
| 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, |
| 0x65, 0x78, 0x74, 0x22, 0xf7, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, |
| 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75, |
| 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, |
| 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, |
| 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x48, |
| 0x00, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x42, 0x0a, 0x05, |
| 0x72, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, |
| 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 0x61, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, |
| 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, |
| 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x98, 0x02, |
| 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 0x75, 0x64, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, |
| 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x43, 0x6f, 0x6e, 0x76, 0x65, |
| 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, |
| 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, |
| 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, |
| 0x69, 0x6e, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x64, 0x69, |
| 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x3b, |
| 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, |
| 0x62, 0xa2, 0x02, 0x0f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x45, 0x4e, 0x47, |
| 0x49, 0x4e, 0x45, 0xaa, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, |
| 0x75, 0x64, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x67, 0x69, |
| 0x6e, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, |
| 0x72, 0x79, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, |
| 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, |
| 0x3a, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, |
| 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescOnce sync.Once |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescData = file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDesc |
| ) |
| |
| func file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescGZIP() []byte { |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescOnce.Do(func() { |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescData) |
| }) |
| return file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDescData |
| } |
| |
| var file_google_cloud_discoveryengine_v1beta_conversation_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| var file_google_cloud_discoveryengine_v1beta_conversation_proto_goTypes = []interface{}{ |
| (Conversation_State)(0), // 0: google.cloud.discoveryengine.v1beta.Conversation.State |
| (*Conversation)(nil), // 1: google.cloud.discoveryengine.v1beta.Conversation |
| (*Reply)(nil), // 2: google.cloud.discoveryengine.v1beta.Reply |
| (*ConversationContext)(nil), // 3: google.cloud.discoveryengine.v1beta.ConversationContext |
| (*TextInput)(nil), // 4: google.cloud.discoveryengine.v1beta.TextInput |
| (*ConversationMessage)(nil), // 5: google.cloud.discoveryengine.v1beta.ConversationMessage |
| (*Reply_Reference)(nil), // 6: google.cloud.discoveryengine.v1beta.Reply.Reference |
| (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp |
| (*SearchResponse_Summary)(nil), // 8: google.cloud.discoveryengine.v1beta.SearchResponse.Summary |
| } |
| var file_google_cloud_discoveryengine_v1beta_conversation_proto_depIdxs = []int32{ |
| 0, // 0: google.cloud.discoveryengine.v1beta.Conversation.state:type_name -> google.cloud.discoveryengine.v1beta.Conversation.State |
| 5, // 1: google.cloud.discoveryengine.v1beta.Conversation.messages:type_name -> google.cloud.discoveryengine.v1beta.ConversationMessage |
| 7, // 2: google.cloud.discoveryengine.v1beta.Conversation.start_time:type_name -> google.protobuf.Timestamp |
| 7, // 3: google.cloud.discoveryengine.v1beta.Conversation.end_time:type_name -> google.protobuf.Timestamp |
| 6, // 4: google.cloud.discoveryengine.v1beta.Reply.references:type_name -> google.cloud.discoveryengine.v1beta.Reply.Reference |
| 8, // 5: google.cloud.discoveryengine.v1beta.Reply.summary:type_name -> google.cloud.discoveryengine.v1beta.SearchResponse.Summary |
| 3, // 6: google.cloud.discoveryengine.v1beta.TextInput.context:type_name -> google.cloud.discoveryengine.v1beta.ConversationContext |
| 4, // 7: google.cloud.discoveryengine.v1beta.ConversationMessage.user_input:type_name -> google.cloud.discoveryengine.v1beta.TextInput |
| 2, // 8: google.cloud.discoveryengine.v1beta.ConversationMessage.reply:type_name -> google.cloud.discoveryengine.v1beta.Reply |
| 7, // 9: google.cloud.discoveryengine.v1beta.ConversationMessage.create_time:type_name -> google.protobuf.Timestamp |
| 10, // [10:10] is the sub-list for method output_type |
| 10, // [10:10] is the sub-list for method input_type |
| 10, // [10:10] is the sub-list for extension type_name |
| 10, // [10:10] is the sub-list for extension extendee |
| 0, // [0:10] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_cloud_discoveryengine_v1beta_conversation_proto_init() } |
| func file_google_cloud_discoveryengine_v1beta_conversation_proto_init() { |
| if File_google_cloud_discoveryengine_v1beta_conversation_proto != nil { |
| return |
| } |
| file_google_cloud_discoveryengine_v1beta_search_service_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Conversation); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Reply); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ConversationContext); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*TextInput); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ConversationMessage); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Reply_Reference); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes[4].OneofWrappers = []interface{}{ |
| (*ConversationMessage_UserInput)(nil), |
| (*ConversationMessage_Reply)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDesc, |
| NumEnums: 1, |
| NumMessages: 6, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_google_cloud_discoveryengine_v1beta_conversation_proto_goTypes, |
| DependencyIndexes: file_google_cloud_discoveryengine_v1beta_conversation_proto_depIdxs, |
| EnumInfos: file_google_cloud_discoveryengine_v1beta_conversation_proto_enumTypes, |
| MessageInfos: file_google_cloud_discoveryengine_v1beta_conversation_proto_msgTypes, |
| }.Build() |
| File_google_cloud_discoveryengine_v1beta_conversation_proto = out.File |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_rawDesc = nil |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_goTypes = nil |
| file_google_cloud_discoveryengine_v1beta_conversation_proto_depIdxs = nil |
| } |